From 7c906b0a0c076d8c207c78463390725cba36c34c Mon Sep 17 00:00:00 2001 From: Julia Ruddy Date: Mon, 11 Nov 2024 14:47:24 -0500 Subject: [PATCH 1/6] APP-6845: Create GetBillingService API --- proto/viam/app/v1/app.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/proto/viam/app/v1/app.proto b/proto/viam/app/v1/app.proto index 0a24b660..ae27ef15 100644 --- a/proto/viam/app/v1/app.proto +++ b/proto/viam/app/v1/app.proto @@ -69,6 +69,8 @@ service AppService { rpc UpdateBillingService(UpdateBillingServiceRequest) returns (UpdateBillingServiceResponse); + rpc GetBillingService(UpdateBillingServiceRequest) returns (UpdateBillingServiceResponse); + rpc OrganizationSetSupportEmail(OrganizationSetSupportEmailRequest) returns (OrganizationSetSupportEmailResponse); rpc OrganizationGetSupportEmail(OrganizationGetSupportEmailRequest) returns (OrganizationGetSupportEmailResponse); @@ -447,6 +449,14 @@ message UpdateBillingServiceRequest { message UpdateBillingServiceResponse {} +message GetBillingServiceRequest { + string org_id = 1; +} + +message GetBillingServiceResponse { + BillingAddress billing_address = 1; +} + message DisableBillingServiceRequest { string org_id = 1; } From 8150276973fcdcf60851346971c34d597f5ff0f1 Mon Sep 17 00:00:00 2001 From: Julia Ruddy Date: Mon, 11 Nov 2024 17:12:54 -0500 Subject: [PATCH 2/6] roxy comments --- app/agent/v1/agent.pb.go | 116 +- app/agent/v1/agent.pb.gw.go | 18 +- app/build/v1/build.pb.go | 520 +- app/build/v1/build.pb.gw.go | 120 +- app/cloudslam/v1/cloud_slam.pb.go | 358 +- app/cloudslam/v1/cloud_slam.pb.gw.go | 78 +- app/data/v1/data.pb.go | 1200 ++- app/data/v1/data.pb.gw.go | 258 +- app/dataset/v1/dataset.pb.go | 248 +- app/dataset/v1/dataset.pb.gw.go | 66 +- app/datasync/v1/data_sync.pb.go | 298 +- app/datasync/v1/data_sync.pb.gw.go | 26 +- app/mlinference/v1/ml_inference.pb.go | 50 +- app/mlinference/v1/ml_inference.pb.gw.go | 18 +- app/mltraining/v1/ml_training.pb.go | 360 +- app/mltraining/v1/ml_training.pb.gw.go | 90 +- app/packages/v1/packages.pb.go | 258 +- app/packages/v1/packages.pb.gw.go | 16 +- app/v1/app.pb.go | 9010 +++++++++++------ app/v1/app.pb.gw.go | 1019 +- app/v1/app_grpc.pb.go | 36 + app/v1/billing.pb.go | 382 +- app/v1/billing.pb.gw.go | 60 +- app/v1/end_user.pb.go | 226 +- app/v1/end_user.pb.gw.go | 66 +- app/v1/robot.pb.go | 900 +- app/v1/robot.pb.gw.go | 54 +- common/v1/common.pb.go | 584 +- component/arm/v1/arm.pb.go | 384 +- component/arm/v1/arm.pb.gw.go | 6 +- component/audioinput/v1/audioinput.pb.go | 162 +- component/audioinput/v1/audioinput.pb.gw.go | 12 +- component/base/v1/base.pb.go | 314 +- component/base/v1/base.pb.gw.go | 16 +- component/board/v1/board.pb.go | 514 +- component/board/v1/board.pb.gw.go | 16 +- component/camera/v1/camera.pb.go | 338 +- component/camera/v1/camera.pb.gw.go | 6 +- component/encoder/v1/encoder.pb.go | 140 +- component/encoder/v1/encoder.pb.gw.go | 6 +- component/gantry/v1/gantry.pb.go | 292 +- component/gantry/v1/gantry.pb.gw.go | 6 +- component/generic/v1/generic.pb.go | 4 +- component/generic/v1/generic.pb.gw.go | 6 +- component/gripper/v1/gripper.pb.go | 182 +- component/gripper/v1/gripper.pb.gw.go | 6 +- .../inputcontroller/v1/input_controller.pb.go | 248 +- .../v1/input_controller.pb.gw.go | 6 +- component/motor/v1/motor.pb.go | 468 +- component/motor/v1/motor.pb.gw.go | 6 +- .../movementsensor/v1/movementsensor.pb.go | 360 +- .../movementsensor/v1/movementsensor.pb.gw.go | 6 +- component/posetracker/v1/pose_tracker.pb.go | 50 +- .../posetracker/v1/pose_tracker.pb.gw.go | 16 +- component/powersensor/v1/powersensor.pb.go | 138 +- component/powersensor/v1/powersensor.pb.gw.go | 16 +- component/sensor/v1/sensor.pb.go | 4 +- component/sensor/v1/sensor.pb.gw.go | 6 +- component/servo/v1/servo.pb.go | 204 +- component/servo/v1/servo.pb.gw.go | 6 +- component/testecho/v1/testecho.pb.go | 182 +- component/testecho/v1/testecho.pb.gw.go | 46 +- gen/js/app/agent/v1/agent_pb.js | 48 +- gen/js/app/build/v1/build_pb.js | 92 +- gen/js/app/cloudslam/v1/cloud_slam_pb.js | 102 +- gen/js/app/data/v1/data_pb.js | 289 +- gen/js/app/dataset/v1/dataset_pb.js | 36 +- gen/js/app/datasync/v1/data_sync_pb.js | 88 +- gen/js/app/mlinference/v1/ml_inference_pb.js | 16 +- gen/js/app/mltraining/v1/ml_training_pb.js | 105 +- gen/js/app/packages/v1/packages_pb.js | 76 +- gen/js/app/v1/app_grpc_web_pb.js | 61 + gen/js/app/v1/app_pb.d.ts | 42 + gen/js/app/v1/app_pb.js | 1127 ++- gen/js/app/v1/app_pb_service.d.ts | 19 + gen/js/app/v1/app_pb_service.js | 40 + gen/js/app/v1/billing_pb.js | 100 +- gen/js/app/v1/end_user_pb.js | 58 +- gen/js/app/v1/robot_pb.js | 332 +- gen/js/common/v1/common_pb.js | 145 +- gen/js/component/arm/v1/arm_pb.js | 60 +- .../component/audioinput/v1/audioinput_pb.js | 46 +- gen/js/component/base/v1/base_pb.js | 58 +- gen/js/component/board/v1/board_pb.js | 116 +- gen/js/component/camera/v1/camera_pb.js | 94 +- gen/js/component/encoder/v1/encoder_pb.js | 30 +- gen/js/component/gantry/v1/gantry_pb.js | 48 +- gen/js/component/generic/v1/generic_pb.js | 8 +- gen/js/component/gripper/v1/gripper_pb.js | 28 +- .../inputcontroller/v1/input_controller_pb.js | 50 +- gen/js/component/motor/v1/motor_pb.js | 76 +- .../movementsensor/v1/movementsensor_pb.js | 79 +- .../posetracker/v1/pose_tracker_pb.js | 19 +- .../powersensor/v1/powersensor_pb.js | 30 +- gen/js/component/sensor/v1/sensor_pb.js | 8 +- gen/js/component/servo/v1/servo_pb.js | 32 +- gen/js/component/testecho/v1/testecho_pb.js | 28 +- gen/js/google/api/annotations_pb.js | 8 +- gen/js/google/api/client_pb.js | 119 +- gen/js/google/api/expr/v1alpha1/checked_pb.js | 96 +- gen/js/google/api/expr/v1alpha1/eval_pb.js | 26 +- gen/js/google/api/expr/v1alpha1/explain_pb.js | 16 +- gen/js/google/api/expr/v1alpha1/syntax_pb.js | 130 +- gen/js/google/api/expr/v1alpha1/value_pb.js | 44 +- gen/js/google/api/expr/v1beta1/decl_pb.js | 34 +- gen/js/google/api/expr/v1beta1/eval_pb.js | 28 +- gen/js/google/api/expr/v1beta1/expr_pb.js | 86 +- gen/js/google/api/expr/v1beta1/source_pb.js | 25 +- gen/js/google/api/expr/v1beta1/value_pb.js | 44 +- gen/js/google/api/field_behavior_pb.js | 8 +- gen/js/google/api/field_info_pb.js | 14 +- gen/js/google/api/http_pb.js | 36 +- gen/js/google/api/httpbody_pb.js | 14 +- gen/js/google/api/launch_stage_pb.js | 8 +- gen/js/google/api/resource_pb.js | 26 +- gen/js/google/api/visibility_pb.js | 14 +- gen/js/google/bytestream/bytestream_pb.js | 32 +- gen/js/google/geo/type/viewport_pb.js | 12 +- gen/js/google/longrunning/operations_pb.js | 44 +- gen/js/google/rpc/code_pb.js | 8 +- .../rpc/context/attribute_context_pb.js | 125 +- gen/js/google/rpc/error_details_pb.js | 65 +- gen/js/google/rpc/status_pb.js | 14 +- gen/js/google/type/calendar_period_pb.js | 8 +- gen/js/google/type/color_pb.js | 16 +- gen/js/google/type/date_pb.js | 14 +- gen/js/google/type/datetime_pb.js | 30 +- gen/js/google/type/dayofweek_pb.js | 8 +- gen/js/google/type/decimal_pb.js | 10 +- gen/js/google/type/expr_pb.js | 16 +- gen/js/google/type/fraction_pb.js | 12 +- gen/js/google/type/interval_pb.js | 12 +- gen/js/google/type/latlng_pb.js | 12 +- gen/js/google/type/localized_text_pb.js | 12 +- gen/js/google/type/money_pb.js | 14 +- gen/js/google/type/month_pb.js | 8 +- gen/js/google/type/phone_number_pb.js | 18 +- gen/js/google/type/postal_address_pb.js | 30 +- gen/js/google/type/quaternion_pb.js | 16 +- gen/js/google/type/timeofday_pb.js | 16 +- gen/js/module/v1/module_pb.js | 38 +- gen/js/provisioning/v1/provisioning_pb.js | 52 +- gen/js/robot/v1/robot_pb.js | 152 +- .../service/datamanager/v1/data_manager_pb.js | 12 +- gen/js/service/generic/v1/generic_pb.js | 8 +- gen/js/service/mlmodel/v1/mlmodel_pb.js | 97 +- gen/js/service/motion/v1/motion_pb.js | 167 +- gen/js/service/navigation/v1/navigation_pb.js | 70 +- gen/js/service/sensors/v1/sensors_pb.js | 29 +- gen/js/service/shell/v1/shell_pb.js | 70 +- gen/js/service/slam/v1/slam_pb.js | 36 +- gen/js/service/vision/v1/vision_pb.js | 118 +- gen/js/stream/v1/stream_pb.js | 26 +- gen/js/tagger/v1/tagger_pb.js | 8 +- module/v1/module.pb.go | 270 +- module/v1/module.pb.gw.go | 66 +- proto/viam/app/datasync/v1/data_sync.proto | 12 +- proto/viam/app/packages/v1/packages.proto | 16 +- proto/viam/app/v1/app.proto | 9 +- proto/viam/component/arm/v1/arm.proto | 40 +- .../component/audioinput/v1/audioinput.proto | 16 +- proto/viam/component/base/v1/base.proto | 36 +- proto/viam/component/board/v1/board.proto | 52 +- proto/viam/component/camera/v1/camera.proto | 28 +- proto/viam/component/encoder/v1/encoder.proto | 20 +- proto/viam/component/gantry/v1/gantry.proto | 32 +- proto/viam/component/generic/v1/generic.proto | 8 +- proto/viam/component/gripper/v1/gripper.proto | 24 +- .../inputcontroller/v1/input_controller.proto | 24 +- proto/viam/component/motor/v1/motor.proto | 48 +- .../movementsensor/v1/movementsensor.proto | 44 +- .../posetracker/v1/pose_tracker.proto | 12 +- .../powersensor/v1/powersensor.proto | 20 +- proto/viam/component/sensor/v1/sensor.proto | 12 +- proto/viam/component/servo/v1/servo.proto | 24 +- proto/viam/robot/v1/robot.proto | 84 +- .../service/datamanager/v1/data_manager.proto | 8 +- proto/viam/service/generic/v1/generic.proto | 4 +- proto/viam/service/mlmodel/v1/mlmodel.proto | 8 +- proto/viam/service/motion/v1/motion.proto | 32 +- .../service/navigation/v1/navigation.proto | 40 +- proto/viam/service/sensors/v1/sensors.proto | 12 +- proto/viam/service/shell/v1/shell.proto | 4 +- proto/viam/service/slam/v1/slam.proto | 20 +- proto/viam/service/vision/v1/vision.proto | 32 +- provisioning/v1/provisioning.pb.go | 248 +- provisioning/v1/provisioning.pb.gw.go | 54 +- robot/v1/robot.pb.go | 1196 ++- robot/v1/robot.pb.gw.go | 6 +- service/datamanager/v1/data_manager.pb.go | 50 +- service/datamanager/v1/data_manager.pb.gw.go | 12 +- service/generic/v1/generic.pb.go | 4 +- service/generic/v1/generic.pb.gw.go | 6 +- service/mlmodel/v1/mlmodel.pb.go | 426 +- service/mlmodel/v1/mlmodel.pb.gw.go | 6 +- service/motion/v1/motion.pb.go | 616 +- service/motion/v1/motion.pb.gw.go | 12 +- service/navigation/v1/navigation.pb.go | 446 +- service/navigation/v1/navigation.pb.gw.go | 6 +- service/sensors/v1/sensors.pb.go | 188 +- service/sensors/v1/sensors.pb.gw.go | 6 +- service/shell/v1/shell.pb.go | 234 +- service/shell/v1/shell.pb.gw.go | 42 +- service/slam/v1/slam.pb.go | 208 +- service/slam/v1/slam.pb.gw.go | 12 +- service/vision/v1/vision.pb.go | 360 +- service/vision/v1/vision.pb.gw.go | 6 +- stream/v1/stream.pb.go | 248 +- stream/v1/stream.pb.gw.go | 66 +- tagger/v1/tagger.pb.go | 4 +- 210 files changed, 23099 insertions(+), 8824 deletions(-) diff --git a/app/agent/v1/agent.pb.go b/app/agent/v1/agent.pb.go index 26d91d59..6d3dadd3 100644 --- a/app/agent/v1/agent.pb.go +++ b/app/agent/v1/agent.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: app/agent/v1/agent.proto @@ -98,9 +98,11 @@ type DeviceAgentConfigRequest struct { func (x *DeviceAgentConfigRequest) Reset() { *x = DeviceAgentConfigRequest{} - mi := &file_app_agent_v1_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_agent_v1_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeviceAgentConfigRequest) String() string { @@ -111,7 +113,7 @@ func (*DeviceAgentConfigRequest) ProtoMessage() {} func (x *DeviceAgentConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_app_agent_v1_agent_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -161,9 +163,11 @@ type DeviceAgentConfigResponse struct { func (x *DeviceAgentConfigResponse) Reset() { *x = DeviceAgentConfigResponse{} - mi := &file_app_agent_v1_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_agent_v1_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeviceAgentConfigResponse) String() string { @@ -174,7 +178,7 @@ func (*DeviceAgentConfigResponse) ProtoMessage() {} func (x *DeviceAgentConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_app_agent_v1_agent_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -220,9 +224,11 @@ type DeviceSubsystemConfig struct { func (x *DeviceSubsystemConfig) Reset() { *x = DeviceSubsystemConfig{} - mi := &file_app_agent_v1_agent_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_agent_v1_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeviceSubsystemConfig) String() string { @@ -233,7 +239,7 @@ func (*DeviceSubsystemConfig) ProtoMessage() {} func (x *DeviceSubsystemConfig) ProtoReflect() protoreflect.Message { mi := &file_app_agent_v1_agent_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -292,9 +298,11 @@ type HostInfo struct { func (x *HostInfo) Reset() { *x = HostInfo{} - mi := &file_app_agent_v1_agent_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_agent_v1_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *HostInfo) String() string { @@ -305,7 +313,7 @@ func (*HostInfo) ProtoMessage() {} func (x *HostInfo) ProtoReflect() protoreflect.Message { mi := &file_app_agent_v1_agent_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -360,9 +368,11 @@ type SubsystemUpdateInfo struct { func (x *SubsystemUpdateInfo) Reset() { *x = SubsystemUpdateInfo{} - mi := &file_app_agent_v1_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_agent_v1_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubsystemUpdateInfo) String() string { @@ -373,7 +383,7 @@ func (*SubsystemUpdateInfo) ProtoMessage() {} func (x *SubsystemUpdateInfo) ProtoReflect() protoreflect.Message { mi := &file_app_agent_v1_agent_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -538,7 +548,7 @@ func file_app_agent_v1_agent_proto_rawDescGZIP() []byte { var file_app_agent_v1_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_app_agent_v1_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_app_agent_v1_agent_proto_goTypes = []any{ +var file_app_agent_v1_agent_proto_goTypes = []interface{}{ (PackageFormat)(0), // 0: viam.app.agent.v1.PackageFormat (*DeviceAgentConfigRequest)(nil), // 1: viam.app.agent.v1.DeviceAgentConfigRequest (*DeviceAgentConfigResponse)(nil), // 2: viam.app.agent.v1.DeviceAgentConfigResponse @@ -573,6 +583,68 @@ func file_app_agent_v1_agent_proto_init() { if File_app_agent_v1_agent_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_app_agent_v1_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceAgentConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_agent_v1_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceAgentConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_agent_v1_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceSubsystemConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_agent_v1_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HostInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_agent_v1_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubsystemUpdateInfo); 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{ diff --git a/app/agent/v1/agent.pb.gw.go b/app/agent/v1/agent.pb.gw.go index 0e9d7260..4d009a6a 100644 --- a/app/agent/v1/agent.pb.gw.go +++ b/app/agent/v1/agent.pb.gw.go @@ -35,7 +35,11 @@ func request_AgentDeviceService_DeviceAgentConfig_0(ctx context.Context, marshal var protoReq DeviceAgentConfigRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -48,7 +52,11 @@ func local_request_AgentDeviceService_DeviceAgentConfig_0(ctx context.Context, m var protoReq DeviceAgentConfigRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -94,21 +102,21 @@ func RegisterAgentDeviceServiceHandlerServer(ctx context.Context, mux *runtime.S // RegisterAgentDeviceServiceHandlerFromEndpoint is same as RegisterAgentDeviceServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterAgentDeviceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/build/v1/build.pb.go b/app/build/v1/build.pb.go index 0359b36c..70b99308 100644 --- a/app/build/v1/build.pb.go +++ b/app/build/v1/build.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: app/build/v1/build.proto @@ -98,9 +98,11 @@ type StartBuildRequest struct { func (x *StartBuildRequest) Reset() { *x = StartBuildRequest{} - mi := &file_app_build_v1_build_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StartBuildRequest) String() string { @@ -111,7 +113,7 @@ func (*StartBuildRequest) ProtoMessage() {} func (x *StartBuildRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -185,9 +187,11 @@ type StartBuildResponse struct { func (x *StartBuildResponse) Reset() { *x = StartBuildResponse{} - mi := &file_app_build_v1_build_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StartBuildResponse) String() string { @@ -198,7 +202,7 @@ func (*StartBuildResponse) ProtoMessage() {} func (x *StartBuildResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -231,9 +235,11 @@ type GetLogsRequest struct { func (x *GetLogsRequest) Reset() { *x = GetLogsRequest{} - mi := &file_app_build_v1_build_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetLogsRequest) String() string { @@ -244,7 +250,7 @@ func (*GetLogsRequest) ProtoMessage() {} func (x *GetLogsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -288,9 +294,11 @@ type GetLogsResponse struct { func (x *GetLogsResponse) Reset() { *x = GetLogsResponse{} - mi := &file_app_build_v1_build_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetLogsResponse) String() string { @@ -301,7 +309,7 @@ func (*GetLogsResponse) ProtoMessage() {} func (x *GetLogsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -345,9 +353,11 @@ type JobInfo struct { func (x *JobInfo) Reset() { *x = JobInfo{} - mi := &file_app_build_v1_build_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JobInfo) String() string { @@ -358,7 +368,7 @@ func (*JobInfo) ProtoMessage() {} func (x *JobInfo) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -432,9 +442,11 @@ type ListJobsRequest struct { func (x *ListJobsRequest) Reset() { *x = ListJobsRequest{} - mi := &file_app_build_v1_build_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListJobsRequest) String() string { @@ -445,7 +457,7 @@ func (*ListJobsRequest) ProtoMessage() {} func (x *ListJobsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -492,9 +504,11 @@ type ListJobsResponse struct { func (x *ListJobsResponse) Reset() { *x = ListJobsResponse{} - mi := &file_app_build_v1_build_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListJobsResponse) String() string { @@ -505,7 +519,7 @@ func (*ListJobsResponse) ProtoMessage() {} func (x *ListJobsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -549,9 +563,11 @@ type RepoLink struct { func (x *RepoLink) Reset() { *x = RepoLink{} - mi := &file_app_build_v1_build_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RepoLink) String() string { @@ -562,7 +578,7 @@ func (*RepoLink) ProtoMessage() {} func (x *RepoLink) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -629,9 +645,11 @@ type LinkRepoRequest struct { func (x *LinkRepoRequest) Reset() { *x = LinkRepoRequest{} - mi := &file_app_build_v1_build_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LinkRepoRequest) String() string { @@ -642,7 +660,7 @@ func (*LinkRepoRequest) ProtoMessage() {} func (x *LinkRepoRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -674,9 +692,11 @@ type LinkRepoResponse struct { func (x *LinkRepoResponse) Reset() { *x = LinkRepoResponse{} - mi := &file_app_build_v1_build_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LinkRepoResponse) String() string { @@ -687,7 +707,7 @@ func (*LinkRepoResponse) ProtoMessage() {} func (x *LinkRepoResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -719,9 +739,11 @@ type UnlinkRepoRequest struct { func (x *UnlinkRepoRequest) Reset() { *x = UnlinkRepoRequest{} - mi := &file_app_build_v1_build_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UnlinkRepoRequest) String() string { @@ -732,7 +754,7 @@ func (*UnlinkRepoRequest) ProtoMessage() {} func (x *UnlinkRepoRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -762,9 +784,11 @@ type UnlinkRepoResponse struct { func (x *UnlinkRepoResponse) Reset() { *x = UnlinkRepoResponse{} - mi := &file_app_build_v1_build_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UnlinkRepoResponse) String() string { @@ -775,7 +799,7 @@ func (*UnlinkRepoResponse) ProtoMessage() {} func (x *UnlinkRepoResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -798,9 +822,11 @@ type ListRepoLinksRequest struct { func (x *ListRepoLinksRequest) Reset() { *x = ListRepoLinksRequest{} - mi := &file_app_build_v1_build_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListRepoLinksRequest) String() string { @@ -811,7 +837,7 @@ func (*ListRepoLinksRequest) ProtoMessage() {} func (x *ListRepoLinksRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -836,9 +862,11 @@ type ListRepoLinksResponse struct { func (x *ListRepoLinksResponse) Reset() { *x = ListRepoLinksResponse{} - mi := &file_app_build_v1_build_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListRepoLinksResponse) String() string { @@ -849,7 +877,7 @@ func (*ListRepoLinksResponse) ProtoMessage() {} func (x *ListRepoLinksResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -879,9 +907,11 @@ type ListAppLinksRequest struct { func (x *ListAppLinksRequest) Reset() { *x = ListAppLinksRequest{} - mi := &file_app_build_v1_build_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListAppLinksRequest) String() string { @@ -892,7 +922,7 @@ func (*ListAppLinksRequest) ProtoMessage() {} func (x *ListAppLinksRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -925,9 +955,11 @@ type AppLink struct { func (x *AppLink) Reset() { *x = AppLink{} - mi := &file_app_build_v1_build_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AppLink) String() string { @@ -938,7 +970,7 @@ func (*AppLink) ProtoMessage() {} func (x *AppLink) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -991,9 +1023,11 @@ type ListAppLinksResponse struct { func (x *ListAppLinksResponse) Reset() { *x = ListAppLinksResponse{} - mi := &file_app_build_v1_build_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListAppLinksResponse) String() string { @@ -1004,7 +1038,7 @@ func (*ListAppLinksResponse) ProtoMessage() {} func (x *ListAppLinksResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1037,9 +1071,11 @@ type RemoveAppLinkRequest struct { func (x *RemoveAppLinkRequest) Reset() { *x = RemoveAppLinkRequest{} - mi := &file_app_build_v1_build_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveAppLinkRequest) String() string { @@ -1050,7 +1086,7 @@ func (*RemoveAppLinkRequest) ProtoMessage() {} func (x *RemoveAppLinkRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1080,9 +1116,11 @@ type RemoveAppLinkResponse struct { func (x *RemoveAppLinkResponse) Reset() { *x = RemoveAppLinkResponse{} - mi := &file_app_build_v1_build_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveAppLinkResponse) String() string { @@ -1093,7 +1131,7 @@ func (*RemoveAppLinkResponse) ProtoMessage() {} func (x *RemoveAppLinkResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1120,9 +1158,11 @@ type LinkOrgRequest struct { func (x *LinkOrgRequest) Reset() { *x = LinkOrgRequest{} - mi := &file_app_build_v1_build_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LinkOrgRequest) String() string { @@ -1133,7 +1173,7 @@ func (*LinkOrgRequest) ProtoMessage() {} func (x *LinkOrgRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1170,9 +1210,11 @@ type LinkOrgResponse struct { func (x *LinkOrgResponse) Reset() { *x = LinkOrgResponse{} - mi := &file_app_build_v1_build_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LinkOrgResponse) String() string { @@ -1183,7 +1225,7 @@ func (*LinkOrgResponse) ProtoMessage() {} func (x *LinkOrgResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1210,9 +1252,11 @@ type UnlinkOrgRequest struct { func (x *UnlinkOrgRequest) Reset() { *x = UnlinkOrgRequest{} - mi := &file_app_build_v1_build_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UnlinkOrgRequest) String() string { @@ -1223,7 +1267,7 @@ func (*UnlinkOrgRequest) ProtoMessage() {} func (x *UnlinkOrgRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1260,9 +1304,11 @@ type UnlinkOrgResponse struct { func (x *UnlinkOrgResponse) Reset() { *x = UnlinkOrgResponse{} - mi := &file_app_build_v1_build_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_build_v1_build_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UnlinkOrgResponse) String() string { @@ -1273,7 +1319,7 @@ func (*UnlinkOrgResponse) ProtoMessage() {} func (x *UnlinkOrgResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1505,7 +1551,7 @@ func file_app_build_v1_build_proto_rawDescGZIP() []byte { var file_app_build_v1_build_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_app_build_v1_build_proto_msgTypes = make([]protoimpl.MessageInfo, 23) -var file_app_build_v1_build_proto_goTypes = []any{ +var file_app_build_v1_build_proto_goTypes = []interface{}{ (JobStatus)(0), // 0: viam.app.build.v1.JobStatus (*StartBuildRequest)(nil), // 1: viam.app.build.v1.StartBuildRequest (*StartBuildResponse)(nil), // 2: viam.app.build.v1.StartBuildResponse @@ -1572,10 +1618,288 @@ func file_app_build_v1_build_proto_init() { if File_app_build_v1_build_proto != nil { return } - file_app_build_v1_build_proto_msgTypes[0].OneofWrappers = []any{} - file_app_build_v1_build_proto_msgTypes[4].OneofWrappers = []any{} - file_app_build_v1_build_proto_msgTypes[5].OneofWrappers = []any{} - file_app_build_v1_build_proto_msgTypes[7].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_app_build_v1_build_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartBuildRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartBuildResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLogsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLogsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JobInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListJobsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListJobsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepoLink); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkRepoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkRepoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlinkRepoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlinkRepoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRepoLinksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRepoLinksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAppLinksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AppLink); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAppLinksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveAppLinkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveAppLinkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkOrgRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkOrgResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlinkOrgRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_build_v1_build_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlinkOrgResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_app_build_v1_build_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_app_build_v1_build_proto_msgTypes[4].OneofWrappers = []interface{}{} + file_app_build_v1_build_proto_msgTypes[5].OneofWrappers = []interface{}{} + file_app_build_v1_build_proto_msgTypes[7].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/app/build/v1/build.pb.gw.go b/app/build/v1/build.pb.gw.go index 616bf1e1..8d6df72a 100644 --- a/app/build/v1/build.pb.gw.go +++ b/app/build/v1/build.pb.gw.go @@ -35,7 +35,11 @@ func request_BuildService_StartBuild_0(ctx context.Context, marshaler runtime.Ma var protoReq StartBuildRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -48,7 +52,11 @@ func local_request_BuildService_StartBuild_0(ctx context.Context, marshaler runt var protoReq StartBuildRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -61,7 +69,11 @@ func request_BuildService_GetLogs_0(ctx context.Context, marshaler runtime.Marsh var protoReq GetLogsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -82,7 +94,11 @@ func request_BuildService_ListJobs_0(ctx context.Context, marshaler runtime.Mars var protoReq ListJobsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -95,7 +111,11 @@ func local_request_BuildService_ListJobs_0(ctx context.Context, marshaler runtim var protoReq ListJobsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -108,7 +128,11 @@ func request_BuildService_LinkRepo_0(ctx context.Context, marshaler runtime.Mars var protoReq LinkRepoRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -121,7 +145,11 @@ func local_request_BuildService_LinkRepo_0(ctx context.Context, marshaler runtim var protoReq LinkRepoRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -134,7 +162,11 @@ func request_BuildService_UnlinkRepo_0(ctx context.Context, marshaler runtime.Ma var protoReq UnlinkRepoRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -147,7 +179,11 @@ func local_request_BuildService_UnlinkRepo_0(ctx context.Context, marshaler runt var protoReq UnlinkRepoRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -160,7 +196,11 @@ func request_BuildService_ListRepoLinks_0(ctx context.Context, marshaler runtime var protoReq ListRepoLinksRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -173,7 +213,11 @@ func local_request_BuildService_ListRepoLinks_0(ctx context.Context, marshaler r var protoReq ListRepoLinksRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -186,7 +230,11 @@ func request_BuildService_ListAppLinks_0(ctx context.Context, marshaler runtime. var protoReq ListAppLinksRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -199,7 +247,11 @@ func local_request_BuildService_ListAppLinks_0(ctx context.Context, marshaler ru var protoReq ListAppLinksRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -212,7 +264,11 @@ func request_BuildService_RemoveAppLink_0(ctx context.Context, marshaler runtime var protoReq RemoveAppLinkRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -225,7 +281,11 @@ func local_request_BuildService_RemoveAppLink_0(ctx context.Context, marshaler r var protoReq RemoveAppLinkRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -238,7 +298,11 @@ func request_BuildService_LinkOrg_0(ctx context.Context, marshaler runtime.Marsh var protoReq LinkOrgRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -251,7 +315,11 @@ func local_request_BuildService_LinkOrg_0(ctx context.Context, marshaler runtime var protoReq LinkOrgRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -264,7 +332,11 @@ func request_BuildService_UnlinkOrg_0(ctx context.Context, marshaler runtime.Mar var protoReq UnlinkOrgRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -277,7 +349,11 @@ func local_request_BuildService_UnlinkOrg_0(ctx context.Context, marshaler runti var protoReq UnlinkOrgRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -530,21 +606,21 @@ func RegisterBuildServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu // RegisterBuildServiceHandlerFromEndpoint is same as RegisterBuildServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterBuildServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/cloudslam/v1/cloud_slam.pb.go b/app/cloudslam/v1/cloud_slam.pb.go index 4f9d6827..134312c2 100644 --- a/app/cloudslam/v1/cloud_slam.pb.go +++ b/app/cloudslam/v1/cloud_slam.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: app/cloudslam/v1/cloud_slam.proto @@ -97,9 +97,11 @@ type StartMappingSessionRequest struct { func (x *StartMappingSessionRequest) Reset() { *x = StartMappingSessionRequest{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StartMappingSessionRequest) String() string { @@ -110,7 +112,7 @@ func (*StartMappingSessionRequest) ProtoMessage() {} func (x *StartMappingSessionRequest) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -214,9 +216,11 @@ type Module struct { func (x *Module) Reset() { *x = Module{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Module) String() string { @@ -227,7 +231,7 @@ func (*Module) ProtoMessage() {} func (x *Module) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -276,9 +280,11 @@ type SensorInfo struct { func (x *SensorInfo) Reset() { *x = SensorInfo{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SensorInfo) String() string { @@ -289,7 +295,7 @@ func (*SensorInfo) ProtoMessage() {} func (x *SensorInfo) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -337,9 +343,11 @@ type CaptureInterval struct { func (x *CaptureInterval) Reset() { *x = CaptureInterval{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CaptureInterval) String() string { @@ -350,7 +358,7 @@ func (*CaptureInterval) ProtoMessage() {} func (x *CaptureInterval) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -389,9 +397,11 @@ type StartMappingSessionResponse struct { func (x *StartMappingSessionResponse) Reset() { *x = StartMappingSessionResponse{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StartMappingSessionResponse) String() string { @@ -402,7 +412,7 @@ func (*StartMappingSessionResponse) ProtoMessage() {} func (x *StartMappingSessionResponse) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -435,9 +445,11 @@ type GetActiveMappingSessionsForRobotRequest struct { func (x *GetActiveMappingSessionsForRobotRequest) Reset() { *x = GetActiveMappingSessionsForRobotRequest{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetActiveMappingSessionsForRobotRequest) String() string { @@ -448,7 +460,7 @@ func (*GetActiveMappingSessionsForRobotRequest) ProtoMessage() {} func (x *GetActiveMappingSessionsForRobotRequest) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -480,9 +492,11 @@ type GetActiveMappingSessionsForRobotResponse struct { func (x *GetActiveMappingSessionsForRobotResponse) Reset() { *x = GetActiveMappingSessionsForRobotResponse{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetActiveMappingSessionsForRobotResponse) String() string { @@ -493,7 +507,7 @@ func (*GetActiveMappingSessionsForRobotResponse) ProtoMessage() {} func (x *GetActiveMappingSessionsForRobotResponse) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -525,9 +539,11 @@ type GetMappingSessionPointCloudRequest struct { func (x *GetMappingSessionPointCloudRequest) Reset() { *x = GetMappingSessionPointCloudRequest{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetMappingSessionPointCloudRequest) String() string { @@ -538,7 +554,7 @@ func (*GetMappingSessionPointCloudRequest) ProtoMessage() {} func (x *GetMappingSessionPointCloudRequest) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -573,9 +589,11 @@ type GetMappingSessionPointCloudResponse struct { func (x *GetMappingSessionPointCloudResponse) Reset() { *x = GetMappingSessionPointCloudResponse{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetMappingSessionPointCloudResponse) String() string { @@ -586,7 +604,7 @@ func (*GetMappingSessionPointCloudResponse) ProtoMessage() {} func (x *GetMappingSessionPointCloudResponse) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -626,9 +644,11 @@ type ListMappingSessionsRequest struct { func (x *ListMappingSessionsRequest) Reset() { *x = ListMappingSessionsRequest{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListMappingSessionsRequest) String() string { @@ -639,7 +659,7 @@ func (*ListMappingSessionsRequest) ProtoMessage() {} func (x *ListMappingSessionsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -678,9 +698,11 @@ type ListMappingSessionsResponse struct { func (x *ListMappingSessionsResponse) Reset() { *x = ListMappingSessionsResponse{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListMappingSessionsResponse) String() string { @@ -691,7 +713,7 @@ func (*ListMappingSessionsResponse) ProtoMessage() {} func (x *ListMappingSessionsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -723,9 +745,11 @@ type StopMappingSessionRequest struct { func (x *StopMappingSessionRequest) Reset() { *x = StopMappingSessionRequest{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopMappingSessionRequest) String() string { @@ -736,7 +760,7 @@ func (*StopMappingSessionRequest) ProtoMessage() {} func (x *StopMappingSessionRequest) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -769,9 +793,11 @@ type StopMappingSessionResponse struct { func (x *StopMappingSessionResponse) Reset() { *x = StopMappingSessionResponse{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopMappingSessionResponse) String() string { @@ -782,7 +808,7 @@ func (*StopMappingSessionResponse) ProtoMessage() {} func (x *StopMappingSessionResponse) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -821,9 +847,11 @@ type GetMappingSessionMetadataByIDRequest struct { func (x *GetMappingSessionMetadataByIDRequest) Reset() { *x = GetMappingSessionMetadataByIDRequest{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetMappingSessionMetadataByIDRequest) String() string { @@ -834,7 +862,7 @@ func (*GetMappingSessionMetadataByIDRequest) ProtoMessage() {} func (x *GetMappingSessionMetadataByIDRequest) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -866,9 +894,11 @@ type GetMappingSessionMetadataByIDResponse struct { func (x *GetMappingSessionMetadataByIDResponse) Reset() { *x = GetMappingSessionMetadataByIDResponse{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetMappingSessionMetadataByIDResponse) String() string { @@ -879,7 +909,7 @@ func (*GetMappingSessionMetadataByIDResponse) ProtoMessage() {} func (x *GetMappingSessionMetadataByIDResponse) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -924,9 +954,11 @@ type MappingMetadata struct { func (x *MappingMetadata) Reset() { *x = MappingMetadata{} - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MappingMetadata) String() string { @@ -937,7 +969,7 @@ func (*MappingMetadata) ProtoMessage() {} func (x *MappingMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1300,7 +1332,7 @@ func file_app_cloudslam_v1_cloud_slam_proto_rawDescGZIP() []byte { var file_app_cloudslam_v1_cloud_slam_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_app_cloudslam_v1_cloud_slam_proto_msgTypes = make([]protoimpl.MessageInfo, 16) -var file_app_cloudslam_v1_cloud_slam_proto_goTypes = []any{ +var file_app_cloudslam_v1_cloud_slam_proto_goTypes = []interface{}{ (EndStatus)(0), // 0: viam.app.cloudslam.v1.EndStatus (*StartMappingSessionRequest)(nil), // 1: viam.app.cloudslam.v1.StartMappingSessionRequest (*Module)(nil), // 2: viam.app.cloudslam.v1.Module @@ -1361,6 +1393,200 @@ func file_app_cloudslam_v1_cloud_slam_proto_init() { if File_app_cloudslam_v1_cloud_slam_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartMappingSessionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Module); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SensorInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CaptureInterval); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartMappingSessionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActiveMappingSessionsForRobotRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActiveMappingSessionsForRobotResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMappingSessionPointCloudRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMappingSessionPointCloudResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMappingSessionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMappingSessionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopMappingSessionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopMappingSessionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMappingSessionMetadataByIDRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMappingSessionMetadataByIDResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_cloudslam_v1_cloud_slam_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MappingMetadata); 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{ diff --git a/app/cloudslam/v1/cloud_slam.pb.gw.go b/app/cloudslam/v1/cloud_slam.pb.gw.go index e900a100..8dc1e685 100644 --- a/app/cloudslam/v1/cloud_slam.pb.gw.go +++ b/app/cloudslam/v1/cloud_slam.pb.gw.go @@ -35,7 +35,11 @@ func request_CloudSLAMService_StartMappingSession_0(ctx context.Context, marshal var protoReq StartMappingSessionRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -48,7 +52,11 @@ func local_request_CloudSLAMService_StartMappingSession_0(ctx context.Context, m var protoReq StartMappingSessionRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -61,7 +69,11 @@ func request_CloudSLAMService_GetActiveMappingSessionsForRobot_0(ctx context.Con var protoReq GetActiveMappingSessionsForRobotRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -74,7 +86,11 @@ func local_request_CloudSLAMService_GetActiveMappingSessionsForRobot_0(ctx conte var protoReq GetActiveMappingSessionsForRobotRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -87,7 +103,11 @@ func request_CloudSLAMService_GetMappingSessionPointCloud_0(ctx context.Context, var protoReq GetMappingSessionPointCloudRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -100,7 +120,11 @@ func local_request_CloudSLAMService_GetMappingSessionPointCloud_0(ctx context.Co var protoReq GetMappingSessionPointCloudRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -113,7 +137,11 @@ func request_CloudSLAMService_ListMappingSessions_0(ctx context.Context, marshal var protoReq ListMappingSessionsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -126,7 +154,11 @@ func local_request_CloudSLAMService_ListMappingSessions_0(ctx context.Context, m var protoReq ListMappingSessionsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -139,7 +171,11 @@ func request_CloudSLAMService_StopMappingSession_0(ctx context.Context, marshale var protoReq StopMappingSessionRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -152,7 +188,11 @@ func local_request_CloudSLAMService_StopMappingSession_0(ctx context.Context, ma var protoReq StopMappingSessionRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -165,7 +205,11 @@ func request_CloudSLAMService_GetMappingSessionMetadataByID_0(ctx context.Contex var protoReq GetMappingSessionMetadataByIDRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -178,7 +222,11 @@ func local_request_CloudSLAMService_GetMappingSessionMetadataByID_0(ctx context. var protoReq GetMappingSessionMetadataByIDRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -349,21 +397,21 @@ func RegisterCloudSLAMServiceHandlerServer(ctx context.Context, mux *runtime.Ser // RegisterCloudSLAMServiceHandlerFromEndpoint is same as RegisterCloudSLAMServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterCloudSLAMServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/data/v1/data.pb.go b/app/data/v1/data.pb.go index e0ec5197..7b055643 100644 --- a/app/data/v1/data.pb.go +++ b/app/data/v1/data.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: app/data/v1/data.proto @@ -148,9 +148,11 @@ type DataRequest struct { func (x *DataRequest) Reset() { *x = DataRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataRequest) String() string { @@ -161,7 +163,7 @@ func (*DataRequest) ProtoMessage() {} func (x *DataRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -233,9 +235,11 @@ type Filter struct { func (x *Filter) Reset() { *x = Filter{} - mi := &file_app_data_v1_data_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Filter) String() string { @@ -246,7 +250,7 @@ func (*Filter) ProtoMessage() {} func (x *Filter) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -372,9 +376,11 @@ type TagsFilter struct { func (x *TagsFilter) Reset() { *x = TagsFilter{} - mi := &file_app_data_v1_data_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TagsFilter) String() string { @@ -385,7 +391,7 @@ func (*TagsFilter) ProtoMessage() {} func (x *TagsFilter) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -436,9 +442,11 @@ type CaptureMetadata struct { func (x *CaptureMetadata) Reset() { *x = CaptureMetadata{} - mi := &file_app_data_v1_data_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CaptureMetadata) String() string { @@ -449,7 +457,7 @@ func (*CaptureMetadata) ProtoMessage() {} func (x *CaptureMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -560,9 +568,11 @@ type CaptureInterval struct { func (x *CaptureInterval) Reset() { *x = CaptureInterval{} - mi := &file_app_data_v1_data_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CaptureInterval) String() string { @@ -573,7 +583,7 @@ func (*CaptureInterval) ProtoMessage() {} func (x *CaptureInterval) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -615,9 +625,11 @@ type TabularDataByFilterRequest struct { func (x *TabularDataByFilterRequest) Reset() { *x = TabularDataByFilterRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TabularDataByFilterRequest) String() string { @@ -628,7 +640,7 @@ func (*TabularDataByFilterRequest) ProtoMessage() {} func (x *TabularDataByFilterRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -679,9 +691,11 @@ type TabularDataByFilterResponse struct { func (x *TabularDataByFilterResponse) Reset() { *x = TabularDataByFilterResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TabularDataByFilterResponse) String() string { @@ -692,7 +706,7 @@ func (*TabularDataByFilterResponse) ProtoMessage() {} func (x *TabularDataByFilterResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -756,9 +770,11 @@ type TabularData struct { func (x *TabularData) Reset() { *x = TabularData{} - mi := &file_app_data_v1_data_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TabularData) String() string { @@ -769,7 +785,7 @@ func (*TabularData) ProtoMessage() {} func (x *TabularData) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -827,9 +843,11 @@ type TabularDataBySQLRequest struct { func (x *TabularDataBySQLRequest) Reset() { *x = TabularDataBySQLRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TabularDataBySQLRequest) String() string { @@ -840,7 +858,7 @@ func (*TabularDataBySQLRequest) ProtoMessage() {} func (x *TabularDataBySQLRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -881,9 +899,11 @@ type TabularDataBySQLResponse struct { func (x *TabularDataBySQLResponse) Reset() { *x = TabularDataBySQLResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TabularDataBySQLResponse) String() string { @@ -894,7 +914,7 @@ func (*TabularDataBySQLResponse) ProtoMessage() {} func (x *TabularDataBySQLResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -938,9 +958,11 @@ type TabularDataByMQLRequest struct { func (x *TabularDataByMQLRequest) Reset() { *x = TabularDataByMQLRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TabularDataByMQLRequest) String() string { @@ -951,7 +973,7 @@ func (*TabularDataByMQLRequest) ProtoMessage() {} func (x *TabularDataByMQLRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -992,9 +1014,11 @@ type TabularDataByMQLResponse struct { func (x *TabularDataByMQLResponse) Reset() { *x = TabularDataByMQLResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TabularDataByMQLResponse) String() string { @@ -1005,7 +1029,7 @@ func (*TabularDataByMQLResponse) ProtoMessage() {} func (x *TabularDataByMQLResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1046,9 +1070,11 @@ type BinaryData struct { func (x *BinaryData) Reset() { *x = BinaryData{} - mi := &file_app_data_v1_data_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *BinaryData) String() string { @@ -1059,7 +1085,7 @@ func (*BinaryData) ProtoMessage() {} func (x *BinaryData) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1102,9 +1128,11 @@ type BinaryDataByFilterRequest struct { func (x *BinaryDataByFilterRequest) Reset() { *x = BinaryDataByFilterRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *BinaryDataByFilterRequest) String() string { @@ -1115,7 +1143,7 @@ func (*BinaryDataByFilterRequest) ProtoMessage() {} func (x *BinaryDataByFilterRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1172,9 +1200,11 @@ type BinaryDataByFilterResponse struct { func (x *BinaryDataByFilterResponse) Reset() { *x = BinaryDataByFilterResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *BinaryDataByFilterResponse) String() string { @@ -1185,7 +1215,7 @@ func (*BinaryDataByFilterResponse) ProtoMessage() {} func (x *BinaryDataByFilterResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1241,9 +1271,11 @@ type BinaryID struct { func (x *BinaryID) Reset() { *x = BinaryID{} - mi := &file_app_data_v1_data_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *BinaryID) String() string { @@ -1254,7 +1286,7 @@ func (*BinaryID) ProtoMessage() {} func (x *BinaryID) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1302,9 +1334,11 @@ type BinaryDataByIDsRequest struct { func (x *BinaryDataByIDsRequest) Reset() { *x = BinaryDataByIDsRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *BinaryDataByIDsRequest) String() string { @@ -1315,7 +1349,7 @@ func (*BinaryDataByIDsRequest) ProtoMessage() {} func (x *BinaryDataByIDsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1356,9 +1390,11 @@ type BinaryDataByIDsResponse struct { func (x *BinaryDataByIDsResponse) Reset() { *x = BinaryDataByIDsResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *BinaryDataByIDsResponse) String() string { @@ -1369,7 +1405,7 @@ func (*BinaryDataByIDsResponse) ProtoMessage() {} func (x *BinaryDataByIDsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1417,9 +1453,11 @@ type BoundingBox struct { func (x *BoundingBox) Reset() { *x = BoundingBox{} - mi := &file_app_data_v1_data_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *BoundingBox) String() string { @@ -1430,7 +1468,7 @@ func (*BoundingBox) ProtoMessage() {} func (x *BoundingBox) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1507,9 +1545,11 @@ type Classification struct { func (x *Classification) Reset() { *x = Classification{} - mi := &file_app_data_v1_data_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Classification) String() string { @@ -1520,7 +1560,7 @@ func (*Classification) ProtoMessage() {} func (x *Classification) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1561,9 +1601,11 @@ type Annotations struct { func (x *Annotations) Reset() { *x = Annotations{} - mi := &file_app_data_v1_data_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Annotations) String() string { @@ -1574,7 +1616,7 @@ func (*Annotations) ProtoMessage() {} func (x *Annotations) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1622,9 +1664,11 @@ type BinaryMetadata struct { func (x *BinaryMetadata) Reset() { *x = BinaryMetadata{} - mi := &file_app_data_v1_data_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *BinaryMetadata) String() string { @@ -1635,7 +1679,7 @@ func (*BinaryMetadata) ProtoMessage() {} func (x *BinaryMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1730,9 +1774,11 @@ type DeleteTabularDataRequest struct { func (x *DeleteTabularDataRequest) Reset() { *x = DeleteTabularDataRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteTabularDataRequest) String() string { @@ -1743,7 +1789,7 @@ func (*DeleteTabularDataRequest) ProtoMessage() {} func (x *DeleteTabularDataRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1783,9 +1829,11 @@ type DeleteTabularDataResponse struct { func (x *DeleteTabularDataResponse) Reset() { *x = DeleteTabularDataResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteTabularDataResponse) String() string { @@ -1796,7 +1844,7 @@ func (*DeleteTabularDataResponse) ProtoMessage() {} func (x *DeleteTabularDataResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1830,9 +1878,11 @@ type DeleteBinaryDataByFilterRequest struct { func (x *DeleteBinaryDataByFilterRequest) Reset() { *x = DeleteBinaryDataByFilterRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteBinaryDataByFilterRequest) String() string { @@ -1843,7 +1893,7 @@ func (*DeleteBinaryDataByFilterRequest) ProtoMessage() {} func (x *DeleteBinaryDataByFilterRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1883,9 +1933,11 @@ type DeleteBinaryDataByFilterResponse struct { func (x *DeleteBinaryDataByFilterResponse) Reset() { *x = DeleteBinaryDataByFilterResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteBinaryDataByFilterResponse) String() string { @@ -1896,7 +1948,7 @@ func (*DeleteBinaryDataByFilterResponse) ProtoMessage() {} func (x *DeleteBinaryDataByFilterResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1929,9 +1981,11 @@ type DeleteBinaryDataByIDsRequest struct { func (x *DeleteBinaryDataByIDsRequest) Reset() { *x = DeleteBinaryDataByIDsRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteBinaryDataByIDsRequest) String() string { @@ -1942,7 +1996,7 @@ func (*DeleteBinaryDataByIDsRequest) ProtoMessage() {} func (x *DeleteBinaryDataByIDsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1975,9 +2029,11 @@ type DeleteBinaryDataByIDsResponse struct { func (x *DeleteBinaryDataByIDsResponse) Reset() { *x = DeleteBinaryDataByIDsResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteBinaryDataByIDsResponse) String() string { @@ -1988,7 +2044,7 @@ func (*DeleteBinaryDataByIDsResponse) ProtoMessage() {} func (x *DeleteBinaryDataByIDsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2022,9 +2078,11 @@ type AddTagsToBinaryDataByIDsRequest struct { func (x *AddTagsToBinaryDataByIDsRequest) Reset() { *x = AddTagsToBinaryDataByIDsRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddTagsToBinaryDataByIDsRequest) String() string { @@ -2035,7 +2093,7 @@ func (*AddTagsToBinaryDataByIDsRequest) ProtoMessage() {} func (x *AddTagsToBinaryDataByIDsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2072,9 +2130,11 @@ type AddTagsToBinaryDataByIDsResponse struct { func (x *AddTagsToBinaryDataByIDsResponse) Reset() { *x = AddTagsToBinaryDataByIDsResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddTagsToBinaryDataByIDsResponse) String() string { @@ -2085,7 +2145,7 @@ func (*AddTagsToBinaryDataByIDsResponse) ProtoMessage() {} func (x *AddTagsToBinaryDataByIDsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[29] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2112,9 +2172,11 @@ type AddTagsToBinaryDataByFilterRequest struct { func (x *AddTagsToBinaryDataByFilterRequest) Reset() { *x = AddTagsToBinaryDataByFilterRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddTagsToBinaryDataByFilterRequest) String() string { @@ -2125,7 +2187,7 @@ func (*AddTagsToBinaryDataByFilterRequest) ProtoMessage() {} func (x *AddTagsToBinaryDataByFilterRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[30] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2162,9 +2224,11 @@ type AddTagsToBinaryDataByFilterResponse struct { func (x *AddTagsToBinaryDataByFilterResponse) Reset() { *x = AddTagsToBinaryDataByFilterResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddTagsToBinaryDataByFilterResponse) String() string { @@ -2175,7 +2239,7 @@ func (*AddTagsToBinaryDataByFilterResponse) ProtoMessage() {} func (x *AddTagsToBinaryDataByFilterResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[31] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2202,9 +2266,11 @@ type RemoveTagsFromBinaryDataByIDsRequest struct { func (x *RemoveTagsFromBinaryDataByIDsRequest) Reset() { *x = RemoveTagsFromBinaryDataByIDsRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveTagsFromBinaryDataByIDsRequest) String() string { @@ -2215,7 +2281,7 @@ func (*RemoveTagsFromBinaryDataByIDsRequest) ProtoMessage() {} func (x *RemoveTagsFromBinaryDataByIDsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[32] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2255,9 +2321,11 @@ type RemoveTagsFromBinaryDataByIDsResponse struct { func (x *RemoveTagsFromBinaryDataByIDsResponse) Reset() { *x = RemoveTagsFromBinaryDataByIDsResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveTagsFromBinaryDataByIDsResponse) String() string { @@ -2268,7 +2336,7 @@ func (*RemoveTagsFromBinaryDataByIDsResponse) ProtoMessage() {} func (x *RemoveTagsFromBinaryDataByIDsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[33] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2302,9 +2370,11 @@ type RemoveTagsFromBinaryDataByFilterRequest struct { func (x *RemoveTagsFromBinaryDataByFilterRequest) Reset() { *x = RemoveTagsFromBinaryDataByFilterRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveTagsFromBinaryDataByFilterRequest) String() string { @@ -2315,7 +2385,7 @@ func (*RemoveTagsFromBinaryDataByFilterRequest) ProtoMessage() {} func (x *RemoveTagsFromBinaryDataByFilterRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[34] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2355,9 +2425,11 @@ type RemoveTagsFromBinaryDataByFilterResponse struct { func (x *RemoveTagsFromBinaryDataByFilterResponse) Reset() { *x = RemoveTagsFromBinaryDataByFilterResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveTagsFromBinaryDataByFilterResponse) String() string { @@ -2368,7 +2440,7 @@ func (*RemoveTagsFromBinaryDataByFilterResponse) ProtoMessage() {} func (x *RemoveTagsFromBinaryDataByFilterResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[35] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2401,9 +2473,11 @@ type TagsByFilterRequest struct { func (x *TagsByFilterRequest) Reset() { *x = TagsByFilterRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TagsByFilterRequest) String() string { @@ -2414,7 +2488,7 @@ func (*TagsByFilterRequest) ProtoMessage() {} func (x *TagsByFilterRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[36] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2447,9 +2521,11 @@ type TagsByFilterResponse struct { func (x *TagsByFilterResponse) Reset() { *x = TagsByFilterResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TagsByFilterResponse) String() string { @@ -2460,7 +2536,7 @@ func (*TagsByFilterResponse) ProtoMessage() {} func (x *TagsByFilterResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[37] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2499,9 +2575,11 @@ type AddBoundingBoxToImageByIDRequest struct { func (x *AddBoundingBoxToImageByIDRequest) Reset() { *x = AddBoundingBoxToImageByIDRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddBoundingBoxToImageByIDRequest) String() string { @@ -2512,7 +2590,7 @@ func (*AddBoundingBoxToImageByIDRequest) ProtoMessage() {} func (x *AddBoundingBoxToImageByIDRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[38] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2580,9 +2658,11 @@ type AddBoundingBoxToImageByIDResponse struct { func (x *AddBoundingBoxToImageByIDResponse) Reset() { *x = AddBoundingBoxToImageByIDResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddBoundingBoxToImageByIDResponse) String() string { @@ -2593,7 +2673,7 @@ func (*AddBoundingBoxToImageByIDResponse) ProtoMessage() {} func (x *AddBoundingBoxToImageByIDResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[39] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2627,9 +2707,11 @@ type RemoveBoundingBoxFromImageByIDRequest struct { func (x *RemoveBoundingBoxFromImageByIDRequest) Reset() { *x = RemoveBoundingBoxFromImageByIDRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveBoundingBoxFromImageByIDRequest) String() string { @@ -2640,7 +2722,7 @@ func (*RemoveBoundingBoxFromImageByIDRequest) ProtoMessage() {} func (x *RemoveBoundingBoxFromImageByIDRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[40] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2677,9 +2759,11 @@ type RemoveBoundingBoxFromImageByIDResponse struct { func (x *RemoveBoundingBoxFromImageByIDResponse) Reset() { *x = RemoveBoundingBoxFromImageByIDResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveBoundingBoxFromImageByIDResponse) String() string { @@ -2690,7 +2774,7 @@ func (*RemoveBoundingBoxFromImageByIDResponse) ProtoMessage() {} func (x *RemoveBoundingBoxFromImageByIDResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[41] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2722,9 +2806,11 @@ type UpdateBoundingBoxRequest struct { func (x *UpdateBoundingBoxRequest) Reset() { *x = UpdateBoundingBoxRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateBoundingBoxRequest) String() string { @@ -2735,7 +2821,7 @@ func (*UpdateBoundingBoxRequest) ProtoMessage() {} func (x *UpdateBoundingBoxRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[42] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2807,9 +2893,11 @@ type UpdateBoundingBoxResponse struct { func (x *UpdateBoundingBoxResponse) Reset() { *x = UpdateBoundingBoxResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateBoundingBoxResponse) String() string { @@ -2820,7 +2908,7 @@ func (*UpdateBoundingBoxResponse) ProtoMessage() {} func (x *UpdateBoundingBoxResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[43] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2846,9 +2934,11 @@ type BoundingBoxLabelsByFilterRequest struct { func (x *BoundingBoxLabelsByFilterRequest) Reset() { *x = BoundingBoxLabelsByFilterRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *BoundingBoxLabelsByFilterRequest) String() string { @@ -2859,7 +2949,7 @@ func (*BoundingBoxLabelsByFilterRequest) ProtoMessage() {} func (x *BoundingBoxLabelsByFilterRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[44] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2892,9 +2982,11 @@ type BoundingBoxLabelsByFilterResponse struct { func (x *BoundingBoxLabelsByFilterResponse) Reset() { *x = BoundingBoxLabelsByFilterResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *BoundingBoxLabelsByFilterResponse) String() string { @@ -2905,7 +2997,7 @@ func (*BoundingBoxLabelsByFilterResponse) ProtoMessage() {} func (x *BoundingBoxLabelsByFilterResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[45] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2941,9 +3033,11 @@ type ConfigureDatabaseUserRequest struct { func (x *ConfigureDatabaseUserRequest) Reset() { *x = ConfigureDatabaseUserRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ConfigureDatabaseUserRequest) String() string { @@ -2954,7 +3048,7 @@ func (*ConfigureDatabaseUserRequest) ProtoMessage() {} func (x *ConfigureDatabaseUserRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[46] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2991,9 +3085,11 @@ type ConfigureDatabaseUserResponse struct { func (x *ConfigureDatabaseUserResponse) Reset() { *x = ConfigureDatabaseUserResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ConfigureDatabaseUserResponse) String() string { @@ -3004,7 +3100,7 @@ func (*ConfigureDatabaseUserResponse) ProtoMessage() {} func (x *ConfigureDatabaseUserResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[47] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3030,9 +3126,11 @@ type GetDatabaseConnectionRequest struct { func (x *GetDatabaseConnectionRequest) Reset() { *x = GetDatabaseConnectionRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetDatabaseConnectionRequest) String() string { @@ -3043,7 +3141,7 @@ func (*GetDatabaseConnectionRequest) ProtoMessage() {} func (x *GetDatabaseConnectionRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[48] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3080,9 +3178,11 @@ type GetDatabaseConnectionResponse struct { func (x *GetDatabaseConnectionResponse) Reset() { *x = GetDatabaseConnectionResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetDatabaseConnectionResponse) String() string { @@ -3093,7 +3193,7 @@ func (*GetDatabaseConnectionResponse) ProtoMessage() {} func (x *GetDatabaseConnectionResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[49] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3141,9 +3241,11 @@ type AddBinaryDataToDatasetByIDsRequest struct { func (x *AddBinaryDataToDatasetByIDsRequest) Reset() { *x = AddBinaryDataToDatasetByIDsRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddBinaryDataToDatasetByIDsRequest) String() string { @@ -3154,7 +3256,7 @@ func (*AddBinaryDataToDatasetByIDsRequest) ProtoMessage() {} func (x *AddBinaryDataToDatasetByIDsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[50] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3191,9 +3293,11 @@ type AddBinaryDataToDatasetByIDsResponse struct { func (x *AddBinaryDataToDatasetByIDsResponse) Reset() { *x = AddBinaryDataToDatasetByIDsResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddBinaryDataToDatasetByIDsResponse) String() string { @@ -3204,7 +3308,7 @@ func (*AddBinaryDataToDatasetByIDsResponse) ProtoMessage() {} func (x *AddBinaryDataToDatasetByIDsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[51] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3231,9 +3335,11 @@ type RemoveBinaryDataFromDatasetByIDsRequest struct { func (x *RemoveBinaryDataFromDatasetByIDsRequest) Reset() { *x = RemoveBinaryDataFromDatasetByIDsRequest{} - mi := &file_app_data_v1_data_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveBinaryDataFromDatasetByIDsRequest) String() string { @@ -3244,7 +3350,7 @@ func (*RemoveBinaryDataFromDatasetByIDsRequest) ProtoMessage() {} func (x *RemoveBinaryDataFromDatasetByIDsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[52] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3281,9 +3387,11 @@ type RemoveBinaryDataFromDatasetByIDsResponse struct { func (x *RemoveBinaryDataFromDatasetByIDsResponse) Reset() { *x = RemoveBinaryDataFromDatasetByIDsResponse{} - mi := &file_app_data_v1_data_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_data_v1_data_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveBinaryDataFromDatasetByIDsResponse) String() string { @@ -3294,7 +3402,7 @@ func (*RemoveBinaryDataFromDatasetByIDsResponse) ProtoMessage() {} func (x *RemoveBinaryDataFromDatasetByIDsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[53] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3995,7 +4103,7 @@ func file_app_data_v1_data_proto_rawDescGZIP() []byte { var file_app_data_v1_data_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_app_data_v1_data_proto_msgTypes = make([]protoimpl.MessageInfo, 55) -var file_app_data_v1_data_proto_goTypes = []any{ +var file_app_data_v1_data_proto_goTypes = []interface{}{ (Order)(0), // 0: viam.app.data.v1.Order (TagsFilterType)(0), // 1: viam.app.data.v1.TagsFilterType (*DataRequest)(nil), // 2: viam.app.data.v1.DataRequest @@ -4153,9 +4261,659 @@ func file_app_data_v1_data_proto_init() { if File_app_data_v1_data_proto != nil { return } - file_app_data_v1_data_proto_msgTypes[18].OneofWrappers = []any{} - file_app_data_v1_data_proto_msgTypes[19].OneofWrappers = []any{} - file_app_data_v1_data_proto_msgTypes[42].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_app_data_v1_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Filter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TagsFilter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CaptureMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CaptureInterval); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TabularDataByFilterRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TabularDataByFilterResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TabularData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TabularDataBySQLRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TabularDataBySQLResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TabularDataByMQLRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TabularDataByMQLResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BinaryData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BinaryDataByFilterRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BinaryDataByFilterResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BinaryID); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BinaryDataByIDsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BinaryDataByIDsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BoundingBox); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Classification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotations); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BinaryMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteTabularDataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteTabularDataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteBinaryDataByFilterRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteBinaryDataByFilterResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteBinaryDataByIDsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteBinaryDataByIDsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTagsToBinaryDataByIDsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTagsToBinaryDataByIDsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTagsToBinaryDataByFilterRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTagsToBinaryDataByFilterResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveTagsFromBinaryDataByIDsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveTagsFromBinaryDataByIDsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveTagsFromBinaryDataByFilterRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveTagsFromBinaryDataByFilterResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TagsByFilterRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TagsByFilterResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddBoundingBoxToImageByIDRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddBoundingBoxToImageByIDResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveBoundingBoxFromImageByIDRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveBoundingBoxFromImageByIDResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateBoundingBoxRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateBoundingBoxResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BoundingBoxLabelsByFilterRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BoundingBoxLabelsByFilterResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigureDatabaseUserRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigureDatabaseUserResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDatabaseConnectionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDatabaseConnectionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddBinaryDataToDatasetByIDsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddBinaryDataToDatasetByIDsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveBinaryDataFromDatasetByIDsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_data_v1_data_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveBinaryDataFromDatasetByIDsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_app_data_v1_data_proto_msgTypes[18].OneofWrappers = []interface{}{} + file_app_data_v1_data_proto_msgTypes[19].OneofWrappers = []interface{}{} + file_app_data_v1_data_proto_msgTypes[42].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/app/data/v1/data.pb.gw.go b/app/data/v1/data.pb.gw.go index bc73babe..9b869bb7 100644 --- a/app/data/v1/data.pb.gw.go +++ b/app/data/v1/data.pb.gw.go @@ -35,7 +35,11 @@ func request_DataService_TabularDataByFilter_0(ctx context.Context, marshaler ru var protoReq TabularDataByFilterRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -48,7 +52,11 @@ func local_request_DataService_TabularDataByFilter_0(ctx context.Context, marsha var protoReq TabularDataByFilterRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -61,7 +69,11 @@ func request_DataService_TabularDataBySQL_0(ctx context.Context, marshaler runti var protoReq TabularDataBySQLRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -74,7 +86,11 @@ func local_request_DataService_TabularDataBySQL_0(ctx context.Context, marshaler var protoReq TabularDataBySQLRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -87,7 +103,11 @@ func request_DataService_TabularDataByMQL_0(ctx context.Context, marshaler runti var protoReq TabularDataByMQLRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -100,7 +120,11 @@ func local_request_DataService_TabularDataByMQL_0(ctx context.Context, marshaler var protoReq TabularDataByMQLRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -113,7 +137,11 @@ func request_DataService_BinaryDataByFilter_0(ctx context.Context, marshaler run var protoReq BinaryDataByFilterRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -126,7 +154,11 @@ func local_request_DataService_BinaryDataByFilter_0(ctx context.Context, marshal var protoReq BinaryDataByFilterRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -139,7 +171,11 @@ func request_DataService_BinaryDataByIDs_0(ctx context.Context, marshaler runtim var protoReq BinaryDataByIDsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -152,7 +188,11 @@ func local_request_DataService_BinaryDataByIDs_0(ctx context.Context, marshaler var protoReq BinaryDataByIDsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -165,7 +205,11 @@ func request_DataService_DeleteTabularData_0(ctx context.Context, marshaler runt var protoReq DeleteTabularDataRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -178,7 +222,11 @@ func local_request_DataService_DeleteTabularData_0(ctx context.Context, marshale var protoReq DeleteTabularDataRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -191,7 +239,11 @@ func request_DataService_DeleteBinaryDataByFilter_0(ctx context.Context, marshal var protoReq DeleteBinaryDataByFilterRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -204,7 +256,11 @@ func local_request_DataService_DeleteBinaryDataByFilter_0(ctx context.Context, m var protoReq DeleteBinaryDataByFilterRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -217,7 +273,11 @@ func request_DataService_DeleteBinaryDataByIDs_0(ctx context.Context, marshaler var protoReq DeleteBinaryDataByIDsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -230,7 +290,11 @@ func local_request_DataService_DeleteBinaryDataByIDs_0(ctx context.Context, mars var protoReq DeleteBinaryDataByIDsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -243,7 +307,11 @@ func request_DataService_AddTagsToBinaryDataByIDs_0(ctx context.Context, marshal var protoReq AddTagsToBinaryDataByIDsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -256,7 +324,11 @@ func local_request_DataService_AddTagsToBinaryDataByIDs_0(ctx context.Context, m var protoReq AddTagsToBinaryDataByIDsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -269,7 +341,11 @@ func request_DataService_AddTagsToBinaryDataByFilter_0(ctx context.Context, mars var protoReq AddTagsToBinaryDataByFilterRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -282,7 +358,11 @@ func local_request_DataService_AddTagsToBinaryDataByFilter_0(ctx context.Context var protoReq AddTagsToBinaryDataByFilterRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -295,7 +375,11 @@ func request_DataService_RemoveTagsFromBinaryDataByIDs_0(ctx context.Context, ma var protoReq RemoveTagsFromBinaryDataByIDsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -308,7 +392,11 @@ func local_request_DataService_RemoveTagsFromBinaryDataByIDs_0(ctx context.Conte var protoReq RemoveTagsFromBinaryDataByIDsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -321,7 +409,11 @@ func request_DataService_RemoveTagsFromBinaryDataByFilter_0(ctx context.Context, var protoReq RemoveTagsFromBinaryDataByFilterRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -334,7 +426,11 @@ func local_request_DataService_RemoveTagsFromBinaryDataByFilter_0(ctx context.Co var protoReq RemoveTagsFromBinaryDataByFilterRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -347,7 +443,11 @@ func request_DataService_TagsByFilter_0(ctx context.Context, marshaler runtime.M var protoReq TagsByFilterRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -360,7 +460,11 @@ func local_request_DataService_TagsByFilter_0(ctx context.Context, marshaler run var protoReq TagsByFilterRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -373,7 +477,11 @@ func request_DataService_AddBoundingBoxToImageByID_0(ctx context.Context, marsha var protoReq AddBoundingBoxToImageByIDRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -386,7 +494,11 @@ func local_request_DataService_AddBoundingBoxToImageByID_0(ctx context.Context, var protoReq AddBoundingBoxToImageByIDRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -399,7 +511,11 @@ func request_DataService_RemoveBoundingBoxFromImageByID_0(ctx context.Context, m var protoReq RemoveBoundingBoxFromImageByIDRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -412,7 +528,11 @@ func local_request_DataService_RemoveBoundingBoxFromImageByID_0(ctx context.Cont var protoReq RemoveBoundingBoxFromImageByIDRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -425,7 +545,11 @@ func request_DataService_BoundingBoxLabelsByFilter_0(ctx context.Context, marsha var protoReq BoundingBoxLabelsByFilterRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -438,7 +562,11 @@ func local_request_DataService_BoundingBoxLabelsByFilter_0(ctx context.Context, var protoReq BoundingBoxLabelsByFilterRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -451,7 +579,11 @@ func request_DataService_UpdateBoundingBox_0(ctx context.Context, marshaler runt var protoReq UpdateBoundingBoxRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -464,7 +596,11 @@ func local_request_DataService_UpdateBoundingBox_0(ctx context.Context, marshale var protoReq UpdateBoundingBoxRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -477,7 +613,11 @@ func request_DataService_GetDatabaseConnection_0(ctx context.Context, marshaler var protoReq GetDatabaseConnectionRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -490,7 +630,11 @@ func local_request_DataService_GetDatabaseConnection_0(ctx context.Context, mars var protoReq GetDatabaseConnectionRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -503,7 +647,11 @@ func request_DataService_ConfigureDatabaseUser_0(ctx context.Context, marshaler var protoReq ConfigureDatabaseUserRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -516,7 +664,11 @@ func local_request_DataService_ConfigureDatabaseUser_0(ctx context.Context, mars var protoReq ConfigureDatabaseUserRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -529,7 +681,11 @@ func request_DataService_AddBinaryDataToDatasetByIDs_0(ctx context.Context, mars var protoReq AddBinaryDataToDatasetByIDsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -542,7 +698,11 @@ func local_request_DataService_AddBinaryDataToDatasetByIDs_0(ctx context.Context var protoReq AddBinaryDataToDatasetByIDsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -555,7 +715,11 @@ func request_DataService_RemoveBinaryDataFromDatasetByIDs_0(ctx context.Context, var protoReq RemoveBinaryDataFromDatasetByIDsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -568,7 +732,11 @@ func local_request_DataService_RemoveBinaryDataFromDatasetByIDs_0(ctx context.Co var protoReq RemoveBinaryDataFromDatasetByIDsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1114,21 +1282,21 @@ func RegisterDataServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux // RegisterDataServiceHandlerFromEndpoint is same as RegisterDataServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterDataServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/dataset/v1/dataset.pb.go b/app/dataset/v1/dataset.pb.go index ef85e5b6..8b00c80e 100644 --- a/app/dataset/v1/dataset.pb.go +++ b/app/dataset/v1/dataset.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: app/dataset/v1/dataset.proto @@ -35,9 +35,11 @@ type Dataset struct { func (x *Dataset) Reset() { *x = Dataset{} - mi := &file_app_dataset_v1_dataset_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_dataset_v1_dataset_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Dataset) String() string { @@ -48,7 +50,7 @@ func (*Dataset) ProtoMessage() {} func (x *Dataset) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -103,9 +105,11 @@ type CreateDatasetRequest struct { func (x *CreateDatasetRequest) Reset() { *x = CreateDatasetRequest{} - mi := &file_app_dataset_v1_dataset_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_dataset_v1_dataset_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateDatasetRequest) String() string { @@ -116,7 +120,7 @@ func (*CreateDatasetRequest) ProtoMessage() {} func (x *CreateDatasetRequest) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -156,9 +160,11 @@ type CreateDatasetResponse struct { func (x *CreateDatasetResponse) Reset() { *x = CreateDatasetResponse{} - mi := &file_app_dataset_v1_dataset_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_dataset_v1_dataset_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateDatasetResponse) String() string { @@ -169,7 +175,7 @@ func (*CreateDatasetResponse) ProtoMessage() {} func (x *CreateDatasetResponse) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -202,9 +208,11 @@ type DeleteDatasetRequest struct { func (x *DeleteDatasetRequest) Reset() { *x = DeleteDatasetRequest{} - mi := &file_app_dataset_v1_dataset_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_dataset_v1_dataset_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteDatasetRequest) String() string { @@ -215,7 +223,7 @@ func (*DeleteDatasetRequest) ProtoMessage() {} func (x *DeleteDatasetRequest) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -245,9 +253,11 @@ type DeleteDatasetResponse struct { func (x *DeleteDatasetResponse) Reset() { *x = DeleteDatasetResponse{} - mi := &file_app_dataset_v1_dataset_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_dataset_v1_dataset_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteDatasetResponse) String() string { @@ -258,7 +268,7 @@ func (*DeleteDatasetResponse) ProtoMessage() {} func (x *DeleteDatasetResponse) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -285,9 +295,11 @@ type RenameDatasetRequest struct { func (x *RenameDatasetRequest) Reset() { *x = RenameDatasetRequest{} - mi := &file_app_dataset_v1_dataset_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_dataset_v1_dataset_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RenameDatasetRequest) String() string { @@ -298,7 +310,7 @@ func (*RenameDatasetRequest) ProtoMessage() {} func (x *RenameDatasetRequest) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -335,9 +347,11 @@ type RenameDatasetResponse struct { func (x *RenameDatasetResponse) Reset() { *x = RenameDatasetResponse{} - mi := &file_app_dataset_v1_dataset_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_dataset_v1_dataset_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RenameDatasetResponse) String() string { @@ -348,7 +362,7 @@ func (*RenameDatasetResponse) ProtoMessage() {} func (x *RenameDatasetResponse) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -374,9 +388,11 @@ type ListDatasetsByOrganizationIDRequest struct { func (x *ListDatasetsByOrganizationIDRequest) Reset() { *x = ListDatasetsByOrganizationIDRequest{} - mi := &file_app_dataset_v1_dataset_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_dataset_v1_dataset_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListDatasetsByOrganizationIDRequest) String() string { @@ -387,7 +403,7 @@ func (*ListDatasetsByOrganizationIDRequest) ProtoMessage() {} func (x *ListDatasetsByOrganizationIDRequest) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -420,9 +436,11 @@ type ListDatasetsByOrganizationIDResponse struct { func (x *ListDatasetsByOrganizationIDResponse) Reset() { *x = ListDatasetsByOrganizationIDResponse{} - mi := &file_app_dataset_v1_dataset_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_dataset_v1_dataset_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListDatasetsByOrganizationIDResponse) String() string { @@ -433,7 +451,7 @@ func (*ListDatasetsByOrganizationIDResponse) ProtoMessage() {} func (x *ListDatasetsByOrganizationIDResponse) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -466,9 +484,11 @@ type ListDatasetsByIDsRequest struct { func (x *ListDatasetsByIDsRequest) Reset() { *x = ListDatasetsByIDsRequest{} - mi := &file_app_dataset_v1_dataset_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_dataset_v1_dataset_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListDatasetsByIDsRequest) String() string { @@ -479,7 +499,7 @@ func (*ListDatasetsByIDsRequest) ProtoMessage() {} func (x *ListDatasetsByIDsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -512,9 +532,11 @@ type ListDatasetsByIDsResponse struct { func (x *ListDatasetsByIDsResponse) Reset() { *x = ListDatasetsByIDsResponse{} - mi := &file_app_dataset_v1_dataset_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_dataset_v1_dataset_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListDatasetsByIDsResponse) String() string { @@ -525,7 +547,7 @@ func (*ListDatasetsByIDsResponse) ProtoMessage() {} func (x *ListDatasetsByIDsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -657,7 +679,7 @@ func file_app_dataset_v1_dataset_proto_rawDescGZIP() []byte { } var file_app_dataset_v1_dataset_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_app_dataset_v1_dataset_proto_goTypes = []any{ +var file_app_dataset_v1_dataset_proto_goTypes = []interface{}{ (*Dataset)(nil), // 0: viam.app.dataset.v1.Dataset (*CreateDatasetRequest)(nil), // 1: viam.app.dataset.v1.CreateDatasetRequest (*CreateDatasetResponse)(nil), // 2: viam.app.dataset.v1.CreateDatasetResponse @@ -697,6 +719,140 @@ func file_app_dataset_v1_dataset_proto_init() { if File_app_dataset_v1_dataset_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_app_dataset_v1_dataset_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Dataset); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_dataset_v1_dataset_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateDatasetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_dataset_v1_dataset_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateDatasetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_dataset_v1_dataset_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteDatasetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_dataset_v1_dataset_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteDatasetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_dataset_v1_dataset_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameDatasetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_dataset_v1_dataset_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameDatasetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_dataset_v1_dataset_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDatasetsByOrganizationIDRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_dataset_v1_dataset_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDatasetsByOrganizationIDResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_dataset_v1_dataset_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDatasetsByIDsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_dataset_v1_dataset_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListDatasetsByIDsResponse); 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{ diff --git a/app/dataset/v1/dataset.pb.gw.go b/app/dataset/v1/dataset.pb.gw.go index 1b40e0b2..a5693358 100644 --- a/app/dataset/v1/dataset.pb.gw.go +++ b/app/dataset/v1/dataset.pb.gw.go @@ -35,7 +35,11 @@ func request_DatasetService_CreateDataset_0(ctx context.Context, marshaler runti var protoReq CreateDatasetRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -48,7 +52,11 @@ func local_request_DatasetService_CreateDataset_0(ctx context.Context, marshaler var protoReq CreateDatasetRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -61,7 +69,11 @@ func request_DatasetService_DeleteDataset_0(ctx context.Context, marshaler runti var protoReq DeleteDatasetRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -74,7 +86,11 @@ func local_request_DatasetService_DeleteDataset_0(ctx context.Context, marshaler var protoReq DeleteDatasetRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -87,7 +103,11 @@ func request_DatasetService_RenameDataset_0(ctx context.Context, marshaler runti var protoReq RenameDatasetRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -100,7 +120,11 @@ func local_request_DatasetService_RenameDataset_0(ctx context.Context, marshaler var protoReq RenameDatasetRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -113,7 +137,11 @@ func request_DatasetService_ListDatasetsByOrganizationID_0(ctx context.Context, var protoReq ListDatasetsByOrganizationIDRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -126,7 +154,11 @@ func local_request_DatasetService_ListDatasetsByOrganizationID_0(ctx context.Con var protoReq ListDatasetsByOrganizationIDRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -139,7 +171,11 @@ func request_DatasetService_ListDatasetsByIDs_0(ctx context.Context, marshaler r var protoReq ListDatasetsByIDsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -152,7 +188,11 @@ func local_request_DatasetService_ListDatasetsByIDs_0(ctx context.Context, marsh var protoReq ListDatasetsByIDsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -298,21 +338,21 @@ func RegisterDatasetServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterDatasetServiceHandlerFromEndpoint is same as RegisterDatasetServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterDatasetServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/datasync/v1/data_sync.pb.go b/app/datasync/v1/data_sync.pb.go index f9d8e80f..54f6caa2 100644 --- a/app/datasync/v1/data_sync.pb.go +++ b/app/datasync/v1/data_sync.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: app/datasync/v1/data_sync.proto @@ -142,9 +142,11 @@ type DataCaptureUploadRequest struct { func (x *DataCaptureUploadRequest) Reset() { *x = DataCaptureUploadRequest{} - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataCaptureUploadRequest) String() string { @@ -155,7 +157,7 @@ func (*DataCaptureUploadRequest) ProtoMessage() {} func (x *DataCaptureUploadRequest) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -195,9 +197,11 @@ type DataCaptureUploadResponse struct { func (x *DataCaptureUploadResponse) Reset() { *x = DataCaptureUploadResponse{} - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataCaptureUploadResponse) String() string { @@ -208,7 +212,7 @@ func (*DataCaptureUploadResponse) ProtoMessage() {} func (x *DataCaptureUploadResponse) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -246,9 +250,11 @@ type FileUploadRequest struct { func (x *FileUploadRequest) Reset() { *x = FileUploadRequest{} - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FileUploadRequest) String() string { @@ -259,7 +265,7 @@ func (*FileUploadRequest) ProtoMessage() {} func (x *FileUploadRequest) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -322,9 +328,11 @@ type FileUploadResponse struct { func (x *FileUploadResponse) Reset() { *x = FileUploadResponse{} - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FileUploadResponse) String() string { @@ -335,7 +343,7 @@ func (*FileUploadResponse) ProtoMessage() {} func (x *FileUploadResponse) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -373,9 +381,11 @@ type StreamingDataCaptureUploadRequest struct { func (x *StreamingDataCaptureUploadRequest) Reset() { *x = StreamingDataCaptureUploadRequest{} - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamingDataCaptureUploadRequest) String() string { @@ -386,7 +396,7 @@ func (*StreamingDataCaptureUploadRequest) ProtoMessage() {} func (x *StreamingDataCaptureUploadRequest) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -450,9 +460,11 @@ type StreamingDataCaptureUploadResponse struct { func (x *StreamingDataCaptureUploadResponse) Reset() { *x = StreamingDataCaptureUploadResponse{} - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamingDataCaptureUploadResponse) String() string { @@ -463,7 +475,7 @@ func (*StreamingDataCaptureUploadResponse) ProtoMessage() {} func (x *StreamingDataCaptureUploadResponse) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -500,9 +512,11 @@ type SensorMetadata struct { func (x *SensorMetadata) Reset() { *x = SensorMetadata{} - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SensorMetadata) String() string { @@ -513,7 +527,7 @@ func (*SensorMetadata) ProtoMessage() {} func (x *SensorMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -572,9 +586,11 @@ type SensorData struct { func (x *SensorData) Reset() { *x = SensorData{} - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SensorData) String() string { @@ -585,7 +601,7 @@ func (*SensorData) ProtoMessage() {} func (x *SensorData) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -655,9 +671,11 @@ type FileData struct { func (x *FileData) Reset() { *x = FileData{} - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FileData) String() string { @@ -668,7 +686,7 @@ func (*FileData) ProtoMessage() {} func (x *FileData) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -709,9 +727,11 @@ type UploadMetadata struct { func (x *UploadMetadata) Reset() { *x = UploadMetadata{} - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UploadMetadata) String() string { @@ -722,7 +742,7 @@ func (*UploadMetadata) ProtoMessage() {} func (x *UploadMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -812,9 +832,11 @@ type CaptureInterval struct { func (x *CaptureInterval) Reset() { *x = CaptureInterval{} - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CaptureInterval) String() string { @@ -825,7 +847,7 @@ func (*CaptureInterval) ProtoMessage() {} func (x *CaptureInterval) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -871,9 +893,11 @@ type DataCaptureMetadata struct { func (x *DataCaptureMetadata) Reset() { *x = DataCaptureMetadata{} - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataCaptureMetadata) String() string { @@ -884,7 +908,7 @@ func (*DataCaptureMetadata) ProtoMessage() {} func (x *DataCaptureMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -960,9 +984,11 @@ type DataCaptureUploadMetadata struct { func (x *DataCaptureUploadMetadata) Reset() { *x = DataCaptureUploadMetadata{} - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DataCaptureUploadMetadata) String() string { @@ -973,7 +999,7 @@ func (*DataCaptureUploadMetadata) ProtoMessage() {} func (x *DataCaptureUploadMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1238,7 +1264,7 @@ func file_app_datasync_v1_data_sync_proto_rawDescGZIP() []byte { var file_app_datasync_v1_data_sync_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_app_datasync_v1_data_sync_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_app_datasync_v1_data_sync_proto_goTypes = []any{ +var file_app_datasync_v1_data_sync_proto_goTypes = []interface{}{ (MimeType)(0), // 0: viam.app.datasync.v1.MimeType (DataType)(0), // 1: viam.app.datasync.v1.DataType (*DataCaptureUploadRequest)(nil), // 2: viam.app.datasync.v1.DataCaptureUploadRequest @@ -1301,15 +1327,173 @@ func file_app_datasync_v1_data_sync_proto_init() { if File_app_datasync_v1_data_sync_proto != nil { return } - file_app_datasync_v1_data_sync_proto_msgTypes[2].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_app_datasync_v1_data_sync_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataCaptureUploadRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_datasync_v1_data_sync_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataCaptureUploadResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_datasync_v1_data_sync_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileUploadRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_datasync_v1_data_sync_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileUploadResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_datasync_v1_data_sync_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamingDataCaptureUploadRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_datasync_v1_data_sync_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamingDataCaptureUploadResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_datasync_v1_data_sync_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SensorMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_datasync_v1_data_sync_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SensorData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_datasync_v1_data_sync_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_datasync_v1_data_sync_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_datasync_v1_data_sync_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CaptureInterval); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_datasync_v1_data_sync_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataCaptureMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_datasync_v1_data_sync_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataCaptureUploadMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_app_datasync_v1_data_sync_proto_msgTypes[2].OneofWrappers = []interface{}{ (*FileUploadRequest_Metadata)(nil), (*FileUploadRequest_FileContents)(nil), } - file_app_datasync_v1_data_sync_proto_msgTypes[4].OneofWrappers = []any{ + file_app_datasync_v1_data_sync_proto_msgTypes[4].OneofWrappers = []interface{}{ (*StreamingDataCaptureUploadRequest_Metadata)(nil), (*StreamingDataCaptureUploadRequest_Data)(nil), } - file_app_datasync_v1_data_sync_proto_msgTypes[7].OneofWrappers = []any{ + file_app_datasync_v1_data_sync_proto_msgTypes[7].OneofWrappers = []interface{}{ (*SensorData_Struct)(nil), (*SensorData_Binary)(nil), } diff --git a/app/datasync/v1/data_sync.pb.gw.go b/app/datasync/v1/data_sync.pb.gw.go index bc811d45..e566d207 100644 --- a/app/datasync/v1/data_sync.pb.gw.go +++ b/app/datasync/v1/data_sync.pb.gw.go @@ -71,7 +71,7 @@ func request_DataSyncService_FileUpload_0(ctx context.Context, marshaler runtime var metadata runtime.ServerMetadata stream, err := client.FileUpload(ctx) if err != nil { - grpclog.Errorf("Failed to start streaming: %v", err) + grpclog.Infof("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -82,25 +82,25 @@ func request_DataSyncService_FileUpload_0(ctx context.Context, marshaler runtime break } if err != nil { - grpclog.Errorf("Failed to decode request: %v", err) + grpclog.Infof("Failed to decode request: %v", err) return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } if err = stream.Send(&protoReq); err != nil { if err == io.EOF { break } - grpclog.Errorf("Failed to send request: %v", err) + grpclog.Infof("Failed to send request: %v", err) return nil, metadata, err } } if err := stream.CloseSend(); err != nil { - grpclog.Errorf("Failed to terminate client stream: %v", err) + grpclog.Infof("Failed to terminate client stream: %v", err) return nil, metadata, err } header, err := stream.Header() if err != nil { - grpclog.Errorf("Failed to get header from client: %v", err) + grpclog.Infof("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -115,7 +115,7 @@ func request_DataSyncService_StreamingDataCaptureUpload_0(ctx context.Context, m var metadata runtime.ServerMetadata stream, err := client.StreamingDataCaptureUpload(ctx) if err != nil { - grpclog.Errorf("Failed to start streaming: %v", err) + grpclog.Infof("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -126,25 +126,25 @@ func request_DataSyncService_StreamingDataCaptureUpload_0(ctx context.Context, m break } if err != nil { - grpclog.Errorf("Failed to decode request: %v", err) + grpclog.Infof("Failed to decode request: %v", err) return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } if err = stream.Send(&protoReq); err != nil { if err == io.EOF { break } - grpclog.Errorf("Failed to send request: %v", err) + grpclog.Infof("Failed to send request: %v", err) return nil, metadata, err } } if err := stream.CloseSend(); err != nil { - grpclog.Errorf("Failed to terminate client stream: %v", err) + grpclog.Infof("Failed to terminate client stream: %v", err) return nil, metadata, err } header, err := stream.Header() if err != nil { - grpclog.Errorf("Failed to get header from client: %v", err) + grpclog.Infof("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -206,21 +206,21 @@ func RegisterDataSyncServiceHandlerServer(ctx context.Context, mux *runtime.Serv // RegisterDataSyncServiceHandlerFromEndpoint is same as RegisterDataSyncServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterDataSyncServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/mlinference/v1/ml_inference.pb.go b/app/mlinference/v1/ml_inference.pb.go index fffd00c8..8f45f100 100644 --- a/app/mlinference/v1/ml_inference.pb.go +++ b/app/mlinference/v1/ml_inference.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: app/mlinference/v1/ml_inference.proto @@ -37,9 +37,11 @@ type GetInferenceRequest struct { func (x *GetInferenceRequest) Reset() { *x = GetInferenceRequest{} - mi := &file_app_mlinference_v1_ml_inference_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mlinference_v1_ml_inference_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetInferenceRequest) String() string { @@ -50,7 +52,7 @@ func (*GetInferenceRequest) ProtoMessage() {} func (x *GetInferenceRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mlinference_v1_ml_inference_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -101,9 +103,11 @@ type GetInferenceResponse struct { func (x *GetInferenceResponse) Reset() { *x = GetInferenceResponse{} - mi := &file_app_mlinference_v1_ml_inference_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mlinference_v1_ml_inference_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetInferenceResponse) String() string { @@ -114,7 +118,7 @@ func (*GetInferenceResponse) ProtoMessage() {} func (x *GetInferenceResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mlinference_v1_ml_inference_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -179,7 +183,7 @@ func file_app_mlinference_v1_ml_inference_proto_rawDescGZIP() []byte { } var file_app_mlinference_v1_ml_inference_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_app_mlinference_v1_ml_inference_proto_goTypes = []any{ +var file_app_mlinference_v1_ml_inference_proto_goTypes = []interface{}{ (*GetInferenceRequest)(nil), // 0: viam.app.mlinference.v1.GetInferenceRequest (*GetInferenceResponse)(nil), // 1: viam.app.mlinference.v1.GetInferenceResponse (*v1.BinaryID)(nil), // 2: viam.app.data.v1.BinaryID @@ -200,6 +204,32 @@ func file_app_mlinference_v1_ml_inference_proto_init() { if File_app_mlinference_v1_ml_inference_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_app_mlinference_v1_ml_inference_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInferenceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mlinference_v1_ml_inference_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInferenceResponse); 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{ diff --git a/app/mlinference/v1/ml_inference.pb.gw.go b/app/mlinference/v1/ml_inference.pb.gw.go index e1aa0049..4083095c 100644 --- a/app/mlinference/v1/ml_inference.pb.gw.go +++ b/app/mlinference/v1/ml_inference.pb.gw.go @@ -35,7 +35,11 @@ func request_MLInferenceService_GetInference_0(ctx context.Context, marshaler ru var protoReq GetInferenceRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -48,7 +52,11 @@ func local_request_MLInferenceService_GetInference_0(ctx context.Context, marsha var protoReq GetInferenceRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -94,21 +102,21 @@ func RegisterMLInferenceServiceHandlerServer(ctx context.Context, mux *runtime.S // RegisterMLInferenceServiceHandlerFromEndpoint is same as RegisterMLInferenceServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterMLInferenceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/mltraining/v1/ml_training.pb.go b/app/mltraining/v1/ml_training.pb.go index d968825b..37756063 100644 --- a/app/mltraining/v1/ml_training.pb.go +++ b/app/mltraining/v1/ml_training.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: app/mltraining/v1/ml_training.proto @@ -206,9 +206,11 @@ type SubmitTrainingJobRequest struct { func (x *SubmitTrainingJobRequest) Reset() { *x = SubmitTrainingJobRequest{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubmitTrainingJobRequest) String() string { @@ -219,7 +221,7 @@ func (*SubmitTrainingJobRequest) ProtoMessage() {} func (x *SubmitTrainingJobRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -286,9 +288,11 @@ type SubmitTrainingJobResponse struct { func (x *SubmitTrainingJobResponse) Reset() { *x = SubmitTrainingJobResponse{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubmitTrainingJobResponse) String() string { @@ -299,7 +303,7 @@ func (*SubmitTrainingJobResponse) ProtoMessage() {} func (x *SubmitTrainingJobResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -337,9 +341,11 @@ type SubmitCustomTrainingJobRequest struct { func (x *SubmitCustomTrainingJobRequest) Reset() { *x = SubmitCustomTrainingJobRequest{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubmitCustomTrainingJobRequest) String() string { @@ -350,7 +356,7 @@ func (*SubmitCustomTrainingJobRequest) ProtoMessage() {} func (x *SubmitCustomTrainingJobRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -424,9 +430,11 @@ type SubmitCustomTrainingJobResponse struct { func (x *SubmitCustomTrainingJobResponse) Reset() { *x = SubmitCustomTrainingJobResponse{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SubmitCustomTrainingJobResponse) String() string { @@ -437,7 +445,7 @@ func (*SubmitCustomTrainingJobResponse) ProtoMessage() {} func (x *SubmitCustomTrainingJobResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -469,9 +477,11 @@ type GetTrainingJobRequest struct { func (x *GetTrainingJobRequest) Reset() { *x = GetTrainingJobRequest{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetTrainingJobRequest) String() string { @@ -482,7 +492,7 @@ func (*GetTrainingJobRequest) ProtoMessage() {} func (x *GetTrainingJobRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -514,9 +524,11 @@ type GetTrainingJobResponse struct { func (x *GetTrainingJobResponse) Reset() { *x = GetTrainingJobResponse{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetTrainingJobResponse) String() string { @@ -527,7 +539,7 @@ func (*GetTrainingJobResponse) ProtoMessage() {} func (x *GetTrainingJobResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -560,9 +572,11 @@ type ListTrainingJobsRequest struct { func (x *ListTrainingJobsRequest) Reset() { *x = ListTrainingJobsRequest{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListTrainingJobsRequest) String() string { @@ -573,7 +587,7 @@ func (*ListTrainingJobsRequest) ProtoMessage() {} func (x *ListTrainingJobsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -612,9 +626,11 @@ type ListTrainingJobsResponse struct { func (x *ListTrainingJobsResponse) Reset() { *x = ListTrainingJobsResponse{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListTrainingJobsResponse) String() string { @@ -625,7 +641,7 @@ func (*ListTrainingJobsResponse) ProtoMessage() {} func (x *ListTrainingJobsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -674,9 +690,11 @@ type TrainingJobMetadata struct { func (x *TrainingJobMetadata) Reset() { *x = TrainingJobMetadata{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrainingJobMetadata) String() string { @@ -687,7 +705,7 @@ func (*TrainingJobMetadata) ProtoMessage() {} func (x *TrainingJobMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -838,9 +856,11 @@ type CancelTrainingJobRequest struct { func (x *CancelTrainingJobRequest) Reset() { *x = CancelTrainingJobRequest{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CancelTrainingJobRequest) String() string { @@ -851,7 +871,7 @@ func (*CancelTrainingJobRequest) ProtoMessage() {} func (x *CancelTrainingJobRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -881,9 +901,11 @@ type CancelTrainingJobResponse struct { func (x *CancelTrainingJobResponse) Reset() { *x = CancelTrainingJobResponse{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CancelTrainingJobResponse) String() string { @@ -894,7 +916,7 @@ func (*CancelTrainingJobResponse) ProtoMessage() {} func (x *CancelTrainingJobResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -919,9 +941,11 @@ type DeleteCompletedTrainingJobRequest struct { func (x *DeleteCompletedTrainingJobRequest) Reset() { *x = DeleteCompletedTrainingJobRequest{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteCompletedTrainingJobRequest) String() string { @@ -932,7 +956,7 @@ func (*DeleteCompletedTrainingJobRequest) ProtoMessage() {} func (x *DeleteCompletedTrainingJobRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -962,9 +986,11 @@ type DeleteCompletedTrainingJobResponse struct { func (x *DeleteCompletedTrainingJobResponse) Reset() { *x = DeleteCompletedTrainingJobResponse{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteCompletedTrainingJobResponse) String() string { @@ -975,7 +1001,7 @@ func (*DeleteCompletedTrainingJobResponse) ProtoMessage() {} func (x *DeleteCompletedTrainingJobResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1002,9 +1028,11 @@ type TrainingJobLogEntry struct { func (x *TrainingJobLogEntry) Reset() { *x = TrainingJobLogEntry{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TrainingJobLogEntry) String() string { @@ -1015,7 +1043,7 @@ func (*TrainingJobLogEntry) ProtoMessage() {} func (x *TrainingJobLogEntry) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1062,9 +1090,11 @@ type GetTrainingJobLogsRequest struct { func (x *GetTrainingJobLogsRequest) Reset() { *x = GetTrainingJobLogsRequest{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetTrainingJobLogsRequest) String() string { @@ -1075,7 +1105,7 @@ func (*GetTrainingJobLogsRequest) ProtoMessage() {} func (x *GetTrainingJobLogsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1115,9 +1145,11 @@ type GetTrainingJobLogsResponse struct { func (x *GetTrainingJobLogsResponse) Reset() { *x = GetTrainingJobLogsResponse{} - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetTrainingJobLogsResponse) String() string { @@ -1128,7 +1160,7 @@ func (*GetTrainingJobLogsResponse) ProtoMessage() {} func (x *GetTrainingJobLogsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1531,7 +1563,7 @@ func file_app_mltraining_v1_ml_training_proto_rawDescGZIP() []byte { var file_app_mltraining_v1_ml_training_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_app_mltraining_v1_ml_training_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_app_mltraining_v1_ml_training_proto_goTypes = []any{ +var file_app_mltraining_v1_ml_training_proto_goTypes = []interface{}{ (ModelType)(0), // 0: viam.app.mltraining.v1.ModelType (ModelFramework)(0), // 1: viam.app.mltraining.v1.ModelFramework (TrainingStatus)(0), // 2: viam.app.mltraining.v1.TrainingStatus @@ -1597,7 +1629,201 @@ func file_app_mltraining_v1_ml_training_proto_init() { if File_app_mltraining_v1_ml_training_proto != nil { return } - file_app_mltraining_v1_ml_training_proto_msgTypes[14].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_app_mltraining_v1_ml_training_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubmitTrainingJobRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubmitTrainingJobResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubmitCustomTrainingJobRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubmitCustomTrainingJobResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTrainingJobRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTrainingJobResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTrainingJobsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTrainingJobsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrainingJobMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelTrainingJobRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelTrainingJobResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteCompletedTrainingJobRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteCompletedTrainingJobResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrainingJobLogEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTrainingJobLogsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTrainingJobLogsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_app_mltraining_v1_ml_training_proto_msgTypes[14].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/app/mltraining/v1/ml_training.pb.gw.go b/app/mltraining/v1/ml_training.pb.gw.go index 9b0082d6..c9b86a33 100644 --- a/app/mltraining/v1/ml_training.pb.gw.go +++ b/app/mltraining/v1/ml_training.pb.gw.go @@ -35,7 +35,11 @@ func request_MLTrainingService_SubmitTrainingJob_0(ctx context.Context, marshale var protoReq SubmitTrainingJobRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -48,7 +52,11 @@ func local_request_MLTrainingService_SubmitTrainingJob_0(ctx context.Context, ma var protoReq SubmitTrainingJobRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -61,7 +69,11 @@ func request_MLTrainingService_SubmitCustomTrainingJob_0(ctx context.Context, ma var protoReq SubmitCustomTrainingJobRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -74,7 +86,11 @@ func local_request_MLTrainingService_SubmitCustomTrainingJob_0(ctx context.Conte var protoReq SubmitCustomTrainingJobRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -87,7 +103,11 @@ func request_MLTrainingService_GetTrainingJob_0(ctx context.Context, marshaler r var protoReq GetTrainingJobRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -100,7 +120,11 @@ func local_request_MLTrainingService_GetTrainingJob_0(ctx context.Context, marsh var protoReq GetTrainingJobRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -113,7 +137,11 @@ func request_MLTrainingService_ListTrainingJobs_0(ctx context.Context, marshaler var protoReq ListTrainingJobsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -126,7 +154,11 @@ func local_request_MLTrainingService_ListTrainingJobs_0(ctx context.Context, mar var protoReq ListTrainingJobsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -139,7 +171,11 @@ func request_MLTrainingService_CancelTrainingJob_0(ctx context.Context, marshale var protoReq CancelTrainingJobRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -152,7 +188,11 @@ func local_request_MLTrainingService_CancelTrainingJob_0(ctx context.Context, ma var protoReq CancelTrainingJobRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -165,7 +205,11 @@ func request_MLTrainingService_DeleteCompletedTrainingJob_0(ctx context.Context, var protoReq DeleteCompletedTrainingJobRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -178,7 +222,11 @@ func local_request_MLTrainingService_DeleteCompletedTrainingJob_0(ctx context.Co var protoReq DeleteCompletedTrainingJobRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -191,7 +239,11 @@ func request_MLTrainingService_GetTrainingJobLogs_0(ctx context.Context, marshal var protoReq GetTrainingJobLogsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -204,7 +256,11 @@ func local_request_MLTrainingService_GetTrainingJobLogs_0(ctx context.Context, m var protoReq GetTrainingJobLogsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -400,21 +456,21 @@ func RegisterMLTrainingServiceHandlerServer(ctx context.Context, mux *runtime.Se // RegisterMLTrainingServiceHandlerFromEndpoint is same as RegisterMLTrainingServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterMLTrainingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/packages/v1/packages.pb.go b/app/packages/v1/packages.pb.go index 7bce27c6..57b9af4c 100644 --- a/app/packages/v1/packages.pb.go +++ b/app/packages/v1/packages.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: app/packages/v1/packages.proto @@ -93,9 +93,11 @@ type FileInfo struct { func (x *FileInfo) Reset() { *x = FileInfo{} - mi := &file_app_packages_v1_packages_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_packages_v1_packages_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FileInfo) String() string { @@ -106,7 +108,7 @@ func (*FileInfo) ProtoMessage() {} func (x *FileInfo) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -158,9 +160,11 @@ type PackageInfo struct { func (x *PackageInfo) Reset() { *x = PackageInfo{} - mi := &file_app_packages_v1_packages_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_packages_v1_packages_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PackageInfo) String() string { @@ -171,7 +175,7 @@ func (*PackageInfo) ProtoMessage() {} func (x *PackageInfo) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -249,9 +253,11 @@ type CreatePackageRequest struct { func (x *CreatePackageRequest) Reset() { *x = CreatePackageRequest{} - mi := &file_app_packages_v1_packages_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_packages_v1_packages_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreatePackageRequest) String() string { @@ -262,7 +268,7 @@ func (*CreatePackageRequest) ProtoMessage() {} func (x *CreatePackageRequest) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -328,9 +334,11 @@ type CreatePackageResponse struct { func (x *CreatePackageResponse) Reset() { *x = CreatePackageResponse{} - mi := &file_app_packages_v1_packages_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_packages_v1_packages_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreatePackageResponse) String() string { @@ -341,7 +349,7 @@ func (*CreatePackageResponse) ProtoMessage() {} func (x *CreatePackageResponse) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -382,9 +390,11 @@ type DeletePackageRequest struct { func (x *DeletePackageRequest) Reset() { *x = DeletePackageRequest{} - mi := &file_app_packages_v1_packages_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_packages_v1_packages_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeletePackageRequest) String() string { @@ -395,7 +405,7 @@ func (*DeletePackageRequest) ProtoMessage() {} func (x *DeletePackageRequest) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -439,9 +449,11 @@ type DeletePackageResponse struct { func (x *DeletePackageResponse) Reset() { *x = DeletePackageResponse{} - mi := &file_app_packages_v1_packages_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_packages_v1_packages_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeletePackageResponse) String() string { @@ -452,7 +464,7 @@ func (*DeletePackageResponse) ProtoMessage() {} func (x *DeletePackageResponse) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -481,9 +493,11 @@ type Package struct { func (x *Package) Reset() { *x = Package{} - mi := &file_app_packages_v1_packages_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_packages_v1_packages_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Package) String() string { @@ -494,7 +508,7 @@ func (*Package) ProtoMessage() {} func (x *Package) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -558,9 +572,11 @@ type GetPackageRequest struct { func (x *GetPackageRequest) Reset() { *x = GetPackageRequest{} - mi := &file_app_packages_v1_packages_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_packages_v1_packages_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPackageRequest) String() string { @@ -571,7 +587,7 @@ func (*GetPackageRequest) ProtoMessage() {} func (x *GetPackageRequest) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -631,9 +647,11 @@ type GetPackageResponse struct { func (x *GetPackageResponse) Reset() { *x = GetPackageResponse{} - mi := &file_app_packages_v1_packages_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_packages_v1_packages_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPackageResponse) String() string { @@ -644,7 +662,7 @@ func (*GetPackageResponse) ProtoMessage() {} func (x *GetPackageResponse) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -680,9 +698,11 @@ type ListPackagesRequest struct { func (x *ListPackagesRequest) Reset() { *x = ListPackagesRequest{} - mi := &file_app_packages_v1_packages_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_packages_v1_packages_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListPackagesRequest) String() string { @@ -693,7 +713,7 @@ func (*ListPackagesRequest) ProtoMessage() {} func (x *ListPackagesRequest) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -753,9 +773,11 @@ type ListPackagesResponse struct { func (x *ListPackagesResponse) Reset() { *x = ListPackagesResponse{} - mi := &file_app_packages_v1_packages_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_packages_v1_packages_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListPackagesResponse) String() string { @@ -766,7 +788,7 @@ func (*ListPackagesResponse) ProtoMessage() {} func (x *ListPackagesResponse) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -965,7 +987,7 @@ func file_app_packages_v1_packages_proto_rawDescGZIP() []byte { var file_app_packages_v1_packages_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_app_packages_v1_packages_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_app_packages_v1_packages_proto_goTypes = []any{ +var file_app_packages_v1_packages_proto_goTypes = []interface{}{ (PackageType)(0), // 0: viam.app.packages.v1.PackageType (*FileInfo)(nil), // 1: viam.app.packages.v1.FileInfo (*PackageInfo)(nil), // 2: viam.app.packages.v1.PackageInfo @@ -1013,14 +1035,148 @@ func file_app_packages_v1_packages_proto_init() { if File_app_packages_v1_packages_proto != nil { return } - file_app_packages_v1_packages_proto_msgTypes[0].OneofWrappers = []any{} - file_app_packages_v1_packages_proto_msgTypes[1].OneofWrappers = []any{} - file_app_packages_v1_packages_proto_msgTypes[2].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_app_packages_v1_packages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_packages_v1_packages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PackageInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_packages_v1_packages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreatePackageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_packages_v1_packages_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreatePackageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_packages_v1_packages_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeletePackageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_packages_v1_packages_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeletePackageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_packages_v1_packages_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Package); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_packages_v1_packages_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPackageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_packages_v1_packages_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPackageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_packages_v1_packages_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListPackagesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_packages_v1_packages_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListPackagesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_app_packages_v1_packages_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_app_packages_v1_packages_proto_msgTypes[1].OneofWrappers = []interface{}{} + file_app_packages_v1_packages_proto_msgTypes[2].OneofWrappers = []interface{}{ (*CreatePackageRequest_Info)(nil), (*CreatePackageRequest_Contents)(nil), } - file_app_packages_v1_packages_proto_msgTypes[7].OneofWrappers = []any{} - file_app_packages_v1_packages_proto_msgTypes[9].OneofWrappers = []any{} + file_app_packages_v1_packages_proto_msgTypes[7].OneofWrappers = []interface{}{} + file_app_packages_v1_packages_proto_msgTypes[9].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/app/packages/v1/packages.pb.gw.go b/app/packages/v1/packages.pb.gw.go index 109f9939..e7123448 100644 --- a/app/packages/v1/packages.pb.gw.go +++ b/app/packages/v1/packages.pb.gw.go @@ -35,7 +35,7 @@ func request_PackageService_CreatePackage_0(ctx context.Context, marshaler runti var metadata runtime.ServerMetadata stream, err := client.CreatePackage(ctx) if err != nil { - grpclog.Errorf("Failed to start streaming: %v", err) + grpclog.Infof("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -46,25 +46,25 @@ func request_PackageService_CreatePackage_0(ctx context.Context, marshaler runti break } if err != nil { - grpclog.Errorf("Failed to decode request: %v", err) + grpclog.Infof("Failed to decode request: %v", err) return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } if err = stream.Send(&protoReq); err != nil { if err == io.EOF { break } - grpclog.Errorf("Failed to send request: %v", err) + grpclog.Infof("Failed to send request: %v", err) return nil, metadata, err } } if err := stream.CloseSend(); err != nil { - grpclog.Errorf("Failed to terminate client stream: %v", err) + grpclog.Infof("Failed to terminate client stream: %v", err) return nil, metadata, err } header, err := stream.Header() if err != nil { - grpclog.Errorf("Failed to get header from client: %v", err) + grpclog.Infof("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -277,21 +277,21 @@ func RegisterPackageServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterPackageServiceHandlerFromEndpoint is same as RegisterPackageServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterPackageServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/v1/app.pb.go b/app/v1/app.pb.go index 1b3b8043..f010f3ea 100644 --- a/app/v1/app.pb.go +++ b/app/v1/app.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: app/v1/app.proto @@ -340,7 +340,7 @@ func (x SharedSecret_State) Number() protoreflect.EnumNumber { // Deprecated: Use SharedSecret_State.Descriptor instead. func (SharedSecret_State) EnumDescriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{47, 0} + return file_app_v1_app_proto_rawDescGZIP(), []int{49, 0} } type Robot struct { @@ -357,9 +357,11 @@ type Robot struct { func (x *Robot) Reset() { *x = Robot{} - mi := &file_app_v1_app_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Robot) String() string { @@ -370,7 +372,7 @@ func (*Robot) ProtoMessage() {} func (x *Robot) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -449,9 +451,11 @@ type RobotPart struct { func (x *RobotPart) Reset() { *x = RobotPart{} - mi := &file_app_v1_app_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RobotPart) String() string { @@ -462,7 +466,7 @@ func (*RobotPart) ProtoMessage() {} func (x *RobotPart) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -596,9 +600,11 @@ type RobotPartHistoryEntry struct { func (x *RobotPartHistoryEntry) Reset() { *x = RobotPartHistoryEntry{} - mi := &file_app_v1_app_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RobotPartHistoryEntry) String() string { @@ -609,7 +615,7 @@ func (*RobotPartHistoryEntry) ProtoMessage() {} func (x *RobotPartHistoryEntry) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -671,9 +677,11 @@ type AuthenticatorInfo struct { func (x *AuthenticatorInfo) Reset() { *x = AuthenticatorInfo{} - mi := &file_app_v1_app_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AuthenticatorInfo) String() string { @@ -684,7 +692,7 @@ func (*AuthenticatorInfo) ProtoMessage() {} func (x *AuthenticatorInfo) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -728,9 +736,11 @@ type ListOrganizationsRequest struct { func (x *ListOrganizationsRequest) Reset() { *x = ListOrganizationsRequest{} - mi := &file_app_v1_app_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListOrganizationsRequest) String() string { @@ -741,7 +751,7 @@ func (*ListOrganizationsRequest) ProtoMessage() {} func (x *ListOrganizationsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -773,9 +783,11 @@ type Organization struct { func (x *Organization) Reset() { *x = Organization{} - mi := &file_app_v1_app_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Organization) String() string { @@ -786,7 +798,7 @@ func (*Organization) ProtoMessage() {} func (x *Organization) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -856,9 +868,11 @@ type OrganizationMember struct { func (x *OrganizationMember) Reset() { *x = OrganizationMember{} - mi := &file_app_v1_app_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *OrganizationMember) String() string { @@ -869,7 +883,7 @@ func (*OrganizationMember) ProtoMessage() {} func (x *OrganizationMember) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -922,9 +936,11 @@ type ListOrganizationsResponse struct { func (x *ListOrganizationsResponse) Reset() { *x = ListOrganizationsResponse{} - mi := &file_app_v1_app_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListOrganizationsResponse) String() string { @@ -935,7 +951,7 @@ func (*ListOrganizationsResponse) ProtoMessage() {} func (x *ListOrganizationsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -970,9 +986,11 @@ type OrganizationInvite struct { func (x *OrganizationInvite) Reset() { *x = OrganizationInvite{} - mi := &file_app_v1_app_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *OrganizationInvite) String() string { @@ -983,7 +1001,7 @@ func (*OrganizationInvite) ProtoMessage() {} func (x *OrganizationInvite) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1036,9 +1054,11 @@ type CreateOrganizationRequest struct { func (x *CreateOrganizationRequest) Reset() { *x = CreateOrganizationRequest{} - mi := &file_app_v1_app_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateOrganizationRequest) String() string { @@ -1049,7 +1069,7 @@ func (*CreateOrganizationRequest) ProtoMessage() {} func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1081,9 +1101,11 @@ type CreateOrganizationResponse struct { func (x *CreateOrganizationResponse) Reset() { *x = CreateOrganizationResponse{} - mi := &file_app_v1_app_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateOrganizationResponse) String() string { @@ -1094,7 +1116,7 @@ func (*CreateOrganizationResponse) ProtoMessage() {} func (x *CreateOrganizationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1126,9 +1148,11 @@ type GetOrganizationRequest struct { func (x *GetOrganizationRequest) Reset() { *x = GetOrganizationRequest{} - mi := &file_app_v1_app_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetOrganizationRequest) String() string { @@ -1139,7 +1163,7 @@ func (*GetOrganizationRequest) ProtoMessage() {} func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1171,9 +1195,11 @@ type GetOrganizationResponse struct { func (x *GetOrganizationResponse) Reset() { *x = GetOrganizationResponse{} - mi := &file_app_v1_app_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetOrganizationResponse) String() string { @@ -1184,7 +1210,7 @@ func (*GetOrganizationResponse) ProtoMessage() {} func (x *GetOrganizationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1216,9 +1242,11 @@ type GetOrganizationNamespaceAvailabilityRequest struct { func (x *GetOrganizationNamespaceAvailabilityRequest) Reset() { *x = GetOrganizationNamespaceAvailabilityRequest{} - mi := &file_app_v1_app_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetOrganizationNamespaceAvailabilityRequest) String() string { @@ -1229,7 +1257,7 @@ func (*GetOrganizationNamespaceAvailabilityRequest) ProtoMessage() {} func (x *GetOrganizationNamespaceAvailabilityRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1261,9 +1289,11 @@ type GetOrganizationNamespaceAvailabilityResponse struct { func (x *GetOrganizationNamespaceAvailabilityResponse) Reset() { *x = GetOrganizationNamespaceAvailabilityResponse{} - mi := &file_app_v1_app_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetOrganizationNamespaceAvailabilityResponse) String() string { @@ -1274,7 +1304,7 @@ func (*GetOrganizationNamespaceAvailabilityResponse) ProtoMessage() {} func (x *GetOrganizationNamespaceAvailabilityResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1311,9 +1341,11 @@ type UpdateOrganizationRequest struct { func (x *UpdateOrganizationRequest) Reset() { *x = UpdateOrganizationRequest{} - mi := &file_app_v1_app_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateOrganizationRequest) String() string { @@ -1324,7 +1356,7 @@ func (*UpdateOrganizationRequest) ProtoMessage() {} func (x *UpdateOrganizationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1384,9 +1416,11 @@ type UpdateOrganizationResponse struct { func (x *UpdateOrganizationResponse) Reset() { *x = UpdateOrganizationResponse{} - mi := &file_app_v1_app_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateOrganizationResponse) String() string { @@ -1397,7 +1431,7 @@ func (*UpdateOrganizationResponse) ProtoMessage() {} func (x *UpdateOrganizationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1429,9 +1463,11 @@ type DeleteOrganizationRequest struct { func (x *DeleteOrganizationRequest) Reset() { *x = DeleteOrganizationRequest{} - mi := &file_app_v1_app_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteOrganizationRequest) String() string { @@ -1442,7 +1478,7 @@ func (*DeleteOrganizationRequest) ProtoMessage() {} func (x *DeleteOrganizationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1472,9 +1508,11 @@ type DeleteOrganizationResponse struct { func (x *DeleteOrganizationResponse) Reset() { *x = DeleteOrganizationResponse{} - mi := &file_app_v1_app_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteOrganizationResponse) String() string { @@ -1485,7 +1523,7 @@ func (*DeleteOrganizationResponse) ProtoMessage() {} func (x *DeleteOrganizationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1510,9 +1548,11 @@ type ListOrganizationMembersRequest struct { func (x *ListOrganizationMembersRequest) Reset() { *x = ListOrganizationMembersRequest{} - mi := &file_app_v1_app_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListOrganizationMembersRequest) String() string { @@ -1523,7 +1563,7 @@ func (*ListOrganizationMembersRequest) ProtoMessage() {} func (x *ListOrganizationMembersRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1557,9 +1597,11 @@ type ListOrganizationMembersResponse struct { func (x *ListOrganizationMembersResponse) Reset() { *x = ListOrganizationMembersResponse{} - mi := &file_app_v1_app_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListOrganizationMembersResponse) String() string { @@ -1570,7 +1612,7 @@ func (*ListOrganizationMembersResponse) ProtoMessage() {} func (x *ListOrganizationMembersResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1621,9 +1663,11 @@ type CreateOrganizationInviteRequest struct { func (x *CreateOrganizationInviteRequest) Reset() { *x = CreateOrganizationInviteRequest{} - mi := &file_app_v1_app_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateOrganizationInviteRequest) String() string { @@ -1634,7 +1678,7 @@ func (*CreateOrganizationInviteRequest) ProtoMessage() {} func (x *CreateOrganizationInviteRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1687,9 +1731,11 @@ type CreateOrganizationInviteResponse struct { func (x *CreateOrganizationInviteResponse) Reset() { *x = CreateOrganizationInviteResponse{} - mi := &file_app_v1_app_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateOrganizationInviteResponse) String() string { @@ -1700,7 +1746,7 @@ func (*CreateOrganizationInviteResponse) ProtoMessage() {} func (x *CreateOrganizationInviteResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1735,9 +1781,11 @@ type UpdateOrganizationInviteAuthorizationsRequest struct { func (x *UpdateOrganizationInviteAuthorizationsRequest) Reset() { *x = UpdateOrganizationInviteAuthorizationsRequest{} - mi := &file_app_v1_app_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateOrganizationInviteAuthorizationsRequest) String() string { @@ -1748,7 +1796,7 @@ func (*UpdateOrganizationInviteAuthorizationsRequest) ProtoMessage() {} func (x *UpdateOrganizationInviteAuthorizationsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1801,9 +1849,11 @@ type UpdateOrganizationInviteAuthorizationsResponse struct { func (x *UpdateOrganizationInviteAuthorizationsResponse) Reset() { *x = UpdateOrganizationInviteAuthorizationsResponse{} - mi := &file_app_v1_app_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateOrganizationInviteAuthorizationsResponse) String() string { @@ -1814,7 +1864,7 @@ func (*UpdateOrganizationInviteAuthorizationsResponse) ProtoMessage() {} func (x *UpdateOrganizationInviteAuthorizationsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1847,9 +1897,11 @@ type DeleteOrganizationInviteRequest struct { func (x *DeleteOrganizationInviteRequest) Reset() { *x = DeleteOrganizationInviteRequest{} - mi := &file_app_v1_app_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteOrganizationInviteRequest) String() string { @@ -1860,7 +1912,7 @@ func (*DeleteOrganizationInviteRequest) ProtoMessage() {} func (x *DeleteOrganizationInviteRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1897,9 +1949,11 @@ type DeleteOrganizationInviteResponse struct { func (x *DeleteOrganizationInviteResponse) Reset() { *x = DeleteOrganizationInviteResponse{} - mi := &file_app_v1_app_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteOrganizationInviteResponse) String() string { @@ -1910,7 +1964,7 @@ func (*DeleteOrganizationInviteResponse) ProtoMessage() {} func (x *DeleteOrganizationInviteResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1936,9 +1990,11 @@ type ResendOrganizationInviteRequest struct { func (x *ResendOrganizationInviteRequest) Reset() { *x = ResendOrganizationInviteRequest{} - mi := &file_app_v1_app_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResendOrganizationInviteRequest) String() string { @@ -1949,7 +2005,7 @@ func (*ResendOrganizationInviteRequest) ProtoMessage() {} func (x *ResendOrganizationInviteRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1988,9 +2044,11 @@ type ResendOrganizationInviteResponse struct { func (x *ResendOrganizationInviteResponse) Reset() { *x = ResendOrganizationInviteResponse{} - mi := &file_app_v1_app_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResendOrganizationInviteResponse) String() string { @@ -2001,7 +2059,7 @@ func (*ResendOrganizationInviteResponse) ProtoMessage() {} func (x *ResendOrganizationInviteResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2034,9 +2092,11 @@ type DeleteOrganizationMemberRequest struct { func (x *DeleteOrganizationMemberRequest) Reset() { *x = DeleteOrganizationMemberRequest{} - mi := &file_app_v1_app_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteOrganizationMemberRequest) String() string { @@ -2047,7 +2107,7 @@ func (*DeleteOrganizationMemberRequest) ProtoMessage() {} func (x *DeleteOrganizationMemberRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[29] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2084,9 +2144,11 @@ type DeleteOrganizationMemberResponse struct { func (x *DeleteOrganizationMemberResponse) Reset() { *x = DeleteOrganizationMemberResponse{} - mi := &file_app_v1_app_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteOrganizationMemberResponse) String() string { @@ -2097,7 +2159,7 @@ func (*DeleteOrganizationMemberResponse) ProtoMessage() {} func (x *DeleteOrganizationMemberResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[30] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2126,9 +2188,11 @@ type BillingAddress struct { func (x *BillingAddress) Reset() { *x = BillingAddress{} - mi := &file_app_v1_app_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *BillingAddress) String() string { @@ -2139,7 +2203,7 @@ func (*BillingAddress) ProtoMessage() {} func (x *BillingAddress) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[31] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2200,9 +2264,11 @@ type EnableBillingServiceRequest struct { func (x *EnableBillingServiceRequest) Reset() { *x = EnableBillingServiceRequest{} - mi := &file_app_v1_app_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EnableBillingServiceRequest) String() string { @@ -2213,7 +2279,7 @@ func (*EnableBillingServiceRequest) ProtoMessage() {} func (x *EnableBillingServiceRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[32] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2250,9 +2316,11 @@ type EnableBillingServiceResponse struct { func (x *EnableBillingServiceResponse) Reset() { *x = EnableBillingServiceResponse{} - mi := &file_app_v1_app_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EnableBillingServiceResponse) String() string { @@ -2263,7 +2331,7 @@ func (*EnableBillingServiceResponse) ProtoMessage() {} func (x *EnableBillingServiceResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[33] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2289,9 +2357,11 @@ type UpdateBillingServiceRequest struct { func (x *UpdateBillingServiceRequest) Reset() { *x = UpdateBillingServiceRequest{} - mi := &file_app_v1_app_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateBillingServiceRequest) String() string { @@ -2302,7 +2372,7 @@ func (*UpdateBillingServiceRequest) ProtoMessage() {} func (x *UpdateBillingServiceRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[34] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2339,9 +2409,11 @@ type UpdateBillingServiceResponse struct { func (x *UpdateBillingServiceResponse) Reset() { *x = UpdateBillingServiceResponse{} - mi := &file_app_v1_app_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateBillingServiceResponse) String() string { @@ -2352,7 +2424,7 @@ func (*UpdateBillingServiceResponse) ProtoMessage() {} func (x *UpdateBillingServiceResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[35] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2367,6 +2439,100 @@ func (*UpdateBillingServiceResponse) Descriptor() ([]byte, []int) { return file_app_v1_app_proto_rawDescGZIP(), []int{35} } +type GetBillingServiceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` +} + +func (x *GetBillingServiceRequest) Reset() { + *x = GetBillingServiceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBillingServiceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBillingServiceRequest) ProtoMessage() {} + +func (x *GetBillingServiceRequest) ProtoReflect() protoreflect.Message { + mi := &file_app_v1_app_proto_msgTypes[36] + 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 GetBillingServiceRequest.ProtoReflect.Descriptor instead. +func (*GetBillingServiceRequest) Descriptor() ([]byte, []int) { + return file_app_v1_app_proto_rawDescGZIP(), []int{36} +} + +func (x *GetBillingServiceRequest) GetOrgId() string { + if x != nil { + return x.OrgId + } + return "" +} + +type GetBillingServiceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BillingAddress *BillingAddress `protobuf:"bytes,1,opt,name=billing_address,json=billingAddress,proto3" json:"billing_address,omitempty"` +} + +func (x *GetBillingServiceResponse) Reset() { + *x = GetBillingServiceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBillingServiceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBillingServiceResponse) ProtoMessage() {} + +func (x *GetBillingServiceResponse) ProtoReflect() protoreflect.Message { + mi := &file_app_v1_app_proto_msgTypes[37] + 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 GetBillingServiceResponse.ProtoReflect.Descriptor instead. +func (*GetBillingServiceResponse) Descriptor() ([]byte, []int) { + return file_app_v1_app_proto_rawDescGZIP(), []int{37} +} + +func (x *GetBillingServiceResponse) GetBillingAddress() *BillingAddress { + if x != nil { + return x.BillingAddress + } + return nil +} + type DisableBillingServiceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2377,9 +2543,11 @@ type DisableBillingServiceRequest struct { func (x *DisableBillingServiceRequest) Reset() { *x = DisableBillingServiceRequest{} - mi := &file_app_v1_app_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DisableBillingServiceRequest) String() string { @@ -2389,8 +2557,8 @@ func (x *DisableBillingServiceRequest) String() string { func (*DisableBillingServiceRequest) ProtoMessage() {} func (x *DisableBillingServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[36] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2402,7 +2570,7 @@ func (x *DisableBillingServiceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DisableBillingServiceRequest.ProtoReflect.Descriptor instead. func (*DisableBillingServiceRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{36} + return file_app_v1_app_proto_rawDescGZIP(), []int{38} } func (x *DisableBillingServiceRequest) GetOrgId() string { @@ -2420,9 +2588,11 @@ type DisableBillingServiceResponse struct { func (x *DisableBillingServiceResponse) Reset() { *x = DisableBillingServiceResponse{} - mi := &file_app_v1_app_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DisableBillingServiceResponse) String() string { @@ -2432,8 +2602,8 @@ func (x *DisableBillingServiceResponse) String() string { func (*DisableBillingServiceResponse) ProtoMessage() {} func (x *DisableBillingServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[37] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2445,7 +2615,7 @@ func (x *DisableBillingServiceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DisableBillingServiceResponse.ProtoReflect.Descriptor instead. func (*DisableBillingServiceResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{37} + return file_app_v1_app_proto_rawDescGZIP(), []int{39} } type OrganizationSetSupportEmailRequest struct { @@ -2459,9 +2629,11 @@ type OrganizationSetSupportEmailRequest struct { func (x *OrganizationSetSupportEmailRequest) Reset() { *x = OrganizationSetSupportEmailRequest{} - mi := &file_app_v1_app_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *OrganizationSetSupportEmailRequest) String() string { @@ -2471,8 +2643,8 @@ func (x *OrganizationSetSupportEmailRequest) String() string { func (*OrganizationSetSupportEmailRequest) ProtoMessage() {} func (x *OrganizationSetSupportEmailRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[38] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2484,7 +2656,7 @@ func (x *OrganizationSetSupportEmailRequest) ProtoReflect() protoreflect.Message // Deprecated: Use OrganizationSetSupportEmailRequest.ProtoReflect.Descriptor instead. func (*OrganizationSetSupportEmailRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{38} + return file_app_v1_app_proto_rawDescGZIP(), []int{40} } func (x *OrganizationSetSupportEmailRequest) GetOrgId() string { @@ -2509,9 +2681,11 @@ type OrganizationSetSupportEmailResponse struct { func (x *OrganizationSetSupportEmailResponse) Reset() { *x = OrganizationSetSupportEmailResponse{} - mi := &file_app_v1_app_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *OrganizationSetSupportEmailResponse) String() string { @@ -2521,8 +2695,8 @@ func (x *OrganizationSetSupportEmailResponse) String() string { func (*OrganizationSetSupportEmailResponse) ProtoMessage() {} func (x *OrganizationSetSupportEmailResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[39] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2534,7 +2708,7 @@ func (x *OrganizationSetSupportEmailResponse) ProtoReflect() protoreflect.Messag // Deprecated: Use OrganizationSetSupportEmailResponse.ProtoReflect.Descriptor instead. func (*OrganizationSetSupportEmailResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{39} + return file_app_v1_app_proto_rawDescGZIP(), []int{41} } type OrganizationGetSupportEmailRequest struct { @@ -2547,9 +2721,11 @@ type OrganizationGetSupportEmailRequest struct { func (x *OrganizationGetSupportEmailRequest) Reset() { *x = OrganizationGetSupportEmailRequest{} - mi := &file_app_v1_app_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *OrganizationGetSupportEmailRequest) String() string { @@ -2559,8 +2735,8 @@ func (x *OrganizationGetSupportEmailRequest) String() string { func (*OrganizationGetSupportEmailRequest) ProtoMessage() {} func (x *OrganizationGetSupportEmailRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[40] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2572,7 +2748,7 @@ func (x *OrganizationGetSupportEmailRequest) ProtoReflect() protoreflect.Message // Deprecated: Use OrganizationGetSupportEmailRequest.ProtoReflect.Descriptor instead. func (*OrganizationGetSupportEmailRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{40} + return file_app_v1_app_proto_rawDescGZIP(), []int{42} } func (x *OrganizationGetSupportEmailRequest) GetOrgId() string { @@ -2592,9 +2768,11 @@ type OrganizationGetSupportEmailResponse struct { func (x *OrganizationGetSupportEmailResponse) Reset() { *x = OrganizationGetSupportEmailResponse{} - mi := &file_app_v1_app_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *OrganizationGetSupportEmailResponse) String() string { @@ -2604,8 +2782,8 @@ func (x *OrganizationGetSupportEmailResponse) String() string { func (*OrganizationGetSupportEmailResponse) ProtoMessage() {} func (x *OrganizationGetSupportEmailResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[41] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2617,7 +2795,7 @@ func (x *OrganizationGetSupportEmailResponse) ProtoReflect() protoreflect.Messag // Deprecated: Use OrganizationGetSupportEmailResponse.ProtoReflect.Descriptor instead. func (*OrganizationGetSupportEmailResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{41} + return file_app_v1_app_proto_rawDescGZIP(), []int{43} } func (x *OrganizationGetSupportEmailResponse) GetEmail() string { @@ -2642,9 +2820,11 @@ type OrganizationIdentity struct { func (x *OrganizationIdentity) Reset() { *x = OrganizationIdentity{} - mi := &file_app_v1_app_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *OrganizationIdentity) String() string { @@ -2654,8 +2834,8 @@ func (x *OrganizationIdentity) String() string { func (*OrganizationIdentity) ProtoMessage() {} func (x *OrganizationIdentity) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[42] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2667,7 +2847,7 @@ func (x *OrganizationIdentity) ProtoReflect() protoreflect.Message { // Deprecated: Use OrganizationIdentity.ProtoReflect.Descriptor instead. func (*OrganizationIdentity) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{42} + return file_app_v1_app_proto_rawDescGZIP(), []int{44} } func (x *OrganizationIdentity) GetId() string { @@ -2697,9 +2877,11 @@ type LocationOrganization struct { func (x *LocationOrganization) Reset() { *x = LocationOrganization{} - mi := &file_app_v1_app_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LocationOrganization) String() string { @@ -2709,8 +2891,8 @@ func (x *LocationOrganization) String() string { func (*LocationOrganization) ProtoMessage() {} func (x *LocationOrganization) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[43] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2722,7 +2904,7 @@ func (x *LocationOrganization) ProtoReflect() protoreflect.Message { // Deprecated: Use LocationOrganization.ProtoReflect.Descriptor instead. func (*LocationOrganization) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{43} + return file_app_v1_app_proto_rawDescGZIP(), []int{45} } func (x *LocationOrganization) GetOrganizationId() string { @@ -2746,7 +2928,7 @@ type LocationAuth struct { // Deprecated: use secrets field. // - // Deprecated: Marked as deprecated in app/v1/app.proto. + // Deprecated: Do not use. Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // Location ID containing this LocationAuth. LocationId string `protobuf:"bytes,2,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` @@ -2756,9 +2938,11 @@ type LocationAuth struct { func (x *LocationAuth) Reset() { *x = LocationAuth{} - mi := &file_app_v1_app_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LocationAuth) String() string { @@ -2768,8 +2952,8 @@ func (x *LocationAuth) String() string { func (*LocationAuth) ProtoMessage() {} func (x *LocationAuth) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[44] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[46] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2781,10 +2965,10 @@ func (x *LocationAuth) ProtoReflect() protoreflect.Message { // Deprecated: Use LocationAuth.ProtoReflect.Descriptor instead. func (*LocationAuth) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{44} + return file_app_v1_app_proto_rawDescGZIP(), []int{46} } -// Deprecated: Marked as deprecated in app/v1/app.proto. +// Deprecated: Do not use. func (x *LocationAuth) GetSecret() string { if x != nil { return x.Secret @@ -2817,9 +3001,11 @@ type StorageConfig struct { func (x *StorageConfig) Reset() { *x = StorageConfig{} - mi := &file_app_v1_app_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StorageConfig) String() string { @@ -2829,8 +3015,8 @@ func (x *StorageConfig) String() string { func (*StorageConfig) ProtoMessage() {} func (x *StorageConfig) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[45] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2842,7 +3028,7 @@ func (x *StorageConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use StorageConfig.ProtoReflect.Descriptor instead. func (*StorageConfig) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{45} + return file_app_v1_app_proto_rawDescGZIP(), []int{47} } func (x *StorageConfig) GetRegion() string { @@ -2876,9 +3062,11 @@ type Location struct { func (x *Location) Reset() { *x = Location{} - mi := &file_app_v1_app_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Location) String() string { @@ -2888,8 +3076,8 @@ func (x *Location) String() string { func (*Location) ProtoMessage() {} func (x *Location) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[46] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[48] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2901,7 +3089,7 @@ func (x *Location) ProtoReflect() protoreflect.Message { // Deprecated: Use Location.ProtoReflect.Descriptor instead. func (*Location) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{46} + return file_app_v1_app_proto_rawDescGZIP(), []int{48} } func (x *Location) GetId() string { @@ -2978,9 +3166,11 @@ type SharedSecret struct { func (x *SharedSecret) Reset() { *x = SharedSecret{} - mi := &file_app_v1_app_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SharedSecret) String() string { @@ -2990,8 +3180,8 @@ func (x *SharedSecret) String() string { func (*SharedSecret) ProtoMessage() {} func (x *SharedSecret) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[47] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[49] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3003,7 +3193,7 @@ func (x *SharedSecret) ProtoReflect() protoreflect.Message { // Deprecated: Use SharedSecret.ProtoReflect.Descriptor instead. func (*SharedSecret) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{47} + return file_app_v1_app_proto_rawDescGZIP(), []int{49} } func (x *SharedSecret) GetId() string { @@ -3049,9 +3239,11 @@ type CreateLocationRequest struct { func (x *CreateLocationRequest) Reset() { *x = CreateLocationRequest{} - mi := &file_app_v1_app_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateLocationRequest) String() string { @@ -3061,8 +3253,8 @@ func (x *CreateLocationRequest) String() string { func (*CreateLocationRequest) ProtoMessage() {} func (x *CreateLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[48] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[50] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3074,7 +3266,7 @@ func (x *CreateLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateLocationRequest.ProtoReflect.Descriptor instead. func (*CreateLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{48} + return file_app_v1_app_proto_rawDescGZIP(), []int{50} } func (x *CreateLocationRequest) GetOrganizationId() string { @@ -3109,9 +3301,11 @@ type CreateLocationResponse struct { func (x *CreateLocationResponse) Reset() { *x = CreateLocationResponse{} - mi := &file_app_v1_app_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateLocationResponse) String() string { @@ -3121,8 +3315,8 @@ func (x *CreateLocationResponse) String() string { func (*CreateLocationResponse) ProtoMessage() {} func (x *CreateLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[49] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[51] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3134,7 +3328,7 @@ func (x *CreateLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateLocationResponse.ProtoReflect.Descriptor instead. func (*CreateLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{49} + return file_app_v1_app_proto_rawDescGZIP(), []int{51} } func (x *CreateLocationResponse) GetLocation() *Location { @@ -3155,9 +3349,11 @@ type GetLocationRequest struct { func (x *GetLocationRequest) Reset() { *x = GetLocationRequest{} - mi := &file_app_v1_app_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetLocationRequest) String() string { @@ -3167,8 +3363,8 @@ func (x *GetLocationRequest) String() string { func (*GetLocationRequest) ProtoMessage() {} func (x *GetLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[50] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[52] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3180,7 +3376,7 @@ func (x *GetLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetLocationRequest.ProtoReflect.Descriptor instead. func (*GetLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{50} + return file_app_v1_app_proto_rawDescGZIP(), []int{52} } func (x *GetLocationRequest) GetLocationId() string { @@ -3201,9 +3397,11 @@ type GetLocationResponse struct { func (x *GetLocationResponse) Reset() { *x = GetLocationResponse{} - mi := &file_app_v1_app_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetLocationResponse) String() string { @@ -3213,8 +3411,8 @@ func (x *GetLocationResponse) String() string { func (*GetLocationResponse) ProtoMessage() {} func (x *GetLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[51] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[53] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3226,7 +3424,7 @@ func (x *GetLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetLocationResponse.ProtoReflect.Descriptor instead. func (*GetLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{51} + return file_app_v1_app_proto_rawDescGZIP(), []int{53} } func (x *GetLocationResponse) GetLocation() *Location { @@ -3253,9 +3451,11 @@ type UpdateLocationRequest struct { func (x *UpdateLocationRequest) Reset() { *x = UpdateLocationRequest{} - mi := &file_app_v1_app_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateLocationRequest) String() string { @@ -3265,8 +3465,8 @@ func (x *UpdateLocationRequest) String() string { func (*UpdateLocationRequest) ProtoMessage() {} func (x *UpdateLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[52] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[54] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3278,7 +3478,7 @@ func (x *UpdateLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateLocationRequest.ProtoReflect.Descriptor instead. func (*UpdateLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{52} + return file_app_v1_app_proto_rawDescGZIP(), []int{54} } func (x *UpdateLocationRequest) GetLocationId() string { @@ -3320,9 +3520,11 @@ type UpdateLocationResponse struct { func (x *UpdateLocationResponse) Reset() { *x = UpdateLocationResponse{} - mi := &file_app_v1_app_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateLocationResponse) String() string { @@ -3332,8 +3534,8 @@ func (x *UpdateLocationResponse) String() string { func (*UpdateLocationResponse) ProtoMessage() {} func (x *UpdateLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[53] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[55] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3345,7 +3547,7 @@ func (x *UpdateLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateLocationResponse.ProtoReflect.Descriptor instead. func (*UpdateLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{53} + return file_app_v1_app_proto_rawDescGZIP(), []int{55} } func (x *UpdateLocationResponse) GetLocation() *Location { @@ -3366,9 +3568,11 @@ type DeleteLocationRequest struct { func (x *DeleteLocationRequest) Reset() { *x = DeleteLocationRequest{} - mi := &file_app_v1_app_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteLocationRequest) String() string { @@ -3378,8 +3582,8 @@ func (x *DeleteLocationRequest) String() string { func (*DeleteLocationRequest) ProtoMessage() {} func (x *DeleteLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[54] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[56] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3391,7 +3595,7 @@ func (x *DeleteLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteLocationRequest.ProtoReflect.Descriptor instead. func (*DeleteLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{54} + return file_app_v1_app_proto_rawDescGZIP(), []int{56} } func (x *DeleteLocationRequest) GetLocationId() string { @@ -3409,9 +3613,11 @@ type DeleteLocationResponse struct { func (x *DeleteLocationResponse) Reset() { *x = DeleteLocationResponse{} - mi := &file_app_v1_app_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteLocationResponse) String() string { @@ -3421,8 +3627,8 @@ func (x *DeleteLocationResponse) String() string { func (*DeleteLocationResponse) ProtoMessage() {} func (x *DeleteLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[55] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[57] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3434,7 +3640,7 @@ func (x *DeleteLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteLocationResponse.ProtoReflect.Descriptor instead. func (*DeleteLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{55} + return file_app_v1_app_proto_rawDescGZIP(), []int{57} } type GetOrganizationsWithAccessToLocationRequest struct { @@ -3447,9 +3653,11 @@ type GetOrganizationsWithAccessToLocationRequest struct { func (x *GetOrganizationsWithAccessToLocationRequest) Reset() { *x = GetOrganizationsWithAccessToLocationRequest{} - mi := &file_app_v1_app_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetOrganizationsWithAccessToLocationRequest) String() string { @@ -3459,8 +3667,8 @@ func (x *GetOrganizationsWithAccessToLocationRequest) String() string { func (*GetOrganizationsWithAccessToLocationRequest) ProtoMessage() {} func (x *GetOrganizationsWithAccessToLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[56] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[58] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3472,7 +3680,7 @@ func (x *GetOrganizationsWithAccessToLocationRequest) ProtoReflect() protoreflec // Deprecated: Use GetOrganizationsWithAccessToLocationRequest.ProtoReflect.Descriptor instead. func (*GetOrganizationsWithAccessToLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{56} + return file_app_v1_app_proto_rawDescGZIP(), []int{58} } func (x *GetOrganizationsWithAccessToLocationRequest) GetLocationId() string { @@ -3492,9 +3700,11 @@ type GetOrganizationsWithAccessToLocationResponse struct { func (x *GetOrganizationsWithAccessToLocationResponse) Reset() { *x = GetOrganizationsWithAccessToLocationResponse{} - mi := &file_app_v1_app_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetOrganizationsWithAccessToLocationResponse) String() string { @@ -3504,8 +3714,8 @@ func (x *GetOrganizationsWithAccessToLocationResponse) String() string { func (*GetOrganizationsWithAccessToLocationResponse) ProtoMessage() {} func (x *GetOrganizationsWithAccessToLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[57] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[59] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3517,7 +3727,7 @@ func (x *GetOrganizationsWithAccessToLocationResponse) ProtoReflect() protorefle // Deprecated: Use GetOrganizationsWithAccessToLocationResponse.ProtoReflect.Descriptor instead. func (*GetOrganizationsWithAccessToLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{57} + return file_app_v1_app_proto_rawDescGZIP(), []int{59} } func (x *GetOrganizationsWithAccessToLocationResponse) GetOrganizationIdentities() []*OrganizationIdentity { @@ -3538,9 +3748,11 @@ type ListLocationsRequest struct { func (x *ListLocationsRequest) Reset() { *x = ListLocationsRequest{} - mi := &file_app_v1_app_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListLocationsRequest) String() string { @@ -3550,8 +3762,8 @@ func (x *ListLocationsRequest) String() string { func (*ListLocationsRequest) ProtoMessage() {} func (x *ListLocationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[58] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[60] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3563,7 +3775,7 @@ func (x *ListLocationsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListLocationsRequest.ProtoReflect.Descriptor instead. func (*ListLocationsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{58} + return file_app_v1_app_proto_rawDescGZIP(), []int{60} } func (x *ListLocationsRequest) GetOrganizationId() string { @@ -3586,9 +3798,11 @@ type ShareLocationRequest struct { func (x *ShareLocationRequest) Reset() { *x = ShareLocationRequest{} - mi := &file_app_v1_app_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ShareLocationRequest) String() string { @@ -3598,8 +3812,8 @@ func (x *ShareLocationRequest) String() string { func (*ShareLocationRequest) ProtoMessage() {} func (x *ShareLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[59] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[61] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3611,7 +3825,7 @@ func (x *ShareLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ShareLocationRequest.ProtoReflect.Descriptor instead. func (*ShareLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{59} + return file_app_v1_app_proto_rawDescGZIP(), []int{61} } func (x *ShareLocationRequest) GetLocationId() string { @@ -3636,9 +3850,11 @@ type ShareLocationResponse struct { func (x *ShareLocationResponse) Reset() { *x = ShareLocationResponse{} - mi := &file_app_v1_app_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ShareLocationResponse) String() string { @@ -3648,8 +3864,8 @@ func (x *ShareLocationResponse) String() string { func (*ShareLocationResponse) ProtoMessage() {} func (x *ShareLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[60] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[62] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3661,7 +3877,7 @@ func (x *ShareLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ShareLocationResponse.ProtoReflect.Descriptor instead. func (*ShareLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{60} + return file_app_v1_app_proto_rawDescGZIP(), []int{62} } type UnshareLocationRequest struct { @@ -3677,9 +3893,11 @@ type UnshareLocationRequest struct { func (x *UnshareLocationRequest) Reset() { *x = UnshareLocationRequest{} - mi := &file_app_v1_app_proto_msgTypes[61] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UnshareLocationRequest) String() string { @@ -3689,8 +3907,8 @@ func (x *UnshareLocationRequest) String() string { func (*UnshareLocationRequest) ProtoMessage() {} func (x *UnshareLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[61] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[63] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3702,7 +3920,7 @@ func (x *UnshareLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UnshareLocationRequest.ProtoReflect.Descriptor instead. func (*UnshareLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{61} + return file_app_v1_app_proto_rawDescGZIP(), []int{63} } func (x *UnshareLocationRequest) GetLocationId() string { @@ -3727,9 +3945,11 @@ type UnshareLocationResponse struct { func (x *UnshareLocationResponse) Reset() { *x = UnshareLocationResponse{} - mi := &file_app_v1_app_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UnshareLocationResponse) String() string { @@ -3739,8 +3959,8 @@ func (x *UnshareLocationResponse) String() string { func (*UnshareLocationResponse) ProtoMessage() {} func (x *UnshareLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[62] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[64] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3752,7 +3972,7 @@ func (x *UnshareLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UnshareLocationResponse.ProtoReflect.Descriptor instead. func (*UnshareLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{62} + return file_app_v1_app_proto_rawDescGZIP(), []int{64} } type ListLocationsResponse struct { @@ -3765,9 +3985,11 @@ type ListLocationsResponse struct { func (x *ListLocationsResponse) Reset() { *x = ListLocationsResponse{} - mi := &file_app_v1_app_proto_msgTypes[63] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListLocationsResponse) String() string { @@ -3777,8 +3999,8 @@ func (x *ListLocationsResponse) String() string { func (*ListLocationsResponse) ProtoMessage() {} func (x *ListLocationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[63] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3790,7 +4012,7 @@ func (x *ListLocationsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListLocationsResponse.ProtoReflect.Descriptor instead. func (*ListLocationsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{63} + return file_app_v1_app_proto_rawDescGZIP(), []int{65} } func (x *ListLocationsResponse) GetLocations() []*Location { @@ -3811,9 +4033,11 @@ type CreateLocationSecretRequest struct { func (x *CreateLocationSecretRequest) Reset() { *x = CreateLocationSecretRequest{} - mi := &file_app_v1_app_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateLocationSecretRequest) String() string { @@ -3823,8 +4047,8 @@ func (x *CreateLocationSecretRequest) String() string { func (*CreateLocationSecretRequest) ProtoMessage() {} func (x *CreateLocationSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[64] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[66] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3836,7 +4060,7 @@ func (x *CreateLocationSecretRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateLocationSecretRequest.ProtoReflect.Descriptor instead. func (*CreateLocationSecretRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{64} + return file_app_v1_app_proto_rawDescGZIP(), []int{66} } func (x *CreateLocationSecretRequest) GetLocationId() string { @@ -3857,9 +4081,11 @@ type CreateLocationSecretResponse struct { func (x *CreateLocationSecretResponse) Reset() { *x = CreateLocationSecretResponse{} - mi := &file_app_v1_app_proto_msgTypes[65] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateLocationSecretResponse) String() string { @@ -3869,8 +4095,8 @@ func (x *CreateLocationSecretResponse) String() string { func (*CreateLocationSecretResponse) ProtoMessage() {} func (x *CreateLocationSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[65] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[67] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3882,7 +4108,7 @@ func (x *CreateLocationSecretResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateLocationSecretResponse.ProtoReflect.Descriptor instead. func (*CreateLocationSecretResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{65} + return file_app_v1_app_proto_rawDescGZIP(), []int{67} } func (x *CreateLocationSecretResponse) GetAuth() *LocationAuth { @@ -3903,9 +4129,11 @@ type DeleteLocationSecretRequest struct { func (x *DeleteLocationSecretRequest) Reset() { *x = DeleteLocationSecretRequest{} - mi := &file_app_v1_app_proto_msgTypes[66] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteLocationSecretRequest) String() string { @@ -3915,8 +4143,8 @@ func (x *DeleteLocationSecretRequest) String() string { func (*DeleteLocationSecretRequest) ProtoMessage() {} func (x *DeleteLocationSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[66] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[68] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3928,7 +4156,7 @@ func (x *DeleteLocationSecretRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteLocationSecretRequest.ProtoReflect.Descriptor instead. func (*DeleteLocationSecretRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{66} + return file_app_v1_app_proto_rawDescGZIP(), []int{68} } func (x *DeleteLocationSecretRequest) GetLocationId() string { @@ -3953,9 +4181,11 @@ type DeleteLocationSecretResponse struct { func (x *DeleteLocationSecretResponse) Reset() { *x = DeleteLocationSecretResponse{} - mi := &file_app_v1_app_proto_msgTypes[67] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteLocationSecretResponse) String() string { @@ -3965,8 +4195,8 @@ func (x *DeleteLocationSecretResponse) String() string { func (*DeleteLocationSecretResponse) ProtoMessage() {} func (x *DeleteLocationSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[67] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[69] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3978,7 +4208,7 @@ func (x *DeleteLocationSecretResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteLocationSecretResponse.ProtoReflect.Descriptor instead. func (*DeleteLocationSecretResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{67} + return file_app_v1_app_proto_rawDescGZIP(), []int{69} } type LocationAuthRequest struct { @@ -3991,9 +4221,11 @@ type LocationAuthRequest struct { func (x *LocationAuthRequest) Reset() { *x = LocationAuthRequest{} - mi := &file_app_v1_app_proto_msgTypes[68] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LocationAuthRequest) String() string { @@ -4003,8 +4235,8 @@ func (x *LocationAuthRequest) String() string { func (*LocationAuthRequest) ProtoMessage() {} func (x *LocationAuthRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[68] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[70] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4016,7 +4248,7 @@ func (x *LocationAuthRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use LocationAuthRequest.ProtoReflect.Descriptor instead. func (*LocationAuthRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{68} + return file_app_v1_app_proto_rawDescGZIP(), []int{70} } func (x *LocationAuthRequest) GetLocationId() string { @@ -4036,9 +4268,11 @@ type LocationAuthResponse struct { func (x *LocationAuthResponse) Reset() { *x = LocationAuthResponse{} - mi := &file_app_v1_app_proto_msgTypes[69] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LocationAuthResponse) String() string { @@ -4048,8 +4282,8 @@ func (x *LocationAuthResponse) String() string { func (*LocationAuthResponse) ProtoMessage() {} func (x *LocationAuthResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[69] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[71] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4061,7 +4295,7 @@ func (x *LocationAuthResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use LocationAuthResponse.ProtoReflect.Descriptor instead. func (*LocationAuthResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{69} + return file_app_v1_app_proto_rawDescGZIP(), []int{71} } func (x *LocationAuthResponse) GetAuth() *LocationAuth { @@ -4081,9 +4315,11 @@ type GetRobotRequest struct { func (x *GetRobotRequest) Reset() { *x = GetRobotRequest{} - mi := &file_app_v1_app_proto_msgTypes[70] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRobotRequest) String() string { @@ -4093,8 +4329,8 @@ func (x *GetRobotRequest) String() string { func (*GetRobotRequest) ProtoMessage() {} func (x *GetRobotRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[70] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[72] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4106,7 +4342,7 @@ func (x *GetRobotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotRequest.ProtoReflect.Descriptor instead. func (*GetRobotRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{70} + return file_app_v1_app_proto_rawDescGZIP(), []int{72} } func (x *GetRobotRequest) GetId() string { @@ -4126,9 +4362,11 @@ type GetRoverRentalRobotsRequest struct { func (x *GetRoverRentalRobotsRequest) Reset() { *x = GetRoverRentalRobotsRequest{} - mi := &file_app_v1_app_proto_msgTypes[71] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRoverRentalRobotsRequest) String() string { @@ -4138,8 +4376,8 @@ func (x *GetRoverRentalRobotsRequest) String() string { func (*GetRoverRentalRobotsRequest) ProtoMessage() {} func (x *GetRoverRentalRobotsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[71] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[73] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4151,7 +4389,7 @@ func (x *GetRoverRentalRobotsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoverRentalRobotsRequest.ProtoReflect.Descriptor instead. func (*GetRoverRentalRobotsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{71} + return file_app_v1_app_proto_rawDescGZIP(), []int{73} } func (x *GetRoverRentalRobotsRequest) GetOrgId() string { @@ -4174,9 +4412,11 @@ type RoverRentalRobot struct { func (x *RoverRentalRobot) Reset() { *x = RoverRentalRobot{} - mi := &file_app_v1_app_proto_msgTypes[72] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RoverRentalRobot) String() string { @@ -4186,8 +4426,8 @@ func (x *RoverRentalRobot) String() string { func (*RoverRentalRobot) ProtoMessage() {} func (x *RoverRentalRobot) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[72] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[74] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4199,7 +4439,7 @@ func (x *RoverRentalRobot) ProtoReflect() protoreflect.Message { // Deprecated: Use RoverRentalRobot.ProtoReflect.Descriptor instead. func (*RoverRentalRobot) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{72} + return file_app_v1_app_proto_rawDescGZIP(), []int{74} } func (x *RoverRentalRobot) GetRobotId() string { @@ -4240,9 +4480,11 @@ type GetRoverRentalRobotsResponse struct { func (x *GetRoverRentalRobotsResponse) Reset() { *x = GetRoverRentalRobotsResponse{} - mi := &file_app_v1_app_proto_msgTypes[73] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRoverRentalRobotsResponse) String() string { @@ -4252,8 +4494,8 @@ func (x *GetRoverRentalRobotsResponse) String() string { func (*GetRoverRentalRobotsResponse) ProtoMessage() {} func (x *GetRoverRentalRobotsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[73] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[75] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4265,7 +4507,7 @@ func (x *GetRoverRentalRobotsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoverRentalRobotsResponse.ProtoReflect.Descriptor instead. func (*GetRoverRentalRobotsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{73} + return file_app_v1_app_proto_rawDescGZIP(), []int{75} } func (x *GetRoverRentalRobotsResponse) GetRobots() []*RoverRentalRobot { @@ -4285,9 +4527,11 @@ type GetRobotResponse struct { func (x *GetRobotResponse) Reset() { *x = GetRobotResponse{} - mi := &file_app_v1_app_proto_msgTypes[74] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRobotResponse) String() string { @@ -4297,8 +4541,8 @@ func (x *GetRobotResponse) String() string { func (*GetRobotResponse) ProtoMessage() {} func (x *GetRobotResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[74] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[76] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4310,7 +4554,7 @@ func (x *GetRobotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotResponse.ProtoReflect.Descriptor instead. func (*GetRobotResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{74} + return file_app_v1_app_proto_rawDescGZIP(), []int{76} } func (x *GetRobotResponse) GetRobot() *Robot { @@ -4330,9 +4574,11 @@ type GetRobotPartsRequest struct { func (x *GetRobotPartsRequest) Reset() { *x = GetRobotPartsRequest{} - mi := &file_app_v1_app_proto_msgTypes[75] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRobotPartsRequest) String() string { @@ -4342,8 +4588,8 @@ func (x *GetRobotPartsRequest) String() string { func (*GetRobotPartsRequest) ProtoMessage() {} func (x *GetRobotPartsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[75] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[77] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4355,7 +4601,7 @@ func (x *GetRobotPartsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartsRequest.ProtoReflect.Descriptor instead. func (*GetRobotPartsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{75} + return file_app_v1_app_proto_rawDescGZIP(), []int{77} } func (x *GetRobotPartsRequest) GetRobotId() string { @@ -4375,9 +4621,11 @@ type GetRobotPartsResponse struct { func (x *GetRobotPartsResponse) Reset() { *x = GetRobotPartsResponse{} - mi := &file_app_v1_app_proto_msgTypes[76] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRobotPartsResponse) String() string { @@ -4387,8 +4635,8 @@ func (x *GetRobotPartsResponse) String() string { func (*GetRobotPartsResponse) ProtoMessage() {} func (x *GetRobotPartsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[76] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[78] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4400,7 +4648,7 @@ func (x *GetRobotPartsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartsResponse.ProtoReflect.Descriptor instead. func (*GetRobotPartsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{76} + return file_app_v1_app_proto_rawDescGZIP(), []int{78} } func (x *GetRobotPartsResponse) GetParts() []*RobotPart { @@ -4420,9 +4668,11 @@ type GetRobotPartRequest struct { func (x *GetRobotPartRequest) Reset() { *x = GetRobotPartRequest{} - mi := &file_app_v1_app_proto_msgTypes[77] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRobotPartRequest) String() string { @@ -4432,8 +4682,8 @@ func (x *GetRobotPartRequest) String() string { func (*GetRobotPartRequest) ProtoMessage() {} func (x *GetRobotPartRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[77] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[79] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4445,7 +4695,7 @@ func (x *GetRobotPartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartRequest.ProtoReflect.Descriptor instead. func (*GetRobotPartRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{77} + return file_app_v1_app_proto_rawDescGZIP(), []int{79} } func (x *GetRobotPartRequest) GetId() string { @@ -4466,9 +4716,11 @@ type GetRobotPartResponse struct { func (x *GetRobotPartResponse) Reset() { *x = GetRobotPartResponse{} - mi := &file_app_v1_app_proto_msgTypes[78] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRobotPartResponse) String() string { @@ -4478,8 +4730,8 @@ func (x *GetRobotPartResponse) String() string { func (*GetRobotPartResponse) ProtoMessage() {} func (x *GetRobotPartResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[78] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[80] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4491,7 +4743,7 @@ func (x *GetRobotPartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartResponse.ProtoReflect.Descriptor instead. func (*GetRobotPartResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{78} + return file_app_v1_app_proto_rawDescGZIP(), []int{80} } func (x *GetRobotPartResponse) GetPart() *RobotPart { @@ -4516,7 +4768,7 @@ type GetRobotPartLogsRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // TODO(https://viam.atlassian.net/browse/APP-3877): Remove this field // - // Deprecated: Marked as deprecated in app/v1/app.proto. + // Deprecated: Do not use. ErrorsOnly bool `protobuf:"varint,2,opt,name=errors_only,json=errorsOnly,proto3" json:"errors_only,omitempty"` Filter *string `protobuf:"bytes,3,opt,name=filter,proto3,oneof" json:"filter,omitempty"` PageToken *string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"` @@ -4530,9 +4782,11 @@ type GetRobotPartLogsRequest struct { func (x *GetRobotPartLogsRequest) Reset() { *x = GetRobotPartLogsRequest{} - mi := &file_app_v1_app_proto_msgTypes[79] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRobotPartLogsRequest) String() string { @@ -4542,8 +4796,8 @@ func (x *GetRobotPartLogsRequest) String() string { func (*GetRobotPartLogsRequest) ProtoMessage() {} func (x *GetRobotPartLogsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[79] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[81] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4555,7 +4809,7 @@ func (x *GetRobotPartLogsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartLogsRequest.ProtoReflect.Descriptor instead. func (*GetRobotPartLogsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{79} + return file_app_v1_app_proto_rawDescGZIP(), []int{81} } func (x *GetRobotPartLogsRequest) GetId() string { @@ -4565,7 +4819,7 @@ func (x *GetRobotPartLogsRequest) GetId() string { return "" } -// Deprecated: Marked as deprecated in app/v1/app.proto. +// Deprecated: Do not use. func (x *GetRobotPartLogsRequest) GetErrorsOnly() bool { if x != nil { return x.ErrorsOnly @@ -4633,9 +4887,11 @@ type GetRobotPartLogsResponse struct { func (x *GetRobotPartLogsResponse) Reset() { *x = GetRobotPartLogsResponse{} - mi := &file_app_v1_app_proto_msgTypes[80] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRobotPartLogsResponse) String() string { @@ -4645,8 +4901,8 @@ func (x *GetRobotPartLogsResponse) String() string { func (*GetRobotPartLogsResponse) ProtoMessage() {} func (x *GetRobotPartLogsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[80] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[82] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4658,7 +4914,7 @@ func (x *GetRobotPartLogsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartLogsResponse.ProtoReflect.Descriptor instead. func (*GetRobotPartLogsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{80} + return file_app_v1_app_proto_rawDescGZIP(), []int{82} } func (x *GetRobotPartLogsResponse) GetLogs() []*v1.LogEntry { @@ -4687,9 +4943,11 @@ type TailRobotPartLogsRequest struct { func (x *TailRobotPartLogsRequest) Reset() { *x = TailRobotPartLogsRequest{} - mi := &file_app_v1_app_proto_msgTypes[81] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TailRobotPartLogsRequest) String() string { @@ -4699,8 +4957,8 @@ func (x *TailRobotPartLogsRequest) String() string { func (*TailRobotPartLogsRequest) ProtoMessage() {} func (x *TailRobotPartLogsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[81] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[83] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4712,7 +4970,7 @@ func (x *TailRobotPartLogsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TailRobotPartLogsRequest.ProtoReflect.Descriptor instead. func (*TailRobotPartLogsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{81} + return file_app_v1_app_proto_rawDescGZIP(), []int{83} } func (x *TailRobotPartLogsRequest) GetId() string { @@ -4746,9 +5004,11 @@ type TailRobotPartLogsResponse struct { func (x *TailRobotPartLogsResponse) Reset() { *x = TailRobotPartLogsResponse{} - mi := &file_app_v1_app_proto_msgTypes[82] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TailRobotPartLogsResponse) String() string { @@ -4758,8 +5018,8 @@ func (x *TailRobotPartLogsResponse) String() string { func (*TailRobotPartLogsResponse) ProtoMessage() {} func (x *TailRobotPartLogsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[82] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[84] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4771,7 +5031,7 @@ func (x *TailRobotPartLogsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TailRobotPartLogsResponse.ProtoReflect.Descriptor instead. func (*TailRobotPartLogsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{82} + return file_app_v1_app_proto_rawDescGZIP(), []int{84} } func (x *TailRobotPartLogsResponse) GetLogs() []*v1.LogEntry { @@ -4791,9 +5051,11 @@ type GetRobotPartHistoryRequest struct { func (x *GetRobotPartHistoryRequest) Reset() { *x = GetRobotPartHistoryRequest{} - mi := &file_app_v1_app_proto_msgTypes[83] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRobotPartHistoryRequest) String() string { @@ -4803,8 +5065,8 @@ func (x *GetRobotPartHistoryRequest) String() string { func (*GetRobotPartHistoryRequest) ProtoMessage() {} func (x *GetRobotPartHistoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[83] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[85] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4816,7 +5078,7 @@ func (x *GetRobotPartHistoryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartHistoryRequest.ProtoReflect.Descriptor instead. func (*GetRobotPartHistoryRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{83} + return file_app_v1_app_proto_rawDescGZIP(), []int{85} } func (x *GetRobotPartHistoryRequest) GetId() string { @@ -4836,9 +5098,11 @@ type GetRobotPartHistoryResponse struct { func (x *GetRobotPartHistoryResponse) Reset() { *x = GetRobotPartHistoryResponse{} - mi := &file_app_v1_app_proto_msgTypes[84] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRobotPartHistoryResponse) String() string { @@ -4848,8 +5112,8 @@ func (x *GetRobotPartHistoryResponse) String() string { func (*GetRobotPartHistoryResponse) ProtoMessage() {} func (x *GetRobotPartHistoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[84] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[86] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4861,7 +5125,7 @@ func (x *GetRobotPartHistoryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartHistoryResponse.ProtoReflect.Descriptor instead. func (*GetRobotPartHistoryResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{84} + return file_app_v1_app_proto_rawDescGZIP(), []int{86} } func (x *GetRobotPartHistoryResponse) GetHistory() []*RobotPartHistoryEntry { @@ -4883,9 +5147,11 @@ type UpdateRobotPartRequest struct { func (x *UpdateRobotPartRequest) Reset() { *x = UpdateRobotPartRequest{} - mi := &file_app_v1_app_proto_msgTypes[85] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[87] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateRobotPartRequest) String() string { @@ -4895,8 +5161,8 @@ func (x *UpdateRobotPartRequest) String() string { func (*UpdateRobotPartRequest) ProtoMessage() {} func (x *UpdateRobotPartRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[85] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[87] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4908,7 +5174,7 @@ func (x *UpdateRobotPartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRobotPartRequest.ProtoReflect.Descriptor instead. func (*UpdateRobotPartRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{85} + return file_app_v1_app_proto_rawDescGZIP(), []int{87} } func (x *UpdateRobotPartRequest) GetId() string { @@ -4942,9 +5208,11 @@ type UpdateRobotPartResponse struct { func (x *UpdateRobotPartResponse) Reset() { *x = UpdateRobotPartResponse{} - mi := &file_app_v1_app_proto_msgTypes[86] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[88] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateRobotPartResponse) String() string { @@ -4954,8 +5222,8 @@ func (x *UpdateRobotPartResponse) String() string { func (*UpdateRobotPartResponse) ProtoMessage() {} func (x *UpdateRobotPartResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[86] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[88] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4967,7 +5235,7 @@ func (x *UpdateRobotPartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRobotPartResponse.ProtoReflect.Descriptor instead. func (*UpdateRobotPartResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{86} + return file_app_v1_app_proto_rawDescGZIP(), []int{88} } func (x *UpdateRobotPartResponse) GetPart() *RobotPart { @@ -4988,9 +5256,11 @@ type NewRobotPartRequest struct { func (x *NewRobotPartRequest) Reset() { *x = NewRobotPartRequest{} - mi := &file_app_v1_app_proto_msgTypes[87] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[89] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *NewRobotPartRequest) String() string { @@ -5000,8 +5270,8 @@ func (x *NewRobotPartRequest) String() string { func (*NewRobotPartRequest) ProtoMessage() {} func (x *NewRobotPartRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[87] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[89] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5013,7 +5283,7 @@ func (x *NewRobotPartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use NewRobotPartRequest.ProtoReflect.Descriptor instead. func (*NewRobotPartRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{87} + return file_app_v1_app_proto_rawDescGZIP(), []int{89} } func (x *NewRobotPartRequest) GetRobotId() string { @@ -5040,9 +5310,11 @@ type NewRobotPartResponse struct { func (x *NewRobotPartResponse) Reset() { *x = NewRobotPartResponse{} - mi := &file_app_v1_app_proto_msgTypes[88] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[90] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *NewRobotPartResponse) String() string { @@ -5052,8 +5324,8 @@ func (x *NewRobotPartResponse) String() string { func (*NewRobotPartResponse) ProtoMessage() {} func (x *NewRobotPartResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[88] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[90] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5065,7 +5337,7 @@ func (x *NewRobotPartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use NewRobotPartResponse.ProtoReflect.Descriptor instead. func (*NewRobotPartResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{88} + return file_app_v1_app_proto_rawDescGZIP(), []int{90} } func (x *NewRobotPartResponse) GetPartId() string { @@ -5085,9 +5357,11 @@ type DeleteRobotPartRequest struct { func (x *DeleteRobotPartRequest) Reset() { *x = DeleteRobotPartRequest{} - mi := &file_app_v1_app_proto_msgTypes[89] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[91] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteRobotPartRequest) String() string { @@ -5097,8 +5371,8 @@ func (x *DeleteRobotPartRequest) String() string { func (*DeleteRobotPartRequest) ProtoMessage() {} func (x *DeleteRobotPartRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[89] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[91] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5110,7 +5384,7 @@ func (x *DeleteRobotPartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotPartRequest.ProtoReflect.Descriptor instead. func (*DeleteRobotPartRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{89} + return file_app_v1_app_proto_rawDescGZIP(), []int{91} } func (x *DeleteRobotPartRequest) GetPartId() string { @@ -5130,9 +5404,11 @@ type GetRobotAPIKeysRequest struct { func (x *GetRobotAPIKeysRequest) Reset() { *x = GetRobotAPIKeysRequest{} - mi := &file_app_v1_app_proto_msgTypes[90] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[92] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRobotAPIKeysRequest) String() string { @@ -5142,8 +5418,8 @@ func (x *GetRobotAPIKeysRequest) String() string { func (*GetRobotAPIKeysRequest) ProtoMessage() {} func (x *GetRobotAPIKeysRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[90] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[92] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5155,7 +5431,7 @@ func (x *GetRobotAPIKeysRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotAPIKeysRequest.ProtoReflect.Descriptor instead. func (*GetRobotAPIKeysRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{90} + return file_app_v1_app_proto_rawDescGZIP(), []int{92} } func (x *GetRobotAPIKeysRequest) GetRobotId() string { @@ -5178,9 +5454,11 @@ type APIKey struct { func (x *APIKey) Reset() { *x = APIKey{} - mi := &file_app_v1_app_proto_msgTypes[91] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *APIKey) String() string { @@ -5190,8 +5468,8 @@ func (x *APIKey) String() string { func (*APIKey) ProtoMessage() {} func (x *APIKey) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[91] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[93] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5203,7 +5481,7 @@ func (x *APIKey) ProtoReflect() protoreflect.Message { // Deprecated: Use APIKey.ProtoReflect.Descriptor instead. func (*APIKey) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{91} + return file_app_v1_app_proto_rawDescGZIP(), []int{93} } func (x *APIKey) GetId() string { @@ -5244,9 +5522,11 @@ type GetRobotAPIKeysResponse struct { func (x *GetRobotAPIKeysResponse) Reset() { *x = GetRobotAPIKeysResponse{} - mi := &file_app_v1_app_proto_msgTypes[92] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRobotAPIKeysResponse) String() string { @@ -5256,8 +5536,8 @@ func (x *GetRobotAPIKeysResponse) String() string { func (*GetRobotAPIKeysResponse) ProtoMessage() {} func (x *GetRobotAPIKeysResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[92] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[94] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5269,7 +5549,7 @@ func (x *GetRobotAPIKeysResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotAPIKeysResponse.ProtoReflect.Descriptor instead. func (*GetRobotAPIKeysResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{92} + return file_app_v1_app_proto_rawDescGZIP(), []int{94} } func (x *GetRobotAPIKeysResponse) GetApiKeys() []*APIKeyWithAuthorizations { @@ -5287,9 +5567,11 @@ type DeleteRobotPartResponse struct { func (x *DeleteRobotPartResponse) Reset() { *x = DeleteRobotPartResponse{} - mi := &file_app_v1_app_proto_msgTypes[93] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteRobotPartResponse) String() string { @@ -5299,8 +5581,8 @@ func (x *DeleteRobotPartResponse) String() string { func (*DeleteRobotPartResponse) ProtoMessage() {} func (x *DeleteRobotPartResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[93] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[95] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5312,7 +5594,7 @@ func (x *DeleteRobotPartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotPartResponse.ProtoReflect.Descriptor instead. func (*DeleteRobotPartResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{93} + return file_app_v1_app_proto_rawDescGZIP(), []int{95} } type Fragment struct { @@ -5341,9 +5623,11 @@ type Fragment struct { func (x *Fragment) Reset() { *x = Fragment{} - mi := &file_app_v1_app_proto_msgTypes[94] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Fragment) String() string { @@ -5353,8 +5637,8 @@ func (x *Fragment) String() string { func (*Fragment) ProtoMessage() {} func (x *Fragment) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[94] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[96] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5366,7 +5650,7 @@ func (x *Fragment) ProtoReflect() protoreflect.Message { // Deprecated: Use Fragment.ProtoReflect.Descriptor instead. func (*Fragment) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{94} + return file_app_v1_app_proto_rawDescGZIP(), []int{96} } func (x *Fragment) GetId() string { @@ -5466,9 +5750,11 @@ type FragmentHistoryEntry struct { func (x *FragmentHistoryEntry) Reset() { *x = FragmentHistoryEntry{} - mi := &file_app_v1_app_proto_msgTypes[95] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FragmentHistoryEntry) String() string { @@ -5478,8 +5764,8 @@ func (x *FragmentHistoryEntry) String() string { func (*FragmentHistoryEntry) ProtoMessage() {} func (x *FragmentHistoryEntry) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[95] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[97] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5491,7 +5777,7 @@ func (x *FragmentHistoryEntry) ProtoReflect() protoreflect.Message { // Deprecated: Use FragmentHistoryEntry.ProtoReflect.Descriptor instead. func (*FragmentHistoryEntry) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{95} + return file_app_v1_app_proto_rawDescGZIP(), []int{97} } func (x *FragmentHistoryEntry) GetFragment() string { @@ -5534,9 +5820,11 @@ type FragmentError struct { func (x *FragmentError) Reset() { *x = FragmentError{} - mi := &file_app_v1_app_proto_msgTypes[96] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FragmentError) String() string { @@ -5546,8 +5834,8 @@ func (x *FragmentError) String() string { func (*FragmentError) ProtoMessage() {} func (x *FragmentError) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[96] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[98] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5559,7 +5847,7 @@ func (x *FragmentError) ProtoReflect() protoreflect.Message { // Deprecated: Use FragmentError.ProtoReflect.Descriptor instead. func (*FragmentError) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{96} + return file_app_v1_app_proto_rawDescGZIP(), []int{98} } func (x *FragmentError) GetErrorType() FragmentErrorType { @@ -5595,9 +5883,11 @@ type ResolvedFragment struct { func (x *ResolvedFragment) Reset() { *x = ResolvedFragment{} - mi := &file_app_v1_app_proto_msgTypes[97] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[99] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResolvedFragment) String() string { @@ -5607,8 +5897,8 @@ func (x *ResolvedFragment) String() string { func (*ResolvedFragment) ProtoMessage() {} func (x *ResolvedFragment) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[97] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[99] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5620,7 +5910,7 @@ func (x *ResolvedFragment) ProtoReflect() protoreflect.Message { // Deprecated: Use ResolvedFragment.ProtoReflect.Descriptor instead. func (*ResolvedFragment) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{97} + return file_app_v1_app_proto_rawDescGZIP(), []int{99} } func (x *ResolvedFragment) GetFragmentId() string { @@ -5656,9 +5946,11 @@ type ListFragmentsRequest struct { func (x *ListFragmentsRequest) Reset() { *x = ListFragmentsRequest{} - mi := &file_app_v1_app_proto_msgTypes[98] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[100] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListFragmentsRequest) String() string { @@ -5668,8 +5960,8 @@ func (x *ListFragmentsRequest) String() string { func (*ListFragmentsRequest) ProtoMessage() {} func (x *ListFragmentsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[98] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[100] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5681,7 +5973,7 @@ func (x *ListFragmentsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListFragmentsRequest.ProtoReflect.Descriptor instead. func (*ListFragmentsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{98} + return file_app_v1_app_proto_rawDescGZIP(), []int{100} } func (x *ListFragmentsRequest) GetOrganizationId() string { @@ -5715,9 +6007,11 @@ type ListFragmentsResponse struct { func (x *ListFragmentsResponse) Reset() { *x = ListFragmentsResponse{} - mi := &file_app_v1_app_proto_msgTypes[99] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[101] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListFragmentsResponse) String() string { @@ -5727,8 +6021,8 @@ func (x *ListFragmentsResponse) String() string { func (*ListFragmentsResponse) ProtoMessage() {} func (x *ListFragmentsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[99] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[101] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5740,7 +6034,7 @@ func (x *ListFragmentsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListFragmentsResponse.ProtoReflect.Descriptor instead. func (*ListFragmentsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{99} + return file_app_v1_app_proto_rawDescGZIP(), []int{101} } func (x *ListFragmentsResponse) GetFragments() []*Fragment { @@ -5760,9 +6054,11 @@ type GetFragmentRequest struct { func (x *GetFragmentRequest) Reset() { *x = GetFragmentRequest{} - mi := &file_app_v1_app_proto_msgTypes[100] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[102] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetFragmentRequest) String() string { @@ -5772,8 +6068,8 @@ func (x *GetFragmentRequest) String() string { func (*GetFragmentRequest) ProtoMessage() {} func (x *GetFragmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[100] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[102] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5785,7 +6081,7 @@ func (x *GetFragmentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFragmentRequest.ProtoReflect.Descriptor instead. func (*GetFragmentRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{100} + return file_app_v1_app_proto_rawDescGZIP(), []int{102} } func (x *GetFragmentRequest) GetId() string { @@ -5805,9 +6101,11 @@ type GetFragmentResponse struct { func (x *GetFragmentResponse) Reset() { *x = GetFragmentResponse{} - mi := &file_app_v1_app_proto_msgTypes[101] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetFragmentResponse) String() string { @@ -5817,8 +6115,8 @@ func (x *GetFragmentResponse) String() string { func (*GetFragmentResponse) ProtoMessage() {} func (x *GetFragmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[101] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[103] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5830,7 +6128,7 @@ func (x *GetFragmentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFragmentResponse.ProtoReflect.Descriptor instead. func (*GetFragmentResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{101} + return file_app_v1_app_proto_rawDescGZIP(), []int{103} } func (x *GetFragmentResponse) GetFragment() *Fragment { @@ -5853,9 +6151,11 @@ type CreateFragmentRequest struct { func (x *CreateFragmentRequest) Reset() { *x = CreateFragmentRequest{} - mi := &file_app_v1_app_proto_msgTypes[102] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[104] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateFragmentRequest) String() string { @@ -5865,8 +6165,8 @@ func (x *CreateFragmentRequest) String() string { func (*CreateFragmentRequest) ProtoMessage() {} func (x *CreateFragmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[102] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[104] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5878,7 +6178,7 @@ func (x *CreateFragmentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateFragmentRequest.ProtoReflect.Descriptor instead. func (*CreateFragmentRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{102} + return file_app_v1_app_proto_rawDescGZIP(), []int{104} } func (x *CreateFragmentRequest) GetName() string { @@ -5919,9 +6219,11 @@ type CreateFragmentResponse struct { func (x *CreateFragmentResponse) Reset() { *x = CreateFragmentResponse{} - mi := &file_app_v1_app_proto_msgTypes[103] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[105] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateFragmentResponse) String() string { @@ -5931,8 +6233,8 @@ func (x *CreateFragmentResponse) String() string { func (*CreateFragmentResponse) ProtoMessage() {} func (x *CreateFragmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[103] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[105] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5944,7 +6246,7 @@ func (x *CreateFragmentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateFragmentResponse.ProtoReflect.Descriptor instead. func (*CreateFragmentResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{103} + return file_app_v1_app_proto_rawDescGZIP(), []int{105} } func (x *CreateFragmentResponse) GetFragment() *Fragment { @@ -5968,9 +6270,11 @@ type UpdateFragmentRequest struct { func (x *UpdateFragmentRequest) Reset() { *x = UpdateFragmentRequest{} - mi := &file_app_v1_app_proto_msgTypes[104] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[106] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateFragmentRequest) String() string { @@ -5980,8 +6284,8 @@ func (x *UpdateFragmentRequest) String() string { func (*UpdateFragmentRequest) ProtoMessage() {} func (x *UpdateFragmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[104] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[106] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5993,7 +6297,7 @@ func (x *UpdateFragmentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateFragmentRequest.ProtoReflect.Descriptor instead. func (*UpdateFragmentRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{104} + return file_app_v1_app_proto_rawDescGZIP(), []int{106} } func (x *UpdateFragmentRequest) GetId() string { @@ -6041,9 +6345,11 @@ type UpdateFragmentResponse struct { func (x *UpdateFragmentResponse) Reset() { *x = UpdateFragmentResponse{} - mi := &file_app_v1_app_proto_msgTypes[105] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateFragmentResponse) String() string { @@ -6053,8 +6359,8 @@ func (x *UpdateFragmentResponse) String() string { func (*UpdateFragmentResponse) ProtoMessage() {} func (x *UpdateFragmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[105] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[107] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6066,7 +6372,7 @@ func (x *UpdateFragmentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateFragmentResponse.ProtoReflect.Descriptor instead. func (*UpdateFragmentResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{105} + return file_app_v1_app_proto_rawDescGZIP(), []int{107} } func (x *UpdateFragmentResponse) GetFragment() *Fragment { @@ -6086,9 +6392,11 @@ type DeleteFragmentRequest struct { func (x *DeleteFragmentRequest) Reset() { *x = DeleteFragmentRequest{} - mi := &file_app_v1_app_proto_msgTypes[106] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[108] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteFragmentRequest) String() string { @@ -6098,8 +6406,8 @@ func (x *DeleteFragmentRequest) String() string { func (*DeleteFragmentRequest) ProtoMessage() {} func (x *DeleteFragmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[106] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[108] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6111,7 +6419,7 @@ func (x *DeleteFragmentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteFragmentRequest.ProtoReflect.Descriptor instead. func (*DeleteFragmentRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{106} + return file_app_v1_app_proto_rawDescGZIP(), []int{108} } func (x *DeleteFragmentRequest) GetId() string { @@ -6129,9 +6437,11 @@ type DeleteFragmentResponse struct { func (x *DeleteFragmentResponse) Reset() { *x = DeleteFragmentResponse{} - mi := &file_app_v1_app_proto_msgTypes[107] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[109] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteFragmentResponse) String() string { @@ -6141,8 +6451,8 @@ func (x *DeleteFragmentResponse) String() string { func (*DeleteFragmentResponse) ProtoMessage() {} func (x *DeleteFragmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[107] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[109] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6154,7 +6464,7 @@ func (x *DeleteFragmentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteFragmentResponse.ProtoReflect.Descriptor instead. func (*DeleteFragmentResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{107} + return file_app_v1_app_proto_rawDescGZIP(), []int{109} } type GetFragmentHistoryRequest struct { @@ -6169,9 +6479,11 @@ type GetFragmentHistoryRequest struct { func (x *GetFragmentHistoryRequest) Reset() { *x = GetFragmentHistoryRequest{} - mi := &file_app_v1_app_proto_msgTypes[108] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[110] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetFragmentHistoryRequest) String() string { @@ -6181,8 +6493,8 @@ func (x *GetFragmentHistoryRequest) String() string { func (*GetFragmentHistoryRequest) ProtoMessage() {} func (x *GetFragmentHistoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[108] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[110] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6194,7 +6506,7 @@ func (x *GetFragmentHistoryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFragmentHistoryRequest.ProtoReflect.Descriptor instead. func (*GetFragmentHistoryRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{108} + return file_app_v1_app_proto_rawDescGZIP(), []int{110} } func (x *GetFragmentHistoryRequest) GetId() string { @@ -6229,9 +6541,11 @@ type GetFragmentHistoryResponse struct { func (x *GetFragmentHistoryResponse) Reset() { *x = GetFragmentHistoryResponse{} - mi := &file_app_v1_app_proto_msgTypes[109] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[111] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetFragmentHistoryResponse) String() string { @@ -6241,8 +6555,8 @@ func (x *GetFragmentHistoryResponse) String() string { func (*GetFragmentHistoryResponse) ProtoMessage() {} func (x *GetFragmentHistoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[109] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[111] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6254,7 +6568,7 @@ func (x *GetFragmentHistoryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFragmentHistoryResponse.ProtoReflect.Descriptor instead. func (*GetFragmentHistoryResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{109} + return file_app_v1_app_proto_rawDescGZIP(), []int{111} } func (x *GetFragmentHistoryResponse) GetHistory() []*FragmentHistoryEntry { @@ -6281,9 +6595,11 @@ type ListRobotsRequest struct { func (x *ListRobotsRequest) Reset() { *x = ListRobotsRequest{} - mi := &file_app_v1_app_proto_msgTypes[110] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[112] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListRobotsRequest) String() string { @@ -6293,8 +6609,8 @@ func (x *ListRobotsRequest) String() string { func (*ListRobotsRequest) ProtoMessage() {} func (x *ListRobotsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[110] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[112] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6306,7 +6622,7 @@ func (x *ListRobotsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRobotsRequest.ProtoReflect.Descriptor instead. func (*ListRobotsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{110} + return file_app_v1_app_proto_rawDescGZIP(), []int{112} } func (x *ListRobotsRequest) GetLocationId() string { @@ -6331,9 +6647,11 @@ type ListMachineFragmentsRequest struct { func (x *ListMachineFragmentsRequest) Reset() { *x = ListMachineFragmentsRequest{} - mi := &file_app_v1_app_proto_msgTypes[111] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[113] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListMachineFragmentsRequest) String() string { @@ -6343,8 +6661,8 @@ func (x *ListMachineFragmentsRequest) String() string { func (*ListMachineFragmentsRequest) ProtoMessage() {} func (x *ListMachineFragmentsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[111] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[113] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6356,7 +6674,7 @@ func (x *ListMachineFragmentsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMachineFragmentsRequest.ProtoReflect.Descriptor instead. func (*ListMachineFragmentsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{111} + return file_app_v1_app_proto_rawDescGZIP(), []int{113} } func (x *ListMachineFragmentsRequest) GetMachineId() string { @@ -6384,9 +6702,11 @@ type ListMachineFragmentsResponse struct { func (x *ListMachineFragmentsResponse) Reset() { *x = ListMachineFragmentsResponse{} - mi := &file_app_v1_app_proto_msgTypes[112] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[114] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListMachineFragmentsResponse) String() string { @@ -6396,8 +6716,8 @@ func (x *ListMachineFragmentsResponse) String() string { func (*ListMachineFragmentsResponse) ProtoMessage() {} func (x *ListMachineFragmentsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[112] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[114] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6409,7 +6729,7 @@ func (x *ListMachineFragmentsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMachineFragmentsResponse.ProtoReflect.Descriptor instead. func (*ListMachineFragmentsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{112} + return file_app_v1_app_proto_rawDescGZIP(), []int{114} } func (x *ListMachineFragmentsResponse) GetFragments() []*Fragment { @@ -6436,9 +6756,11 @@ type ListRobotsResponse struct { func (x *ListRobotsResponse) Reset() { *x = ListRobotsResponse{} - mi := &file_app_v1_app_proto_msgTypes[113] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[115] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListRobotsResponse) String() string { @@ -6448,8 +6770,8 @@ func (x *ListRobotsResponse) String() string { func (*ListRobotsResponse) ProtoMessage() {} func (x *ListRobotsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[113] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[115] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6461,7 +6783,7 @@ func (x *ListRobotsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRobotsResponse.ProtoReflect.Descriptor instead. func (*ListRobotsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{113} + return file_app_v1_app_proto_rawDescGZIP(), []int{115} } func (x *ListRobotsResponse) GetRobots() []*Robot { @@ -6482,9 +6804,11 @@ type NewRobotRequest struct { func (x *NewRobotRequest) Reset() { *x = NewRobotRequest{} - mi := &file_app_v1_app_proto_msgTypes[114] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[116] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *NewRobotRequest) String() string { @@ -6494,8 +6818,8 @@ func (x *NewRobotRequest) String() string { func (*NewRobotRequest) ProtoMessage() {} func (x *NewRobotRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[114] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[116] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6507,7 +6831,7 @@ func (x *NewRobotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use NewRobotRequest.ProtoReflect.Descriptor instead. func (*NewRobotRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{114} + return file_app_v1_app_proto_rawDescGZIP(), []int{116} } func (x *NewRobotRequest) GetName() string { @@ -6534,9 +6858,11 @@ type NewRobotResponse struct { func (x *NewRobotResponse) Reset() { *x = NewRobotResponse{} - mi := &file_app_v1_app_proto_msgTypes[115] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[117] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *NewRobotResponse) String() string { @@ -6546,8 +6872,8 @@ func (x *NewRobotResponse) String() string { func (*NewRobotResponse) ProtoMessage() {} func (x *NewRobotResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[115] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[117] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6559,7 +6885,7 @@ func (x *NewRobotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use NewRobotResponse.ProtoReflect.Descriptor instead. func (*NewRobotResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{115} + return file_app_v1_app_proto_rawDescGZIP(), []int{117} } func (x *NewRobotResponse) GetId() string { @@ -6581,9 +6907,11 @@ type UpdateRobotRequest struct { func (x *UpdateRobotRequest) Reset() { *x = UpdateRobotRequest{} - mi := &file_app_v1_app_proto_msgTypes[116] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[118] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateRobotRequest) String() string { @@ -6593,8 +6921,8 @@ func (x *UpdateRobotRequest) String() string { func (*UpdateRobotRequest) ProtoMessage() {} func (x *UpdateRobotRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[116] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[118] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6606,7 +6934,7 @@ func (x *UpdateRobotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRobotRequest.ProtoReflect.Descriptor instead. func (*UpdateRobotRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{116} + return file_app_v1_app_proto_rawDescGZIP(), []int{118} } func (x *UpdateRobotRequest) GetId() string { @@ -6640,9 +6968,11 @@ type UpdateRobotResponse struct { func (x *UpdateRobotResponse) Reset() { *x = UpdateRobotResponse{} - mi := &file_app_v1_app_proto_msgTypes[117] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[119] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateRobotResponse) String() string { @@ -6652,8 +6982,8 @@ func (x *UpdateRobotResponse) String() string { func (*UpdateRobotResponse) ProtoMessage() {} func (x *UpdateRobotResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[117] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[119] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6665,7 +6995,7 @@ func (x *UpdateRobotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRobotResponse.ProtoReflect.Descriptor instead. func (*UpdateRobotResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{117} + return file_app_v1_app_proto_rawDescGZIP(), []int{119} } func (x *UpdateRobotResponse) GetRobot() *Robot { @@ -6685,9 +7015,11 @@ type DeleteRobotRequest struct { func (x *DeleteRobotRequest) Reset() { *x = DeleteRobotRequest{} - mi := &file_app_v1_app_proto_msgTypes[118] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[120] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteRobotRequest) String() string { @@ -6697,8 +7029,8 @@ func (x *DeleteRobotRequest) String() string { func (*DeleteRobotRequest) ProtoMessage() {} func (x *DeleteRobotRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[118] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[120] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6710,7 +7042,7 @@ func (x *DeleteRobotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotRequest.ProtoReflect.Descriptor instead. func (*DeleteRobotRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{118} + return file_app_v1_app_proto_rawDescGZIP(), []int{120} } func (x *DeleteRobotRequest) GetId() string { @@ -6728,9 +7060,11 @@ type DeleteRobotResponse struct { func (x *DeleteRobotResponse) Reset() { *x = DeleteRobotResponse{} - mi := &file_app_v1_app_proto_msgTypes[119] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[121] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteRobotResponse) String() string { @@ -6740,8 +7074,8 @@ func (x *DeleteRobotResponse) String() string { func (*DeleteRobotResponse) ProtoMessage() {} func (x *DeleteRobotResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[119] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[121] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6753,7 +7087,7 @@ func (x *DeleteRobotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotResponse.ProtoReflect.Descriptor instead. func (*DeleteRobotResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{119} + return file_app_v1_app_proto_rawDescGZIP(), []int{121} } type MarkPartAsMainRequest struct { @@ -6766,9 +7100,11 @@ type MarkPartAsMainRequest struct { func (x *MarkPartAsMainRequest) Reset() { *x = MarkPartAsMainRequest{} - mi := &file_app_v1_app_proto_msgTypes[120] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[122] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MarkPartAsMainRequest) String() string { @@ -6778,8 +7114,8 @@ func (x *MarkPartAsMainRequest) String() string { func (*MarkPartAsMainRequest) ProtoMessage() {} func (x *MarkPartAsMainRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[120] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[122] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6791,7 +7127,7 @@ func (x *MarkPartAsMainRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MarkPartAsMainRequest.ProtoReflect.Descriptor instead. func (*MarkPartAsMainRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{120} + return file_app_v1_app_proto_rawDescGZIP(), []int{122} } func (x *MarkPartAsMainRequest) GetPartId() string { @@ -6809,9 +7145,11 @@ type MarkPartAsMainResponse struct { func (x *MarkPartAsMainResponse) Reset() { *x = MarkPartAsMainResponse{} - mi := &file_app_v1_app_proto_msgTypes[121] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[123] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MarkPartAsMainResponse) String() string { @@ -6821,8 +7159,8 @@ func (x *MarkPartAsMainResponse) String() string { func (*MarkPartAsMainResponse) ProtoMessage() {} func (x *MarkPartAsMainResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[121] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[123] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6834,7 +7172,7 @@ func (x *MarkPartAsMainResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MarkPartAsMainResponse.ProtoReflect.Descriptor instead. func (*MarkPartAsMainResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{121} + return file_app_v1_app_proto_rawDescGZIP(), []int{123} } type MarkPartForRestartRequest struct { @@ -6847,9 +7185,11 @@ type MarkPartForRestartRequest struct { func (x *MarkPartForRestartRequest) Reset() { *x = MarkPartForRestartRequest{} - mi := &file_app_v1_app_proto_msgTypes[122] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[124] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MarkPartForRestartRequest) String() string { @@ -6859,8 +7199,8 @@ func (x *MarkPartForRestartRequest) String() string { func (*MarkPartForRestartRequest) ProtoMessage() {} func (x *MarkPartForRestartRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[122] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[124] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6872,7 +7212,7 @@ func (x *MarkPartForRestartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MarkPartForRestartRequest.ProtoReflect.Descriptor instead. func (*MarkPartForRestartRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{122} + return file_app_v1_app_proto_rawDescGZIP(), []int{124} } func (x *MarkPartForRestartRequest) GetPartId() string { @@ -6890,9 +7230,11 @@ type MarkPartForRestartResponse struct { func (x *MarkPartForRestartResponse) Reset() { *x = MarkPartForRestartResponse{} - mi := &file_app_v1_app_proto_msgTypes[123] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[125] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MarkPartForRestartResponse) String() string { @@ -6902,8 +7244,8 @@ func (x *MarkPartForRestartResponse) String() string { func (*MarkPartForRestartResponse) ProtoMessage() {} func (x *MarkPartForRestartResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[123] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[125] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6915,7 +7257,7 @@ func (x *MarkPartForRestartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MarkPartForRestartResponse.ProtoReflect.Descriptor instead. func (*MarkPartForRestartResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{123} + return file_app_v1_app_proto_rawDescGZIP(), []int{125} } type CreateRobotPartSecretRequest struct { @@ -6929,9 +7271,11 @@ type CreateRobotPartSecretRequest struct { func (x *CreateRobotPartSecretRequest) Reset() { *x = CreateRobotPartSecretRequest{} - mi := &file_app_v1_app_proto_msgTypes[124] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[126] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateRobotPartSecretRequest) String() string { @@ -6941,8 +7285,8 @@ func (x *CreateRobotPartSecretRequest) String() string { func (*CreateRobotPartSecretRequest) ProtoMessage() {} func (x *CreateRobotPartSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[124] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[126] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6954,7 +7298,7 @@ func (x *CreateRobotPartSecretRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateRobotPartSecretRequest.ProtoReflect.Descriptor instead. func (*CreateRobotPartSecretRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{124} + return file_app_v1_app_proto_rawDescGZIP(), []int{126} } func (x *CreateRobotPartSecretRequest) GetPartId() string { @@ -6975,9 +7319,11 @@ type CreateRobotPartSecretResponse struct { func (x *CreateRobotPartSecretResponse) Reset() { *x = CreateRobotPartSecretResponse{} - mi := &file_app_v1_app_proto_msgTypes[125] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[127] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateRobotPartSecretResponse) String() string { @@ -6987,8 +7333,8 @@ func (x *CreateRobotPartSecretResponse) String() string { func (*CreateRobotPartSecretResponse) ProtoMessage() {} func (x *CreateRobotPartSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[125] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[127] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7000,7 +7346,7 @@ func (x *CreateRobotPartSecretResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateRobotPartSecretResponse.ProtoReflect.Descriptor instead. func (*CreateRobotPartSecretResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{125} + return file_app_v1_app_proto_rawDescGZIP(), []int{127} } func (x *CreateRobotPartSecretResponse) GetPart() *RobotPart { @@ -7021,9 +7367,11 @@ type DeleteRobotPartSecretRequest struct { func (x *DeleteRobotPartSecretRequest) Reset() { *x = DeleteRobotPartSecretRequest{} - mi := &file_app_v1_app_proto_msgTypes[126] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[128] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteRobotPartSecretRequest) String() string { @@ -7033,8 +7381,8 @@ func (x *DeleteRobotPartSecretRequest) String() string { func (*DeleteRobotPartSecretRequest) ProtoMessage() {} func (x *DeleteRobotPartSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[126] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[128] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7046,7 +7394,7 @@ func (x *DeleteRobotPartSecretRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotPartSecretRequest.ProtoReflect.Descriptor instead. func (*DeleteRobotPartSecretRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{126} + return file_app_v1_app_proto_rawDescGZIP(), []int{128} } func (x *DeleteRobotPartSecretRequest) GetPartId() string { @@ -7071,9 +7419,11 @@ type DeleteRobotPartSecretResponse struct { func (x *DeleteRobotPartSecretResponse) Reset() { *x = DeleteRobotPartSecretResponse{} - mi := &file_app_v1_app_proto_msgTypes[127] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[129] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteRobotPartSecretResponse) String() string { @@ -7083,8 +7433,8 @@ func (x *DeleteRobotPartSecretResponse) String() string { func (*DeleteRobotPartSecretResponse) ProtoMessage() {} func (x *DeleteRobotPartSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[127] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[129] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7096,7 +7446,7 @@ func (x *DeleteRobotPartSecretResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotPartSecretResponse.ProtoReflect.Descriptor instead. func (*DeleteRobotPartSecretResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{127} + return file_app_v1_app_proto_rawDescGZIP(), []int{129} } type Authorization struct { @@ -7115,9 +7465,11 @@ type Authorization struct { func (x *Authorization) Reset() { *x = Authorization{} - mi := &file_app_v1_app_proto_msgTypes[128] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[130] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Authorization) String() string { @@ -7127,8 +7479,8 @@ func (x *Authorization) String() string { func (*Authorization) ProtoMessage() {} func (x *Authorization) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[128] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[130] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7140,7 +7492,7 @@ func (x *Authorization) ProtoReflect() protoreflect.Message { // Deprecated: Use Authorization.ProtoReflect.Descriptor instead. func (*Authorization) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{128} + return file_app_v1_app_proto_rawDescGZIP(), []int{130} } func (x *Authorization) GetAuthorizationType() string { @@ -7202,9 +7554,11 @@ type AddRoleRequest struct { func (x *AddRoleRequest) Reset() { *x = AddRoleRequest{} - mi := &file_app_v1_app_proto_msgTypes[129] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[131] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddRoleRequest) String() string { @@ -7214,8 +7568,8 @@ func (x *AddRoleRequest) String() string { func (*AddRoleRequest) ProtoMessage() {} func (x *AddRoleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[129] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[131] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7227,7 +7581,7 @@ func (x *AddRoleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AddRoleRequest.ProtoReflect.Descriptor instead. func (*AddRoleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{129} + return file_app_v1_app_proto_rawDescGZIP(), []int{131} } func (x *AddRoleRequest) GetAuthorization() *Authorization { @@ -7245,9 +7599,11 @@ type AddRoleResponse struct { func (x *AddRoleResponse) Reset() { *x = AddRoleResponse{} - mi := &file_app_v1_app_proto_msgTypes[130] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[132] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddRoleResponse) String() string { @@ -7257,8 +7613,8 @@ func (x *AddRoleResponse) String() string { func (*AddRoleResponse) ProtoMessage() {} func (x *AddRoleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[130] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[132] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7270,7 +7626,7 @@ func (x *AddRoleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AddRoleResponse.ProtoReflect.Descriptor instead. func (*AddRoleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{130} + return file_app_v1_app_proto_rawDescGZIP(), []int{132} } type RemoveRoleRequest struct { @@ -7283,9 +7639,11 @@ type RemoveRoleRequest struct { func (x *RemoveRoleRequest) Reset() { *x = RemoveRoleRequest{} - mi := &file_app_v1_app_proto_msgTypes[131] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[133] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveRoleRequest) String() string { @@ -7295,8 +7653,8 @@ func (x *RemoveRoleRequest) String() string { func (*RemoveRoleRequest) ProtoMessage() {} func (x *RemoveRoleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[131] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[133] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7308,7 +7666,7 @@ func (x *RemoveRoleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveRoleRequest.ProtoReflect.Descriptor instead. func (*RemoveRoleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{131} + return file_app_v1_app_proto_rawDescGZIP(), []int{133} } func (x *RemoveRoleRequest) GetAuthorization() *Authorization { @@ -7326,9 +7684,11 @@ type RemoveRoleResponse struct { func (x *RemoveRoleResponse) Reset() { *x = RemoveRoleResponse{} - mi := &file_app_v1_app_proto_msgTypes[132] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[134] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveRoleResponse) String() string { @@ -7338,8 +7698,8 @@ func (x *RemoveRoleResponse) String() string { func (*RemoveRoleResponse) ProtoMessage() {} func (x *RemoveRoleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[132] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[134] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7351,7 +7711,7 @@ func (x *RemoveRoleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveRoleResponse.ProtoReflect.Descriptor instead. func (*RemoveRoleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{132} + return file_app_v1_app_proto_rawDescGZIP(), []int{134} } type ChangeRoleRequest struct { @@ -7365,9 +7725,11 @@ type ChangeRoleRequest struct { func (x *ChangeRoleRequest) Reset() { *x = ChangeRoleRequest{} - mi := &file_app_v1_app_proto_msgTypes[133] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[135] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ChangeRoleRequest) String() string { @@ -7377,8 +7739,8 @@ func (x *ChangeRoleRequest) String() string { func (*ChangeRoleRequest) ProtoMessage() {} func (x *ChangeRoleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[133] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[135] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7390,7 +7752,7 @@ func (x *ChangeRoleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeRoleRequest.ProtoReflect.Descriptor instead. func (*ChangeRoleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{133} + return file_app_v1_app_proto_rawDescGZIP(), []int{135} } func (x *ChangeRoleRequest) GetOldAuthorization() *Authorization { @@ -7415,9 +7777,11 @@ type ChangeRoleResponse struct { func (x *ChangeRoleResponse) Reset() { *x = ChangeRoleResponse{} - mi := &file_app_v1_app_proto_msgTypes[134] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[136] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ChangeRoleResponse) String() string { @@ -7427,8 +7791,8 @@ func (x *ChangeRoleResponse) String() string { func (*ChangeRoleResponse) ProtoMessage() {} func (x *ChangeRoleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[134] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[136] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7440,7 +7804,7 @@ func (x *ChangeRoleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeRoleResponse.ProtoReflect.Descriptor instead. func (*ChangeRoleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{134} + return file_app_v1_app_proto_rawDescGZIP(), []int{136} } type ListAuthorizationsRequest struct { @@ -7454,9 +7818,11 @@ type ListAuthorizationsRequest struct { func (x *ListAuthorizationsRequest) Reset() { *x = ListAuthorizationsRequest{} - mi := &file_app_v1_app_proto_msgTypes[135] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[137] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListAuthorizationsRequest) String() string { @@ -7466,8 +7832,8 @@ func (x *ListAuthorizationsRequest) String() string { func (*ListAuthorizationsRequest) ProtoMessage() {} func (x *ListAuthorizationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[135] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[137] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7479,7 +7845,7 @@ func (x *ListAuthorizationsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListAuthorizationsRequest.ProtoReflect.Descriptor instead. func (*ListAuthorizationsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{135} + return file_app_v1_app_proto_rawDescGZIP(), []int{137} } func (x *ListAuthorizationsRequest) GetOrganizationId() string { @@ -7506,9 +7872,11 @@ type ListAuthorizationsResponse struct { func (x *ListAuthorizationsResponse) Reset() { *x = ListAuthorizationsResponse{} - mi := &file_app_v1_app_proto_msgTypes[136] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[138] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListAuthorizationsResponse) String() string { @@ -7518,8 +7886,8 @@ func (x *ListAuthorizationsResponse) String() string { func (*ListAuthorizationsResponse) ProtoMessage() {} func (x *ListAuthorizationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[136] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[138] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7531,7 +7899,7 @@ func (x *ListAuthorizationsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListAuthorizationsResponse.ProtoReflect.Descriptor instead. func (*ListAuthorizationsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{136} + return file_app_v1_app_proto_rawDescGZIP(), []int{138} } func (x *ListAuthorizationsResponse) GetAuthorizations() []*Authorization { @@ -7551,9 +7919,11 @@ type CheckPermissionsRequest struct { func (x *CheckPermissionsRequest) Reset() { *x = CheckPermissionsRequest{} - mi := &file_app_v1_app_proto_msgTypes[137] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[139] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CheckPermissionsRequest) String() string { @@ -7563,8 +7933,8 @@ func (x *CheckPermissionsRequest) String() string { func (*CheckPermissionsRequest) ProtoMessage() {} func (x *CheckPermissionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[137] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[139] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7576,7 +7946,7 @@ func (x *CheckPermissionsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CheckPermissionsRequest.ProtoReflect.Descriptor instead. func (*CheckPermissionsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{137} + return file_app_v1_app_proto_rawDescGZIP(), []int{139} } func (x *CheckPermissionsRequest) GetPermissions() []*AuthorizedPermissions { @@ -7598,9 +7968,11 @@ type AuthorizedPermissions struct { func (x *AuthorizedPermissions) Reset() { *x = AuthorizedPermissions{} - mi := &file_app_v1_app_proto_msgTypes[138] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[140] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AuthorizedPermissions) String() string { @@ -7610,8 +7982,8 @@ func (x *AuthorizedPermissions) String() string { func (*AuthorizedPermissions) ProtoMessage() {} func (x *AuthorizedPermissions) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[138] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[140] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7623,7 +7995,7 @@ func (x *AuthorizedPermissions) ProtoReflect() protoreflect.Message { // Deprecated: Use AuthorizedPermissions.ProtoReflect.Descriptor instead. func (*AuthorizedPermissions) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{138} + return file_app_v1_app_proto_rawDescGZIP(), []int{140} } func (x *AuthorizedPermissions) GetResourceType() string { @@ -7657,9 +8029,11 @@ type CheckPermissionsResponse struct { func (x *CheckPermissionsResponse) Reset() { *x = CheckPermissionsResponse{} - mi := &file_app_v1_app_proto_msgTypes[139] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[141] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CheckPermissionsResponse) String() string { @@ -7669,8 +8043,8 @@ func (x *CheckPermissionsResponse) String() string { func (*CheckPermissionsResponse) ProtoMessage() {} func (x *CheckPermissionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[139] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[141] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7682,7 +8056,7 @@ func (x *CheckPermissionsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CheckPermissionsResponse.ProtoReflect.Descriptor instead. func (*CheckPermissionsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{139} + return file_app_v1_app_proto_rawDescGZIP(), []int{141} } func (x *CheckPermissionsResponse) GetAuthorizedPermissions() []*AuthorizedPermissions { @@ -7711,9 +8085,11 @@ type ModuleVersion struct { func (x *ModuleVersion) Reset() { *x = ModuleVersion{} - mi := &file_app_v1_app_proto_msgTypes[140] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[142] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ModuleVersion) String() string { @@ -7723,8 +8099,8 @@ func (x *ModuleVersion) String() string { func (*ModuleVersion) ProtoMessage() {} func (x *ModuleVersion) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[140] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[142] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7736,7 +8112,7 @@ func (x *ModuleVersion) ProtoReflect() protoreflect.Message { // Deprecated: Use ModuleVersion.ProtoReflect.Descriptor instead. func (*ModuleVersion) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{140} + return file_app_v1_app_proto_rawDescGZIP(), []int{142} } func (x *ModuleVersion) GetVersion() string { @@ -7792,9 +8168,11 @@ type ModuleMetadata struct { func (x *ModuleMetadata) Reset() { *x = ModuleMetadata{} - mi := &file_app_v1_app_proto_msgTypes[141] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[143] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ModuleMetadata) String() string { @@ -7804,8 +8182,8 @@ func (x *ModuleMetadata) String() string { func (*ModuleMetadata) ProtoMessage() {} func (x *ModuleMetadata) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[141] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[143] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7817,7 +8195,7 @@ func (x *ModuleMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use ModuleMetadata.ProtoReflect.Descriptor instead. func (*ModuleMetadata) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{141} + return file_app_v1_app_proto_rawDescGZIP(), []int{143} } func (x *ModuleMetadata) GetModels() []*Model { @@ -7861,9 +8239,11 @@ type MLModelMetadata struct { func (x *MLModelMetadata) Reset() { *x = MLModelMetadata{} - mi := &file_app_v1_app_proto_msgTypes[142] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[144] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MLModelMetadata) String() string { @@ -7873,8 +8253,8 @@ func (x *MLModelMetadata) String() string { func (*MLModelMetadata) ProtoMessage() {} func (x *MLModelMetadata) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[142] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[144] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7886,7 +8266,7 @@ func (x *MLModelMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use MLModelMetadata.ProtoReflect.Descriptor instead. func (*MLModelMetadata) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{142} + return file_app_v1_app_proto_rawDescGZIP(), []int{144} } func (x *MLModelMetadata) GetVersions() []string { @@ -7921,9 +8301,11 @@ type MLTrainingVersion struct { func (x *MLTrainingVersion) Reset() { *x = MLTrainingVersion{} - mi := &file_app_v1_app_proto_msgTypes[143] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[145] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MLTrainingVersion) String() string { @@ -7933,8 +8315,8 @@ func (x *MLTrainingVersion) String() string { func (*MLTrainingVersion) ProtoMessage() {} func (x *MLTrainingVersion) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[143] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[145] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7946,7 +8328,7 @@ func (x *MLTrainingVersion) ProtoReflect() protoreflect.Message { // Deprecated: Use MLTrainingVersion.ProtoReflect.Descriptor instead. func (*MLTrainingVersion) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{143} + return file_app_v1_app_proto_rawDescGZIP(), []int{145} } func (x *MLTrainingVersion) GetVersion() string { @@ -7977,9 +8359,11 @@ type MLTrainingMetadata struct { func (x *MLTrainingMetadata) Reset() { *x = MLTrainingMetadata{} - mi := &file_app_v1_app_proto_msgTypes[144] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[146] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MLTrainingMetadata) String() string { @@ -7989,8 +8373,8 @@ func (x *MLTrainingMetadata) String() string { func (*MLTrainingMetadata) ProtoMessage() {} func (x *MLTrainingMetadata) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[144] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[146] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8002,7 +8386,7 @@ func (x *MLTrainingMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use MLTrainingMetadata.ProtoReflect.Descriptor instead. func (*MLTrainingMetadata) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{144} + return file_app_v1_app_proto_rawDescGZIP(), []int{146} } func (x *MLTrainingMetadata) GetVersions() []*MLTrainingVersion { @@ -8081,9 +8465,11 @@ type RegistryItem struct { func (x *RegistryItem) Reset() { *x = RegistryItem{} - mi := &file_app_v1_app_proto_msgTypes[145] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[147] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RegistryItem) String() string { @@ -8093,8 +8479,8 @@ func (x *RegistryItem) String() string { func (*RegistryItem) ProtoMessage() {} func (x *RegistryItem) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[145] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[147] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8106,7 +8492,7 @@ func (x *RegistryItem) ProtoReflect() protoreflect.Message { // Deprecated: Use RegistryItem.ProtoReflect.Descriptor instead. func (*RegistryItem) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{145} + return file_app_v1_app_proto_rawDescGZIP(), []int{147} } func (x *RegistryItem) GetItemId() string { @@ -8267,9 +8653,11 @@ type GetRegistryItemRequest struct { func (x *GetRegistryItemRequest) Reset() { *x = GetRegistryItemRequest{} - mi := &file_app_v1_app_proto_msgTypes[146] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[148] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRegistryItemRequest) String() string { @@ -8279,8 +8667,8 @@ func (x *GetRegistryItemRequest) String() string { func (*GetRegistryItemRequest) ProtoMessage() {} func (x *GetRegistryItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[146] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[148] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8292,7 +8680,7 @@ func (x *GetRegistryItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRegistryItemRequest.ProtoReflect.Descriptor instead. func (*GetRegistryItemRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{146} + return file_app_v1_app_proto_rawDescGZIP(), []int{148} } func (x *GetRegistryItemRequest) GetItemId() string { @@ -8312,9 +8700,11 @@ type GetRegistryItemResponse struct { func (x *GetRegistryItemResponse) Reset() { *x = GetRegistryItemResponse{} - mi := &file_app_v1_app_proto_msgTypes[147] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[149] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetRegistryItemResponse) String() string { @@ -8324,8 +8714,8 @@ func (x *GetRegistryItemResponse) String() string { func (*GetRegistryItemResponse) ProtoMessage() {} func (x *GetRegistryItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[147] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[149] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8337,7 +8727,7 @@ func (x *GetRegistryItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRegistryItemResponse.ProtoReflect.Descriptor instead. func (*GetRegistryItemResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{147} + return file_app_v1_app_proto_rawDescGZIP(), []int{149} } func (x *GetRegistryItemResponse) GetItem() *RegistryItem { @@ -8362,9 +8752,11 @@ type CreateRegistryItemRequest struct { func (x *CreateRegistryItemRequest) Reset() { *x = CreateRegistryItemRequest{} - mi := &file_app_v1_app_proto_msgTypes[148] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[150] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateRegistryItemRequest) String() string { @@ -8374,8 +8766,8 @@ func (x *CreateRegistryItemRequest) String() string { func (*CreateRegistryItemRequest) ProtoMessage() {} func (x *CreateRegistryItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[148] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[150] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8387,7 +8779,7 @@ func (x *CreateRegistryItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateRegistryItemRequest.ProtoReflect.Descriptor instead. func (*CreateRegistryItemRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{148} + return file_app_v1_app_proto_rawDescGZIP(), []int{150} } func (x *CreateRegistryItemRequest) GetOrganizationId() string { @@ -8419,9 +8811,11 @@ type CreateRegistryItemResponse struct { func (x *CreateRegistryItemResponse) Reset() { *x = CreateRegistryItemResponse{} - mi := &file_app_v1_app_proto_msgTypes[149] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[151] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateRegistryItemResponse) String() string { @@ -8431,8 +8825,8 @@ func (x *CreateRegistryItemResponse) String() string { func (*CreateRegistryItemResponse) ProtoMessage() {} func (x *CreateRegistryItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[149] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[151] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8444,7 +8838,7 @@ func (x *CreateRegistryItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateRegistryItemResponse.ProtoReflect.Descriptor instead. func (*CreateRegistryItemResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{149} + return file_app_v1_app_proto_rawDescGZIP(), []int{151} } type UpdateRegistryItemRequest struct { @@ -8461,9 +8855,11 @@ type UpdateRegistryItemRequest struct { func (x *UpdateRegistryItemRequest) Reset() { *x = UpdateRegistryItemRequest{} - mi := &file_app_v1_app_proto_msgTypes[150] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[152] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateRegistryItemRequest) String() string { @@ -8473,8 +8869,8 @@ func (x *UpdateRegistryItemRequest) String() string { func (*UpdateRegistryItemRequest) ProtoMessage() {} func (x *UpdateRegistryItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[150] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[152] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8486,7 +8882,7 @@ func (x *UpdateRegistryItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRegistryItemRequest.ProtoReflect.Descriptor instead. func (*UpdateRegistryItemRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{150} + return file_app_v1_app_proto_rawDescGZIP(), []int{152} } func (x *UpdateRegistryItemRequest) GetItemId() string { @@ -8532,9 +8928,11 @@ type UpdateRegistryItemResponse struct { func (x *UpdateRegistryItemResponse) Reset() { *x = UpdateRegistryItemResponse{} - mi := &file_app_v1_app_proto_msgTypes[151] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[153] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateRegistryItemResponse) String() string { @@ -8544,8 +8942,8 @@ func (x *UpdateRegistryItemResponse) String() string { func (*UpdateRegistryItemResponse) ProtoMessage() {} func (x *UpdateRegistryItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[151] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[153] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8557,7 +8955,7 @@ func (x *UpdateRegistryItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRegistryItemResponse.ProtoReflect.Descriptor instead. func (*UpdateRegistryItemResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{151} + return file_app_v1_app_proto_rawDescGZIP(), []int{153} } type ListRegistryItemsRequest struct { @@ -8579,9 +8977,11 @@ type ListRegistryItemsRequest struct { func (x *ListRegistryItemsRequest) Reset() { *x = ListRegistryItemsRequest{} - mi := &file_app_v1_app_proto_msgTypes[152] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[154] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListRegistryItemsRequest) String() string { @@ -8591,8 +8991,8 @@ func (x *ListRegistryItemsRequest) String() string { func (*ListRegistryItemsRequest) ProtoMessage() {} func (x *ListRegistryItemsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[152] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[154] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8604,7 +9004,7 @@ func (x *ListRegistryItemsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRegistryItemsRequest.ProtoReflect.Descriptor instead. func (*ListRegistryItemsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{152} + return file_app_v1_app_proto_rawDescGZIP(), []int{154} } func (x *ListRegistryItemsRequest) GetOrganizationId() string { @@ -8673,9 +9073,11 @@ type ListRegistryItemsResponse struct { func (x *ListRegistryItemsResponse) Reset() { *x = ListRegistryItemsResponse{} - mi := &file_app_v1_app_proto_msgTypes[153] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[155] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListRegistryItemsResponse) String() string { @@ -8685,8 +9087,8 @@ func (x *ListRegistryItemsResponse) String() string { func (*ListRegistryItemsResponse) ProtoMessage() {} func (x *ListRegistryItemsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[153] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[155] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8698,7 +9100,7 @@ func (x *ListRegistryItemsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRegistryItemsResponse.ProtoReflect.Descriptor instead. func (*ListRegistryItemsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{153} + return file_app_v1_app_proto_rawDescGZIP(), []int{155} } func (x *ListRegistryItemsResponse) GetItems() []*RegistryItem { @@ -8719,9 +9121,11 @@ type DeleteRegistryItemRequest struct { func (x *DeleteRegistryItemRequest) Reset() { *x = DeleteRegistryItemRequest{} - mi := &file_app_v1_app_proto_msgTypes[154] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[156] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteRegistryItemRequest) String() string { @@ -8731,8 +9135,8 @@ func (x *DeleteRegistryItemRequest) String() string { func (*DeleteRegistryItemRequest) ProtoMessage() {} func (x *DeleteRegistryItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[154] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[156] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8744,7 +9148,7 @@ func (x *DeleteRegistryItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRegistryItemRequest.ProtoReflect.Descriptor instead. func (*DeleteRegistryItemRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{154} + return file_app_v1_app_proto_rawDescGZIP(), []int{156} } func (x *DeleteRegistryItemRequest) GetItemId() string { @@ -8762,9 +9166,11 @@ type DeleteRegistryItemResponse struct { func (x *DeleteRegistryItemResponse) Reset() { *x = DeleteRegistryItemResponse{} - mi := &file_app_v1_app_proto_msgTypes[155] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[157] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteRegistryItemResponse) String() string { @@ -8774,8 +9180,8 @@ func (x *DeleteRegistryItemResponse) String() string { func (*DeleteRegistryItemResponse) ProtoMessage() {} func (x *DeleteRegistryItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[155] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[157] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8787,7 +9193,7 @@ func (x *DeleteRegistryItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRegistryItemResponse.ProtoReflect.Descriptor instead. func (*DeleteRegistryItemResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{155} + return file_app_v1_app_proto_rawDescGZIP(), []int{157} } type TransferRegistryItemRequest struct { @@ -8801,9 +9207,11 @@ type TransferRegistryItemRequest struct { func (x *TransferRegistryItemRequest) Reset() { *x = TransferRegistryItemRequest{} - mi := &file_app_v1_app_proto_msgTypes[156] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[158] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TransferRegistryItemRequest) String() string { @@ -8813,8 +9221,8 @@ func (x *TransferRegistryItemRequest) String() string { func (*TransferRegistryItemRequest) ProtoMessage() {} func (x *TransferRegistryItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[156] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[158] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8826,7 +9234,7 @@ func (x *TransferRegistryItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TransferRegistryItemRequest.ProtoReflect.Descriptor instead. func (*TransferRegistryItemRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{156} + return file_app_v1_app_proto_rawDescGZIP(), []int{158} } func (x *TransferRegistryItemRequest) GetItemId() string { @@ -8851,9 +9259,11 @@ type TransferRegistryItemResponse struct { func (x *TransferRegistryItemResponse) Reset() { *x = TransferRegistryItemResponse{} - mi := &file_app_v1_app_proto_msgTypes[157] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[159] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TransferRegistryItemResponse) String() string { @@ -8863,8 +9273,8 @@ func (x *TransferRegistryItemResponse) String() string { func (*TransferRegistryItemResponse) ProtoMessage() {} func (x *TransferRegistryItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[157] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[159] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8876,7 +9286,7 @@ func (x *TransferRegistryItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TransferRegistryItemResponse.ProtoReflect.Descriptor instead. func (*TransferRegistryItemResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{157} + return file_app_v1_app_proto_rawDescGZIP(), []int{159} } // Modules @@ -8893,9 +9303,11 @@ type CreateModuleRequest struct { func (x *CreateModuleRequest) Reset() { *x = CreateModuleRequest{} - mi := &file_app_v1_app_proto_msgTypes[158] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[160] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateModuleRequest) String() string { @@ -8905,8 +9317,8 @@ func (x *CreateModuleRequest) String() string { func (*CreateModuleRequest) ProtoMessage() {} func (x *CreateModuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[158] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[160] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8918,7 +9330,7 @@ func (x *CreateModuleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateModuleRequest.ProtoReflect.Descriptor instead. func (*CreateModuleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{158} + return file_app_v1_app_proto_rawDescGZIP(), []int{160} } func (x *CreateModuleRequest) GetOrganizationId() string { @@ -8948,9 +9360,11 @@ type CreateModuleResponse struct { func (x *CreateModuleResponse) Reset() { *x = CreateModuleResponse{} - mi := &file_app_v1_app_proto_msgTypes[159] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[161] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateModuleResponse) String() string { @@ -8960,8 +9374,8 @@ func (x *CreateModuleResponse) String() string { func (*CreateModuleResponse) ProtoMessage() {} func (x *CreateModuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[159] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[161] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8973,7 +9387,7 @@ func (x *CreateModuleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateModuleResponse.ProtoReflect.Descriptor instead. func (*CreateModuleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{159} + return file_app_v1_app_proto_rawDescGZIP(), []int{161} } func (x *CreateModuleResponse) GetModuleId() string { @@ -9013,9 +9427,11 @@ type UpdateModuleRequest struct { func (x *UpdateModuleRequest) Reset() { *x = UpdateModuleRequest{} - mi := &file_app_v1_app_proto_msgTypes[160] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[162] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateModuleRequest) String() string { @@ -9025,8 +9441,8 @@ func (x *UpdateModuleRequest) String() string { func (*UpdateModuleRequest) ProtoMessage() {} func (x *UpdateModuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[160] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[162] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9038,7 +9454,7 @@ func (x *UpdateModuleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateModuleRequest.ProtoReflect.Descriptor instead. func (*UpdateModuleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{160} + return file_app_v1_app_proto_rawDescGZIP(), []int{162} } func (x *UpdateModuleRequest) GetModuleId() string { @@ -9101,9 +9517,11 @@ type UpdateModuleResponse struct { func (x *UpdateModuleResponse) Reset() { *x = UpdateModuleResponse{} - mi := &file_app_v1_app_proto_msgTypes[161] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[163] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateModuleResponse) String() string { @@ -9113,8 +9531,8 @@ func (x *UpdateModuleResponse) String() string { func (*UpdateModuleResponse) ProtoMessage() {} func (x *UpdateModuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[161] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[163] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9126,7 +9544,7 @@ func (x *UpdateModuleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateModuleResponse.ProtoReflect.Descriptor instead. func (*UpdateModuleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{161} + return file_app_v1_app_proto_rawDescGZIP(), []int{163} } func (x *UpdateModuleResponse) GetUrl() string { @@ -9149,9 +9567,11 @@ type Model struct { func (x *Model) Reset() { *x = Model{} - mi := &file_app_v1_app_proto_msgTypes[162] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[164] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Model) String() string { @@ -9161,8 +9581,8 @@ func (x *Model) String() string { func (*Model) ProtoMessage() {} func (x *Model) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[162] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[164] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9174,7 +9594,7 @@ func (x *Model) ProtoReflect() protoreflect.Message { // Deprecated: Use Model.ProtoReflect.Descriptor instead. func (*Model) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{162} + return file_app_v1_app_proto_rawDescGZIP(), []int{164} } func (x *Model) GetApi() string { @@ -9210,9 +9630,11 @@ type ModuleFileInfo struct { func (x *ModuleFileInfo) Reset() { *x = ModuleFileInfo{} - mi := &file_app_v1_app_proto_msgTypes[163] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[165] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ModuleFileInfo) String() string { @@ -9222,8 +9644,8 @@ func (x *ModuleFileInfo) String() string { func (*ModuleFileInfo) ProtoMessage() {} func (x *ModuleFileInfo) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[163] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[165] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9235,7 +9657,7 @@ func (x *ModuleFileInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ModuleFileInfo.ProtoReflect.Descriptor instead. func (*ModuleFileInfo) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{163} + return file_app_v1_app_proto_rawDescGZIP(), []int{165} } func (x *ModuleFileInfo) GetModuleId() string { @@ -9280,9 +9702,11 @@ type UploadModuleFileRequest struct { func (x *UploadModuleFileRequest) Reset() { *x = UploadModuleFileRequest{} - mi := &file_app_v1_app_proto_msgTypes[164] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[166] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UploadModuleFileRequest) String() string { @@ -9292,8 +9716,8 @@ func (x *UploadModuleFileRequest) String() string { func (*UploadModuleFileRequest) ProtoMessage() {} func (x *UploadModuleFileRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[164] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[166] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9305,7 +9729,7 @@ func (x *UploadModuleFileRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadModuleFileRequest.ProtoReflect.Descriptor instead. func (*UploadModuleFileRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{164} + return file_app_v1_app_proto_rawDescGZIP(), []int{166} } func (m *UploadModuleFileRequest) GetModuleFile() isUploadModuleFileRequest_ModuleFile { @@ -9358,9 +9782,11 @@ type UploadModuleFileResponse struct { func (x *UploadModuleFileResponse) Reset() { *x = UploadModuleFileResponse{} - mi := &file_app_v1_app_proto_msgTypes[165] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[167] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UploadModuleFileResponse) String() string { @@ -9370,8 +9796,8 @@ func (x *UploadModuleFileResponse) String() string { func (*UploadModuleFileResponse) ProtoMessage() {} func (x *UploadModuleFileResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[165] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[167] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9383,7 +9809,7 @@ func (x *UploadModuleFileResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadModuleFileResponse.ProtoReflect.Descriptor instead. func (*UploadModuleFileResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{165} + return file_app_v1_app_proto_rawDescGZIP(), []int{167} } func (x *UploadModuleFileResponse) GetUrl() string { @@ -9404,9 +9830,11 @@ type GetModuleRequest struct { func (x *GetModuleRequest) Reset() { *x = GetModuleRequest{} - mi := &file_app_v1_app_proto_msgTypes[166] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[168] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetModuleRequest) String() string { @@ -9416,8 +9844,8 @@ func (x *GetModuleRequest) String() string { func (*GetModuleRequest) ProtoMessage() {} func (x *GetModuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[166] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[168] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9429,7 +9857,7 @@ func (x *GetModuleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModuleRequest.ProtoReflect.Descriptor instead. func (*GetModuleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{166} + return file_app_v1_app_proto_rawDescGZIP(), []int{168} } func (x *GetModuleRequest) GetModuleId() string { @@ -9450,9 +9878,11 @@ type GetModuleResponse struct { func (x *GetModuleResponse) Reset() { *x = GetModuleResponse{} - mi := &file_app_v1_app_proto_msgTypes[167] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[169] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetModuleResponse) String() string { @@ -9462,8 +9892,8 @@ func (x *GetModuleResponse) String() string { func (*GetModuleResponse) ProtoMessage() {} func (x *GetModuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[167] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[169] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9475,7 +9905,7 @@ func (x *GetModuleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModuleResponse.ProtoReflect.Descriptor instead. func (*GetModuleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{167} + return file_app_v1_app_proto_rawDescGZIP(), []int{169} } func (x *GetModuleResponse) GetModule() *Module { @@ -9522,9 +9952,11 @@ type Module struct { func (x *Module) Reset() { *x = Module{} - mi := &file_app_v1_app_proto_msgTypes[168] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[170] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Module) String() string { @@ -9534,8 +9966,8 @@ func (x *Module) String() string { func (*Module) ProtoMessage() {} func (x *Module) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[168] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[170] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9547,7 +9979,7 @@ func (x *Module) ProtoReflect() protoreflect.Message { // Deprecated: Use Module.ProtoReflect.Descriptor instead. func (*Module) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{168} + return file_app_v1_app_proto_rawDescGZIP(), []int{170} } func (x *Module) GetModuleId() string { @@ -9660,9 +10092,11 @@ type VersionHistory struct { func (x *VersionHistory) Reset() { *x = VersionHistory{} - mi := &file_app_v1_app_proto_msgTypes[169] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[171] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *VersionHistory) String() string { @@ -9672,8 +10106,8 @@ func (x *VersionHistory) String() string { func (*VersionHistory) ProtoMessage() {} func (x *VersionHistory) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[169] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[171] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9685,7 +10119,7 @@ func (x *VersionHistory) ProtoReflect() protoreflect.Message { // Deprecated: Use VersionHistory.ProtoReflect.Descriptor instead. func (*VersionHistory) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{169} + return file_app_v1_app_proto_rawDescGZIP(), []int{171} } func (x *VersionHistory) GetVersion() string { @@ -9736,9 +10170,11 @@ type Uploads struct { func (x *Uploads) Reset() { *x = Uploads{} - mi := &file_app_v1_app_proto_msgTypes[170] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[172] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Uploads) String() string { @@ -9748,8 +10184,8 @@ func (x *Uploads) String() string { func (*Uploads) ProtoMessage() {} func (x *Uploads) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[170] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[172] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9761,7 +10197,7 @@ func (x *Uploads) ProtoReflect() protoreflect.Message { // Deprecated: Use Uploads.ProtoReflect.Descriptor instead. func (*Uploads) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{170} + return file_app_v1_app_proto_rawDescGZIP(), []int{172} } func (x *Uploads) GetPlatform() string { @@ -9789,9 +10225,11 @@ type ListModulesRequest struct { func (x *ListModulesRequest) Reset() { *x = ListModulesRequest{} - mi := &file_app_v1_app_proto_msgTypes[171] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[173] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListModulesRequest) String() string { @@ -9801,8 +10239,8 @@ func (x *ListModulesRequest) String() string { func (*ListModulesRequest) ProtoMessage() {} func (x *ListModulesRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[171] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[173] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9814,7 +10252,7 @@ func (x *ListModulesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListModulesRequest.ProtoReflect.Descriptor instead. func (*ListModulesRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{171} + return file_app_v1_app_proto_rawDescGZIP(), []int{173} } func (x *ListModulesRequest) GetOrganizationId() string { @@ -9835,9 +10273,11 @@ type ListModulesResponse struct { func (x *ListModulesResponse) Reset() { *x = ListModulesResponse{} - mi := &file_app_v1_app_proto_msgTypes[172] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[174] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListModulesResponse) String() string { @@ -9847,8 +10287,8 @@ func (x *ListModulesResponse) String() string { func (*ListModulesResponse) ProtoMessage() {} func (x *ListModulesResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[172] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[174] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9860,7 +10300,7 @@ func (x *ListModulesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListModulesResponse.ProtoReflect.Descriptor instead. func (*ListModulesResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{172} + return file_app_v1_app_proto_rawDescGZIP(), []int{174} } func (x *ListModulesResponse) GetModules() []*Module { @@ -9880,9 +10320,11 @@ type GetUserIDByEmailRequest struct { func (x *GetUserIDByEmailRequest) Reset() { *x = GetUserIDByEmailRequest{} - mi := &file_app_v1_app_proto_msgTypes[173] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[175] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetUserIDByEmailRequest) String() string { @@ -9892,8 +10334,8 @@ func (x *GetUserIDByEmailRequest) String() string { func (*GetUserIDByEmailRequest) ProtoMessage() {} func (x *GetUserIDByEmailRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[173] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[175] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9905,7 +10347,7 @@ func (x *GetUserIDByEmailRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetUserIDByEmailRequest.ProtoReflect.Descriptor instead. func (*GetUserIDByEmailRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{173} + return file_app_v1_app_proto_rawDescGZIP(), []int{175} } func (x *GetUserIDByEmailRequest) GetEmail() string { @@ -9925,9 +10367,11 @@ type GetUserIDByEmailResponse struct { func (x *GetUserIDByEmailResponse) Reset() { *x = GetUserIDByEmailResponse{} - mi := &file_app_v1_app_proto_msgTypes[174] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[176] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetUserIDByEmailResponse) String() string { @@ -9937,8 +10381,8 @@ func (x *GetUserIDByEmailResponse) String() string { func (*GetUserIDByEmailResponse) ProtoMessage() {} func (x *GetUserIDByEmailResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[174] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[176] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9950,7 +10394,7 @@ func (x *GetUserIDByEmailResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetUserIDByEmailResponse.ProtoReflect.Descriptor instead. func (*GetUserIDByEmailResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{174} + return file_app_v1_app_proto_rawDescGZIP(), []int{176} } func (x *GetUserIDByEmailResponse) GetUserId() string { @@ -9970,9 +10414,11 @@ type ListOrganizationsByUserRequest struct { func (x *ListOrganizationsByUserRequest) Reset() { *x = ListOrganizationsByUserRequest{} - mi := &file_app_v1_app_proto_msgTypes[175] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[177] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListOrganizationsByUserRequest) String() string { @@ -9982,8 +10428,8 @@ func (x *ListOrganizationsByUserRequest) String() string { func (*ListOrganizationsByUserRequest) ProtoMessage() {} func (x *ListOrganizationsByUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[175] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[177] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9995,7 +10441,7 @@ func (x *ListOrganizationsByUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListOrganizationsByUserRequest.ProtoReflect.Descriptor instead. func (*ListOrganizationsByUserRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{175} + return file_app_v1_app_proto_rawDescGZIP(), []int{177} } func (x *ListOrganizationsByUserRequest) GetUserId() string { @@ -10016,9 +10462,11 @@ type OrgDetails struct { func (x *OrgDetails) Reset() { *x = OrgDetails{} - mi := &file_app_v1_app_proto_msgTypes[176] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[178] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *OrgDetails) String() string { @@ -10028,8 +10476,8 @@ func (x *OrgDetails) String() string { func (*OrgDetails) ProtoMessage() {} func (x *OrgDetails) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[176] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[178] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10041,7 +10489,7 @@ func (x *OrgDetails) ProtoReflect() protoreflect.Message { // Deprecated: Use OrgDetails.ProtoReflect.Descriptor instead. func (*OrgDetails) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{176} + return file_app_v1_app_proto_rawDescGZIP(), []int{178} } func (x *OrgDetails) GetOrgId() string { @@ -10068,9 +10516,11 @@ type ListOrganizationsByUserResponse struct { func (x *ListOrganizationsByUserResponse) Reset() { *x = ListOrganizationsByUserResponse{} - mi := &file_app_v1_app_proto_msgTypes[177] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[179] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListOrganizationsByUserResponse) String() string { @@ -10080,8 +10530,8 @@ func (x *ListOrganizationsByUserResponse) String() string { func (*ListOrganizationsByUserResponse) ProtoMessage() {} func (x *ListOrganizationsByUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[177] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[179] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10093,7 +10543,7 @@ func (x *ListOrganizationsByUserResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListOrganizationsByUserResponse.ProtoReflect.Descriptor instead. func (*ListOrganizationsByUserResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{177} + return file_app_v1_app_proto_rawDescGZIP(), []int{179} } func (x *ListOrganizationsByUserResponse) GetOrgs() []*OrgDetails { @@ -10114,9 +10564,11 @@ type CreateKeyRequest struct { func (x *CreateKeyRequest) Reset() { *x = CreateKeyRequest{} - mi := &file_app_v1_app_proto_msgTypes[178] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[180] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateKeyRequest) String() string { @@ -10126,8 +10578,8 @@ func (x *CreateKeyRequest) String() string { func (*CreateKeyRequest) ProtoMessage() {} func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[178] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[180] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10139,7 +10591,7 @@ func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateKeyRequest.ProtoReflect.Descriptor instead. func (*CreateKeyRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{178} + return file_app_v1_app_proto_rawDescGZIP(), []int{180} } func (x *CreateKeyRequest) GetAuthorizations() []*Authorization { @@ -10167,9 +10619,11 @@ type CreateKeyResponse struct { func (x *CreateKeyResponse) Reset() { *x = CreateKeyResponse{} - mi := &file_app_v1_app_proto_msgTypes[179] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[181] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateKeyResponse) String() string { @@ -10179,8 +10633,8 @@ func (x *CreateKeyResponse) String() string { func (*CreateKeyResponse) ProtoMessage() {} func (x *CreateKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[179] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[181] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10192,7 +10646,7 @@ func (x *CreateKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateKeyResponse.ProtoReflect.Descriptor instead. func (*CreateKeyResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{179} + return file_app_v1_app_proto_rawDescGZIP(), []int{181} } func (x *CreateKeyResponse) GetKey() string { @@ -10219,9 +10673,11 @@ type DeleteKeyRequest struct { func (x *DeleteKeyRequest) Reset() { *x = DeleteKeyRequest{} - mi := &file_app_v1_app_proto_msgTypes[180] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[182] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteKeyRequest) String() string { @@ -10231,8 +10687,8 @@ func (x *DeleteKeyRequest) String() string { func (*DeleteKeyRequest) ProtoMessage() {} func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[180] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[182] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10244,7 +10700,7 @@ func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteKeyRequest.ProtoReflect.Descriptor instead. func (*DeleteKeyRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{180} + return file_app_v1_app_proto_rawDescGZIP(), []int{182} } func (x *DeleteKeyRequest) GetId() string { @@ -10262,9 +10718,11 @@ type DeleteKeyResponse struct { func (x *DeleteKeyResponse) Reset() { *x = DeleteKeyResponse{} - mi := &file_app_v1_app_proto_msgTypes[181] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[183] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DeleteKeyResponse) String() string { @@ -10274,8 +10732,8 @@ func (x *DeleteKeyResponse) String() string { func (*DeleteKeyResponse) ProtoMessage() {} func (x *DeleteKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[181] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[183] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10287,7 +10745,7 @@ func (x *DeleteKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteKeyResponse.ProtoReflect.Descriptor instead. func (*DeleteKeyResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{181} + return file_app_v1_app_proto_rawDescGZIP(), []int{183} } type RenameKeyRequest struct { @@ -10301,9 +10759,11 @@ type RenameKeyRequest struct { func (x *RenameKeyRequest) Reset() { *x = RenameKeyRequest{} - mi := &file_app_v1_app_proto_msgTypes[182] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[184] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RenameKeyRequest) String() string { @@ -10313,8 +10773,8 @@ func (x *RenameKeyRequest) String() string { func (*RenameKeyRequest) ProtoMessage() {} func (x *RenameKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[182] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[184] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10326,7 +10786,7 @@ func (x *RenameKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RenameKeyRequest.ProtoReflect.Descriptor instead. func (*RenameKeyRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{182} + return file_app_v1_app_proto_rawDescGZIP(), []int{184} } func (x *RenameKeyRequest) GetId() string { @@ -10354,9 +10814,11 @@ type RenameKeyResponse struct { func (x *RenameKeyResponse) Reset() { *x = RenameKeyResponse{} - mi := &file_app_v1_app_proto_msgTypes[183] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[185] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RenameKeyResponse) String() string { @@ -10366,8 +10828,8 @@ func (x *RenameKeyResponse) String() string { func (*RenameKeyResponse) ProtoMessage() {} func (x *RenameKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[183] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[185] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10379,7 +10841,7 @@ func (x *RenameKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RenameKeyResponse.ProtoReflect.Descriptor instead. func (*RenameKeyResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{183} + return file_app_v1_app_proto_rawDescGZIP(), []int{185} } func (x *RenameKeyResponse) GetId() string { @@ -10410,9 +10872,11 @@ type AuthorizationDetails struct { func (x *AuthorizationDetails) Reset() { *x = AuthorizationDetails{} - mi := &file_app_v1_app_proto_msgTypes[184] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[186] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AuthorizationDetails) String() string { @@ -10422,8 +10886,8 @@ func (x *AuthorizationDetails) String() string { func (*AuthorizationDetails) ProtoMessage() {} func (x *AuthorizationDetails) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[184] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[186] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10435,7 +10899,7 @@ func (x *AuthorizationDetails) ProtoReflect() protoreflect.Message { // Deprecated: Use AuthorizationDetails.ProtoReflect.Descriptor instead. func (*AuthorizationDetails) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{184} + return file_app_v1_app_proto_rawDescGZIP(), []int{186} } func (x *AuthorizationDetails) GetAuthorizationType() string { @@ -10484,9 +10948,11 @@ type APIKeyWithAuthorizations struct { func (x *APIKeyWithAuthorizations) Reset() { *x = APIKeyWithAuthorizations{} - mi := &file_app_v1_app_proto_msgTypes[185] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[187] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *APIKeyWithAuthorizations) String() string { @@ -10496,8 +10962,8 @@ func (x *APIKeyWithAuthorizations) String() string { func (*APIKeyWithAuthorizations) ProtoMessage() {} func (x *APIKeyWithAuthorizations) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[185] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[187] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10509,7 +10975,7 @@ func (x *APIKeyWithAuthorizations) ProtoReflect() protoreflect.Message { // Deprecated: Use APIKeyWithAuthorizations.ProtoReflect.Descriptor instead. func (*APIKeyWithAuthorizations) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{185} + return file_app_v1_app_proto_rawDescGZIP(), []int{187} } func (x *APIKeyWithAuthorizations) GetApiKey() *APIKey { @@ -10536,9 +11002,11 @@ type ListKeysRequest struct { func (x *ListKeysRequest) Reset() { *x = ListKeysRequest{} - mi := &file_app_v1_app_proto_msgTypes[186] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[188] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListKeysRequest) String() string { @@ -10548,8 +11016,8 @@ func (x *ListKeysRequest) String() string { func (*ListKeysRequest) ProtoMessage() {} func (x *ListKeysRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[186] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[188] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10561,7 +11029,7 @@ func (x *ListKeysRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListKeysRequest.ProtoReflect.Descriptor instead. func (*ListKeysRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{186} + return file_app_v1_app_proto_rawDescGZIP(), []int{188} } func (x *ListKeysRequest) GetOrgId() string { @@ -10581,9 +11049,11 @@ type ListKeysResponse struct { func (x *ListKeysResponse) Reset() { *x = ListKeysResponse{} - mi := &file_app_v1_app_proto_msgTypes[187] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[189] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListKeysResponse) String() string { @@ -10593,8 +11063,8 @@ func (x *ListKeysResponse) String() string { func (*ListKeysResponse) ProtoMessage() {} func (x *ListKeysResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[187] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[189] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10606,7 +11076,7 @@ func (x *ListKeysResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListKeysResponse.ProtoReflect.Descriptor instead. func (*ListKeysResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{187} + return file_app_v1_app_proto_rawDescGZIP(), []int{189} } func (x *ListKeysResponse) GetApiKeys() []*APIKeyWithAuthorizations { @@ -10626,9 +11096,11 @@ type RotateKeyRequest struct { func (x *RotateKeyRequest) Reset() { *x = RotateKeyRequest{} - mi := &file_app_v1_app_proto_msgTypes[188] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[190] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RotateKeyRequest) String() string { @@ -10638,8 +11110,8 @@ func (x *RotateKeyRequest) String() string { func (*RotateKeyRequest) ProtoMessage() {} func (x *RotateKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[188] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[190] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10651,7 +11123,7 @@ func (x *RotateKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RotateKeyRequest.ProtoReflect.Descriptor instead. func (*RotateKeyRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{188} + return file_app_v1_app_proto_rawDescGZIP(), []int{190} } func (x *RotateKeyRequest) GetId() string { @@ -10672,9 +11144,11 @@ type RotateKeyResponse struct { func (x *RotateKeyResponse) Reset() { *x = RotateKeyResponse{} - mi := &file_app_v1_app_proto_msgTypes[189] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[191] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RotateKeyResponse) String() string { @@ -10684,8 +11158,8 @@ func (x *RotateKeyResponse) String() string { func (*RotateKeyResponse) ProtoMessage() {} func (x *RotateKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[189] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[191] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10697,7 +11171,7 @@ func (x *RotateKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RotateKeyResponse.ProtoReflect.Descriptor instead. func (*RotateKeyResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{189} + return file_app_v1_app_proto_rawDescGZIP(), []int{191} } func (x *RotateKeyResponse) GetId() string { @@ -10724,9 +11198,11 @@ type CreateKeyFromExistingKeyAuthorizationsRequest struct { func (x *CreateKeyFromExistingKeyAuthorizationsRequest) Reset() { *x = CreateKeyFromExistingKeyAuthorizationsRequest{} - mi := &file_app_v1_app_proto_msgTypes[190] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[192] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateKeyFromExistingKeyAuthorizationsRequest) String() string { @@ -10736,8 +11212,8 @@ func (x *CreateKeyFromExistingKeyAuthorizationsRequest) String() string { func (*CreateKeyFromExistingKeyAuthorizationsRequest) ProtoMessage() {} func (x *CreateKeyFromExistingKeyAuthorizationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[190] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[192] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10749,7 +11225,7 @@ func (x *CreateKeyFromExistingKeyAuthorizationsRequest) ProtoReflect() protorefl // Deprecated: Use CreateKeyFromExistingKeyAuthorizationsRequest.ProtoReflect.Descriptor instead. func (*CreateKeyFromExistingKeyAuthorizationsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{190} + return file_app_v1_app_proto_rawDescGZIP(), []int{192} } func (x *CreateKeyFromExistingKeyAuthorizationsRequest) GetId() string { @@ -10770,9 +11246,11 @@ type CreateKeyFromExistingKeyAuthorizationsResponse struct { func (x *CreateKeyFromExistingKeyAuthorizationsResponse) Reset() { *x = CreateKeyFromExistingKeyAuthorizationsResponse{} - mi := &file_app_v1_app_proto_msgTypes[191] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_app_proto_msgTypes[193] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CreateKeyFromExistingKeyAuthorizationsResponse) String() string { @@ -10782,8 +11260,8 @@ func (x *CreateKeyFromExistingKeyAuthorizationsResponse) String() string { func (*CreateKeyFromExistingKeyAuthorizationsResponse) ProtoMessage() {} func (x *CreateKeyFromExistingKeyAuthorizationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[191] - if x != nil { + mi := &file_app_v1_app_proto_msgTypes[193] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10795,7 +11273,7 @@ func (x *CreateKeyFromExistingKeyAuthorizationsResponse) ProtoReflect() protoref // Deprecated: Use CreateKeyFromExistingKeyAuthorizationsResponse.ProtoReflect.Descriptor instead. func (*CreateKeyFromExistingKeyAuthorizationsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{191} + return file_app_v1_app_proto_rawDescGZIP(), []int{193} } func (x *CreateKeyFromExistingKeyAuthorizationsResponse) GetId() string { @@ -11176,1607 +11654,1622 @@ var file_app_v1_app_proto_rawDesc = []byte{ 0x72, 0x65, 0x73, 0x73, 0x52, 0x0e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x1e, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x0a, 0x1c, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, - 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x44, - 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x51, 0x0a, 0x22, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, + 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x61, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x42, 0x69, + 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6c, 0x6c, + 0x69, 0x6e, 0x67, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0e, 0x62, 0x69, 0x6c, 0x6c, + 0x69, 0x6e, 0x67, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x35, 0x0a, 0x1c, 0x44, 0x69, + 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, + 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, + 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, + 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x51, 0x0a, 0x22, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, + 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, + 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x25, 0x0a, 0x23, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, + 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x0a, 0x22, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, - 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, - 0x25, 0x0a, 0x23, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x0a, 0x22, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, - 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, - 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, - 0x67, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x23, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, - 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, - 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, - 0x22, 0x3a, 0x0a, 0x14, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 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, 0x59, 0x0a, 0x14, - 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 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, 0x18, 0x0a, - 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x80, 0x01, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x73, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, - 0x74, 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x22, 0x27, 0x0a, 0x0d, 0x53, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x72, - 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, - 0x69, 0x6f, 0x6e, 0x22, 0xe4, 0x02, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 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, 0x2c, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, - 0x68, 0x12, 0x47, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x03, 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, 0x4f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x6f, 0x62, 0x6f, - 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xd0, 0x02, 0x0a, 0x0c, 0x53, - 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0x9a, 0x84, 0x9e, 0x03, 0x09, 0x62, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x22, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x73, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x12, 0x9a, 0x84, 0x9e, - 0x03, 0x0d, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x52, - 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x63, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x03, 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, 0x42, 0x28, 0x9a, 0x84, 0x9e, 0x03, 0x23, 0x62, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x20, - 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, - 0x22, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x48, 0x0a, 0x05, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, - 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x11, 0x9a, 0x84, - 0x9e, 0x03, 0x0c, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x52, - 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x45, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, - 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, - 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, - 0x54, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0x9e, 0x01, - 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x00, 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x22, 0x4b, - 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x35, 0x0a, 0x12, 0x47, - 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x22, 0x48, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xcc, 0x01, 0x0a, - 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, - 0x12, 0x31, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x10, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, - 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x70, 0x61, + 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x23, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x3a, 0x0a, 0x14, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 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, 0x59, 0x0a, 0x14, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x80, 0x01, + 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x12, 0x1a, + 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, + 0x18, 0x01, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x07, 0x73, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, + 0x22, 0x27, 0x0a, 0x0d, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0xe4, 0x02, 0x0a, 0x08, 0x4c, 0x6f, + 0x63, 0x61, 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, 0x2c, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x4b, 0x0a, 0x16, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x38, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0x0a, 0x2b, - 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x8a, 0x01, 0x0a, - 0x2c, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, - 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x52, 0x16, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3f, 0x0a, 0x14, 0x4c, 0x69, 0x73, - 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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, 0x22, 0x60, 0x0a, 0x14, 0x53, 0x68, - 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x17, 0x0a, 0x15, - 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x62, 0x0a, 0x16, 0x55, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, - 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x55, 0x6e, 0x73, - 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, - 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, + 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x12, 0x47, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, + 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x03, + 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, 0x4f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x72, + 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0a, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x06, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x22, 0xd0, 0x02, 0x0a, 0x0c, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x12, 0x1e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0x9a, + 0x84, 0x9e, 0x03, 0x09, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x22, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x12, 0x9a, 0x84, 0x9e, 0x03, 0x0d, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x22, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x63, 0x0a, + 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x03, 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, 0x42, 0x28, 0x9a, + 0x84, 0x9e, 0x03, 0x23, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x4f, 0x6e, 0x12, 0x48, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x42, 0x11, 0x9a, 0x84, 0x9e, 0x03, 0x0c, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x22, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x45, 0x0a, 0x05, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, + 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, + 0x44, 0x10, 0x02, 0x22, 0x9e, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, + 0x63, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x12, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x15, 0x0a, + 0x13, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, + 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0x3e, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x35, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x31, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0xcc, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x12, 0x31, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x01, 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x06, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, + 0x15, 0x0a, 0x13, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x22, 0x4b, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x38, + 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x4e, 0x0a, 0x2b, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, - 0x68, 0x22, 0x5b, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x64, 0x22, 0x1e, - 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, - 0x0a, 0x13, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, + 0x49, 0x64, 0x22, 0x8a, 0x01, 0x0a, 0x2c, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x16, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, + 0x3f, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 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, + 0x22, 0x60, 0x0a, 0x14, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x62, 0x0a, 0x16, 0x55, + 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x14, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, - 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x22, 0x21, 0x0a, - 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, + 0x19, 0x0a, 0x17, 0x55, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0x0a, 0x15, 0x4c, 0x69, + 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3e, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, + 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x22, 0x5b, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x49, 0x64, 0x22, 0x1e, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x13, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x14, + 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, 0x61, + 0x75, 0x74, 0x68, 0x22, 0x21, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 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, 0x34, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, + 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x9a, 0x01, 0x0a, + 0x10, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, + 0x0a, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x12, + 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4d, + 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x1c, 0x47, 0x65, 0x74, + 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x6f, 0x62, + 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, + 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, + 0x22, 0x3c, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x22, 0x31, + 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, + 0x64, 0x22, 0x45, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x70, 0x61, + 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, + 0x74, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x22, 0x25, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, + 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 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, + 0x63, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, + 0x61, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6a, 0x73, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x4a, 0x73, 0x6f, 0x6e, 0x22, 0x8a, 0x03, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, + 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 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, 0x34, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, - 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x9a, 0x01, 0x0a, 0x10, 0x52, 0x6f, 0x76, 0x65, 0x72, - 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, - 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, - 0x6f, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x62, 0x6f, 0x74, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x6f, 0x62, - 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x12, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, - 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4d, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, - 0x74, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, - 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x52, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x22, 0x3c, 0x0a, 0x10, 0x47, 0x65, - 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, - 0x0a, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, - 0x74, 0x52, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x22, 0x31, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x15, 0x47, - 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x05, 0x70, 0x61, 0x72, - 0x74, 0x73, 0x22, 0x25, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, - 0x72, 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, 0x63, 0x0a, 0x14, 0x47, 0x65, 0x74, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, - 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, 0x12, 0x1f, 0x0a, - 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x73, 0x6f, 0x6e, 0x22, 0x8a, - 0x03, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, - 0x6f, 0x67, 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, 0x23, 0x0a, 0x0b, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, - 0x02, 0x18, 0x01, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, - 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, - 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, - 0x74, 0x18, 0x06, 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, 0x73, 0x74, 0x61, 0x72, 0x74, 0x88, 0x01, 0x01, 0x12, - 0x31, 0x0a, 0x03, 0x65, 0x6e, 0x64, 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, 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x88, - 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x03, 0x48, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, - 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x48, 0x05, 0x52, - 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x06, - 0x0a, 0x04, 0x5f, 0x65, 0x6e, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x70, 0x0a, 0x18, 0x47, - 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x73, 0x0a, - 0x18, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, - 0x67, 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, 0x1f, 0x0a, 0x0b, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x66, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x66, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x22, 0x49, 0x0a, 0x19, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x2c, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x22, 0x2c, 0x0a, - 0x1a, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, - 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5b, 0x0a, 0x1b, 0x47, - 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, - 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x68, 0x69, - 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x78, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0c, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0b, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x22, 0x45, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, - 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, - 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, 0x22, 0x4d, 0x0a, 0x13, 0x4e, 0x65, 0x77, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, - 0x61, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x70, 0x61, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2f, 0x0a, 0x14, 0x4e, 0x65, 0x77, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x31, 0x0a, 0x16, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x16, - 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, + 0x12, 0x23, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x88, + 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x12, 0x35, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x06, 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, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x03, 0x65, 0x6e, 0x64, 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, 0x03, + 0x52, 0x03, 0x65, 0x6e, 0x64, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x48, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x05, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x88, 0x01, 0x01, + 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x65, 0x6e, 0x64, 0x42, 0x08, 0x0a, 0x06, + 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x22, 0x70, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, + 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, + 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, + 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x22, 0x73, 0x0a, 0x18, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, + 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 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, + 0x1f, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x4f, 0x6e, 0x6c, 0x79, + 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, + 0x07, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x49, 0x0a, 0x19, 0x54, 0x61, 0x69, 0x6c, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6c, + 0x6f, 0x67, 0x73, 0x22, 0x2c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x22, 0x5b, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, + 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x3c, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x78, + 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, + 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0c, + 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0b, 0x72, 0x6f, 0x62, + 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x45, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, 0x22, + 0x4d, 0x0a, 0x13, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, - 0x64, 0x22, 0x79, 0x0a, 0x06, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 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, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x22, 0x5b, 0x0a, 0x17, - 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, 0x6b, - 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, - 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x85, 0x06, 0x0a, 0x08, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x12, 0x33, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0x9a, - 0x84, 0x9e, 0x03, 0x1e, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x6a, - 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x2c, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, - 0x79, 0x22, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x1c, 0x9a, 0x84, 0x9e, 0x03, 0x17, 0x62, 0x73, 0x6f, 0x6e, 0x3a, - 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6e, 0x61, 0x6d, - 0x65, 0x22, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x42, 0x24, 0x9a, 0x84, 0x9e, 0x03, 0x1f, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, - 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, - 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x12, 0x5a, 0x0a, 0x12, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x2b, 0x9a, 0x84, 0x9e, 0x03, 0x26, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x20, - 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x52, 0x11, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, - 0x38, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, - 0x20, 0x9a, 0x84, 0x9e, 0x03, 0x1b, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, - 0x22, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x51, 0x0a, 0x0a, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2f, + 0x0a, 0x14, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, + 0x31, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, + 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, + 0x49, 0x64, 0x22, 0x33, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, + 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, + 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x22, 0x79, 0x0a, 0x06, 0x41, 0x50, 0x49, 0x4b, 0x65, + 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x5f, 0x6f, 0x6e, 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, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x4f, 0x6e, 0x22, 0x5b, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, + 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, + 0x08, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, + 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x22, + 0x19, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, + 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x85, 0x06, 0x0a, 0x08, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x33, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x23, 0x9a, 0x84, 0x9e, 0x03, 0x1e, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, + 0x5f, 0x69, 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x2c, 0x6f, 0x6d, + 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1c, 0x9a, 0x84, 0x9e, 0x03, + 0x17, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x6a, 0x73, 0x6f, + 0x6e, 0x3a, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, + 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x24, 0x9a, 0x84, 0x9e, 0x03, 0x1f, + 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x20, + 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x52, + 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x5a, 0x0a, 0x12, 0x6f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0x9a, 0x84, 0x9e, 0x03, 0x26, 0x62, 0x73, 0x6f, 0x6e, + 0x3a, 0x22, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x22, 0x52, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x20, 0x9a, 0x84, 0x9e, 0x03, 0x1b, 0x62, 0x73, 0x6f, 0x6e, + 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x22, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, + 0x51, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x06, 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, 0x42, + 0x16, 0x9a, 0x84, 0x9e, 0x03, 0x11, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x4f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x28, 0x0a, 0x10, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x6f, 0x62, 0x6f, 0x74, + 0x50, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x6f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x12, 0x6f, 0x6e, 0x6c, 0x79, + 0x5f, 0x75, 0x73, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x6f, 0x6e, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x64, 0x42, 0x79, + 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x3f, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x5a, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0d, 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, 0x42, 0x1b, 0x9a, 0x84, 0x9e, 0x03, 0x16, 0x62, + 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x64, 0x5f, 0x61, 0x74, 0x22, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x64, 0x22, 0xe3, 0x02, 0x0a, 0x14, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, + 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x40, 0x0a, 0x08, 0x66, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0x9a, + 0x84, 0x9e, 0x03, 0x1f, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x22, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x5f, 0x0a, + 0x09, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x02, 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, 0x42, 0x26, 0x9a, 0x84, + 0x9e, 0x03, 0x21, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, + 0x6f, 0x6e, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, + 0x5f, 0x6f, 0x6e, 0x22, 0x52, 0x08, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x43, + 0x0a, 0x03, 0x6f, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x42, 0x1a, 0x9a, 0x84, 0x9e, 0x03, 0x15, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, + 0x6c, 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x6c, 0x64, 0x22, 0x52, 0x03, + 0x6f, 0x6c, 0x64, 0x12, 0x63, 0x0a, 0x09, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, + 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x26, 0x9a, 0x84, 0x9e, 0x03, 0x21, 0x62, 0x73, 0x6f, + 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x22, 0x20, 0x6a, 0x73, + 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x22, 0x52, 0x08, + 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x42, 0x79, 0x22, 0x87, 0x01, 0x0a, 0x0d, 0x46, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x0a, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x22, 0xa7, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x61, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, + 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x6f, + 0x6c, 0x76, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xb2, 0x01, 0x0a, + 0x14, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 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, 0x1f, + 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, + 0x50, 0x0a, 0x13, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x69, 0x73, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x12, 0x66, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x22, 0x4c, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x66, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, + 0x24, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 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, 0x48, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, + 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, + 0xda, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 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, 0x12, 0x2f, 0x0a, + 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 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, 0x42, 0x16, 0x9a, 0x84, 0x9e, 0x03, 0x11, - 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, - 0x22, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x6f, 0x62, - 0x6f, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x12, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x5f, - 0x62, 0x79, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, - 0x6f, 0x6e, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x64, 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, - 0x3f, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x12, 0x5a, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, - 0x18, 0x0d, 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, 0x42, 0x1b, 0x9a, 0x84, 0x9e, 0x03, 0x16, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6c, - 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x22, 0x52, - 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x22, 0xe3, 0x02, 0x0a, - 0x14, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x40, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0x9a, 0x84, 0x9e, 0x03, 0x1f, 0x62, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x20, 0x6a, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x52, 0x08, 0x66, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x5f, 0x0a, 0x09, 0x65, 0x64, 0x69, 0x74, 0x65, - 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x02, 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, 0x42, 0x26, 0x9a, 0x84, 0x9e, 0x03, 0x21, 0x62, 0x73, 0x6f, - 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x20, 0x6a, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x52, 0x08, - 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x43, 0x0a, 0x03, 0x6f, 0x6c, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x1a, 0x9a, 0x84, - 0x9e, 0x03, 0x15, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x6c, 0x64, 0x22, 0x20, 0x6a, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x6c, 0x64, 0x22, 0x52, 0x03, 0x6f, 0x6c, 0x64, 0x12, 0x63, 0x0a, - 0x09, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, - 0x42, 0x26, 0x9a, 0x84, 0x9e, 0x03, 0x21, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, - 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, - 0x69, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x22, 0x52, 0x08, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, - 0x42, 0x79, 0x22, 0x87, 0x01, 0x0a, 0x0d, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0xa7, 0x01, 0x0a, - 0x10, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, - 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xb2, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x46, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 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, 0x1f, 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x77, - 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, - 0x68, 0x6f, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x50, 0x0a, 0x13, 0x66, 0x72, 0x61, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x12, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x4c, 0x0a, 0x15, 0x4c, - 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, - 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x24, 0x0a, 0x12, 0x47, 0x65, 0x74, - 0x46, 0x72, 0x61, 0x67, 0x6d, 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, - 0x48, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 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, 0x44, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, 0x0a, + 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, + 0x0b, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x4b, 0x0a, 0x16, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, - 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xda, 0x01, 0x0a, 0x15, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xe9, 0x01, 0x0a, 0x15, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 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, 0x44, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x76, 0x69, 0x73, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x4b, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x31, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x22, 0xe9, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, - 0x61, 0x67, 0x6d, 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, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x08, 0x48, 0x00, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x88, 0x01, 0x01, 0x12, - 0x44, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x48, 0x01, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, - 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, - 0x4b, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x66, 0x72, 0x61, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x27, 0x0a, 0x15, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 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, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x91, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, - 0x69, 0x73, 0x74, 0x6f, 0x72, 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, 0x22, 0x0a, - 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x00, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, - 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, - 0x6d, 0x69, 0x74, 0x22, 0x81, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, - 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, - 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, - 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x34, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x74, 0x0a, - 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, - 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x61, - 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x15, 0x61, 0x64, - 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x49, 0x64, 0x73, 0x22, 0xa1, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, - 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, - 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x4c, 0x0a, 0x12, 0x72, 0x65, 0x73, - 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x46, 0x72, - 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x40, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, - 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, - 0x74, 0x52, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x22, 0x41, 0x0a, 0x0f, 0x4e, 0x65, 0x77, - 0x52, 0x6f, 0x62, 0x6f, 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, - 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x22, 0x0a, 0x10, - 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 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, 0x54, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, - 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, - 0x52, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x22, 0x24, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x52, 0x6f, 0x62, 0x6f, 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, 0x15, 0x0a, - 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x0a, 0x15, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, - 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, - 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, - 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x34, 0x0a, 0x19, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, - 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, - 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, - 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, - 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x4b, 0x0a, - 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, - 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, - 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, - 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, 0x22, 0x54, 0x0a, 0x1c, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, + 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x88, 0x01, 0x01, 0x12, 0x44, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x01, 0x52, 0x0a, 0x76, 0x69, + 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x4b, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x31, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x22, 0x27, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, + 0x6d, 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, 0x18, 0x0a, 0x16, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 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, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x09, 0x70, + 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, + 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x81, 0x01, 0x0a, 0x1a, 0x47, 0x65, + 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x69, + 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, + 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x34, 0x0a, + 0x11, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x22, 0x74, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, + 0x64, 0x12, 0x36, 0x0a, 0x17, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, + 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x15, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x22, 0xa1, 0x01, 0x0a, 0x1c, 0x4c, 0x69, + 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x66, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, + 0x4c, 0x0a, 0x12, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, + 0x65, 0x64, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x11, 0x72, 0x65, 0x73, 0x6f, + 0x6c, 0x76, 0x65, 0x64, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x40, 0x0a, + 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x22, + 0x41, 0x0a, 0x0f, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 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, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x22, 0x0a, 0x10, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 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, 0x54, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x52, 0x6f, 0x62, 0x6f, 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, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x0a, 0x13, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x22, 0x24, 0x0a, + 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 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, 0x15, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x0a, 0x15, 0x4d, 0x61, + 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, + 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x0a, 0x19, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, + 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, + 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x1c, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, - 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x64, - 0x22, 0x1f, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x9e, 0x02, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, - 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, - 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, - 0x0d, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, - 0x70, 0x65, 0x22, 0x52, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, + 0x74, 0x49, 0x64, 0x22, 0x4b, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, + 0x22, 0x54, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x63, + 0x72, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9e, 0x02, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x22, 0x52, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, + 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x11, 0x0a, 0x0f, + 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x55, 0x0a, 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x11, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x55, 0x0a, 0x11, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, - 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x14, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa5, 0x01, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x11, - 0x6f, 0x6c, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6f, 0x6c, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x11, 0x6e, 0x65, 0x77, 0x5f, 0x61, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6e, 0x65, - 0x77, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x14, - 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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, 0x21, 0x0a, 0x0c, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x73, 0x22, 0x60, 0x0a, - 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0e, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, - 0x5f, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x0b, 0x70, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0x7f, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, - 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, - 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x22, 0x75, 0x0a, 0x18, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, - 0x16, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x14, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa5, 0x01, 0x0a, + 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x47, 0x0a, 0x11, 0x6f, 0x6c, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x15, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd1, 0x01, 0x0a, 0x0d, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, - 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, - 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, - 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, - 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0xc4, 0x01, 0x0a, - 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, - 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, - 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x36, 0x0a, 0x08, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, - 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, - 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, - 0x72, 0x75, 0x6e, 0x22, 0xc0, 0x01, 0x0a, 0x0f, 0x4d, 0x4c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, - 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, - 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, - 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, - 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x68, 0x0a, 0x11, 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, - 0x6e, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x5f, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6f, 0x6c, 0x64, 0x41, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x11, 0x6e, + 0x65, 0x77, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x10, 0x6e, 0x65, 0x77, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x14, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, + 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x0a, 0x19, 0x4c, 0x69, + 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 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, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x49, 0x64, 0x73, 0x22, 0x60, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x42, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x5f, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x44, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7f, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x75, 0x0a, 0x18, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x16, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, + 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x15, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd1, + 0x01, 0x0a, 0x0d, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x66, 0x69, + 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x52, + 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, + 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, + 0x75, 0x6e, 0x22, 0xc4, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x73, 0x12, 0x36, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, + 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, + 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, + 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, + 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, + 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, + 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0xc0, 0x01, 0x0a, 0x0f, 0x4d, 0x4c, + 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, + 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, + 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x0f, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x0e, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x68, 0x0a, 0x11, + 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x02, 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, 0x4f, 0x6e, 0x22, 0xff, 0x01, 0x0a, 0x12, 0x4d, 0x4c, 0x54, 0x72, 0x61, + 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3a, 0x0a, + 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, + 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, + 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, + 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x0f, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x0e, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x14, 0x0a, 0x05, + 0x64, 0x72, 0x61, 0x66, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x72, 0x61, + 0x66, 0x74, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x8c, 0x07, 0x0a, 0x0c, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, + 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, + 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x37, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, + 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, + 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, + 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x75, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3b, 0x0a, 0x1a, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x6f, 0x62, + 0x6f, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x49, 0x0a, 0x21, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1e, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x46, 0x0a, 0x0f, + 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x48, 0x00, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x4a, 0x0a, 0x11, 0x6d, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, + 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, + 0x0f, 0x6d, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x12, 0x53, 0x0a, 0x14, 0x6d, 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, 0x54, + 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, + 0x00, 0x52, 0x12, 0x6d, 0x6c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x5f, 0x61, 0x74, 0x18, 0x0f, 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, 0x4f, 0x6e, - 0x22, 0xff, 0x01, 0x0a, 0x12, 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, - 0x6e, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, - 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, - 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, - 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, - 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x72, 0x61, 0x66, 0x74, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x72, 0x61, 0x66, 0x74, 0x4a, 0x04, 0x08, 0x01, - 0x10, 0x02, 0x22, 0x8c, 0x07, 0x0a, 0x0c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, - 0x74, 0x65, 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x61, - 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x37, 0x0a, 0x0a, 0x76, - 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, - 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, - 0x6c, 0x5f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x55, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x3b, 0x0a, 0x1a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x78, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x75, 0x73, 0x61, - 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, - 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x55, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x16, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x49, 0x0a, 0x21, 0x74, - 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, - 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x74, - 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x46, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0e, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4a, - 0x0a, 0x11, 0x6d, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0f, 0x6d, 0x6c, 0x4d, 0x6f, 0x64, - 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x53, 0x0a, 0x14, 0x6d, 0x6c, - 0x5f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, - 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x6c, 0x54, - 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, - 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0f, 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, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x10, 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, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x22, 0x31, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, - 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, - 0x65, 0x6d, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x2d, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x8f, - 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x49, 0x74, 0x65, 0x6d, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, - 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe5, - 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, - 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, - 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, - 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, - 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 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, 0x37, - 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x06, - 0x0a, 0x04, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, + 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x10, + 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, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x31, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x17, 0x47, 0x65, + 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, + 0x69, 0x74, 0x65, 0x6d, 0x22, 0x8f, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 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, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc3, 0x03, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x2c, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, - 0x37, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x21, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, - 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0c, 0x76, 0x69, 0x73, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x17, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0c, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, - 0x72, 0x6d, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, - 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, - 0x12, 0x24, 0x0a, 0x0b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, - 0x65, 0x72, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x09, 0x70, 0x61, - 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x75, - 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, - 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, - 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4c, 0x0a, 0x19, 0x4c, 0x69, - 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, - 0x6d, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x34, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x1c, - 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x68, 0x0a, 0x1b, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe5, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, + 0x70, 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, 0x37, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x15, 0x0a, + 0x03, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, + 0x6c, 0x88, 0x01, 0x01, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, + 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc3, 0x03, 0x0a, 0x18, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x37, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, + 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x3b, + 0x0a, 0x0c, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0c, 0x76, + 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0a, 0x73, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x65, 0x72, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x02, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, + 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x42, 0x12, 0x0a, + 0x10, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x74, 0x65, 0x72, + 0x6d, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x22, 0x4c, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, + 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x34, + 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, - 0x65, 0x6d, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x12, 0x6e, 0x65, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x1e, 0x0a, 0x1c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, - 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x45, 0x0a, 0x14, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, - 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, - 0x6c, 0x22, 0x9b, 0x02, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, - 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, - 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, - 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, - 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, - 0x28, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 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, 0x22, 0x2f, 0x0a, 0x05, 0x4d, 0x6f, 0x64, - 0x65, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x70, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x61, 0x70, 0x69, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x88, 0x01, 0x0a, 0x0e, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, - 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x74, 0x61, 0x67, - 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x54, 0x61, 0x67, 0x73, 0x22, 0x87, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x47, 0x0a, 0x10, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, - 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x04, 0x66, 0x69, - 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, - 0x42, 0x0d, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x22, - 0x2c, 0x0a, 0x18, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, - 0x69, 0x6c, 0x65, 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, 0x22, 0x2f, 0x0a, - 0x10, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x40, - 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x22, 0x95, 0x04, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0a, - 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, + 0x65, 0x6d, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x68, 0x0a, 0x1b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x6e, 0x65, + 0x77, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6e, 0x65, 0x77, 0x50, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x1e, 0x0a, 0x1c, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0x0a, 0x13, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 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, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x22, 0x45, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x9b, 0x02, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x0a, + 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x37, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x73, - 0x74, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x10, - 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, - 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x2a, - 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x75, 0x73, - 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x6f, - 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x74, 0x6f, - 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, - 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x29, 0x0a, - 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, - 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, - 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, - 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0xd2, 0x01, 0x0a, 0x0e, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, - 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x1e, 0x0a, - 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, - 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, - 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0x62, 0x0a, - 0x07, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, - 0x5f, 0x61, 0x74, 0x18, 0x02, 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, 0x0a, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x41, - 0x74, 0x22, 0x56, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x00, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x13, 0x4c, 0x69, 0x73, - 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x2d, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, + 0x75, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, + 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, + 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0x28, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 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, 0x22, + 0x2f, 0x0a, 0x05, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x70, 0x69, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x70, 0x69, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x22, 0x88, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x61, 0x67, 0x73, 0x22, 0x87, 0x01, 0x0a, 0x17, + 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x10, 0x6d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, + 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x14, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, + 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x2c, 0x0a, 0x18, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 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, 0x22, 0x2f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x49, 0x64, 0x22, 0x40, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x6d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x06, + 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x22, 0x95, 0x04, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, + 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x37, 0x0a, 0x08, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x6f, + 0x62, 0x6f, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x38, 0x0a, 0x18, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x16, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x20, + 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, + 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0xd2, + 0x01, 0x0a, 0x0e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x66, + 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, + 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, + 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, + 0x72, 0x75, 0x6e, 0x22, 0x62, 0x0a, 0x07, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, 0x1a, + 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 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, 0x0a, 0x75, 0x70, 0x6c, + 0x6f, 0x61, 0x64, 0x65, 0x64, 0x41, 0x74, 0x22, 0x56, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, + 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x12, 0x0a, 0x10, 0x5f, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x22, + 0x44, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x07, 0x6d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2f, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, + 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x33, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, + 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 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, 0x39, 0x0a, 0x1e, 0x4c, + 0x69, 0x73, 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, 0x3e, 0x0a, 0x0a, 0x4f, 0x72, 0x67, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, + 0x72, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, + 0x72, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x4e, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 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, 0x2b, 0x0a, 0x04, 0x6f, 0x72, 0x67, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, + 0x52, 0x04, 0x6f, 0x72, 0x67, 0x73, 0x22, 0x6a, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x0e, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, + 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x22, 0x35, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x22, 0x0a, 0x10, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 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, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x36, 0x0a, 0x10, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x37, 0x0a, 0x11, 0x52, 0x65, + 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 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, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x22, 0xcd, 0x01, 0x0a, 0x14, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x2d, 0x0a, 0x12, + 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, + 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, + 0x67, 0x49, 0x64, 0x22, 0x93, 0x01, 0x0a, 0x18, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, + 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x2c, 0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, - 0x2f, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, - 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, - 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, - 0x22, 0x33, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, - 0x6d, 0x61, 0x69, 0x6c, 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, 0x39, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 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, 0x3e, 0x0a, 0x0a, 0x4f, 0x72, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x15, - 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x67, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x67, 0x4e, 0x61, 0x6d, 0x65, - 0x22, 0x4e, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 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, 0x2b, 0x0a, 0x04, 0x6f, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4f, 0x72, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x04, 0x6f, 0x72, 0x67, 0x73, - 0x22, 0x6a, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x35, 0x0a, 0x11, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x22, 0x22, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, - 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, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x10, - 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x37, 0x0a, 0x11, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, - 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xcd, 0x01, - 0x0a, 0x14, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x93, 0x01, - 0x0a, 0x18, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2c, 0x0a, 0x07, 0x61, 0x70, - 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, - 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x49, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x73, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x22, 0x28, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x54, 0x0a, - 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x40, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, - 0x65, 0x79, 0x73, 0x22, 0x22, 0x0a, 0x10, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x35, 0x0a, 0x11, 0x52, 0x6f, 0x74, 0x61, 0x74, - 0x65, 0x4b, 0x65, 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, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x3f, - 0x0a, 0x2d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, - 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, - 0x52, 0x0a, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, - 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x2a, 0xd1, 0x01, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x55, - 0x54, 0x48, 0x45, 0x4e, 0x54, 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, - 0x21, 0x0a, 0x1d, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, - 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x42, 0x5f, 0x4f, 0x41, 0x55, 0x54, 0x48, - 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, - 0x59, 0x10, 0x02, 0x12, 0x29, 0x0a, 0x25, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, - 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x4f, 0x42, 0x4f, 0x54, - 0x5f, 0x50, 0x41, 0x52, 0x54, 0x5f, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x10, 0x03, 0x12, 0x27, - 0x0a, 0x23, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, - 0x45, 0x43, 0x52, 0x45, 0x54, 0x10, 0x04, 0x2a, 0xa3, 0x01, 0x0a, 0x12, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x23, - 0x0a, 0x1f, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, - 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, - 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, - 0x54, 0x45, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, - 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, - 0x49, 0x43, 0x10, 0x02, 0x12, 0x27, 0x0a, 0x23, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, - 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, - 0x49, 0x43, 0x5f, 0x55, 0x4e, 0x4c, 0x49, 0x53, 0x54, 0x45, 0x44, 0x10, 0x03, 0x2a, 0xdd, 0x01, - 0x0a, 0x11, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, - 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x46, 0x52, 0x41, 0x47, - 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x4e, 0x4f, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x2e, 0x0a, 0x2a, 0x46, - 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x4e, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, - 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x46, + 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x49, + 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x28, 0x0a, 0x0f, 0x4c, 0x69, 0x73, + 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, + 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, + 0x67, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, 0x6b, + 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, + 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x22, 0x22, 0x0a, 0x10, 0x52, 0x6f, 0x74, + 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x35, 0x0a, + 0x11, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 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, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x22, 0x3f, 0x0a, 0x2d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, + 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, + 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x52, 0x0a, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, + 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, + 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x2a, 0xd1, 0x01, 0x0a, 0x12, 0x41, 0x75, + 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 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, 0x21, 0x0a, 0x1d, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, + 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x42, + 0x5f, 0x4f, 0x41, 0x55, 0x54, 0x48, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x55, 0x54, 0x48, + 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x02, 0x12, 0x29, 0x0a, 0x25, 0x41, 0x55, 0x54, + 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x52, 0x4f, 0x42, 0x4f, 0x54, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x5f, 0x53, 0x45, 0x43, 0x52, + 0x45, 0x54, 0x10, 0x03, 0x12, 0x27, 0x0a, 0x23, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, + 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x41, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x10, 0x04, 0x2a, 0xa3, 0x01, + 0x0a, 0x12, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x12, 0x23, 0x0a, 0x1f, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, + 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x46, 0x52, 0x41, + 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, + 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x52, + 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, + 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x02, 0x12, 0x27, 0x0a, 0x23, 0x46, 0x52, + 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, + 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x5f, 0x55, 0x4e, 0x4c, 0x49, 0x53, 0x54, 0x45, + 0x44, 0x10, 0x03, 0x2a, 0xdd, 0x01, 0x0a, 0x11, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x46, 0x52, 0x41, + 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x21, + 0x0a, 0x1d, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, + 0x01, 0x12, 0x2e, 0x0a, 0x2a, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x47, + 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, + 0x02, 0x12, 0x28, 0x0a, 0x24, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x48, 0x49, 0x4c, 0x44, 0x5f, 0x49, + 0x44, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x03, 0x12, 0x26, 0x0a, 0x22, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x43, 0x48, 0x49, 0x4c, 0x44, 0x5f, 0x49, 0x44, 0x5f, 0x49, 0x4e, 0x56, 0x41, - 0x4c, 0x49, 0x44, 0x10, 0x03, 0x12, 0x26, 0x0a, 0x22, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, - 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x59, 0x43, - 0x4c, 0x45, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x04, 0x2a, 0x87, 0x01, - 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x20, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, - 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, + 0x50, 0x45, 0x5f, 0x43, 0x59, 0x43, 0x4c, 0x45, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43, 0x54, 0x45, + 0x44, 0x10, 0x04, 0x2a, 0x87, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x20, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x54, - 0x55, 0x53, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x01, 0x12, 0x27, - 0x0a, 0x23, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, - 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x5f, 0x44, 0x45, 0x56, 0x45, 0x4c, 0x4f, - 0x50, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x2a, 0x77, 0x0a, 0x0a, 0x56, 0x69, 0x73, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x16, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, - 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, - 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x49, 0x53, - 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x02, - 0x12, 0x1e, 0x0a, 0x1a, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, - 0x55, 0x42, 0x4c, 0x49, 0x43, 0x5f, 0x55, 0x4e, 0x4c, 0x49, 0x53, 0x54, 0x45, 0x44, 0x10, 0x03, - 0x32, 0xcc, 0x3c, 0x0a, 0x0a, 0x41, 0x70, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x5f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, - 0x61, 0x69, 0x6c, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, - 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x49, 0x54, 0x45, + 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, + 0x45, 0x44, 0x10, 0x01, 0x12, 0x27, 0x0a, 0x23, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, + 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x5f, + 0x44, 0x45, 0x56, 0x45, 0x4c, 0x4f, 0x50, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x2a, 0x77, 0x0a, + 0x0a, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x16, 0x56, + 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x49, 0x53, 0x49, 0x42, + 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, + 0x15, 0x0a, 0x11, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, + 0x42, 0x4c, 0x49, 0x43, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, + 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x5f, 0x55, 0x4e, 0x4c, 0x49, + 0x53, 0x54, 0x45, 0x44, 0x10, 0x03, 0x32, 0xb0, 0x3d, 0x0a, 0x0a, 0x41, 0x70, 0x70, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, + 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x65, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 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, 0x27, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x62, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9b, 0x01, 0x0a, 0x24, - 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x62, 0x0a, + 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x9b, 0x01, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, - 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x17, 0x4c, 0x69, 0x73, - 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, - 0x55, 0x73, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 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, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 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, - 0x5c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 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, 0x12, 0x9b, 0x01, - 0x0a, 0x24, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x74, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 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, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 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, 0x5c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 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, 0x24, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x9b, 0x01, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x38, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x76, 0x61, - 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x65, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 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, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x74, 0x0a, 0x17, 0x4c, 0x69, 0x73, - 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x77, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, - 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa1, 0x01, 0x0a, 0x26, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x3b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, + 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x65, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 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, + 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x74, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, - 0x0a, 0x18, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, + 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa1, + 0x01, 0x0a, 0x26, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2c, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, + 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, + 0x65, 0x6e, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, + 0x14, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, + 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, - 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, - 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x29, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x61, - 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, - 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, - 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x28, 0x2e, 0x76, + 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, 0x44, 0x69, + 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, - 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x80, 0x01, 0x0a, 0x1b, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, - 0x6c, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x69, + 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x25, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x69, + 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x1b, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, - 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, - 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x1b, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, - 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, - 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x59, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x4c, 0x69, - 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x55, 0x6e, - 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x68, - 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x55, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, - 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, - 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, + 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2f, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, + 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, + 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, + 0x01, 0x0a, 0x1b, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, + 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2f, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, + 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, + 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, + 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x55, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x68, 0x61, + 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, + 0x74, 0x68, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, + 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, + 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x52, 0x6f, - 0x62, 0x6f, 0x74, 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x6b, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, - 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, - 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x47, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x1c, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, + 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x47, 0x65, + 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, + 0x74, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, - 0x0d, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x12, 0x21, + 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, + 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x52, 0x6f, + 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x53, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, + 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, + 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, - 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, - 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x47, 0x65, - 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x24, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x11, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x68, 0x0a, 0x13, 0x47, + 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, + 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, + 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x23, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, + 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, - 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x11, 0x54, - 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, - 0x12, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, - 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, - 0x01, 0x12, 0x68, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, - 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, - 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x23, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, + 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, + 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, + 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x65, 0x0a, 0x12, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, + 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, + 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, + 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, + 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, + 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, + 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, + 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, + 0x62, 0x6f, 0x74, 0x73, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, + 0x74, 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, + 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, + 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x1f, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x4e, 0x65, 0x77, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, - 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, - 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, - 0x74, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, - 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, - 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x12, - 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, - 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x4d, 0x61, - 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x12, 0x22, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, - 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, - 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x26, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, - 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, - 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x4e, - 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, - 0x62, 0x6f, 0x74, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, - 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x50, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, - 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, + 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x50, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, + 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x47, 0x65, + 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, - 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, - 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, - 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, - 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, + 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x65, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, - 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x52, 0x6f, - 0x6c, 0x65, 0x12, 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, - 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, - 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, - 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, - 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x4c, - 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, + 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x44, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1b, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, + 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x10, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x65, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x26, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x62, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, - 0x74, 0x65, 0x6d, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, - 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, - 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, - 0x65, 0x6d, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, + 0x0f, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, + 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, + 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, + 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, + 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, + 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x11, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x25, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, + 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, + 0x74, 0x65, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x20, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x61, 0x0a, 0x10, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x10, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, + 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x28, 0x01, 0x12, 0x4a, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x50, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, - 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, - 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, - 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, - 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x4c, 0x69, - 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 0x79, - 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, - 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, - 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x4a, 0x0a, 0x09, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, - 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, - 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa1, 0x01, 0x0a, 0x26, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, - 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, - 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, - 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, - 0x18, 0x5a, 0x16, 0x67, 0x6f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x12, 0x4a, + 0x0a, 0x09, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x4c, 0x69, + 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, + 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, + 0x09, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, + 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, + 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x52, 0x6f, 0x74, + 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa1, 0x01, 0x0a, 0x26, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, + 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x3a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, + 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, + 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x18, 0x5a, 0x16, 0x67, 0x6f, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x70, + 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -12792,8 +13285,8 @@ func file_app_v1_app_proto_rawDescGZIP() []byte { } var file_app_v1_app_proto_enumTypes = make([]protoimpl.EnumInfo, 6) -var file_app_v1_app_proto_msgTypes = make([]protoimpl.MessageInfo, 192) -var file_app_v1_app_proto_goTypes = []any{ +var file_app_v1_app_proto_msgTypes = make([]protoimpl.MessageInfo, 194) +var file_app_v1_app_proto_goTypes = []interface{}{ (AuthenticationType)(0), // 0: viam.app.v1.AuthenticationType (FragmentVisibility)(0), // 1: viam.app.v1.FragmentVisibility (FragmentErrorType)(0), // 2: viam.app.v1.FragmentErrorType @@ -12836,462 +13329,467 @@ var file_app_v1_app_proto_goTypes = []any{ (*EnableBillingServiceResponse)(nil), // 39: viam.app.v1.EnableBillingServiceResponse (*UpdateBillingServiceRequest)(nil), // 40: viam.app.v1.UpdateBillingServiceRequest (*UpdateBillingServiceResponse)(nil), // 41: viam.app.v1.UpdateBillingServiceResponse - (*DisableBillingServiceRequest)(nil), // 42: viam.app.v1.DisableBillingServiceRequest - (*DisableBillingServiceResponse)(nil), // 43: viam.app.v1.DisableBillingServiceResponse - (*OrganizationSetSupportEmailRequest)(nil), // 44: viam.app.v1.OrganizationSetSupportEmailRequest - (*OrganizationSetSupportEmailResponse)(nil), // 45: viam.app.v1.OrganizationSetSupportEmailResponse - (*OrganizationGetSupportEmailRequest)(nil), // 46: viam.app.v1.OrganizationGetSupportEmailRequest - (*OrganizationGetSupportEmailResponse)(nil), // 47: viam.app.v1.OrganizationGetSupportEmailResponse - (*OrganizationIdentity)(nil), // 48: viam.app.v1.OrganizationIdentity - (*LocationOrganization)(nil), // 49: viam.app.v1.LocationOrganization - (*LocationAuth)(nil), // 50: viam.app.v1.LocationAuth - (*StorageConfig)(nil), // 51: viam.app.v1.StorageConfig - (*Location)(nil), // 52: viam.app.v1.Location - (*SharedSecret)(nil), // 53: viam.app.v1.SharedSecret - (*CreateLocationRequest)(nil), // 54: viam.app.v1.CreateLocationRequest - (*CreateLocationResponse)(nil), // 55: viam.app.v1.CreateLocationResponse - (*GetLocationRequest)(nil), // 56: viam.app.v1.GetLocationRequest - (*GetLocationResponse)(nil), // 57: viam.app.v1.GetLocationResponse - (*UpdateLocationRequest)(nil), // 58: viam.app.v1.UpdateLocationRequest - (*UpdateLocationResponse)(nil), // 59: viam.app.v1.UpdateLocationResponse - (*DeleteLocationRequest)(nil), // 60: viam.app.v1.DeleteLocationRequest - (*DeleteLocationResponse)(nil), // 61: viam.app.v1.DeleteLocationResponse - (*GetOrganizationsWithAccessToLocationRequest)(nil), // 62: viam.app.v1.GetOrganizationsWithAccessToLocationRequest - (*GetOrganizationsWithAccessToLocationResponse)(nil), // 63: viam.app.v1.GetOrganizationsWithAccessToLocationResponse - (*ListLocationsRequest)(nil), // 64: viam.app.v1.ListLocationsRequest - (*ShareLocationRequest)(nil), // 65: viam.app.v1.ShareLocationRequest - (*ShareLocationResponse)(nil), // 66: viam.app.v1.ShareLocationResponse - (*UnshareLocationRequest)(nil), // 67: viam.app.v1.UnshareLocationRequest - (*UnshareLocationResponse)(nil), // 68: viam.app.v1.UnshareLocationResponse - (*ListLocationsResponse)(nil), // 69: viam.app.v1.ListLocationsResponse - (*CreateLocationSecretRequest)(nil), // 70: viam.app.v1.CreateLocationSecretRequest - (*CreateLocationSecretResponse)(nil), // 71: viam.app.v1.CreateLocationSecretResponse - (*DeleteLocationSecretRequest)(nil), // 72: viam.app.v1.DeleteLocationSecretRequest - (*DeleteLocationSecretResponse)(nil), // 73: viam.app.v1.DeleteLocationSecretResponse - (*LocationAuthRequest)(nil), // 74: viam.app.v1.LocationAuthRequest - (*LocationAuthResponse)(nil), // 75: viam.app.v1.LocationAuthResponse - (*GetRobotRequest)(nil), // 76: viam.app.v1.GetRobotRequest - (*GetRoverRentalRobotsRequest)(nil), // 77: viam.app.v1.GetRoverRentalRobotsRequest - (*RoverRentalRobot)(nil), // 78: viam.app.v1.RoverRentalRobot - (*GetRoverRentalRobotsResponse)(nil), // 79: viam.app.v1.GetRoverRentalRobotsResponse - (*GetRobotResponse)(nil), // 80: viam.app.v1.GetRobotResponse - (*GetRobotPartsRequest)(nil), // 81: viam.app.v1.GetRobotPartsRequest - (*GetRobotPartsResponse)(nil), // 82: viam.app.v1.GetRobotPartsResponse - (*GetRobotPartRequest)(nil), // 83: viam.app.v1.GetRobotPartRequest - (*GetRobotPartResponse)(nil), // 84: viam.app.v1.GetRobotPartResponse - (*GetRobotPartLogsRequest)(nil), // 85: viam.app.v1.GetRobotPartLogsRequest - (*GetRobotPartLogsResponse)(nil), // 86: viam.app.v1.GetRobotPartLogsResponse - (*TailRobotPartLogsRequest)(nil), // 87: viam.app.v1.TailRobotPartLogsRequest - (*TailRobotPartLogsResponse)(nil), // 88: viam.app.v1.TailRobotPartLogsResponse - (*GetRobotPartHistoryRequest)(nil), // 89: viam.app.v1.GetRobotPartHistoryRequest - (*GetRobotPartHistoryResponse)(nil), // 90: viam.app.v1.GetRobotPartHistoryResponse - (*UpdateRobotPartRequest)(nil), // 91: viam.app.v1.UpdateRobotPartRequest - (*UpdateRobotPartResponse)(nil), // 92: viam.app.v1.UpdateRobotPartResponse - (*NewRobotPartRequest)(nil), // 93: viam.app.v1.NewRobotPartRequest - (*NewRobotPartResponse)(nil), // 94: viam.app.v1.NewRobotPartResponse - (*DeleteRobotPartRequest)(nil), // 95: viam.app.v1.DeleteRobotPartRequest - (*GetRobotAPIKeysRequest)(nil), // 96: viam.app.v1.GetRobotAPIKeysRequest - (*APIKey)(nil), // 97: viam.app.v1.APIKey - (*GetRobotAPIKeysResponse)(nil), // 98: viam.app.v1.GetRobotAPIKeysResponse - (*DeleteRobotPartResponse)(nil), // 99: viam.app.v1.DeleteRobotPartResponse - (*Fragment)(nil), // 100: viam.app.v1.Fragment - (*FragmentHistoryEntry)(nil), // 101: viam.app.v1.FragmentHistoryEntry - (*FragmentError)(nil), // 102: viam.app.v1.FragmentError - (*ResolvedFragment)(nil), // 103: viam.app.v1.ResolvedFragment - (*ListFragmentsRequest)(nil), // 104: viam.app.v1.ListFragmentsRequest - (*ListFragmentsResponse)(nil), // 105: viam.app.v1.ListFragmentsResponse - (*GetFragmentRequest)(nil), // 106: viam.app.v1.GetFragmentRequest - (*GetFragmentResponse)(nil), // 107: viam.app.v1.GetFragmentResponse - (*CreateFragmentRequest)(nil), // 108: viam.app.v1.CreateFragmentRequest - (*CreateFragmentResponse)(nil), // 109: viam.app.v1.CreateFragmentResponse - (*UpdateFragmentRequest)(nil), // 110: viam.app.v1.UpdateFragmentRequest - (*UpdateFragmentResponse)(nil), // 111: viam.app.v1.UpdateFragmentResponse - (*DeleteFragmentRequest)(nil), // 112: viam.app.v1.DeleteFragmentRequest - (*DeleteFragmentResponse)(nil), // 113: viam.app.v1.DeleteFragmentResponse - (*GetFragmentHistoryRequest)(nil), // 114: viam.app.v1.GetFragmentHistoryRequest - (*GetFragmentHistoryResponse)(nil), // 115: viam.app.v1.GetFragmentHistoryResponse - (*ListRobotsRequest)(nil), // 116: viam.app.v1.ListRobotsRequest - (*ListMachineFragmentsRequest)(nil), // 117: viam.app.v1.ListMachineFragmentsRequest - (*ListMachineFragmentsResponse)(nil), // 118: viam.app.v1.ListMachineFragmentsResponse - (*ListRobotsResponse)(nil), // 119: viam.app.v1.ListRobotsResponse - (*NewRobotRequest)(nil), // 120: viam.app.v1.NewRobotRequest - (*NewRobotResponse)(nil), // 121: viam.app.v1.NewRobotResponse - (*UpdateRobotRequest)(nil), // 122: viam.app.v1.UpdateRobotRequest - (*UpdateRobotResponse)(nil), // 123: viam.app.v1.UpdateRobotResponse - (*DeleteRobotRequest)(nil), // 124: viam.app.v1.DeleteRobotRequest - (*DeleteRobotResponse)(nil), // 125: viam.app.v1.DeleteRobotResponse - (*MarkPartAsMainRequest)(nil), // 126: viam.app.v1.MarkPartAsMainRequest - (*MarkPartAsMainResponse)(nil), // 127: viam.app.v1.MarkPartAsMainResponse - (*MarkPartForRestartRequest)(nil), // 128: viam.app.v1.MarkPartForRestartRequest - (*MarkPartForRestartResponse)(nil), // 129: viam.app.v1.MarkPartForRestartResponse - (*CreateRobotPartSecretRequest)(nil), // 130: viam.app.v1.CreateRobotPartSecretRequest - (*CreateRobotPartSecretResponse)(nil), // 131: viam.app.v1.CreateRobotPartSecretResponse - (*DeleteRobotPartSecretRequest)(nil), // 132: viam.app.v1.DeleteRobotPartSecretRequest - (*DeleteRobotPartSecretResponse)(nil), // 133: viam.app.v1.DeleteRobotPartSecretResponse - (*Authorization)(nil), // 134: viam.app.v1.Authorization - (*AddRoleRequest)(nil), // 135: viam.app.v1.AddRoleRequest - (*AddRoleResponse)(nil), // 136: viam.app.v1.AddRoleResponse - (*RemoveRoleRequest)(nil), // 137: viam.app.v1.RemoveRoleRequest - (*RemoveRoleResponse)(nil), // 138: viam.app.v1.RemoveRoleResponse - (*ChangeRoleRequest)(nil), // 139: viam.app.v1.ChangeRoleRequest - (*ChangeRoleResponse)(nil), // 140: viam.app.v1.ChangeRoleResponse - (*ListAuthorizationsRequest)(nil), // 141: viam.app.v1.ListAuthorizationsRequest - (*ListAuthorizationsResponse)(nil), // 142: viam.app.v1.ListAuthorizationsResponse - (*CheckPermissionsRequest)(nil), // 143: viam.app.v1.CheckPermissionsRequest - (*AuthorizedPermissions)(nil), // 144: viam.app.v1.AuthorizedPermissions - (*CheckPermissionsResponse)(nil), // 145: viam.app.v1.CheckPermissionsResponse - (*ModuleVersion)(nil), // 146: viam.app.v1.ModuleVersion - (*ModuleMetadata)(nil), // 147: viam.app.v1.ModuleMetadata - (*MLModelMetadata)(nil), // 148: viam.app.v1.MLModelMetadata - (*MLTrainingVersion)(nil), // 149: viam.app.v1.MLTrainingVersion - (*MLTrainingMetadata)(nil), // 150: viam.app.v1.MLTrainingMetadata - (*RegistryItem)(nil), // 151: viam.app.v1.RegistryItem - (*GetRegistryItemRequest)(nil), // 152: viam.app.v1.GetRegistryItemRequest - (*GetRegistryItemResponse)(nil), // 153: viam.app.v1.GetRegistryItemResponse - (*CreateRegistryItemRequest)(nil), // 154: viam.app.v1.CreateRegistryItemRequest - (*CreateRegistryItemResponse)(nil), // 155: viam.app.v1.CreateRegistryItemResponse - (*UpdateRegistryItemRequest)(nil), // 156: viam.app.v1.UpdateRegistryItemRequest - (*UpdateRegistryItemResponse)(nil), // 157: viam.app.v1.UpdateRegistryItemResponse - (*ListRegistryItemsRequest)(nil), // 158: viam.app.v1.ListRegistryItemsRequest - (*ListRegistryItemsResponse)(nil), // 159: viam.app.v1.ListRegistryItemsResponse - (*DeleteRegistryItemRequest)(nil), // 160: viam.app.v1.DeleteRegistryItemRequest - (*DeleteRegistryItemResponse)(nil), // 161: viam.app.v1.DeleteRegistryItemResponse - (*TransferRegistryItemRequest)(nil), // 162: viam.app.v1.TransferRegistryItemRequest - (*TransferRegistryItemResponse)(nil), // 163: viam.app.v1.TransferRegistryItemResponse - (*CreateModuleRequest)(nil), // 164: viam.app.v1.CreateModuleRequest - (*CreateModuleResponse)(nil), // 165: viam.app.v1.CreateModuleResponse - (*UpdateModuleRequest)(nil), // 166: viam.app.v1.UpdateModuleRequest - (*UpdateModuleResponse)(nil), // 167: viam.app.v1.UpdateModuleResponse - (*Model)(nil), // 168: viam.app.v1.Model - (*ModuleFileInfo)(nil), // 169: viam.app.v1.ModuleFileInfo - (*UploadModuleFileRequest)(nil), // 170: viam.app.v1.UploadModuleFileRequest - (*UploadModuleFileResponse)(nil), // 171: viam.app.v1.UploadModuleFileResponse - (*GetModuleRequest)(nil), // 172: viam.app.v1.GetModuleRequest - (*GetModuleResponse)(nil), // 173: viam.app.v1.GetModuleResponse - (*Module)(nil), // 174: viam.app.v1.Module - (*VersionHistory)(nil), // 175: viam.app.v1.VersionHistory - (*Uploads)(nil), // 176: viam.app.v1.Uploads - (*ListModulesRequest)(nil), // 177: viam.app.v1.ListModulesRequest - (*ListModulesResponse)(nil), // 178: viam.app.v1.ListModulesResponse - (*GetUserIDByEmailRequest)(nil), // 179: viam.app.v1.GetUserIDByEmailRequest - (*GetUserIDByEmailResponse)(nil), // 180: viam.app.v1.GetUserIDByEmailResponse - (*ListOrganizationsByUserRequest)(nil), // 181: viam.app.v1.ListOrganizationsByUserRequest - (*OrgDetails)(nil), // 182: viam.app.v1.OrgDetails - (*ListOrganizationsByUserResponse)(nil), // 183: viam.app.v1.ListOrganizationsByUserResponse - (*CreateKeyRequest)(nil), // 184: viam.app.v1.CreateKeyRequest - (*CreateKeyResponse)(nil), // 185: viam.app.v1.CreateKeyResponse - (*DeleteKeyRequest)(nil), // 186: viam.app.v1.DeleteKeyRequest - (*DeleteKeyResponse)(nil), // 187: viam.app.v1.DeleteKeyResponse - (*RenameKeyRequest)(nil), // 188: viam.app.v1.RenameKeyRequest - (*RenameKeyResponse)(nil), // 189: viam.app.v1.RenameKeyResponse - (*AuthorizationDetails)(nil), // 190: viam.app.v1.AuthorizationDetails - (*APIKeyWithAuthorizations)(nil), // 191: viam.app.v1.APIKeyWithAuthorizations - (*ListKeysRequest)(nil), // 192: viam.app.v1.ListKeysRequest - (*ListKeysResponse)(nil), // 193: viam.app.v1.ListKeysResponse - (*RotateKeyRequest)(nil), // 194: viam.app.v1.RotateKeyRequest - (*RotateKeyResponse)(nil), // 195: viam.app.v1.RotateKeyResponse - (*CreateKeyFromExistingKeyAuthorizationsRequest)(nil), // 196: viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest - (*CreateKeyFromExistingKeyAuthorizationsResponse)(nil), // 197: viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse - (*timestamppb.Timestamp)(nil), // 198: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 199: google.protobuf.Struct - (*v1.LogEntry)(nil), // 200: viam.common.v1.LogEntry - (v11.ModelType)(0), // 201: viam.app.mltraining.v1.ModelType - (v11.ModelFramework)(0), // 202: viam.app.mltraining.v1.ModelFramework - (v12.PackageType)(0), // 203: viam.app.packages.v1.PackageType + (*GetBillingServiceRequest)(nil), // 42: viam.app.v1.GetBillingServiceRequest + (*GetBillingServiceResponse)(nil), // 43: viam.app.v1.GetBillingServiceResponse + (*DisableBillingServiceRequest)(nil), // 44: viam.app.v1.DisableBillingServiceRequest + (*DisableBillingServiceResponse)(nil), // 45: viam.app.v1.DisableBillingServiceResponse + (*OrganizationSetSupportEmailRequest)(nil), // 46: viam.app.v1.OrganizationSetSupportEmailRequest + (*OrganizationSetSupportEmailResponse)(nil), // 47: viam.app.v1.OrganizationSetSupportEmailResponse + (*OrganizationGetSupportEmailRequest)(nil), // 48: viam.app.v1.OrganizationGetSupportEmailRequest + (*OrganizationGetSupportEmailResponse)(nil), // 49: viam.app.v1.OrganizationGetSupportEmailResponse + (*OrganizationIdentity)(nil), // 50: viam.app.v1.OrganizationIdentity + (*LocationOrganization)(nil), // 51: viam.app.v1.LocationOrganization + (*LocationAuth)(nil), // 52: viam.app.v1.LocationAuth + (*StorageConfig)(nil), // 53: viam.app.v1.StorageConfig + (*Location)(nil), // 54: viam.app.v1.Location + (*SharedSecret)(nil), // 55: viam.app.v1.SharedSecret + (*CreateLocationRequest)(nil), // 56: viam.app.v1.CreateLocationRequest + (*CreateLocationResponse)(nil), // 57: viam.app.v1.CreateLocationResponse + (*GetLocationRequest)(nil), // 58: viam.app.v1.GetLocationRequest + (*GetLocationResponse)(nil), // 59: viam.app.v1.GetLocationResponse + (*UpdateLocationRequest)(nil), // 60: viam.app.v1.UpdateLocationRequest + (*UpdateLocationResponse)(nil), // 61: viam.app.v1.UpdateLocationResponse + (*DeleteLocationRequest)(nil), // 62: viam.app.v1.DeleteLocationRequest + (*DeleteLocationResponse)(nil), // 63: viam.app.v1.DeleteLocationResponse + (*GetOrganizationsWithAccessToLocationRequest)(nil), // 64: viam.app.v1.GetOrganizationsWithAccessToLocationRequest + (*GetOrganizationsWithAccessToLocationResponse)(nil), // 65: viam.app.v1.GetOrganizationsWithAccessToLocationResponse + (*ListLocationsRequest)(nil), // 66: viam.app.v1.ListLocationsRequest + (*ShareLocationRequest)(nil), // 67: viam.app.v1.ShareLocationRequest + (*ShareLocationResponse)(nil), // 68: viam.app.v1.ShareLocationResponse + (*UnshareLocationRequest)(nil), // 69: viam.app.v1.UnshareLocationRequest + (*UnshareLocationResponse)(nil), // 70: viam.app.v1.UnshareLocationResponse + (*ListLocationsResponse)(nil), // 71: viam.app.v1.ListLocationsResponse + (*CreateLocationSecretRequest)(nil), // 72: viam.app.v1.CreateLocationSecretRequest + (*CreateLocationSecretResponse)(nil), // 73: viam.app.v1.CreateLocationSecretResponse + (*DeleteLocationSecretRequest)(nil), // 74: viam.app.v1.DeleteLocationSecretRequest + (*DeleteLocationSecretResponse)(nil), // 75: viam.app.v1.DeleteLocationSecretResponse + (*LocationAuthRequest)(nil), // 76: viam.app.v1.LocationAuthRequest + (*LocationAuthResponse)(nil), // 77: viam.app.v1.LocationAuthResponse + (*GetRobotRequest)(nil), // 78: viam.app.v1.GetRobotRequest + (*GetRoverRentalRobotsRequest)(nil), // 79: viam.app.v1.GetRoverRentalRobotsRequest + (*RoverRentalRobot)(nil), // 80: viam.app.v1.RoverRentalRobot + (*GetRoverRentalRobotsResponse)(nil), // 81: viam.app.v1.GetRoverRentalRobotsResponse + (*GetRobotResponse)(nil), // 82: viam.app.v1.GetRobotResponse + (*GetRobotPartsRequest)(nil), // 83: viam.app.v1.GetRobotPartsRequest + (*GetRobotPartsResponse)(nil), // 84: viam.app.v1.GetRobotPartsResponse + (*GetRobotPartRequest)(nil), // 85: viam.app.v1.GetRobotPartRequest + (*GetRobotPartResponse)(nil), // 86: viam.app.v1.GetRobotPartResponse + (*GetRobotPartLogsRequest)(nil), // 87: viam.app.v1.GetRobotPartLogsRequest + (*GetRobotPartLogsResponse)(nil), // 88: viam.app.v1.GetRobotPartLogsResponse + (*TailRobotPartLogsRequest)(nil), // 89: viam.app.v1.TailRobotPartLogsRequest + (*TailRobotPartLogsResponse)(nil), // 90: viam.app.v1.TailRobotPartLogsResponse + (*GetRobotPartHistoryRequest)(nil), // 91: viam.app.v1.GetRobotPartHistoryRequest + (*GetRobotPartHistoryResponse)(nil), // 92: viam.app.v1.GetRobotPartHistoryResponse + (*UpdateRobotPartRequest)(nil), // 93: viam.app.v1.UpdateRobotPartRequest + (*UpdateRobotPartResponse)(nil), // 94: viam.app.v1.UpdateRobotPartResponse + (*NewRobotPartRequest)(nil), // 95: viam.app.v1.NewRobotPartRequest + (*NewRobotPartResponse)(nil), // 96: viam.app.v1.NewRobotPartResponse + (*DeleteRobotPartRequest)(nil), // 97: viam.app.v1.DeleteRobotPartRequest + (*GetRobotAPIKeysRequest)(nil), // 98: viam.app.v1.GetRobotAPIKeysRequest + (*APIKey)(nil), // 99: viam.app.v1.APIKey + (*GetRobotAPIKeysResponse)(nil), // 100: viam.app.v1.GetRobotAPIKeysResponse + (*DeleteRobotPartResponse)(nil), // 101: viam.app.v1.DeleteRobotPartResponse + (*Fragment)(nil), // 102: viam.app.v1.Fragment + (*FragmentHistoryEntry)(nil), // 103: viam.app.v1.FragmentHistoryEntry + (*FragmentError)(nil), // 104: viam.app.v1.FragmentError + (*ResolvedFragment)(nil), // 105: viam.app.v1.ResolvedFragment + (*ListFragmentsRequest)(nil), // 106: viam.app.v1.ListFragmentsRequest + (*ListFragmentsResponse)(nil), // 107: viam.app.v1.ListFragmentsResponse + (*GetFragmentRequest)(nil), // 108: viam.app.v1.GetFragmentRequest + (*GetFragmentResponse)(nil), // 109: viam.app.v1.GetFragmentResponse + (*CreateFragmentRequest)(nil), // 110: viam.app.v1.CreateFragmentRequest + (*CreateFragmentResponse)(nil), // 111: viam.app.v1.CreateFragmentResponse + (*UpdateFragmentRequest)(nil), // 112: viam.app.v1.UpdateFragmentRequest + (*UpdateFragmentResponse)(nil), // 113: viam.app.v1.UpdateFragmentResponse + (*DeleteFragmentRequest)(nil), // 114: viam.app.v1.DeleteFragmentRequest + (*DeleteFragmentResponse)(nil), // 115: viam.app.v1.DeleteFragmentResponse + (*GetFragmentHistoryRequest)(nil), // 116: viam.app.v1.GetFragmentHistoryRequest + (*GetFragmentHistoryResponse)(nil), // 117: viam.app.v1.GetFragmentHistoryResponse + (*ListRobotsRequest)(nil), // 118: viam.app.v1.ListRobotsRequest + (*ListMachineFragmentsRequest)(nil), // 119: viam.app.v1.ListMachineFragmentsRequest + (*ListMachineFragmentsResponse)(nil), // 120: viam.app.v1.ListMachineFragmentsResponse + (*ListRobotsResponse)(nil), // 121: viam.app.v1.ListRobotsResponse + (*NewRobotRequest)(nil), // 122: viam.app.v1.NewRobotRequest + (*NewRobotResponse)(nil), // 123: viam.app.v1.NewRobotResponse + (*UpdateRobotRequest)(nil), // 124: viam.app.v1.UpdateRobotRequest + (*UpdateRobotResponse)(nil), // 125: viam.app.v1.UpdateRobotResponse + (*DeleteRobotRequest)(nil), // 126: viam.app.v1.DeleteRobotRequest + (*DeleteRobotResponse)(nil), // 127: viam.app.v1.DeleteRobotResponse + (*MarkPartAsMainRequest)(nil), // 128: viam.app.v1.MarkPartAsMainRequest + (*MarkPartAsMainResponse)(nil), // 129: viam.app.v1.MarkPartAsMainResponse + (*MarkPartForRestartRequest)(nil), // 130: viam.app.v1.MarkPartForRestartRequest + (*MarkPartForRestartResponse)(nil), // 131: viam.app.v1.MarkPartForRestartResponse + (*CreateRobotPartSecretRequest)(nil), // 132: viam.app.v1.CreateRobotPartSecretRequest + (*CreateRobotPartSecretResponse)(nil), // 133: viam.app.v1.CreateRobotPartSecretResponse + (*DeleteRobotPartSecretRequest)(nil), // 134: viam.app.v1.DeleteRobotPartSecretRequest + (*DeleteRobotPartSecretResponse)(nil), // 135: viam.app.v1.DeleteRobotPartSecretResponse + (*Authorization)(nil), // 136: viam.app.v1.Authorization + (*AddRoleRequest)(nil), // 137: viam.app.v1.AddRoleRequest + (*AddRoleResponse)(nil), // 138: viam.app.v1.AddRoleResponse + (*RemoveRoleRequest)(nil), // 139: viam.app.v1.RemoveRoleRequest + (*RemoveRoleResponse)(nil), // 140: viam.app.v1.RemoveRoleResponse + (*ChangeRoleRequest)(nil), // 141: viam.app.v1.ChangeRoleRequest + (*ChangeRoleResponse)(nil), // 142: viam.app.v1.ChangeRoleResponse + (*ListAuthorizationsRequest)(nil), // 143: viam.app.v1.ListAuthorizationsRequest + (*ListAuthorizationsResponse)(nil), // 144: viam.app.v1.ListAuthorizationsResponse + (*CheckPermissionsRequest)(nil), // 145: viam.app.v1.CheckPermissionsRequest + (*AuthorizedPermissions)(nil), // 146: viam.app.v1.AuthorizedPermissions + (*CheckPermissionsResponse)(nil), // 147: viam.app.v1.CheckPermissionsResponse + (*ModuleVersion)(nil), // 148: viam.app.v1.ModuleVersion + (*ModuleMetadata)(nil), // 149: viam.app.v1.ModuleMetadata + (*MLModelMetadata)(nil), // 150: viam.app.v1.MLModelMetadata + (*MLTrainingVersion)(nil), // 151: viam.app.v1.MLTrainingVersion + (*MLTrainingMetadata)(nil), // 152: viam.app.v1.MLTrainingMetadata + (*RegistryItem)(nil), // 153: viam.app.v1.RegistryItem + (*GetRegistryItemRequest)(nil), // 154: viam.app.v1.GetRegistryItemRequest + (*GetRegistryItemResponse)(nil), // 155: viam.app.v1.GetRegistryItemResponse + (*CreateRegistryItemRequest)(nil), // 156: viam.app.v1.CreateRegistryItemRequest + (*CreateRegistryItemResponse)(nil), // 157: viam.app.v1.CreateRegistryItemResponse + (*UpdateRegistryItemRequest)(nil), // 158: viam.app.v1.UpdateRegistryItemRequest + (*UpdateRegistryItemResponse)(nil), // 159: viam.app.v1.UpdateRegistryItemResponse + (*ListRegistryItemsRequest)(nil), // 160: viam.app.v1.ListRegistryItemsRequest + (*ListRegistryItemsResponse)(nil), // 161: viam.app.v1.ListRegistryItemsResponse + (*DeleteRegistryItemRequest)(nil), // 162: viam.app.v1.DeleteRegistryItemRequest + (*DeleteRegistryItemResponse)(nil), // 163: viam.app.v1.DeleteRegistryItemResponse + (*TransferRegistryItemRequest)(nil), // 164: viam.app.v1.TransferRegistryItemRequest + (*TransferRegistryItemResponse)(nil), // 165: viam.app.v1.TransferRegistryItemResponse + (*CreateModuleRequest)(nil), // 166: viam.app.v1.CreateModuleRequest + (*CreateModuleResponse)(nil), // 167: viam.app.v1.CreateModuleResponse + (*UpdateModuleRequest)(nil), // 168: viam.app.v1.UpdateModuleRequest + (*UpdateModuleResponse)(nil), // 169: viam.app.v1.UpdateModuleResponse + (*Model)(nil), // 170: viam.app.v1.Model + (*ModuleFileInfo)(nil), // 171: viam.app.v1.ModuleFileInfo + (*UploadModuleFileRequest)(nil), // 172: viam.app.v1.UploadModuleFileRequest + (*UploadModuleFileResponse)(nil), // 173: viam.app.v1.UploadModuleFileResponse + (*GetModuleRequest)(nil), // 174: viam.app.v1.GetModuleRequest + (*GetModuleResponse)(nil), // 175: viam.app.v1.GetModuleResponse + (*Module)(nil), // 176: viam.app.v1.Module + (*VersionHistory)(nil), // 177: viam.app.v1.VersionHistory + (*Uploads)(nil), // 178: viam.app.v1.Uploads + (*ListModulesRequest)(nil), // 179: viam.app.v1.ListModulesRequest + (*ListModulesResponse)(nil), // 180: viam.app.v1.ListModulesResponse + (*GetUserIDByEmailRequest)(nil), // 181: viam.app.v1.GetUserIDByEmailRequest + (*GetUserIDByEmailResponse)(nil), // 182: viam.app.v1.GetUserIDByEmailResponse + (*ListOrganizationsByUserRequest)(nil), // 183: viam.app.v1.ListOrganizationsByUserRequest + (*OrgDetails)(nil), // 184: viam.app.v1.OrgDetails + (*ListOrganizationsByUserResponse)(nil), // 185: viam.app.v1.ListOrganizationsByUserResponse + (*CreateKeyRequest)(nil), // 186: viam.app.v1.CreateKeyRequest + (*CreateKeyResponse)(nil), // 187: viam.app.v1.CreateKeyResponse + (*DeleteKeyRequest)(nil), // 188: viam.app.v1.DeleteKeyRequest + (*DeleteKeyResponse)(nil), // 189: viam.app.v1.DeleteKeyResponse + (*RenameKeyRequest)(nil), // 190: viam.app.v1.RenameKeyRequest + (*RenameKeyResponse)(nil), // 191: viam.app.v1.RenameKeyResponse + (*AuthorizationDetails)(nil), // 192: viam.app.v1.AuthorizationDetails + (*APIKeyWithAuthorizations)(nil), // 193: viam.app.v1.APIKeyWithAuthorizations + (*ListKeysRequest)(nil), // 194: viam.app.v1.ListKeysRequest + (*ListKeysResponse)(nil), // 195: viam.app.v1.ListKeysResponse + (*RotateKeyRequest)(nil), // 196: viam.app.v1.RotateKeyRequest + (*RotateKeyResponse)(nil), // 197: viam.app.v1.RotateKeyResponse + (*CreateKeyFromExistingKeyAuthorizationsRequest)(nil), // 198: viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest + (*CreateKeyFromExistingKeyAuthorizationsResponse)(nil), // 199: viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse + (*timestamppb.Timestamp)(nil), // 200: google.protobuf.Timestamp + (*structpb.Struct)(nil), // 201: google.protobuf.Struct + (*v1.LogEntry)(nil), // 202: viam.common.v1.LogEntry + (v11.ModelType)(0), // 203: viam.app.mltraining.v1.ModelType + (v11.ModelFramework)(0), // 204: viam.app.mltraining.v1.ModelFramework + (v12.PackageType)(0), // 205: viam.app.packages.v1.PackageType } var file_app_v1_app_proto_depIdxs = []int32{ - 198, // 0: viam.app.v1.Robot.last_access:type_name -> google.protobuf.Timestamp - 198, // 1: viam.app.v1.Robot.created_on:type_name -> google.protobuf.Timestamp - 199, // 2: viam.app.v1.RobotPart.robot_config:type_name -> google.protobuf.Struct - 198, // 3: viam.app.v1.RobotPart.last_access:type_name -> google.protobuf.Timestamp - 199, // 4: viam.app.v1.RobotPart.user_supplied_info:type_name -> google.protobuf.Struct - 198, // 5: viam.app.v1.RobotPart.created_on:type_name -> google.protobuf.Timestamp - 53, // 6: viam.app.v1.RobotPart.secrets:type_name -> viam.app.v1.SharedSecret - 198, // 7: viam.app.v1.RobotPart.last_updated:type_name -> google.protobuf.Timestamp - 198, // 8: viam.app.v1.RobotPartHistoryEntry.when:type_name -> google.protobuf.Timestamp + 200, // 0: viam.app.v1.Robot.last_access:type_name -> google.protobuf.Timestamp + 200, // 1: viam.app.v1.Robot.created_on:type_name -> google.protobuf.Timestamp + 201, // 2: viam.app.v1.RobotPart.robot_config:type_name -> google.protobuf.Struct + 200, // 3: viam.app.v1.RobotPart.last_access:type_name -> google.protobuf.Timestamp + 201, // 4: viam.app.v1.RobotPart.user_supplied_info:type_name -> google.protobuf.Struct + 200, // 5: viam.app.v1.RobotPart.created_on:type_name -> google.protobuf.Timestamp + 55, // 6: viam.app.v1.RobotPart.secrets:type_name -> viam.app.v1.SharedSecret + 200, // 7: viam.app.v1.RobotPart.last_updated:type_name -> google.protobuf.Timestamp + 200, // 8: viam.app.v1.RobotPartHistoryEntry.when:type_name -> google.protobuf.Timestamp 7, // 9: viam.app.v1.RobotPartHistoryEntry.old:type_name -> viam.app.v1.RobotPart 9, // 10: viam.app.v1.RobotPartHistoryEntry.edited_by:type_name -> viam.app.v1.AuthenticatorInfo 0, // 11: viam.app.v1.AuthenticatorInfo.type:type_name -> viam.app.v1.AuthenticationType - 198, // 12: viam.app.v1.Organization.created_on:type_name -> google.protobuf.Timestamp - 198, // 13: viam.app.v1.OrganizationMember.date_added:type_name -> google.protobuf.Timestamp - 198, // 14: viam.app.v1.OrganizationMember.last_login:type_name -> google.protobuf.Timestamp + 200, // 12: viam.app.v1.Organization.created_on:type_name -> google.protobuf.Timestamp + 200, // 13: viam.app.v1.OrganizationMember.date_added:type_name -> google.protobuf.Timestamp + 200, // 14: viam.app.v1.OrganizationMember.last_login:type_name -> google.protobuf.Timestamp 11, // 15: viam.app.v1.ListOrganizationsResponse.organizations:type_name -> viam.app.v1.Organization - 198, // 16: viam.app.v1.OrganizationInvite.created_on:type_name -> google.protobuf.Timestamp - 134, // 17: viam.app.v1.OrganizationInvite.authorizations:type_name -> viam.app.v1.Authorization + 200, // 16: viam.app.v1.OrganizationInvite.created_on:type_name -> google.protobuf.Timestamp + 136, // 17: viam.app.v1.OrganizationInvite.authorizations:type_name -> viam.app.v1.Authorization 11, // 18: viam.app.v1.CreateOrganizationResponse.organization:type_name -> viam.app.v1.Organization 11, // 19: viam.app.v1.GetOrganizationResponse.organization:type_name -> viam.app.v1.Organization 11, // 20: viam.app.v1.UpdateOrganizationResponse.organization:type_name -> viam.app.v1.Organization 12, // 21: viam.app.v1.ListOrganizationMembersResponse.members:type_name -> viam.app.v1.OrganizationMember 14, // 22: viam.app.v1.ListOrganizationMembersResponse.invites:type_name -> viam.app.v1.OrganizationInvite - 134, // 23: viam.app.v1.CreateOrganizationInviteRequest.authorizations:type_name -> viam.app.v1.Authorization + 136, // 23: viam.app.v1.CreateOrganizationInviteRequest.authorizations:type_name -> viam.app.v1.Authorization 14, // 24: viam.app.v1.CreateOrganizationInviteResponse.invite:type_name -> viam.app.v1.OrganizationInvite - 134, // 25: viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.add_authorizations:type_name -> viam.app.v1.Authorization - 134, // 26: viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.remove_authorizations:type_name -> viam.app.v1.Authorization + 136, // 25: viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.add_authorizations:type_name -> viam.app.v1.Authorization + 136, // 26: viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.remove_authorizations:type_name -> viam.app.v1.Authorization 14, // 27: viam.app.v1.UpdateOrganizationInviteAuthorizationsResponse.invite:type_name -> viam.app.v1.OrganizationInvite 14, // 28: viam.app.v1.ResendOrganizationInviteResponse.invite:type_name -> viam.app.v1.OrganizationInvite 37, // 29: viam.app.v1.EnableBillingServiceRequest.billing_address:type_name -> viam.app.v1.BillingAddress 37, // 30: viam.app.v1.UpdateBillingServiceRequest.billing_address:type_name -> viam.app.v1.BillingAddress - 53, // 31: viam.app.v1.LocationAuth.secrets:type_name -> viam.app.v1.SharedSecret - 50, // 32: viam.app.v1.Location.auth:type_name -> viam.app.v1.LocationAuth - 49, // 33: viam.app.v1.Location.organizations:type_name -> viam.app.v1.LocationOrganization - 198, // 34: viam.app.v1.Location.created_on:type_name -> google.protobuf.Timestamp - 51, // 35: viam.app.v1.Location.config:type_name -> viam.app.v1.StorageConfig - 198, // 36: viam.app.v1.SharedSecret.created_on:type_name -> google.protobuf.Timestamp - 5, // 37: viam.app.v1.SharedSecret.state:type_name -> viam.app.v1.SharedSecret.State - 52, // 38: viam.app.v1.CreateLocationResponse.location:type_name -> viam.app.v1.Location - 52, // 39: viam.app.v1.GetLocationResponse.location:type_name -> viam.app.v1.Location - 52, // 40: viam.app.v1.UpdateLocationResponse.location:type_name -> viam.app.v1.Location - 48, // 41: viam.app.v1.GetOrganizationsWithAccessToLocationResponse.organization_identities:type_name -> viam.app.v1.OrganizationIdentity - 52, // 42: viam.app.v1.ListLocationsResponse.locations:type_name -> viam.app.v1.Location - 50, // 43: viam.app.v1.CreateLocationSecretResponse.auth:type_name -> viam.app.v1.LocationAuth - 50, // 44: viam.app.v1.LocationAuthResponse.auth:type_name -> viam.app.v1.LocationAuth - 78, // 45: viam.app.v1.GetRoverRentalRobotsResponse.robots:type_name -> viam.app.v1.RoverRentalRobot - 6, // 46: viam.app.v1.GetRobotResponse.robot:type_name -> viam.app.v1.Robot - 7, // 47: viam.app.v1.GetRobotPartsResponse.parts:type_name -> viam.app.v1.RobotPart - 7, // 48: viam.app.v1.GetRobotPartResponse.part:type_name -> viam.app.v1.RobotPart - 198, // 49: viam.app.v1.GetRobotPartLogsRequest.start:type_name -> google.protobuf.Timestamp - 198, // 50: viam.app.v1.GetRobotPartLogsRequest.end:type_name -> google.protobuf.Timestamp - 200, // 51: viam.app.v1.GetRobotPartLogsResponse.logs:type_name -> viam.common.v1.LogEntry - 200, // 52: viam.app.v1.TailRobotPartLogsResponse.logs:type_name -> viam.common.v1.LogEntry - 8, // 53: viam.app.v1.GetRobotPartHistoryResponse.history:type_name -> viam.app.v1.RobotPartHistoryEntry - 199, // 54: viam.app.v1.UpdateRobotPartRequest.robot_config:type_name -> google.protobuf.Struct - 7, // 55: viam.app.v1.UpdateRobotPartResponse.part:type_name -> viam.app.v1.RobotPart - 198, // 56: viam.app.v1.APIKey.created_on:type_name -> google.protobuf.Timestamp - 191, // 57: viam.app.v1.GetRobotAPIKeysResponse.api_keys:type_name -> viam.app.v1.APIKeyWithAuthorizations - 199, // 58: viam.app.v1.Fragment.fragment:type_name -> google.protobuf.Struct - 198, // 59: viam.app.v1.Fragment.created_on:type_name -> google.protobuf.Timestamp - 1, // 60: viam.app.v1.Fragment.visibility:type_name -> viam.app.v1.FragmentVisibility - 198, // 61: viam.app.v1.Fragment.last_updated:type_name -> google.protobuf.Timestamp - 198, // 62: viam.app.v1.FragmentHistoryEntry.edited_on:type_name -> google.protobuf.Timestamp - 100, // 63: viam.app.v1.FragmentHistoryEntry.old:type_name -> viam.app.v1.Fragment - 9, // 64: viam.app.v1.FragmentHistoryEntry.edited_by:type_name -> viam.app.v1.AuthenticatorInfo - 2, // 65: viam.app.v1.FragmentError.error_type:type_name -> viam.app.v1.FragmentErrorType - 199, // 66: viam.app.v1.ResolvedFragment.resolved_config:type_name -> google.protobuf.Struct - 102, // 67: viam.app.v1.ResolvedFragment.error:type_name -> viam.app.v1.FragmentError - 1, // 68: viam.app.v1.ListFragmentsRequest.fragment_visibility:type_name -> viam.app.v1.FragmentVisibility - 100, // 69: viam.app.v1.ListFragmentsResponse.fragments:type_name -> viam.app.v1.Fragment - 100, // 70: viam.app.v1.GetFragmentResponse.fragment:type_name -> viam.app.v1.Fragment - 199, // 71: viam.app.v1.CreateFragmentRequest.config:type_name -> google.protobuf.Struct - 1, // 72: viam.app.v1.CreateFragmentRequest.visibility:type_name -> viam.app.v1.FragmentVisibility - 100, // 73: viam.app.v1.CreateFragmentResponse.fragment:type_name -> viam.app.v1.Fragment - 199, // 74: viam.app.v1.UpdateFragmentRequest.config:type_name -> google.protobuf.Struct - 1, // 75: viam.app.v1.UpdateFragmentRequest.visibility:type_name -> viam.app.v1.FragmentVisibility - 100, // 76: viam.app.v1.UpdateFragmentResponse.fragment:type_name -> viam.app.v1.Fragment - 101, // 77: viam.app.v1.GetFragmentHistoryResponse.history:type_name -> viam.app.v1.FragmentHistoryEntry - 100, // 78: viam.app.v1.ListMachineFragmentsResponse.fragments:type_name -> viam.app.v1.Fragment - 103, // 79: viam.app.v1.ListMachineFragmentsResponse.resolved_fragments:type_name -> viam.app.v1.ResolvedFragment - 6, // 80: viam.app.v1.ListRobotsResponse.robots:type_name -> viam.app.v1.Robot - 6, // 81: viam.app.v1.UpdateRobotResponse.robot:type_name -> viam.app.v1.Robot - 7, // 82: viam.app.v1.CreateRobotPartSecretResponse.part:type_name -> viam.app.v1.RobotPart - 134, // 83: viam.app.v1.AddRoleRequest.authorization:type_name -> viam.app.v1.Authorization - 134, // 84: viam.app.v1.RemoveRoleRequest.authorization:type_name -> viam.app.v1.Authorization - 134, // 85: viam.app.v1.ChangeRoleRequest.old_authorization:type_name -> viam.app.v1.Authorization - 134, // 86: viam.app.v1.ChangeRoleRequest.new_authorization:type_name -> viam.app.v1.Authorization - 134, // 87: viam.app.v1.ListAuthorizationsResponse.authorizations:type_name -> viam.app.v1.Authorization - 144, // 88: viam.app.v1.CheckPermissionsRequest.permissions:type_name -> viam.app.v1.AuthorizedPermissions - 144, // 89: viam.app.v1.CheckPermissionsResponse.authorized_permissions:type_name -> viam.app.v1.AuthorizedPermissions - 176, // 90: viam.app.v1.ModuleVersion.files:type_name -> viam.app.v1.Uploads - 168, // 91: viam.app.v1.ModuleVersion.models:type_name -> viam.app.v1.Model - 168, // 92: viam.app.v1.ModuleMetadata.models:type_name -> viam.app.v1.Model - 146, // 93: viam.app.v1.ModuleMetadata.versions:type_name -> viam.app.v1.ModuleVersion - 201, // 94: viam.app.v1.MLModelMetadata.model_type:type_name -> viam.app.mltraining.v1.ModelType - 202, // 95: viam.app.v1.MLModelMetadata.model_framework:type_name -> viam.app.mltraining.v1.ModelFramework - 198, // 96: viam.app.v1.MLTrainingVersion.created_on:type_name -> google.protobuf.Timestamp - 149, // 97: viam.app.v1.MLTrainingMetadata.versions:type_name -> viam.app.v1.MLTrainingVersion - 201, // 98: viam.app.v1.MLTrainingMetadata.model_type:type_name -> viam.app.mltraining.v1.ModelType - 202, // 99: viam.app.v1.MLTrainingMetadata.model_framework:type_name -> viam.app.mltraining.v1.ModelFramework - 203, // 100: viam.app.v1.RegistryItem.type:type_name -> viam.app.packages.v1.PackageType - 4, // 101: viam.app.v1.RegistryItem.visibility:type_name -> viam.app.v1.Visibility - 147, // 102: viam.app.v1.RegistryItem.module_metadata:type_name -> viam.app.v1.ModuleMetadata - 148, // 103: viam.app.v1.RegistryItem.ml_model_metadata:type_name -> viam.app.v1.MLModelMetadata - 150, // 104: viam.app.v1.RegistryItem.ml_training_metadata:type_name -> viam.app.v1.MLTrainingMetadata - 198, // 105: viam.app.v1.RegistryItem.created_at:type_name -> google.protobuf.Timestamp - 198, // 106: viam.app.v1.RegistryItem.updated_at:type_name -> google.protobuf.Timestamp - 151, // 107: viam.app.v1.GetRegistryItemResponse.item:type_name -> viam.app.v1.RegistryItem - 203, // 108: viam.app.v1.CreateRegistryItemRequest.type:type_name -> viam.app.packages.v1.PackageType - 203, // 109: viam.app.v1.UpdateRegistryItemRequest.type:type_name -> viam.app.packages.v1.PackageType - 4, // 110: viam.app.v1.UpdateRegistryItemRequest.visibility:type_name -> viam.app.v1.Visibility - 203, // 111: viam.app.v1.ListRegistryItemsRequest.types:type_name -> viam.app.packages.v1.PackageType - 4, // 112: viam.app.v1.ListRegistryItemsRequest.visibilities:type_name -> viam.app.v1.Visibility - 3, // 113: viam.app.v1.ListRegistryItemsRequest.statuses:type_name -> viam.app.v1.RegistryItemStatus - 151, // 114: viam.app.v1.ListRegistryItemsResponse.items:type_name -> viam.app.v1.RegistryItem - 4, // 115: viam.app.v1.UpdateModuleRequest.visibility:type_name -> viam.app.v1.Visibility - 168, // 116: viam.app.v1.UpdateModuleRequest.models:type_name -> viam.app.v1.Model - 169, // 117: viam.app.v1.UploadModuleFileRequest.module_file_info:type_name -> viam.app.v1.ModuleFileInfo - 174, // 118: viam.app.v1.GetModuleResponse.module:type_name -> viam.app.v1.Module - 4, // 119: viam.app.v1.Module.visibility:type_name -> viam.app.v1.Visibility - 175, // 120: viam.app.v1.Module.versions:type_name -> viam.app.v1.VersionHistory - 168, // 121: viam.app.v1.Module.models:type_name -> viam.app.v1.Model - 176, // 122: viam.app.v1.VersionHistory.files:type_name -> viam.app.v1.Uploads - 168, // 123: viam.app.v1.VersionHistory.models:type_name -> viam.app.v1.Model - 198, // 124: viam.app.v1.Uploads.uploaded_at:type_name -> google.protobuf.Timestamp - 174, // 125: viam.app.v1.ListModulesResponse.modules:type_name -> viam.app.v1.Module - 182, // 126: viam.app.v1.ListOrganizationsByUserResponse.orgs:type_name -> viam.app.v1.OrgDetails - 134, // 127: viam.app.v1.CreateKeyRequest.authorizations:type_name -> viam.app.v1.Authorization - 97, // 128: viam.app.v1.APIKeyWithAuthorizations.api_key:type_name -> viam.app.v1.APIKey - 190, // 129: viam.app.v1.APIKeyWithAuthorizations.authorizations:type_name -> viam.app.v1.AuthorizationDetails - 191, // 130: viam.app.v1.ListKeysResponse.api_keys:type_name -> viam.app.v1.APIKeyWithAuthorizations - 179, // 131: viam.app.v1.AppService.GetUserIDByEmail:input_type -> viam.app.v1.GetUserIDByEmailRequest - 15, // 132: viam.app.v1.AppService.CreateOrganization:input_type -> viam.app.v1.CreateOrganizationRequest - 10, // 133: viam.app.v1.AppService.ListOrganizations:input_type -> viam.app.v1.ListOrganizationsRequest - 62, // 134: viam.app.v1.AppService.GetOrganizationsWithAccessToLocation:input_type -> viam.app.v1.GetOrganizationsWithAccessToLocationRequest - 181, // 135: viam.app.v1.AppService.ListOrganizationsByUser:input_type -> viam.app.v1.ListOrganizationsByUserRequest - 17, // 136: viam.app.v1.AppService.GetOrganization:input_type -> viam.app.v1.GetOrganizationRequest - 19, // 137: viam.app.v1.AppService.GetOrganizationNamespaceAvailability:input_type -> viam.app.v1.GetOrganizationNamespaceAvailabilityRequest - 21, // 138: viam.app.v1.AppService.UpdateOrganization:input_type -> viam.app.v1.UpdateOrganizationRequest - 23, // 139: viam.app.v1.AppService.DeleteOrganization:input_type -> viam.app.v1.DeleteOrganizationRequest - 25, // 140: viam.app.v1.AppService.ListOrganizationMembers:input_type -> viam.app.v1.ListOrganizationMembersRequest - 27, // 141: viam.app.v1.AppService.CreateOrganizationInvite:input_type -> viam.app.v1.CreateOrganizationInviteRequest - 29, // 142: viam.app.v1.AppService.UpdateOrganizationInviteAuthorizations:input_type -> viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest - 35, // 143: viam.app.v1.AppService.DeleteOrganizationMember:input_type -> viam.app.v1.DeleteOrganizationMemberRequest - 31, // 144: viam.app.v1.AppService.DeleteOrganizationInvite:input_type -> viam.app.v1.DeleteOrganizationInviteRequest - 33, // 145: viam.app.v1.AppService.ResendOrganizationInvite:input_type -> viam.app.v1.ResendOrganizationInviteRequest - 38, // 146: viam.app.v1.AppService.EnableBillingService:input_type -> viam.app.v1.EnableBillingServiceRequest - 42, // 147: viam.app.v1.AppService.DisableBillingService:input_type -> viam.app.v1.DisableBillingServiceRequest - 40, // 148: viam.app.v1.AppService.UpdateBillingService:input_type -> viam.app.v1.UpdateBillingServiceRequest - 44, // 149: viam.app.v1.AppService.OrganizationSetSupportEmail:input_type -> viam.app.v1.OrganizationSetSupportEmailRequest - 46, // 150: viam.app.v1.AppService.OrganizationGetSupportEmail:input_type -> viam.app.v1.OrganizationGetSupportEmailRequest - 54, // 151: viam.app.v1.AppService.CreateLocation:input_type -> viam.app.v1.CreateLocationRequest - 56, // 152: viam.app.v1.AppService.GetLocation:input_type -> viam.app.v1.GetLocationRequest - 58, // 153: viam.app.v1.AppService.UpdateLocation:input_type -> viam.app.v1.UpdateLocationRequest - 60, // 154: viam.app.v1.AppService.DeleteLocation:input_type -> viam.app.v1.DeleteLocationRequest - 64, // 155: viam.app.v1.AppService.ListLocations:input_type -> viam.app.v1.ListLocationsRequest - 65, // 156: viam.app.v1.AppService.ShareLocation:input_type -> viam.app.v1.ShareLocationRequest - 67, // 157: viam.app.v1.AppService.UnshareLocation:input_type -> viam.app.v1.UnshareLocationRequest - 74, // 158: viam.app.v1.AppService.LocationAuth:input_type -> viam.app.v1.LocationAuthRequest - 70, // 159: viam.app.v1.AppService.CreateLocationSecret:input_type -> viam.app.v1.CreateLocationSecretRequest - 72, // 160: viam.app.v1.AppService.DeleteLocationSecret:input_type -> viam.app.v1.DeleteLocationSecretRequest - 76, // 161: viam.app.v1.AppService.GetRobot:input_type -> viam.app.v1.GetRobotRequest - 77, // 162: viam.app.v1.AppService.GetRoverRentalRobots:input_type -> viam.app.v1.GetRoverRentalRobotsRequest - 81, // 163: viam.app.v1.AppService.GetRobotParts:input_type -> viam.app.v1.GetRobotPartsRequest - 83, // 164: viam.app.v1.AppService.GetRobotPart:input_type -> viam.app.v1.GetRobotPartRequest - 85, // 165: viam.app.v1.AppService.GetRobotPartLogs:input_type -> viam.app.v1.GetRobotPartLogsRequest - 87, // 166: viam.app.v1.AppService.TailRobotPartLogs:input_type -> viam.app.v1.TailRobotPartLogsRequest - 89, // 167: viam.app.v1.AppService.GetRobotPartHistory:input_type -> viam.app.v1.GetRobotPartHistoryRequest - 91, // 168: viam.app.v1.AppService.UpdateRobotPart:input_type -> viam.app.v1.UpdateRobotPartRequest - 93, // 169: viam.app.v1.AppService.NewRobotPart:input_type -> viam.app.v1.NewRobotPartRequest - 95, // 170: viam.app.v1.AppService.DeleteRobotPart:input_type -> viam.app.v1.DeleteRobotPartRequest - 96, // 171: viam.app.v1.AppService.GetRobotAPIKeys:input_type -> viam.app.v1.GetRobotAPIKeysRequest - 126, // 172: viam.app.v1.AppService.MarkPartAsMain:input_type -> viam.app.v1.MarkPartAsMainRequest - 128, // 173: viam.app.v1.AppService.MarkPartForRestart:input_type -> viam.app.v1.MarkPartForRestartRequest - 130, // 174: viam.app.v1.AppService.CreateRobotPartSecret:input_type -> viam.app.v1.CreateRobotPartSecretRequest - 132, // 175: viam.app.v1.AppService.DeleteRobotPartSecret:input_type -> viam.app.v1.DeleteRobotPartSecretRequest - 116, // 176: viam.app.v1.AppService.ListRobots:input_type -> viam.app.v1.ListRobotsRequest - 120, // 177: viam.app.v1.AppService.NewRobot:input_type -> viam.app.v1.NewRobotRequest - 122, // 178: viam.app.v1.AppService.UpdateRobot:input_type -> viam.app.v1.UpdateRobotRequest - 124, // 179: viam.app.v1.AppService.DeleteRobot:input_type -> viam.app.v1.DeleteRobotRequest - 104, // 180: viam.app.v1.AppService.ListFragments:input_type -> viam.app.v1.ListFragmentsRequest - 106, // 181: viam.app.v1.AppService.GetFragment:input_type -> viam.app.v1.GetFragmentRequest - 108, // 182: viam.app.v1.AppService.CreateFragment:input_type -> viam.app.v1.CreateFragmentRequest - 110, // 183: viam.app.v1.AppService.UpdateFragment:input_type -> viam.app.v1.UpdateFragmentRequest - 112, // 184: viam.app.v1.AppService.DeleteFragment:input_type -> viam.app.v1.DeleteFragmentRequest - 117, // 185: viam.app.v1.AppService.ListMachineFragments:input_type -> viam.app.v1.ListMachineFragmentsRequest - 114, // 186: viam.app.v1.AppService.GetFragmentHistory:input_type -> viam.app.v1.GetFragmentHistoryRequest - 135, // 187: viam.app.v1.AppService.AddRole:input_type -> viam.app.v1.AddRoleRequest - 137, // 188: viam.app.v1.AppService.RemoveRole:input_type -> viam.app.v1.RemoveRoleRequest - 139, // 189: viam.app.v1.AppService.ChangeRole:input_type -> viam.app.v1.ChangeRoleRequest - 141, // 190: viam.app.v1.AppService.ListAuthorizations:input_type -> viam.app.v1.ListAuthorizationsRequest - 143, // 191: viam.app.v1.AppService.CheckPermissions:input_type -> viam.app.v1.CheckPermissionsRequest - 152, // 192: viam.app.v1.AppService.GetRegistryItem:input_type -> viam.app.v1.GetRegistryItemRequest - 154, // 193: viam.app.v1.AppService.CreateRegistryItem:input_type -> viam.app.v1.CreateRegistryItemRequest - 156, // 194: viam.app.v1.AppService.UpdateRegistryItem:input_type -> viam.app.v1.UpdateRegistryItemRequest - 158, // 195: viam.app.v1.AppService.ListRegistryItems:input_type -> viam.app.v1.ListRegistryItemsRequest - 160, // 196: viam.app.v1.AppService.DeleteRegistryItem:input_type -> viam.app.v1.DeleteRegistryItemRequest - 162, // 197: viam.app.v1.AppService.TransferRegistryItem:input_type -> viam.app.v1.TransferRegistryItemRequest - 164, // 198: viam.app.v1.AppService.CreateModule:input_type -> viam.app.v1.CreateModuleRequest - 166, // 199: viam.app.v1.AppService.UpdateModule:input_type -> viam.app.v1.UpdateModuleRequest - 170, // 200: viam.app.v1.AppService.UploadModuleFile:input_type -> viam.app.v1.UploadModuleFileRequest - 172, // 201: viam.app.v1.AppService.GetModule:input_type -> viam.app.v1.GetModuleRequest - 177, // 202: viam.app.v1.AppService.ListModules:input_type -> viam.app.v1.ListModulesRequest - 184, // 203: viam.app.v1.AppService.CreateKey:input_type -> viam.app.v1.CreateKeyRequest - 186, // 204: viam.app.v1.AppService.DeleteKey:input_type -> viam.app.v1.DeleteKeyRequest - 192, // 205: viam.app.v1.AppService.ListKeys:input_type -> viam.app.v1.ListKeysRequest - 188, // 206: viam.app.v1.AppService.RenameKey:input_type -> viam.app.v1.RenameKeyRequest - 194, // 207: viam.app.v1.AppService.RotateKey:input_type -> viam.app.v1.RotateKeyRequest - 196, // 208: viam.app.v1.AppService.CreateKeyFromExistingKeyAuthorizations:input_type -> viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest - 180, // 209: viam.app.v1.AppService.GetUserIDByEmail:output_type -> viam.app.v1.GetUserIDByEmailResponse - 16, // 210: viam.app.v1.AppService.CreateOrganization:output_type -> viam.app.v1.CreateOrganizationResponse - 13, // 211: viam.app.v1.AppService.ListOrganizations:output_type -> viam.app.v1.ListOrganizationsResponse - 63, // 212: viam.app.v1.AppService.GetOrganizationsWithAccessToLocation:output_type -> viam.app.v1.GetOrganizationsWithAccessToLocationResponse - 183, // 213: viam.app.v1.AppService.ListOrganizationsByUser:output_type -> viam.app.v1.ListOrganizationsByUserResponse - 18, // 214: viam.app.v1.AppService.GetOrganization:output_type -> viam.app.v1.GetOrganizationResponse - 20, // 215: viam.app.v1.AppService.GetOrganizationNamespaceAvailability:output_type -> viam.app.v1.GetOrganizationNamespaceAvailabilityResponse - 22, // 216: viam.app.v1.AppService.UpdateOrganization:output_type -> viam.app.v1.UpdateOrganizationResponse - 24, // 217: viam.app.v1.AppService.DeleteOrganization:output_type -> viam.app.v1.DeleteOrganizationResponse - 26, // 218: viam.app.v1.AppService.ListOrganizationMembers:output_type -> viam.app.v1.ListOrganizationMembersResponse - 28, // 219: viam.app.v1.AppService.CreateOrganizationInvite:output_type -> viam.app.v1.CreateOrganizationInviteResponse - 30, // 220: viam.app.v1.AppService.UpdateOrganizationInviteAuthorizations:output_type -> viam.app.v1.UpdateOrganizationInviteAuthorizationsResponse - 36, // 221: viam.app.v1.AppService.DeleteOrganizationMember:output_type -> viam.app.v1.DeleteOrganizationMemberResponse - 32, // 222: viam.app.v1.AppService.DeleteOrganizationInvite:output_type -> viam.app.v1.DeleteOrganizationInviteResponse - 34, // 223: viam.app.v1.AppService.ResendOrganizationInvite:output_type -> viam.app.v1.ResendOrganizationInviteResponse - 39, // 224: viam.app.v1.AppService.EnableBillingService:output_type -> viam.app.v1.EnableBillingServiceResponse - 43, // 225: viam.app.v1.AppService.DisableBillingService:output_type -> viam.app.v1.DisableBillingServiceResponse - 41, // 226: viam.app.v1.AppService.UpdateBillingService:output_type -> viam.app.v1.UpdateBillingServiceResponse - 45, // 227: viam.app.v1.AppService.OrganizationSetSupportEmail:output_type -> viam.app.v1.OrganizationSetSupportEmailResponse - 47, // 228: viam.app.v1.AppService.OrganizationGetSupportEmail:output_type -> viam.app.v1.OrganizationGetSupportEmailResponse - 55, // 229: viam.app.v1.AppService.CreateLocation:output_type -> viam.app.v1.CreateLocationResponse - 57, // 230: viam.app.v1.AppService.GetLocation:output_type -> viam.app.v1.GetLocationResponse - 59, // 231: viam.app.v1.AppService.UpdateLocation:output_type -> viam.app.v1.UpdateLocationResponse - 61, // 232: viam.app.v1.AppService.DeleteLocation:output_type -> viam.app.v1.DeleteLocationResponse - 69, // 233: viam.app.v1.AppService.ListLocations:output_type -> viam.app.v1.ListLocationsResponse - 66, // 234: viam.app.v1.AppService.ShareLocation:output_type -> viam.app.v1.ShareLocationResponse - 68, // 235: viam.app.v1.AppService.UnshareLocation:output_type -> viam.app.v1.UnshareLocationResponse - 75, // 236: viam.app.v1.AppService.LocationAuth:output_type -> viam.app.v1.LocationAuthResponse - 71, // 237: viam.app.v1.AppService.CreateLocationSecret:output_type -> viam.app.v1.CreateLocationSecretResponse - 73, // 238: viam.app.v1.AppService.DeleteLocationSecret:output_type -> viam.app.v1.DeleteLocationSecretResponse - 80, // 239: viam.app.v1.AppService.GetRobot:output_type -> viam.app.v1.GetRobotResponse - 79, // 240: viam.app.v1.AppService.GetRoverRentalRobots:output_type -> viam.app.v1.GetRoverRentalRobotsResponse - 82, // 241: viam.app.v1.AppService.GetRobotParts:output_type -> viam.app.v1.GetRobotPartsResponse - 84, // 242: viam.app.v1.AppService.GetRobotPart:output_type -> viam.app.v1.GetRobotPartResponse - 86, // 243: viam.app.v1.AppService.GetRobotPartLogs:output_type -> viam.app.v1.GetRobotPartLogsResponse - 88, // 244: viam.app.v1.AppService.TailRobotPartLogs:output_type -> viam.app.v1.TailRobotPartLogsResponse - 90, // 245: viam.app.v1.AppService.GetRobotPartHistory:output_type -> viam.app.v1.GetRobotPartHistoryResponse - 92, // 246: viam.app.v1.AppService.UpdateRobotPart:output_type -> viam.app.v1.UpdateRobotPartResponse - 94, // 247: viam.app.v1.AppService.NewRobotPart:output_type -> viam.app.v1.NewRobotPartResponse - 99, // 248: viam.app.v1.AppService.DeleteRobotPart:output_type -> viam.app.v1.DeleteRobotPartResponse - 98, // 249: viam.app.v1.AppService.GetRobotAPIKeys:output_type -> viam.app.v1.GetRobotAPIKeysResponse - 127, // 250: viam.app.v1.AppService.MarkPartAsMain:output_type -> viam.app.v1.MarkPartAsMainResponse - 129, // 251: viam.app.v1.AppService.MarkPartForRestart:output_type -> viam.app.v1.MarkPartForRestartResponse - 131, // 252: viam.app.v1.AppService.CreateRobotPartSecret:output_type -> viam.app.v1.CreateRobotPartSecretResponse - 133, // 253: viam.app.v1.AppService.DeleteRobotPartSecret:output_type -> viam.app.v1.DeleteRobotPartSecretResponse - 119, // 254: viam.app.v1.AppService.ListRobots:output_type -> viam.app.v1.ListRobotsResponse - 121, // 255: viam.app.v1.AppService.NewRobot:output_type -> viam.app.v1.NewRobotResponse - 123, // 256: viam.app.v1.AppService.UpdateRobot:output_type -> viam.app.v1.UpdateRobotResponse - 125, // 257: viam.app.v1.AppService.DeleteRobot:output_type -> viam.app.v1.DeleteRobotResponse - 105, // 258: viam.app.v1.AppService.ListFragments:output_type -> viam.app.v1.ListFragmentsResponse - 107, // 259: viam.app.v1.AppService.GetFragment:output_type -> viam.app.v1.GetFragmentResponse - 109, // 260: viam.app.v1.AppService.CreateFragment:output_type -> viam.app.v1.CreateFragmentResponse - 111, // 261: viam.app.v1.AppService.UpdateFragment:output_type -> viam.app.v1.UpdateFragmentResponse - 113, // 262: viam.app.v1.AppService.DeleteFragment:output_type -> viam.app.v1.DeleteFragmentResponse - 118, // 263: viam.app.v1.AppService.ListMachineFragments:output_type -> viam.app.v1.ListMachineFragmentsResponse - 115, // 264: viam.app.v1.AppService.GetFragmentHistory:output_type -> viam.app.v1.GetFragmentHistoryResponse - 136, // 265: viam.app.v1.AppService.AddRole:output_type -> viam.app.v1.AddRoleResponse - 138, // 266: viam.app.v1.AppService.RemoveRole:output_type -> viam.app.v1.RemoveRoleResponse - 140, // 267: viam.app.v1.AppService.ChangeRole:output_type -> viam.app.v1.ChangeRoleResponse - 142, // 268: viam.app.v1.AppService.ListAuthorizations:output_type -> viam.app.v1.ListAuthorizationsResponse - 145, // 269: viam.app.v1.AppService.CheckPermissions:output_type -> viam.app.v1.CheckPermissionsResponse - 153, // 270: viam.app.v1.AppService.GetRegistryItem:output_type -> viam.app.v1.GetRegistryItemResponse - 155, // 271: viam.app.v1.AppService.CreateRegistryItem:output_type -> viam.app.v1.CreateRegistryItemResponse - 157, // 272: viam.app.v1.AppService.UpdateRegistryItem:output_type -> viam.app.v1.UpdateRegistryItemResponse - 159, // 273: viam.app.v1.AppService.ListRegistryItems:output_type -> viam.app.v1.ListRegistryItemsResponse - 161, // 274: viam.app.v1.AppService.DeleteRegistryItem:output_type -> viam.app.v1.DeleteRegistryItemResponse - 163, // 275: viam.app.v1.AppService.TransferRegistryItem:output_type -> viam.app.v1.TransferRegistryItemResponse - 165, // 276: viam.app.v1.AppService.CreateModule:output_type -> viam.app.v1.CreateModuleResponse - 167, // 277: viam.app.v1.AppService.UpdateModule:output_type -> viam.app.v1.UpdateModuleResponse - 171, // 278: viam.app.v1.AppService.UploadModuleFile:output_type -> viam.app.v1.UploadModuleFileResponse - 173, // 279: viam.app.v1.AppService.GetModule:output_type -> viam.app.v1.GetModuleResponse - 178, // 280: viam.app.v1.AppService.ListModules:output_type -> viam.app.v1.ListModulesResponse - 185, // 281: viam.app.v1.AppService.CreateKey:output_type -> viam.app.v1.CreateKeyResponse - 187, // 282: viam.app.v1.AppService.DeleteKey:output_type -> viam.app.v1.DeleteKeyResponse - 193, // 283: viam.app.v1.AppService.ListKeys:output_type -> viam.app.v1.ListKeysResponse - 189, // 284: viam.app.v1.AppService.RenameKey:output_type -> viam.app.v1.RenameKeyResponse - 195, // 285: viam.app.v1.AppService.RotateKey:output_type -> viam.app.v1.RotateKeyResponse - 197, // 286: viam.app.v1.AppService.CreateKeyFromExistingKeyAuthorizations:output_type -> viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse - 209, // [209:287] is the sub-list for method output_type - 131, // [131:209] is the sub-list for method input_type - 131, // [131:131] is the sub-list for extension type_name - 131, // [131:131] is the sub-list for extension extendee - 0, // [0:131] is the sub-list for field type_name + 37, // 31: viam.app.v1.GetBillingServiceResponse.billing_address:type_name -> viam.app.v1.BillingAddress + 55, // 32: viam.app.v1.LocationAuth.secrets:type_name -> viam.app.v1.SharedSecret + 52, // 33: viam.app.v1.Location.auth:type_name -> viam.app.v1.LocationAuth + 51, // 34: viam.app.v1.Location.organizations:type_name -> viam.app.v1.LocationOrganization + 200, // 35: viam.app.v1.Location.created_on:type_name -> google.protobuf.Timestamp + 53, // 36: viam.app.v1.Location.config:type_name -> viam.app.v1.StorageConfig + 200, // 37: viam.app.v1.SharedSecret.created_on:type_name -> google.protobuf.Timestamp + 5, // 38: viam.app.v1.SharedSecret.state:type_name -> viam.app.v1.SharedSecret.State + 54, // 39: viam.app.v1.CreateLocationResponse.location:type_name -> viam.app.v1.Location + 54, // 40: viam.app.v1.GetLocationResponse.location:type_name -> viam.app.v1.Location + 54, // 41: viam.app.v1.UpdateLocationResponse.location:type_name -> viam.app.v1.Location + 50, // 42: viam.app.v1.GetOrganizationsWithAccessToLocationResponse.organization_identities:type_name -> viam.app.v1.OrganizationIdentity + 54, // 43: viam.app.v1.ListLocationsResponse.locations:type_name -> viam.app.v1.Location + 52, // 44: viam.app.v1.CreateLocationSecretResponse.auth:type_name -> viam.app.v1.LocationAuth + 52, // 45: viam.app.v1.LocationAuthResponse.auth:type_name -> viam.app.v1.LocationAuth + 80, // 46: viam.app.v1.GetRoverRentalRobotsResponse.robots:type_name -> viam.app.v1.RoverRentalRobot + 6, // 47: viam.app.v1.GetRobotResponse.robot:type_name -> viam.app.v1.Robot + 7, // 48: viam.app.v1.GetRobotPartsResponse.parts:type_name -> viam.app.v1.RobotPart + 7, // 49: viam.app.v1.GetRobotPartResponse.part:type_name -> viam.app.v1.RobotPart + 200, // 50: viam.app.v1.GetRobotPartLogsRequest.start:type_name -> google.protobuf.Timestamp + 200, // 51: viam.app.v1.GetRobotPartLogsRequest.end:type_name -> google.protobuf.Timestamp + 202, // 52: viam.app.v1.GetRobotPartLogsResponse.logs:type_name -> viam.common.v1.LogEntry + 202, // 53: viam.app.v1.TailRobotPartLogsResponse.logs:type_name -> viam.common.v1.LogEntry + 8, // 54: viam.app.v1.GetRobotPartHistoryResponse.history:type_name -> viam.app.v1.RobotPartHistoryEntry + 201, // 55: viam.app.v1.UpdateRobotPartRequest.robot_config:type_name -> google.protobuf.Struct + 7, // 56: viam.app.v1.UpdateRobotPartResponse.part:type_name -> viam.app.v1.RobotPart + 200, // 57: viam.app.v1.APIKey.created_on:type_name -> google.protobuf.Timestamp + 193, // 58: viam.app.v1.GetRobotAPIKeysResponse.api_keys:type_name -> viam.app.v1.APIKeyWithAuthorizations + 201, // 59: viam.app.v1.Fragment.fragment:type_name -> google.protobuf.Struct + 200, // 60: viam.app.v1.Fragment.created_on:type_name -> google.protobuf.Timestamp + 1, // 61: viam.app.v1.Fragment.visibility:type_name -> viam.app.v1.FragmentVisibility + 200, // 62: viam.app.v1.Fragment.last_updated:type_name -> google.protobuf.Timestamp + 200, // 63: viam.app.v1.FragmentHistoryEntry.edited_on:type_name -> google.protobuf.Timestamp + 102, // 64: viam.app.v1.FragmentHistoryEntry.old:type_name -> viam.app.v1.Fragment + 9, // 65: viam.app.v1.FragmentHistoryEntry.edited_by:type_name -> viam.app.v1.AuthenticatorInfo + 2, // 66: viam.app.v1.FragmentError.error_type:type_name -> viam.app.v1.FragmentErrorType + 201, // 67: viam.app.v1.ResolvedFragment.resolved_config:type_name -> google.protobuf.Struct + 104, // 68: viam.app.v1.ResolvedFragment.error:type_name -> viam.app.v1.FragmentError + 1, // 69: viam.app.v1.ListFragmentsRequest.fragment_visibility:type_name -> viam.app.v1.FragmentVisibility + 102, // 70: viam.app.v1.ListFragmentsResponse.fragments:type_name -> viam.app.v1.Fragment + 102, // 71: viam.app.v1.GetFragmentResponse.fragment:type_name -> viam.app.v1.Fragment + 201, // 72: viam.app.v1.CreateFragmentRequest.config:type_name -> google.protobuf.Struct + 1, // 73: viam.app.v1.CreateFragmentRequest.visibility:type_name -> viam.app.v1.FragmentVisibility + 102, // 74: viam.app.v1.CreateFragmentResponse.fragment:type_name -> viam.app.v1.Fragment + 201, // 75: viam.app.v1.UpdateFragmentRequest.config:type_name -> google.protobuf.Struct + 1, // 76: viam.app.v1.UpdateFragmentRequest.visibility:type_name -> viam.app.v1.FragmentVisibility + 102, // 77: viam.app.v1.UpdateFragmentResponse.fragment:type_name -> viam.app.v1.Fragment + 103, // 78: viam.app.v1.GetFragmentHistoryResponse.history:type_name -> viam.app.v1.FragmentHistoryEntry + 102, // 79: viam.app.v1.ListMachineFragmentsResponse.fragments:type_name -> viam.app.v1.Fragment + 105, // 80: viam.app.v1.ListMachineFragmentsResponse.resolved_fragments:type_name -> viam.app.v1.ResolvedFragment + 6, // 81: viam.app.v1.ListRobotsResponse.robots:type_name -> viam.app.v1.Robot + 6, // 82: viam.app.v1.UpdateRobotResponse.robot:type_name -> viam.app.v1.Robot + 7, // 83: viam.app.v1.CreateRobotPartSecretResponse.part:type_name -> viam.app.v1.RobotPart + 136, // 84: viam.app.v1.AddRoleRequest.authorization:type_name -> viam.app.v1.Authorization + 136, // 85: viam.app.v1.RemoveRoleRequest.authorization:type_name -> viam.app.v1.Authorization + 136, // 86: viam.app.v1.ChangeRoleRequest.old_authorization:type_name -> viam.app.v1.Authorization + 136, // 87: viam.app.v1.ChangeRoleRequest.new_authorization:type_name -> viam.app.v1.Authorization + 136, // 88: viam.app.v1.ListAuthorizationsResponse.authorizations:type_name -> viam.app.v1.Authorization + 146, // 89: viam.app.v1.CheckPermissionsRequest.permissions:type_name -> viam.app.v1.AuthorizedPermissions + 146, // 90: viam.app.v1.CheckPermissionsResponse.authorized_permissions:type_name -> viam.app.v1.AuthorizedPermissions + 178, // 91: viam.app.v1.ModuleVersion.files:type_name -> viam.app.v1.Uploads + 170, // 92: viam.app.v1.ModuleVersion.models:type_name -> viam.app.v1.Model + 170, // 93: viam.app.v1.ModuleMetadata.models:type_name -> viam.app.v1.Model + 148, // 94: viam.app.v1.ModuleMetadata.versions:type_name -> viam.app.v1.ModuleVersion + 203, // 95: viam.app.v1.MLModelMetadata.model_type:type_name -> viam.app.mltraining.v1.ModelType + 204, // 96: viam.app.v1.MLModelMetadata.model_framework:type_name -> viam.app.mltraining.v1.ModelFramework + 200, // 97: viam.app.v1.MLTrainingVersion.created_on:type_name -> google.protobuf.Timestamp + 151, // 98: viam.app.v1.MLTrainingMetadata.versions:type_name -> viam.app.v1.MLTrainingVersion + 203, // 99: viam.app.v1.MLTrainingMetadata.model_type:type_name -> viam.app.mltraining.v1.ModelType + 204, // 100: viam.app.v1.MLTrainingMetadata.model_framework:type_name -> viam.app.mltraining.v1.ModelFramework + 205, // 101: viam.app.v1.RegistryItem.type:type_name -> viam.app.packages.v1.PackageType + 4, // 102: viam.app.v1.RegistryItem.visibility:type_name -> viam.app.v1.Visibility + 149, // 103: viam.app.v1.RegistryItem.module_metadata:type_name -> viam.app.v1.ModuleMetadata + 150, // 104: viam.app.v1.RegistryItem.ml_model_metadata:type_name -> viam.app.v1.MLModelMetadata + 152, // 105: viam.app.v1.RegistryItem.ml_training_metadata:type_name -> viam.app.v1.MLTrainingMetadata + 200, // 106: viam.app.v1.RegistryItem.created_at:type_name -> google.protobuf.Timestamp + 200, // 107: viam.app.v1.RegistryItem.updated_at:type_name -> google.protobuf.Timestamp + 153, // 108: viam.app.v1.GetRegistryItemResponse.item:type_name -> viam.app.v1.RegistryItem + 205, // 109: viam.app.v1.CreateRegistryItemRequest.type:type_name -> viam.app.packages.v1.PackageType + 205, // 110: viam.app.v1.UpdateRegistryItemRequest.type:type_name -> viam.app.packages.v1.PackageType + 4, // 111: viam.app.v1.UpdateRegistryItemRequest.visibility:type_name -> viam.app.v1.Visibility + 205, // 112: viam.app.v1.ListRegistryItemsRequest.types:type_name -> viam.app.packages.v1.PackageType + 4, // 113: viam.app.v1.ListRegistryItemsRequest.visibilities:type_name -> viam.app.v1.Visibility + 3, // 114: viam.app.v1.ListRegistryItemsRequest.statuses:type_name -> viam.app.v1.RegistryItemStatus + 153, // 115: viam.app.v1.ListRegistryItemsResponse.items:type_name -> viam.app.v1.RegistryItem + 4, // 116: viam.app.v1.UpdateModuleRequest.visibility:type_name -> viam.app.v1.Visibility + 170, // 117: viam.app.v1.UpdateModuleRequest.models:type_name -> viam.app.v1.Model + 171, // 118: viam.app.v1.UploadModuleFileRequest.module_file_info:type_name -> viam.app.v1.ModuleFileInfo + 176, // 119: viam.app.v1.GetModuleResponse.module:type_name -> viam.app.v1.Module + 4, // 120: viam.app.v1.Module.visibility:type_name -> viam.app.v1.Visibility + 177, // 121: viam.app.v1.Module.versions:type_name -> viam.app.v1.VersionHistory + 170, // 122: viam.app.v1.Module.models:type_name -> viam.app.v1.Model + 178, // 123: viam.app.v1.VersionHistory.files:type_name -> viam.app.v1.Uploads + 170, // 124: viam.app.v1.VersionHistory.models:type_name -> viam.app.v1.Model + 200, // 125: viam.app.v1.Uploads.uploaded_at:type_name -> google.protobuf.Timestamp + 176, // 126: viam.app.v1.ListModulesResponse.modules:type_name -> viam.app.v1.Module + 184, // 127: viam.app.v1.ListOrganizationsByUserResponse.orgs:type_name -> viam.app.v1.OrgDetails + 136, // 128: viam.app.v1.CreateKeyRequest.authorizations:type_name -> viam.app.v1.Authorization + 99, // 129: viam.app.v1.APIKeyWithAuthorizations.api_key:type_name -> viam.app.v1.APIKey + 192, // 130: viam.app.v1.APIKeyWithAuthorizations.authorizations:type_name -> viam.app.v1.AuthorizationDetails + 193, // 131: viam.app.v1.ListKeysResponse.api_keys:type_name -> viam.app.v1.APIKeyWithAuthorizations + 181, // 132: viam.app.v1.AppService.GetUserIDByEmail:input_type -> viam.app.v1.GetUserIDByEmailRequest + 15, // 133: viam.app.v1.AppService.CreateOrganization:input_type -> viam.app.v1.CreateOrganizationRequest + 10, // 134: viam.app.v1.AppService.ListOrganizations:input_type -> viam.app.v1.ListOrganizationsRequest + 64, // 135: viam.app.v1.AppService.GetOrganizationsWithAccessToLocation:input_type -> viam.app.v1.GetOrganizationsWithAccessToLocationRequest + 183, // 136: viam.app.v1.AppService.ListOrganizationsByUser:input_type -> viam.app.v1.ListOrganizationsByUserRequest + 17, // 137: viam.app.v1.AppService.GetOrganization:input_type -> viam.app.v1.GetOrganizationRequest + 19, // 138: viam.app.v1.AppService.GetOrganizationNamespaceAvailability:input_type -> viam.app.v1.GetOrganizationNamespaceAvailabilityRequest + 21, // 139: viam.app.v1.AppService.UpdateOrganization:input_type -> viam.app.v1.UpdateOrganizationRequest + 23, // 140: viam.app.v1.AppService.DeleteOrganization:input_type -> viam.app.v1.DeleteOrganizationRequest + 25, // 141: viam.app.v1.AppService.ListOrganizationMembers:input_type -> viam.app.v1.ListOrganizationMembersRequest + 27, // 142: viam.app.v1.AppService.CreateOrganizationInvite:input_type -> viam.app.v1.CreateOrganizationInviteRequest + 29, // 143: viam.app.v1.AppService.UpdateOrganizationInviteAuthorizations:input_type -> viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest + 35, // 144: viam.app.v1.AppService.DeleteOrganizationMember:input_type -> viam.app.v1.DeleteOrganizationMemberRequest + 31, // 145: viam.app.v1.AppService.DeleteOrganizationInvite:input_type -> viam.app.v1.DeleteOrganizationInviteRequest + 33, // 146: viam.app.v1.AppService.ResendOrganizationInvite:input_type -> viam.app.v1.ResendOrganizationInviteRequest + 38, // 147: viam.app.v1.AppService.EnableBillingService:input_type -> viam.app.v1.EnableBillingServiceRequest + 44, // 148: viam.app.v1.AppService.DisableBillingService:input_type -> viam.app.v1.DisableBillingServiceRequest + 40, // 149: viam.app.v1.AppService.UpdateBillingService:input_type -> viam.app.v1.UpdateBillingServiceRequest + 42, // 150: viam.app.v1.AppService.GetBillingService:input_type -> viam.app.v1.GetBillingServiceRequest + 46, // 151: viam.app.v1.AppService.OrganizationSetSupportEmail:input_type -> viam.app.v1.OrganizationSetSupportEmailRequest + 48, // 152: viam.app.v1.AppService.OrganizationGetSupportEmail:input_type -> viam.app.v1.OrganizationGetSupportEmailRequest + 56, // 153: viam.app.v1.AppService.CreateLocation:input_type -> viam.app.v1.CreateLocationRequest + 58, // 154: viam.app.v1.AppService.GetLocation:input_type -> viam.app.v1.GetLocationRequest + 60, // 155: viam.app.v1.AppService.UpdateLocation:input_type -> viam.app.v1.UpdateLocationRequest + 62, // 156: viam.app.v1.AppService.DeleteLocation:input_type -> viam.app.v1.DeleteLocationRequest + 66, // 157: viam.app.v1.AppService.ListLocations:input_type -> viam.app.v1.ListLocationsRequest + 67, // 158: viam.app.v1.AppService.ShareLocation:input_type -> viam.app.v1.ShareLocationRequest + 69, // 159: viam.app.v1.AppService.UnshareLocation:input_type -> viam.app.v1.UnshareLocationRequest + 76, // 160: viam.app.v1.AppService.LocationAuth:input_type -> viam.app.v1.LocationAuthRequest + 72, // 161: viam.app.v1.AppService.CreateLocationSecret:input_type -> viam.app.v1.CreateLocationSecretRequest + 74, // 162: viam.app.v1.AppService.DeleteLocationSecret:input_type -> viam.app.v1.DeleteLocationSecretRequest + 78, // 163: viam.app.v1.AppService.GetRobot:input_type -> viam.app.v1.GetRobotRequest + 79, // 164: viam.app.v1.AppService.GetRoverRentalRobots:input_type -> viam.app.v1.GetRoverRentalRobotsRequest + 83, // 165: viam.app.v1.AppService.GetRobotParts:input_type -> viam.app.v1.GetRobotPartsRequest + 85, // 166: viam.app.v1.AppService.GetRobotPart:input_type -> viam.app.v1.GetRobotPartRequest + 87, // 167: viam.app.v1.AppService.GetRobotPartLogs:input_type -> viam.app.v1.GetRobotPartLogsRequest + 89, // 168: viam.app.v1.AppService.TailRobotPartLogs:input_type -> viam.app.v1.TailRobotPartLogsRequest + 91, // 169: viam.app.v1.AppService.GetRobotPartHistory:input_type -> viam.app.v1.GetRobotPartHistoryRequest + 93, // 170: viam.app.v1.AppService.UpdateRobotPart:input_type -> viam.app.v1.UpdateRobotPartRequest + 95, // 171: viam.app.v1.AppService.NewRobotPart:input_type -> viam.app.v1.NewRobotPartRequest + 97, // 172: viam.app.v1.AppService.DeleteRobotPart:input_type -> viam.app.v1.DeleteRobotPartRequest + 98, // 173: viam.app.v1.AppService.GetRobotAPIKeys:input_type -> viam.app.v1.GetRobotAPIKeysRequest + 128, // 174: viam.app.v1.AppService.MarkPartAsMain:input_type -> viam.app.v1.MarkPartAsMainRequest + 130, // 175: viam.app.v1.AppService.MarkPartForRestart:input_type -> viam.app.v1.MarkPartForRestartRequest + 132, // 176: viam.app.v1.AppService.CreateRobotPartSecret:input_type -> viam.app.v1.CreateRobotPartSecretRequest + 134, // 177: viam.app.v1.AppService.DeleteRobotPartSecret:input_type -> viam.app.v1.DeleteRobotPartSecretRequest + 118, // 178: viam.app.v1.AppService.ListRobots:input_type -> viam.app.v1.ListRobotsRequest + 122, // 179: viam.app.v1.AppService.NewRobot:input_type -> viam.app.v1.NewRobotRequest + 124, // 180: viam.app.v1.AppService.UpdateRobot:input_type -> viam.app.v1.UpdateRobotRequest + 126, // 181: viam.app.v1.AppService.DeleteRobot:input_type -> viam.app.v1.DeleteRobotRequest + 106, // 182: viam.app.v1.AppService.ListFragments:input_type -> viam.app.v1.ListFragmentsRequest + 108, // 183: viam.app.v1.AppService.GetFragment:input_type -> viam.app.v1.GetFragmentRequest + 110, // 184: viam.app.v1.AppService.CreateFragment:input_type -> viam.app.v1.CreateFragmentRequest + 112, // 185: viam.app.v1.AppService.UpdateFragment:input_type -> viam.app.v1.UpdateFragmentRequest + 114, // 186: viam.app.v1.AppService.DeleteFragment:input_type -> viam.app.v1.DeleteFragmentRequest + 119, // 187: viam.app.v1.AppService.ListMachineFragments:input_type -> viam.app.v1.ListMachineFragmentsRequest + 116, // 188: viam.app.v1.AppService.GetFragmentHistory:input_type -> viam.app.v1.GetFragmentHistoryRequest + 137, // 189: viam.app.v1.AppService.AddRole:input_type -> viam.app.v1.AddRoleRequest + 139, // 190: viam.app.v1.AppService.RemoveRole:input_type -> viam.app.v1.RemoveRoleRequest + 141, // 191: viam.app.v1.AppService.ChangeRole:input_type -> viam.app.v1.ChangeRoleRequest + 143, // 192: viam.app.v1.AppService.ListAuthorizations:input_type -> viam.app.v1.ListAuthorizationsRequest + 145, // 193: viam.app.v1.AppService.CheckPermissions:input_type -> viam.app.v1.CheckPermissionsRequest + 154, // 194: viam.app.v1.AppService.GetRegistryItem:input_type -> viam.app.v1.GetRegistryItemRequest + 156, // 195: viam.app.v1.AppService.CreateRegistryItem:input_type -> viam.app.v1.CreateRegistryItemRequest + 158, // 196: viam.app.v1.AppService.UpdateRegistryItem:input_type -> viam.app.v1.UpdateRegistryItemRequest + 160, // 197: viam.app.v1.AppService.ListRegistryItems:input_type -> viam.app.v1.ListRegistryItemsRequest + 162, // 198: viam.app.v1.AppService.DeleteRegistryItem:input_type -> viam.app.v1.DeleteRegistryItemRequest + 164, // 199: viam.app.v1.AppService.TransferRegistryItem:input_type -> viam.app.v1.TransferRegistryItemRequest + 166, // 200: viam.app.v1.AppService.CreateModule:input_type -> viam.app.v1.CreateModuleRequest + 168, // 201: viam.app.v1.AppService.UpdateModule:input_type -> viam.app.v1.UpdateModuleRequest + 172, // 202: viam.app.v1.AppService.UploadModuleFile:input_type -> viam.app.v1.UploadModuleFileRequest + 174, // 203: viam.app.v1.AppService.GetModule:input_type -> viam.app.v1.GetModuleRequest + 179, // 204: viam.app.v1.AppService.ListModules:input_type -> viam.app.v1.ListModulesRequest + 186, // 205: viam.app.v1.AppService.CreateKey:input_type -> viam.app.v1.CreateKeyRequest + 188, // 206: viam.app.v1.AppService.DeleteKey:input_type -> viam.app.v1.DeleteKeyRequest + 194, // 207: viam.app.v1.AppService.ListKeys:input_type -> viam.app.v1.ListKeysRequest + 190, // 208: viam.app.v1.AppService.RenameKey:input_type -> viam.app.v1.RenameKeyRequest + 196, // 209: viam.app.v1.AppService.RotateKey:input_type -> viam.app.v1.RotateKeyRequest + 198, // 210: viam.app.v1.AppService.CreateKeyFromExistingKeyAuthorizations:input_type -> viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest + 182, // 211: viam.app.v1.AppService.GetUserIDByEmail:output_type -> viam.app.v1.GetUserIDByEmailResponse + 16, // 212: viam.app.v1.AppService.CreateOrganization:output_type -> viam.app.v1.CreateOrganizationResponse + 13, // 213: viam.app.v1.AppService.ListOrganizations:output_type -> viam.app.v1.ListOrganizationsResponse + 65, // 214: viam.app.v1.AppService.GetOrganizationsWithAccessToLocation:output_type -> viam.app.v1.GetOrganizationsWithAccessToLocationResponse + 185, // 215: viam.app.v1.AppService.ListOrganizationsByUser:output_type -> viam.app.v1.ListOrganizationsByUserResponse + 18, // 216: viam.app.v1.AppService.GetOrganization:output_type -> viam.app.v1.GetOrganizationResponse + 20, // 217: viam.app.v1.AppService.GetOrganizationNamespaceAvailability:output_type -> viam.app.v1.GetOrganizationNamespaceAvailabilityResponse + 22, // 218: viam.app.v1.AppService.UpdateOrganization:output_type -> viam.app.v1.UpdateOrganizationResponse + 24, // 219: viam.app.v1.AppService.DeleteOrganization:output_type -> viam.app.v1.DeleteOrganizationResponse + 26, // 220: viam.app.v1.AppService.ListOrganizationMembers:output_type -> viam.app.v1.ListOrganizationMembersResponse + 28, // 221: viam.app.v1.AppService.CreateOrganizationInvite:output_type -> viam.app.v1.CreateOrganizationInviteResponse + 30, // 222: viam.app.v1.AppService.UpdateOrganizationInviteAuthorizations:output_type -> viam.app.v1.UpdateOrganizationInviteAuthorizationsResponse + 36, // 223: viam.app.v1.AppService.DeleteOrganizationMember:output_type -> viam.app.v1.DeleteOrganizationMemberResponse + 32, // 224: viam.app.v1.AppService.DeleteOrganizationInvite:output_type -> viam.app.v1.DeleteOrganizationInviteResponse + 34, // 225: viam.app.v1.AppService.ResendOrganizationInvite:output_type -> viam.app.v1.ResendOrganizationInviteResponse + 39, // 226: viam.app.v1.AppService.EnableBillingService:output_type -> viam.app.v1.EnableBillingServiceResponse + 45, // 227: viam.app.v1.AppService.DisableBillingService:output_type -> viam.app.v1.DisableBillingServiceResponse + 41, // 228: viam.app.v1.AppService.UpdateBillingService:output_type -> viam.app.v1.UpdateBillingServiceResponse + 43, // 229: viam.app.v1.AppService.GetBillingService:output_type -> viam.app.v1.GetBillingServiceResponse + 47, // 230: viam.app.v1.AppService.OrganizationSetSupportEmail:output_type -> viam.app.v1.OrganizationSetSupportEmailResponse + 49, // 231: viam.app.v1.AppService.OrganizationGetSupportEmail:output_type -> viam.app.v1.OrganizationGetSupportEmailResponse + 57, // 232: viam.app.v1.AppService.CreateLocation:output_type -> viam.app.v1.CreateLocationResponse + 59, // 233: viam.app.v1.AppService.GetLocation:output_type -> viam.app.v1.GetLocationResponse + 61, // 234: viam.app.v1.AppService.UpdateLocation:output_type -> viam.app.v1.UpdateLocationResponse + 63, // 235: viam.app.v1.AppService.DeleteLocation:output_type -> viam.app.v1.DeleteLocationResponse + 71, // 236: viam.app.v1.AppService.ListLocations:output_type -> viam.app.v1.ListLocationsResponse + 68, // 237: viam.app.v1.AppService.ShareLocation:output_type -> viam.app.v1.ShareLocationResponse + 70, // 238: viam.app.v1.AppService.UnshareLocation:output_type -> viam.app.v1.UnshareLocationResponse + 77, // 239: viam.app.v1.AppService.LocationAuth:output_type -> viam.app.v1.LocationAuthResponse + 73, // 240: viam.app.v1.AppService.CreateLocationSecret:output_type -> viam.app.v1.CreateLocationSecretResponse + 75, // 241: viam.app.v1.AppService.DeleteLocationSecret:output_type -> viam.app.v1.DeleteLocationSecretResponse + 82, // 242: viam.app.v1.AppService.GetRobot:output_type -> viam.app.v1.GetRobotResponse + 81, // 243: viam.app.v1.AppService.GetRoverRentalRobots:output_type -> viam.app.v1.GetRoverRentalRobotsResponse + 84, // 244: viam.app.v1.AppService.GetRobotParts:output_type -> viam.app.v1.GetRobotPartsResponse + 86, // 245: viam.app.v1.AppService.GetRobotPart:output_type -> viam.app.v1.GetRobotPartResponse + 88, // 246: viam.app.v1.AppService.GetRobotPartLogs:output_type -> viam.app.v1.GetRobotPartLogsResponse + 90, // 247: viam.app.v1.AppService.TailRobotPartLogs:output_type -> viam.app.v1.TailRobotPartLogsResponse + 92, // 248: viam.app.v1.AppService.GetRobotPartHistory:output_type -> viam.app.v1.GetRobotPartHistoryResponse + 94, // 249: viam.app.v1.AppService.UpdateRobotPart:output_type -> viam.app.v1.UpdateRobotPartResponse + 96, // 250: viam.app.v1.AppService.NewRobotPart:output_type -> viam.app.v1.NewRobotPartResponse + 101, // 251: viam.app.v1.AppService.DeleteRobotPart:output_type -> viam.app.v1.DeleteRobotPartResponse + 100, // 252: viam.app.v1.AppService.GetRobotAPIKeys:output_type -> viam.app.v1.GetRobotAPIKeysResponse + 129, // 253: viam.app.v1.AppService.MarkPartAsMain:output_type -> viam.app.v1.MarkPartAsMainResponse + 131, // 254: viam.app.v1.AppService.MarkPartForRestart:output_type -> viam.app.v1.MarkPartForRestartResponse + 133, // 255: viam.app.v1.AppService.CreateRobotPartSecret:output_type -> viam.app.v1.CreateRobotPartSecretResponse + 135, // 256: viam.app.v1.AppService.DeleteRobotPartSecret:output_type -> viam.app.v1.DeleteRobotPartSecretResponse + 121, // 257: viam.app.v1.AppService.ListRobots:output_type -> viam.app.v1.ListRobotsResponse + 123, // 258: viam.app.v1.AppService.NewRobot:output_type -> viam.app.v1.NewRobotResponse + 125, // 259: viam.app.v1.AppService.UpdateRobot:output_type -> viam.app.v1.UpdateRobotResponse + 127, // 260: viam.app.v1.AppService.DeleteRobot:output_type -> viam.app.v1.DeleteRobotResponse + 107, // 261: viam.app.v1.AppService.ListFragments:output_type -> viam.app.v1.ListFragmentsResponse + 109, // 262: viam.app.v1.AppService.GetFragment:output_type -> viam.app.v1.GetFragmentResponse + 111, // 263: viam.app.v1.AppService.CreateFragment:output_type -> viam.app.v1.CreateFragmentResponse + 113, // 264: viam.app.v1.AppService.UpdateFragment:output_type -> viam.app.v1.UpdateFragmentResponse + 115, // 265: viam.app.v1.AppService.DeleteFragment:output_type -> viam.app.v1.DeleteFragmentResponse + 120, // 266: viam.app.v1.AppService.ListMachineFragments:output_type -> viam.app.v1.ListMachineFragmentsResponse + 117, // 267: viam.app.v1.AppService.GetFragmentHistory:output_type -> viam.app.v1.GetFragmentHistoryResponse + 138, // 268: viam.app.v1.AppService.AddRole:output_type -> viam.app.v1.AddRoleResponse + 140, // 269: viam.app.v1.AppService.RemoveRole:output_type -> viam.app.v1.RemoveRoleResponse + 142, // 270: viam.app.v1.AppService.ChangeRole:output_type -> viam.app.v1.ChangeRoleResponse + 144, // 271: viam.app.v1.AppService.ListAuthorizations:output_type -> viam.app.v1.ListAuthorizationsResponse + 147, // 272: viam.app.v1.AppService.CheckPermissions:output_type -> viam.app.v1.CheckPermissionsResponse + 155, // 273: viam.app.v1.AppService.GetRegistryItem:output_type -> viam.app.v1.GetRegistryItemResponse + 157, // 274: viam.app.v1.AppService.CreateRegistryItem:output_type -> viam.app.v1.CreateRegistryItemResponse + 159, // 275: viam.app.v1.AppService.UpdateRegistryItem:output_type -> viam.app.v1.UpdateRegistryItemResponse + 161, // 276: viam.app.v1.AppService.ListRegistryItems:output_type -> viam.app.v1.ListRegistryItemsResponse + 163, // 277: viam.app.v1.AppService.DeleteRegistryItem:output_type -> viam.app.v1.DeleteRegistryItemResponse + 165, // 278: viam.app.v1.AppService.TransferRegistryItem:output_type -> viam.app.v1.TransferRegistryItemResponse + 167, // 279: viam.app.v1.AppService.CreateModule:output_type -> viam.app.v1.CreateModuleResponse + 169, // 280: viam.app.v1.AppService.UpdateModule:output_type -> viam.app.v1.UpdateModuleResponse + 173, // 281: viam.app.v1.AppService.UploadModuleFile:output_type -> viam.app.v1.UploadModuleFileResponse + 175, // 282: viam.app.v1.AppService.GetModule:output_type -> viam.app.v1.GetModuleResponse + 180, // 283: viam.app.v1.AppService.ListModules:output_type -> viam.app.v1.ListModulesResponse + 187, // 284: viam.app.v1.AppService.CreateKey:output_type -> viam.app.v1.CreateKeyResponse + 189, // 285: viam.app.v1.AppService.DeleteKey:output_type -> viam.app.v1.DeleteKeyResponse + 195, // 286: viam.app.v1.AppService.ListKeys:output_type -> viam.app.v1.ListKeysResponse + 191, // 287: viam.app.v1.AppService.RenameKey:output_type -> viam.app.v1.RenameKeyResponse + 197, // 288: viam.app.v1.AppService.RotateKey:output_type -> viam.app.v1.RotateKeyResponse + 199, // 289: viam.app.v1.AppService.CreateKeyFromExistingKeyAuthorizations:output_type -> viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse + 211, // [211:290] is the sub-list for method output_type + 132, // [132:211] is the sub-list for method input_type + 132, // [132:132] is the sub-list for extension type_name + 132, // [132:132] is the sub-list for extension extendee + 0, // [0:132] is the sub-list for field type_name } func init() { file_app_v1_app_proto_init() } @@ -13299,42 +13797,2372 @@ func file_app_v1_app_proto_init() { if File_app_v1_app_proto != nil { return } - file_app_v1_app_proto_msgTypes[5].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[6].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[15].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[21].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[31].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[48].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[52].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[79].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[81].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[102].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[104].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[108].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[140].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[141].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[145].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_app_v1_app_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Robot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RobotPart); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RobotPartHistoryEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuthenticatorInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListOrganizationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Organization); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OrganizationMember); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListOrganizationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OrganizationInvite); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateOrganizationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateOrganizationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrganizationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrganizationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrganizationNamespaceAvailabilityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrganizationNamespaceAvailabilityResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateOrganizationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateOrganizationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteOrganizationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteOrganizationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListOrganizationMembersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListOrganizationMembersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateOrganizationInviteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateOrganizationInviteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateOrganizationInviteAuthorizationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateOrganizationInviteAuthorizationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteOrganizationInviteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteOrganizationInviteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResendOrganizationInviteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResendOrganizationInviteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteOrganizationMemberRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteOrganizationMemberResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BillingAddress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnableBillingServiceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnableBillingServiceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateBillingServiceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateBillingServiceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBillingServiceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBillingServiceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisableBillingServiceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisableBillingServiceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OrganizationSetSupportEmailRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OrganizationSetSupportEmailResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OrganizationGetSupportEmailRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OrganizationGetSupportEmailResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OrganizationIdentity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LocationOrganization); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LocationAuth); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StorageConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Location); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SharedSecret); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateLocationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateLocationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLocationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLocationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateLocationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateLocationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteLocationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteLocationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrganizationsWithAccessToLocationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrganizationsWithAccessToLocationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLocationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShareLocationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShareLocationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnshareLocationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnshareLocationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLocationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateLocationSecretRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateLocationSecretResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteLocationSecretRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteLocationSecretResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LocationAuthRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LocationAuthResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRobotRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRoverRentalRobotsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoverRentalRobot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRoverRentalRobotsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRobotResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRobotPartsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRobotPartsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRobotPartRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRobotPartResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRobotPartLogsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRobotPartLogsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TailRobotPartLogsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TailRobotPartLogsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRobotPartHistoryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRobotPartHistoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateRobotPartRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateRobotPartResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewRobotPartRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewRobotPartResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRobotPartRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRobotAPIKeysRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*APIKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRobotAPIKeysResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRobotPartResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Fragment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FragmentHistoryEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FragmentError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResolvedFragment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListFragmentsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListFragmentsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetFragmentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetFragmentResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateFragmentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateFragmentResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateFragmentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateFragmentResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteFragmentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteFragmentResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetFragmentHistoryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetFragmentHistoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRobotsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMachineFragmentsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMachineFragmentsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRobotsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewRobotRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewRobotResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateRobotRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateRobotResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRobotRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRobotResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarkPartAsMainRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarkPartAsMainResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarkPartForRestartRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarkPartForRestartResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRobotPartSecretRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRobotPartSecretResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRobotPartSecretRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRobotPartSecretResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Authorization); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddRoleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddRoleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveRoleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveRoleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeRoleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeRoleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAuthorizationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAuthorizationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckPermissionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuthorizedPermissions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckPermissionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ModuleVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ModuleMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MLModelMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MLTrainingVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MLTrainingMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegistryItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRegistryItemRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRegistryItemResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRegistryItemRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRegistryItemResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateRegistryItemRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateRegistryItemResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRegistryItemsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRegistryItemsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRegistryItemRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRegistryItemResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransferRegistryItemRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransferRegistryItemResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateModuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateModuleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateModuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateModuleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Model); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ModuleFileInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadModuleFileRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadModuleFileResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetModuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetModuleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Module); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VersionHistory); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Uploads); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListModulesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListModulesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserIDByEmailRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserIDByEmailResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListOrganizationsByUserRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OrgDetails); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListOrganizationsByUserResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[186].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuthorizationDetails); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[187].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*APIKeyWithAuthorizations); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[188].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListKeysRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[189].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListKeysResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[190].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RotateKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[191].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RotateKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[192].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateKeyFromExistingKeyAuthorizationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_app_proto_msgTypes[193].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateKeyFromExistingKeyAuthorizationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_app_v1_app_proto_msgTypes[5].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[6].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[15].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[21].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[31].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[50].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[54].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[81].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[83].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[104].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[106].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[110].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[142].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[143].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[147].OneofWrappers = []interface{}{ (*RegistryItem_ModuleMetadata)(nil), (*RegistryItem_MlModelMetadata)(nil), (*RegistryItem_MlTrainingMetadata)(nil), } - file_app_v1_app_proto_msgTypes[150].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[152].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[160].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[164].OneofWrappers = []any{ + file_app_v1_app_proto_msgTypes[152].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[154].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[162].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[166].OneofWrappers = []interface{}{ (*UploadModuleFileRequest_ModuleFileInfo)(nil), (*UploadModuleFileRequest_File)(nil), } - file_app_v1_app_proto_msgTypes[168].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[169].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[171].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[170].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[171].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[173].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_app_v1_app_proto_rawDesc, NumEnums: 6, - NumMessages: 192, + NumMessages: 194, NumExtensions: 0, NumServices: 1, }, diff --git a/app/v1/app.pb.gw.go b/app/v1/app.pb.gw.go index d7a52995..d47e53b9 100644 --- a/app/v1/app.pb.gw.go +++ b/app/v1/app.pb.gw.go @@ -35,7 +35,11 @@ func request_AppService_GetUserIDByEmail_0(ctx context.Context, marshaler runtim var protoReq GetUserIDByEmailRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -48,7 +52,11 @@ func local_request_AppService_GetUserIDByEmail_0(ctx context.Context, marshaler var protoReq GetUserIDByEmailRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -61,7 +69,11 @@ func request_AppService_CreateOrganization_0(ctx context.Context, marshaler runt var protoReq CreateOrganizationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -74,7 +86,11 @@ func local_request_AppService_CreateOrganization_0(ctx context.Context, marshale var protoReq CreateOrganizationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -87,7 +103,11 @@ func request_AppService_ListOrganizations_0(ctx context.Context, marshaler runti var protoReq ListOrganizationsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -100,7 +120,11 @@ func local_request_AppService_ListOrganizations_0(ctx context.Context, marshaler var protoReq ListOrganizationsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -113,7 +137,11 @@ func request_AppService_GetOrganizationsWithAccessToLocation_0(ctx context.Conte var protoReq GetOrganizationsWithAccessToLocationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -126,7 +154,11 @@ func local_request_AppService_GetOrganizationsWithAccessToLocation_0(ctx context var protoReq GetOrganizationsWithAccessToLocationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -139,7 +171,11 @@ func request_AppService_ListOrganizationsByUser_0(ctx context.Context, marshaler var protoReq ListOrganizationsByUserRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -152,7 +188,11 @@ func local_request_AppService_ListOrganizationsByUser_0(ctx context.Context, mar var protoReq ListOrganizationsByUserRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -165,7 +205,11 @@ func request_AppService_GetOrganization_0(ctx context.Context, marshaler runtime var protoReq GetOrganizationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -178,7 +222,11 @@ func local_request_AppService_GetOrganization_0(ctx context.Context, marshaler r var protoReq GetOrganizationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -191,7 +239,11 @@ func request_AppService_GetOrganizationNamespaceAvailability_0(ctx context.Conte var protoReq GetOrganizationNamespaceAvailabilityRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -204,7 +256,11 @@ func local_request_AppService_GetOrganizationNamespaceAvailability_0(ctx context var protoReq GetOrganizationNamespaceAvailabilityRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -217,7 +273,11 @@ func request_AppService_UpdateOrganization_0(ctx context.Context, marshaler runt var protoReq UpdateOrganizationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -230,7 +290,11 @@ func local_request_AppService_UpdateOrganization_0(ctx context.Context, marshale var protoReq UpdateOrganizationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -243,7 +307,11 @@ func request_AppService_DeleteOrganization_0(ctx context.Context, marshaler runt var protoReq DeleteOrganizationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -256,7 +324,11 @@ func local_request_AppService_DeleteOrganization_0(ctx context.Context, marshale var protoReq DeleteOrganizationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -269,7 +341,11 @@ func request_AppService_ListOrganizationMembers_0(ctx context.Context, marshaler var protoReq ListOrganizationMembersRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -282,7 +358,11 @@ func local_request_AppService_ListOrganizationMembers_0(ctx context.Context, mar var protoReq ListOrganizationMembersRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -295,7 +375,11 @@ func request_AppService_CreateOrganizationInvite_0(ctx context.Context, marshale var protoReq CreateOrganizationInviteRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -308,7 +392,11 @@ func local_request_AppService_CreateOrganizationInvite_0(ctx context.Context, ma var protoReq CreateOrganizationInviteRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -321,7 +409,11 @@ func request_AppService_UpdateOrganizationInviteAuthorizations_0(ctx context.Con var protoReq UpdateOrganizationInviteAuthorizationsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -334,7 +426,11 @@ func local_request_AppService_UpdateOrganizationInviteAuthorizations_0(ctx conte var protoReq UpdateOrganizationInviteAuthorizationsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -347,7 +443,11 @@ func request_AppService_DeleteOrganizationMember_0(ctx context.Context, marshale var protoReq DeleteOrganizationMemberRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -360,7 +460,11 @@ func local_request_AppService_DeleteOrganizationMember_0(ctx context.Context, ma var protoReq DeleteOrganizationMemberRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -373,7 +477,11 @@ func request_AppService_DeleteOrganizationInvite_0(ctx context.Context, marshale var protoReq DeleteOrganizationInviteRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -386,7 +494,11 @@ func local_request_AppService_DeleteOrganizationInvite_0(ctx context.Context, ma var protoReq DeleteOrganizationInviteRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -399,7 +511,11 @@ func request_AppService_ResendOrganizationInvite_0(ctx context.Context, marshale var protoReq ResendOrganizationInviteRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -412,7 +528,11 @@ func local_request_AppService_ResendOrganizationInvite_0(ctx context.Context, ma var protoReq ResendOrganizationInviteRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -425,7 +545,11 @@ func request_AppService_EnableBillingService_0(ctx context.Context, marshaler ru var protoReq EnableBillingServiceRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -438,7 +562,11 @@ func local_request_AppService_EnableBillingService_0(ctx context.Context, marsha var protoReq EnableBillingServiceRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -451,7 +579,11 @@ func request_AppService_DisableBillingService_0(ctx context.Context, marshaler r var protoReq DisableBillingServiceRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -464,7 +596,11 @@ func local_request_AppService_DisableBillingService_0(ctx context.Context, marsh var protoReq DisableBillingServiceRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -477,7 +613,11 @@ func request_AppService_UpdateBillingService_0(ctx context.Context, marshaler ru var protoReq UpdateBillingServiceRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -490,7 +630,11 @@ func local_request_AppService_UpdateBillingService_0(ctx context.Context, marsha var protoReq UpdateBillingServiceRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -499,11 +643,49 @@ func local_request_AppService_UpdateBillingService_0(ctx context.Context, marsha } +func request_AppService_GetBillingService_0(ctx context.Context, marshaler runtime.Marshaler, client AppServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetBillingServiceRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetBillingService(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AppService_GetBillingService_0(ctx context.Context, marshaler runtime.Marshaler, server AppServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetBillingServiceRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetBillingService(ctx, &protoReq) + return msg, metadata, err + +} + func request_AppService_OrganizationSetSupportEmail_0(ctx context.Context, marshaler runtime.Marshaler, client AppServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq OrganizationSetSupportEmailRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -516,7 +698,11 @@ func local_request_AppService_OrganizationSetSupportEmail_0(ctx context.Context, var protoReq OrganizationSetSupportEmailRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -529,7 +715,11 @@ func request_AppService_OrganizationGetSupportEmail_0(ctx context.Context, marsh var protoReq OrganizationGetSupportEmailRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -542,7 +732,11 @@ func local_request_AppService_OrganizationGetSupportEmail_0(ctx context.Context, var protoReq OrganizationGetSupportEmailRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -555,7 +749,11 @@ func request_AppService_CreateLocation_0(ctx context.Context, marshaler runtime. var protoReq CreateLocationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -568,7 +766,11 @@ func local_request_AppService_CreateLocation_0(ctx context.Context, marshaler ru var protoReq CreateLocationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -581,7 +783,11 @@ func request_AppService_GetLocation_0(ctx context.Context, marshaler runtime.Mar var protoReq GetLocationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -594,7 +800,11 @@ func local_request_AppService_GetLocation_0(ctx context.Context, marshaler runti var protoReq GetLocationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -607,7 +817,11 @@ func request_AppService_UpdateLocation_0(ctx context.Context, marshaler runtime. var protoReq UpdateLocationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -620,7 +834,11 @@ func local_request_AppService_UpdateLocation_0(ctx context.Context, marshaler ru var protoReq UpdateLocationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -633,7 +851,11 @@ func request_AppService_DeleteLocation_0(ctx context.Context, marshaler runtime. var protoReq DeleteLocationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -646,7 +868,11 @@ func local_request_AppService_DeleteLocation_0(ctx context.Context, marshaler ru var protoReq DeleteLocationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -659,7 +885,11 @@ func request_AppService_ListLocations_0(ctx context.Context, marshaler runtime.M var protoReq ListLocationsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -672,7 +902,11 @@ func local_request_AppService_ListLocations_0(ctx context.Context, marshaler run var protoReq ListLocationsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -685,7 +919,11 @@ func request_AppService_ShareLocation_0(ctx context.Context, marshaler runtime.M var protoReq ShareLocationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -698,7 +936,11 @@ func local_request_AppService_ShareLocation_0(ctx context.Context, marshaler run var protoReq ShareLocationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -711,7 +953,11 @@ func request_AppService_UnshareLocation_0(ctx context.Context, marshaler runtime var protoReq UnshareLocationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -724,7 +970,11 @@ func local_request_AppService_UnshareLocation_0(ctx context.Context, marshaler r var protoReq UnshareLocationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -737,7 +987,11 @@ func request_AppService_LocationAuth_0(ctx context.Context, marshaler runtime.Ma var protoReq LocationAuthRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -750,7 +1004,11 @@ func local_request_AppService_LocationAuth_0(ctx context.Context, marshaler runt var protoReq LocationAuthRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -763,7 +1021,11 @@ func request_AppService_CreateLocationSecret_0(ctx context.Context, marshaler ru var protoReq CreateLocationSecretRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -776,7 +1038,11 @@ func local_request_AppService_CreateLocationSecret_0(ctx context.Context, marsha var protoReq CreateLocationSecretRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -789,7 +1055,11 @@ func request_AppService_DeleteLocationSecret_0(ctx context.Context, marshaler ru var protoReq DeleteLocationSecretRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -802,7 +1072,11 @@ func local_request_AppService_DeleteLocationSecret_0(ctx context.Context, marsha var protoReq DeleteLocationSecretRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -815,7 +1089,11 @@ func request_AppService_GetRobot_0(ctx context.Context, marshaler runtime.Marsha var protoReq GetRobotRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -828,7 +1106,11 @@ func local_request_AppService_GetRobot_0(ctx context.Context, marshaler runtime. var protoReq GetRobotRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -841,7 +1123,11 @@ func request_AppService_GetRoverRentalRobots_0(ctx context.Context, marshaler ru var protoReq GetRoverRentalRobotsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -854,7 +1140,11 @@ func local_request_AppService_GetRoverRentalRobots_0(ctx context.Context, marsha var protoReq GetRoverRentalRobotsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -867,7 +1157,11 @@ func request_AppService_GetRobotParts_0(ctx context.Context, marshaler runtime.M var protoReq GetRobotPartsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -880,7 +1174,11 @@ func local_request_AppService_GetRobotParts_0(ctx context.Context, marshaler run var protoReq GetRobotPartsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -893,7 +1191,11 @@ func request_AppService_GetRobotPart_0(ctx context.Context, marshaler runtime.Ma var protoReq GetRobotPartRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -906,7 +1208,11 @@ func local_request_AppService_GetRobotPart_0(ctx context.Context, marshaler runt var protoReq GetRobotPartRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -919,7 +1225,11 @@ func request_AppService_GetRobotPartLogs_0(ctx context.Context, marshaler runtim var protoReq GetRobotPartLogsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -932,7 +1242,11 @@ func local_request_AppService_GetRobotPartLogs_0(ctx context.Context, marshaler var protoReq GetRobotPartLogsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -945,7 +1259,11 @@ func request_AppService_TailRobotPartLogs_0(ctx context.Context, marshaler runti var protoReq TailRobotPartLogsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -966,7 +1284,11 @@ func request_AppService_GetRobotPartHistory_0(ctx context.Context, marshaler run var protoReq GetRobotPartHistoryRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -979,7 +1301,11 @@ func local_request_AppService_GetRobotPartHistory_0(ctx context.Context, marshal var protoReq GetRobotPartHistoryRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -992,7 +1318,11 @@ func request_AppService_UpdateRobotPart_0(ctx context.Context, marshaler runtime var protoReq UpdateRobotPartRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1005,7 +1335,11 @@ func local_request_AppService_UpdateRobotPart_0(ctx context.Context, marshaler r var protoReq UpdateRobotPartRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1018,7 +1352,11 @@ func request_AppService_NewRobotPart_0(ctx context.Context, marshaler runtime.Ma var protoReq NewRobotPartRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1031,7 +1369,11 @@ func local_request_AppService_NewRobotPart_0(ctx context.Context, marshaler runt var protoReq NewRobotPartRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1044,7 +1386,11 @@ func request_AppService_DeleteRobotPart_0(ctx context.Context, marshaler runtime var protoReq DeleteRobotPartRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1057,7 +1403,11 @@ func local_request_AppService_DeleteRobotPart_0(ctx context.Context, marshaler r var protoReq DeleteRobotPartRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1070,7 +1420,11 @@ func request_AppService_GetRobotAPIKeys_0(ctx context.Context, marshaler runtime var protoReq GetRobotAPIKeysRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1083,7 +1437,11 @@ func local_request_AppService_GetRobotAPIKeys_0(ctx context.Context, marshaler r var protoReq GetRobotAPIKeysRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1096,7 +1454,11 @@ func request_AppService_MarkPartAsMain_0(ctx context.Context, marshaler runtime. var protoReq MarkPartAsMainRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1109,7 +1471,11 @@ func local_request_AppService_MarkPartAsMain_0(ctx context.Context, marshaler ru var protoReq MarkPartAsMainRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1122,7 +1488,11 @@ func request_AppService_MarkPartForRestart_0(ctx context.Context, marshaler runt var protoReq MarkPartForRestartRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1135,7 +1505,11 @@ func local_request_AppService_MarkPartForRestart_0(ctx context.Context, marshale var protoReq MarkPartForRestartRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1148,7 +1522,11 @@ func request_AppService_CreateRobotPartSecret_0(ctx context.Context, marshaler r var protoReq CreateRobotPartSecretRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1161,7 +1539,11 @@ func local_request_AppService_CreateRobotPartSecret_0(ctx context.Context, marsh var protoReq CreateRobotPartSecretRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1174,7 +1556,11 @@ func request_AppService_DeleteRobotPartSecret_0(ctx context.Context, marshaler r var protoReq DeleteRobotPartSecretRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1187,7 +1573,11 @@ func local_request_AppService_DeleteRobotPartSecret_0(ctx context.Context, marsh var protoReq DeleteRobotPartSecretRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1200,7 +1590,11 @@ func request_AppService_ListRobots_0(ctx context.Context, marshaler runtime.Mars var protoReq ListRobotsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1213,7 +1607,11 @@ func local_request_AppService_ListRobots_0(ctx context.Context, marshaler runtim var protoReq ListRobotsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1226,7 +1624,11 @@ func request_AppService_NewRobot_0(ctx context.Context, marshaler runtime.Marsha var protoReq NewRobotRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1239,7 +1641,11 @@ func local_request_AppService_NewRobot_0(ctx context.Context, marshaler runtime. var protoReq NewRobotRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1252,7 +1658,11 @@ func request_AppService_UpdateRobot_0(ctx context.Context, marshaler runtime.Mar var protoReq UpdateRobotRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1265,7 +1675,11 @@ func local_request_AppService_UpdateRobot_0(ctx context.Context, marshaler runti var protoReq UpdateRobotRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1278,7 +1692,11 @@ func request_AppService_DeleteRobot_0(ctx context.Context, marshaler runtime.Mar var protoReq DeleteRobotRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1291,7 +1709,11 @@ func local_request_AppService_DeleteRobot_0(ctx context.Context, marshaler runti var protoReq DeleteRobotRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1304,7 +1726,11 @@ func request_AppService_ListFragments_0(ctx context.Context, marshaler runtime.M var protoReq ListFragmentsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1317,7 +1743,11 @@ func local_request_AppService_ListFragments_0(ctx context.Context, marshaler run var protoReq ListFragmentsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1330,7 +1760,11 @@ func request_AppService_GetFragment_0(ctx context.Context, marshaler runtime.Mar var protoReq GetFragmentRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1343,7 +1777,11 @@ func local_request_AppService_GetFragment_0(ctx context.Context, marshaler runti var protoReq GetFragmentRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1356,7 +1794,11 @@ func request_AppService_CreateFragment_0(ctx context.Context, marshaler runtime. var protoReq CreateFragmentRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1369,7 +1811,11 @@ func local_request_AppService_CreateFragment_0(ctx context.Context, marshaler ru var protoReq CreateFragmentRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1382,7 +1828,11 @@ func request_AppService_UpdateFragment_0(ctx context.Context, marshaler runtime. var protoReq UpdateFragmentRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1395,7 +1845,11 @@ func local_request_AppService_UpdateFragment_0(ctx context.Context, marshaler ru var protoReq UpdateFragmentRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1408,7 +1862,11 @@ func request_AppService_DeleteFragment_0(ctx context.Context, marshaler runtime. var protoReq DeleteFragmentRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1421,7 +1879,11 @@ func local_request_AppService_DeleteFragment_0(ctx context.Context, marshaler ru var protoReq DeleteFragmentRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1434,7 +1896,11 @@ func request_AppService_ListMachineFragments_0(ctx context.Context, marshaler ru var protoReq ListMachineFragmentsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1447,7 +1913,11 @@ func local_request_AppService_ListMachineFragments_0(ctx context.Context, marsha var protoReq ListMachineFragmentsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1460,7 +1930,11 @@ func request_AppService_GetFragmentHistory_0(ctx context.Context, marshaler runt var protoReq GetFragmentHistoryRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1473,7 +1947,11 @@ func local_request_AppService_GetFragmentHistory_0(ctx context.Context, marshale var protoReq GetFragmentHistoryRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1486,7 +1964,11 @@ func request_AppService_AddRole_0(ctx context.Context, marshaler runtime.Marshal var protoReq AddRoleRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1499,7 +1981,11 @@ func local_request_AppService_AddRole_0(ctx context.Context, marshaler runtime.M var protoReq AddRoleRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1512,7 +1998,11 @@ func request_AppService_RemoveRole_0(ctx context.Context, marshaler runtime.Mars var protoReq RemoveRoleRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1525,7 +2015,11 @@ func local_request_AppService_RemoveRole_0(ctx context.Context, marshaler runtim var protoReq RemoveRoleRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1538,7 +2032,11 @@ func request_AppService_ChangeRole_0(ctx context.Context, marshaler runtime.Mars var protoReq ChangeRoleRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1551,7 +2049,11 @@ func local_request_AppService_ChangeRole_0(ctx context.Context, marshaler runtim var protoReq ChangeRoleRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1564,7 +2066,11 @@ func request_AppService_ListAuthorizations_0(ctx context.Context, marshaler runt var protoReq ListAuthorizationsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1577,7 +2083,11 @@ func local_request_AppService_ListAuthorizations_0(ctx context.Context, marshale var protoReq ListAuthorizationsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1590,7 +2100,11 @@ func request_AppService_CheckPermissions_0(ctx context.Context, marshaler runtim var protoReq CheckPermissionsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1603,7 +2117,11 @@ func local_request_AppService_CheckPermissions_0(ctx context.Context, marshaler var protoReq CheckPermissionsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1616,7 +2134,11 @@ func request_AppService_GetRegistryItem_0(ctx context.Context, marshaler runtime var protoReq GetRegistryItemRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1629,7 +2151,11 @@ func local_request_AppService_GetRegistryItem_0(ctx context.Context, marshaler r var protoReq GetRegistryItemRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1642,7 +2168,11 @@ func request_AppService_CreateRegistryItem_0(ctx context.Context, marshaler runt var protoReq CreateRegistryItemRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1655,7 +2185,11 @@ func local_request_AppService_CreateRegistryItem_0(ctx context.Context, marshale var protoReq CreateRegistryItemRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1668,7 +2202,11 @@ func request_AppService_UpdateRegistryItem_0(ctx context.Context, marshaler runt var protoReq UpdateRegistryItemRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1681,7 +2219,11 @@ func local_request_AppService_UpdateRegistryItem_0(ctx context.Context, marshale var protoReq UpdateRegistryItemRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1694,7 +2236,11 @@ func request_AppService_ListRegistryItems_0(ctx context.Context, marshaler runti var protoReq ListRegistryItemsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1707,7 +2253,11 @@ func local_request_AppService_ListRegistryItems_0(ctx context.Context, marshaler var protoReq ListRegistryItemsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1720,7 +2270,11 @@ func request_AppService_DeleteRegistryItem_0(ctx context.Context, marshaler runt var protoReq DeleteRegistryItemRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1733,7 +2287,11 @@ func local_request_AppService_DeleteRegistryItem_0(ctx context.Context, marshale var protoReq DeleteRegistryItemRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1746,7 +2304,11 @@ func request_AppService_TransferRegistryItem_0(ctx context.Context, marshaler ru var protoReq TransferRegistryItemRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1759,7 +2321,11 @@ func local_request_AppService_TransferRegistryItem_0(ctx context.Context, marsha var protoReq TransferRegistryItemRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1772,7 +2338,11 @@ func request_AppService_CreateModule_0(ctx context.Context, marshaler runtime.Ma var protoReq CreateModuleRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1785,7 +2355,11 @@ func local_request_AppService_CreateModule_0(ctx context.Context, marshaler runt var protoReq CreateModuleRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1798,7 +2372,11 @@ func request_AppService_UpdateModule_0(ctx context.Context, marshaler runtime.Ma var protoReq UpdateModuleRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1811,7 +2389,11 @@ func local_request_AppService_UpdateModule_0(ctx context.Context, marshaler runt var protoReq UpdateModuleRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1824,7 +2406,7 @@ func request_AppService_UploadModuleFile_0(ctx context.Context, marshaler runtim var metadata runtime.ServerMetadata stream, err := client.UploadModuleFile(ctx) if err != nil { - grpclog.Errorf("Failed to start streaming: %v", err) + grpclog.Infof("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -1835,25 +2417,25 @@ func request_AppService_UploadModuleFile_0(ctx context.Context, marshaler runtim break } if err != nil { - grpclog.Errorf("Failed to decode request: %v", err) + grpclog.Infof("Failed to decode request: %v", err) return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } if err = stream.Send(&protoReq); err != nil { if err == io.EOF { break } - grpclog.Errorf("Failed to send request: %v", err) + grpclog.Infof("Failed to send request: %v", err) return nil, metadata, err } } if err := stream.CloseSend(); err != nil { - grpclog.Errorf("Failed to terminate client stream: %v", err) + grpclog.Infof("Failed to terminate client stream: %v", err) return nil, metadata, err } header, err := stream.Header() if err != nil { - grpclog.Errorf("Failed to get header from client: %v", err) + grpclog.Infof("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -1868,7 +2450,11 @@ func request_AppService_GetModule_0(ctx context.Context, marshaler runtime.Marsh var protoReq GetModuleRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1881,7 +2467,11 @@ func local_request_AppService_GetModule_0(ctx context.Context, marshaler runtime var protoReq GetModuleRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1894,7 +2484,11 @@ func request_AppService_ListModules_0(ctx context.Context, marshaler runtime.Mar var protoReq ListModulesRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1907,7 +2501,11 @@ func local_request_AppService_ListModules_0(ctx context.Context, marshaler runti var protoReq ListModulesRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1920,7 +2518,11 @@ func request_AppService_CreateKey_0(ctx context.Context, marshaler runtime.Marsh var protoReq CreateKeyRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1933,7 +2535,11 @@ func local_request_AppService_CreateKey_0(ctx context.Context, marshaler runtime var protoReq CreateKeyRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1946,7 +2552,11 @@ func request_AppService_DeleteKey_0(ctx context.Context, marshaler runtime.Marsh var protoReq DeleteKeyRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1959,7 +2569,11 @@ func local_request_AppService_DeleteKey_0(ctx context.Context, marshaler runtime var protoReq DeleteKeyRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1972,7 +2586,11 @@ func request_AppService_ListKeys_0(ctx context.Context, marshaler runtime.Marsha var protoReq ListKeysRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1985,7 +2603,11 @@ func local_request_AppService_ListKeys_0(ctx context.Context, marshaler runtime. var protoReq ListKeysRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1998,7 +2620,11 @@ func request_AppService_RenameKey_0(ctx context.Context, marshaler runtime.Marsh var protoReq RenameKeyRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2011,7 +2637,11 @@ func local_request_AppService_RenameKey_0(ctx context.Context, marshaler runtime var protoReq RenameKeyRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2024,7 +2654,11 @@ func request_AppService_RotateKey_0(ctx context.Context, marshaler runtime.Marsh var protoReq RotateKeyRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2037,7 +2671,11 @@ func local_request_AppService_RotateKey_0(ctx context.Context, marshaler runtime var protoReq RotateKeyRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2050,7 +2688,11 @@ func request_AppService_CreateKeyFromExistingKeyAuthorizations_0(ctx context.Con var protoReq CreateKeyFromExistingKeyAuthorizationsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2063,7 +2705,11 @@ func local_request_AppService_CreateKeyFromExistingKeyAuthorizations_0(ctx conte var protoReq CreateKeyFromExistingKeyAuthorizationsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2528,6 +3174,31 @@ func RegisterAppServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, }) + mux.Handle("POST", pattern_AppService_GetBillingService_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/viam.app.v1.AppService/GetBillingService", runtime.WithHTTPPathPattern("/viam.app.v1.AppService/GetBillingService")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AppService_GetBillingService_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AppService_GetBillingService_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("POST", pattern_AppService_OrganizationSetSupportEmail_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -3998,21 +4669,21 @@ func RegisterAppServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, // RegisterAppServiceHandlerFromEndpoint is same as RegisterAppServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterAppServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() @@ -4429,6 +5100,28 @@ func RegisterAppServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, }) + mux.Handle("POST", pattern_AppService_GetBillingService_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/viam.app.v1.AppService/GetBillingService", runtime.WithHTTPPathPattern("/viam.app.v1.AppService/GetBillingService")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AppService_GetBillingService_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AppService_GetBillingService_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("POST", pattern_AppService_OrganizationSetSupportEmail_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -5789,6 +6482,8 @@ var ( pattern_AppService_UpdateBillingService_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.v1.AppService", "UpdateBillingService"}, "")) + pattern_AppService_GetBillingService_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.v1.AppService", "GetBillingService"}, "")) + pattern_AppService_OrganizationSetSupportEmail_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.v1.AppService", "OrganizationSetSupportEmail"}, "")) pattern_AppService_OrganizationGetSupportEmail_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.v1.AppService", "OrganizationGetSupportEmail"}, "")) @@ -5947,6 +6642,8 @@ var ( forward_AppService_UpdateBillingService_0 = runtime.ForwardResponseMessage + forward_AppService_GetBillingService_0 = runtime.ForwardResponseMessage + forward_AppService_OrganizationSetSupportEmail_0 = runtime.ForwardResponseMessage forward_AppService_OrganizationGetSupportEmail_0 = runtime.ForwardResponseMessage diff --git a/app/v1/app_grpc.pb.go b/app/v1/app_grpc.pb.go index 3a8f1d8f..4c6c299f 100644 --- a/app/v1/app_grpc.pb.go +++ b/app/v1/app_grpc.pb.go @@ -55,6 +55,7 @@ type AppServiceClient interface { EnableBillingService(ctx context.Context, in *EnableBillingServiceRequest, opts ...grpc.CallOption) (*EnableBillingServiceResponse, error) DisableBillingService(ctx context.Context, in *DisableBillingServiceRequest, opts ...grpc.CallOption) (*DisableBillingServiceResponse, error) UpdateBillingService(ctx context.Context, in *UpdateBillingServiceRequest, opts ...grpc.CallOption) (*UpdateBillingServiceResponse, error) + GetBillingService(ctx context.Context, in *GetBillingServiceRequest, opts ...grpc.CallOption) (*GetBillingServiceResponse, error) OrganizationSetSupportEmail(ctx context.Context, in *OrganizationSetSupportEmailRequest, opts ...grpc.CallOption) (*OrganizationSetSupportEmailResponse, error) OrganizationGetSupportEmail(ctx context.Context, in *OrganizationGetSupportEmailRequest, opts ...grpc.CallOption) (*OrganizationGetSupportEmailResponse, error) // Create a location @@ -331,6 +332,15 @@ func (c *appServiceClient) UpdateBillingService(ctx context.Context, in *UpdateB return out, nil } +func (c *appServiceClient) GetBillingService(ctx context.Context, in *GetBillingServiceRequest, opts ...grpc.CallOption) (*GetBillingServiceResponse, error) { + out := new(GetBillingServiceResponse) + err := c.cc.Invoke(ctx, "/viam.app.v1.AppService/GetBillingService", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *appServiceClient) OrganizationSetSupportEmail(ctx context.Context, in *OrganizationSetSupportEmailRequest, opts ...grpc.CallOption) (*OrganizationSetSupportEmailResponse, error) { out := new(OrganizationSetSupportEmailResponse) err := c.cc.Invoke(ctx, "/viam.app.v1.AppService/OrganizationSetSupportEmail", in, out, opts...) @@ -956,6 +966,7 @@ type AppServiceServer interface { EnableBillingService(context.Context, *EnableBillingServiceRequest) (*EnableBillingServiceResponse, error) DisableBillingService(context.Context, *DisableBillingServiceRequest) (*DisableBillingServiceResponse, error) UpdateBillingService(context.Context, *UpdateBillingServiceRequest) (*UpdateBillingServiceResponse, error) + GetBillingService(context.Context, *GetBillingServiceRequest) (*GetBillingServiceResponse, error) OrganizationSetSupportEmail(context.Context, *OrganizationSetSupportEmailRequest) (*OrganizationSetSupportEmailResponse, error) OrganizationGetSupportEmail(context.Context, *OrganizationGetSupportEmailRequest) (*OrganizationGetSupportEmailResponse, error) // Create a location @@ -1121,6 +1132,9 @@ func (UnimplementedAppServiceServer) DisableBillingService(context.Context, *Dis func (UnimplementedAppServiceServer) UpdateBillingService(context.Context, *UpdateBillingServiceRequest) (*UpdateBillingServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateBillingService not implemented") } +func (UnimplementedAppServiceServer) GetBillingService(context.Context, *GetBillingServiceRequest) (*GetBillingServiceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBillingService not implemented") +} func (UnimplementedAppServiceServer) OrganizationSetSupportEmail(context.Context, *OrganizationSetSupportEmailRequest) (*OrganizationSetSupportEmailResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method OrganizationSetSupportEmail not implemented") } @@ -1638,6 +1652,24 @@ func _AppService_UpdateBillingService_Handler(srv interface{}, ctx context.Conte return interceptor(ctx, in, info, handler) } +func _AppService_GetBillingService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetBillingServiceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AppServiceServer).GetBillingService(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/viam.app.v1.AppService/GetBillingService", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AppServiceServer).GetBillingService(ctx, req.(*GetBillingServiceRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _AppService_OrganizationSetSupportEmail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(OrganizationSetSupportEmailRequest) if err := dec(in); err != nil { @@ -2808,6 +2840,10 @@ var AppService_ServiceDesc = grpc.ServiceDesc{ MethodName: "UpdateBillingService", Handler: _AppService_UpdateBillingService_Handler, }, + { + MethodName: "GetBillingService", + Handler: _AppService_GetBillingService_Handler, + }, { MethodName: "OrganizationSetSupportEmail", Handler: _AppService_OrganizationSetSupportEmail_Handler, diff --git a/app/v1/billing.pb.go b/app/v1/billing.pb.go index 80a9bae1..c72b6dcc 100644 --- a/app/v1/billing.pb.go +++ b/app/v1/billing.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: app/v1/billing.proto @@ -198,9 +198,11 @@ type InvoiceSummary struct { func (x *InvoiceSummary) Reset() { *x = InvoiceSummary{} - mi := &file_app_v1_billing_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_billing_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InvoiceSummary) String() string { @@ -211,7 +213,7 @@ func (*InvoiceSummary) ProtoMessage() {} func (x *InvoiceSummary) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -279,9 +281,11 @@ type PaymentMethodCard struct { func (x *PaymentMethodCard) Reset() { *x = PaymentMethodCard{} - mi := &file_app_v1_billing_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_billing_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PaymentMethodCard) String() string { @@ -292,7 +296,7 @@ func (*PaymentMethodCard) ProtoMessage() {} func (x *PaymentMethodCard) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -331,9 +335,11 @@ type GetCurrentMonthUsageRequest struct { func (x *GetCurrentMonthUsageRequest) Reset() { *x = GetCurrentMonthUsageRequest{} - mi := &file_app_v1_billing_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_billing_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetCurrentMonthUsageRequest) String() string { @@ -344,7 +350,7 @@ func (*GetCurrentMonthUsageRequest) ProtoMessage() {} func (x *GetCurrentMonthUsageRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -377,9 +383,11 @@ type UsageCost struct { func (x *UsageCost) Reset() { *x = UsageCost{} - mi := &file_app_v1_billing_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_billing_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UsageCost) String() string { @@ -390,7 +398,7 @@ func (*UsageCost) ProtoMessage() {} func (x *UsageCost) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -431,9 +439,11 @@ type ResourceUsageCostsBySource struct { func (x *ResourceUsageCostsBySource) Reset() { *x = ResourceUsageCostsBySource{} - mi := &file_app_v1_billing_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_billing_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResourceUsageCostsBySource) String() string { @@ -444,7 +454,7 @@ func (*ResourceUsageCostsBySource) ProtoMessage() {} func (x *ResourceUsageCostsBySource) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -493,9 +503,11 @@ type ResourceUsageCosts struct { func (x *ResourceUsageCosts) Reset() { *x = ResourceUsageCosts{} - mi := &file_app_v1_billing_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_billing_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResourceUsageCosts) String() string { @@ -506,7 +518,7 @@ func (*ResourceUsageCosts) ProtoMessage() {} func (x *ResourceUsageCosts) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -560,35 +572,37 @@ type GetCurrentMonthUsageResponse struct { Subtotal float64 `protobuf:"fixed64,15,opt,name=subtotal,proto3" json:"subtotal,omitempty"` // all fields below are deprecated // - // Deprecated: Marked as deprecated in app/v1/billing.proto. + // Deprecated: Do not use. CloudStorageUsageCost float64 `protobuf:"fixed64,3,opt,name=cloud_storage_usage_cost,json=cloudStorageUsageCost,proto3" json:"cloud_storage_usage_cost,omitempty"` - // Deprecated: Marked as deprecated in app/v1/billing.proto. + // Deprecated: Do not use. DataUploadUsageCost float64 `protobuf:"fixed64,4,opt,name=data_upload_usage_cost,json=dataUploadUsageCost,proto3" json:"data_upload_usage_cost,omitempty"` - // Deprecated: Marked as deprecated in app/v1/billing.proto. + // Deprecated: Do not use. DataEgresUsageCost float64 `protobuf:"fixed64,5,opt,name=data_egres_usage_cost,json=dataEgresUsageCost,proto3" json:"data_egres_usage_cost,omitempty"` - // Deprecated: Marked as deprecated in app/v1/billing.proto. + // Deprecated: Do not use. RemoteControlUsageCost float64 `protobuf:"fixed64,6,opt,name=remote_control_usage_cost,json=remoteControlUsageCost,proto3" json:"remote_control_usage_cost,omitempty"` - // Deprecated: Marked as deprecated in app/v1/billing.proto. + // Deprecated: Do not use. StandardComputeUsageCost float64 `protobuf:"fixed64,7,opt,name=standard_compute_usage_cost,json=standardComputeUsageCost,proto3" json:"standard_compute_usage_cost,omitempty"` - // Deprecated: Marked as deprecated in app/v1/billing.proto. + // Deprecated: Do not use. DiscountAmount float64 `protobuf:"fixed64,8,opt,name=discount_amount,json=discountAmount,proto3" json:"discount_amount,omitempty"` - // Deprecated: Marked as deprecated in app/v1/billing.proto. + // Deprecated: Do not use. TotalUsageWithDiscount float64 `protobuf:"fixed64,9,opt,name=total_usage_with_discount,json=totalUsageWithDiscount,proto3" json:"total_usage_with_discount,omitempty"` - // Deprecated: Marked as deprecated in app/v1/billing.proto. + // Deprecated: Do not use. TotalUsageWithoutDiscount float64 `protobuf:"fixed64,10,opt,name=total_usage_without_discount,json=totalUsageWithoutDiscount,proto3" json:"total_usage_without_discount,omitempty"` - // Deprecated: Marked as deprecated in app/v1/billing.proto. + // Deprecated: Do not use. PerMachineUsageCost float64 `protobuf:"fixed64,11,opt,name=per_machine_usage_cost,json=perMachineUsageCost,proto3" json:"per_machine_usage_cost,omitempty"` - // Deprecated: Marked as deprecated in app/v1/billing.proto. + // Deprecated: Do not use. BinaryDataCloudStorageUsageCost float64 `protobuf:"fixed64,12,opt,name=binary_data_cloud_storage_usage_cost,json=binaryDataCloudStorageUsageCost,proto3" json:"binary_data_cloud_storage_usage_cost,omitempty"` - // Deprecated: Marked as deprecated in app/v1/billing.proto. + // Deprecated: Do not use. OtherCloudStorageUsageCost float64 `protobuf:"fixed64,13,opt,name=other_cloud_storage_usage_cost,json=otherCloudStorageUsageCost,proto3" json:"other_cloud_storage_usage_cost,omitempty"` } func (x *GetCurrentMonthUsageResponse) Reset() { *x = GetCurrentMonthUsageResponse{} - mi := &file_app_v1_billing_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_billing_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetCurrentMonthUsageResponse) String() string { @@ -599,7 +613,7 @@ func (*GetCurrentMonthUsageResponse) ProtoMessage() {} func (x *GetCurrentMonthUsageResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -642,7 +656,7 @@ func (x *GetCurrentMonthUsageResponse) GetSubtotal() float64 { return 0 } -// Deprecated: Marked as deprecated in app/v1/billing.proto. +// Deprecated: Do not use. func (x *GetCurrentMonthUsageResponse) GetCloudStorageUsageCost() float64 { if x != nil { return x.CloudStorageUsageCost @@ -650,7 +664,7 @@ func (x *GetCurrentMonthUsageResponse) GetCloudStorageUsageCost() float64 { return 0 } -// Deprecated: Marked as deprecated in app/v1/billing.proto. +// Deprecated: Do not use. func (x *GetCurrentMonthUsageResponse) GetDataUploadUsageCost() float64 { if x != nil { return x.DataUploadUsageCost @@ -658,7 +672,7 @@ func (x *GetCurrentMonthUsageResponse) GetDataUploadUsageCost() float64 { return 0 } -// Deprecated: Marked as deprecated in app/v1/billing.proto. +// Deprecated: Do not use. func (x *GetCurrentMonthUsageResponse) GetDataEgresUsageCost() float64 { if x != nil { return x.DataEgresUsageCost @@ -666,7 +680,7 @@ func (x *GetCurrentMonthUsageResponse) GetDataEgresUsageCost() float64 { return 0 } -// Deprecated: Marked as deprecated in app/v1/billing.proto. +// Deprecated: Do not use. func (x *GetCurrentMonthUsageResponse) GetRemoteControlUsageCost() float64 { if x != nil { return x.RemoteControlUsageCost @@ -674,7 +688,7 @@ func (x *GetCurrentMonthUsageResponse) GetRemoteControlUsageCost() float64 { return 0 } -// Deprecated: Marked as deprecated in app/v1/billing.proto. +// Deprecated: Do not use. func (x *GetCurrentMonthUsageResponse) GetStandardComputeUsageCost() float64 { if x != nil { return x.StandardComputeUsageCost @@ -682,7 +696,7 @@ func (x *GetCurrentMonthUsageResponse) GetStandardComputeUsageCost() float64 { return 0 } -// Deprecated: Marked as deprecated in app/v1/billing.proto. +// Deprecated: Do not use. func (x *GetCurrentMonthUsageResponse) GetDiscountAmount() float64 { if x != nil { return x.DiscountAmount @@ -690,7 +704,7 @@ func (x *GetCurrentMonthUsageResponse) GetDiscountAmount() float64 { return 0 } -// Deprecated: Marked as deprecated in app/v1/billing.proto. +// Deprecated: Do not use. func (x *GetCurrentMonthUsageResponse) GetTotalUsageWithDiscount() float64 { if x != nil { return x.TotalUsageWithDiscount @@ -698,7 +712,7 @@ func (x *GetCurrentMonthUsageResponse) GetTotalUsageWithDiscount() float64 { return 0 } -// Deprecated: Marked as deprecated in app/v1/billing.proto. +// Deprecated: Do not use. func (x *GetCurrentMonthUsageResponse) GetTotalUsageWithoutDiscount() float64 { if x != nil { return x.TotalUsageWithoutDiscount @@ -706,7 +720,7 @@ func (x *GetCurrentMonthUsageResponse) GetTotalUsageWithoutDiscount() float64 { return 0 } -// Deprecated: Marked as deprecated in app/v1/billing.proto. +// Deprecated: Do not use. func (x *GetCurrentMonthUsageResponse) GetPerMachineUsageCost() float64 { if x != nil { return x.PerMachineUsageCost @@ -714,7 +728,7 @@ func (x *GetCurrentMonthUsageResponse) GetPerMachineUsageCost() float64 { return 0 } -// Deprecated: Marked as deprecated in app/v1/billing.proto. +// Deprecated: Do not use. func (x *GetCurrentMonthUsageResponse) GetBinaryDataCloudStorageUsageCost() float64 { if x != nil { return x.BinaryDataCloudStorageUsageCost @@ -722,7 +736,7 @@ func (x *GetCurrentMonthUsageResponse) GetBinaryDataCloudStorageUsageCost() floa return 0 } -// Deprecated: Marked as deprecated in app/v1/billing.proto. +// Deprecated: Do not use. func (x *GetCurrentMonthUsageResponse) GetOtherCloudStorageUsageCost() float64 { if x != nil { return x.OtherCloudStorageUsageCost @@ -740,9 +754,11 @@ type GetOrgBillingInformationRequest struct { func (x *GetOrgBillingInformationRequest) Reset() { *x = GetOrgBillingInformationRequest{} - mi := &file_app_v1_billing_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_billing_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetOrgBillingInformationRequest) String() string { @@ -753,7 +769,7 @@ func (*GetOrgBillingInformationRequest) ProtoMessage() {} func (x *GetOrgBillingInformationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -790,9 +806,11 @@ type GetOrgBillingInformationResponse struct { func (x *GetOrgBillingInformationResponse) Reset() { *x = GetOrgBillingInformationResponse{} - mi := &file_app_v1_billing_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_billing_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetOrgBillingInformationResponse) String() string { @@ -803,7 +821,7 @@ func (*GetOrgBillingInformationResponse) ProtoMessage() {} func (x *GetOrgBillingInformationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -856,9 +874,11 @@ type GetInvoicesSummaryRequest struct { func (x *GetInvoicesSummaryRequest) Reset() { *x = GetInvoicesSummaryRequest{} - mi := &file_app_v1_billing_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_billing_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetInvoicesSummaryRequest) String() string { @@ -869,7 +889,7 @@ func (*GetInvoicesSummaryRequest) ProtoMessage() {} func (x *GetInvoicesSummaryRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -904,9 +924,11 @@ type GetInvoicesSummaryResponse struct { func (x *GetInvoicesSummaryResponse) Reset() { *x = GetInvoicesSummaryResponse{} - mi := &file_app_v1_billing_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_billing_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetInvoicesSummaryResponse) String() string { @@ -917,7 +939,7 @@ func (*GetInvoicesSummaryResponse) ProtoMessage() {} func (x *GetInvoicesSummaryResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -957,9 +979,11 @@ type GetInvoicePdfRequest struct { func (x *GetInvoicePdfRequest) Reset() { *x = GetInvoicePdfRequest{} - mi := &file_app_v1_billing_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_billing_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetInvoicePdfRequest) String() string { @@ -970,7 +994,7 @@ func (*GetInvoicePdfRequest) ProtoMessage() {} func (x *GetInvoicePdfRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1009,9 +1033,11 @@ type GetInvoicePdfResponse struct { func (x *GetInvoicePdfResponse) Reset() { *x = GetInvoicePdfResponse{} - mi := &file_app_v1_billing_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_billing_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetInvoicePdfResponse) String() string { @@ -1022,7 +1048,7 @@ func (*GetInvoicePdfResponse) ProtoMessage() {} func (x *GetInvoicePdfResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1055,9 +1081,11 @@ type SendPaymentRequiredEmailRequest struct { func (x *SendPaymentRequiredEmailRequest) Reset() { *x = SendPaymentRequiredEmailRequest{} - mi := &file_app_v1_billing_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_billing_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SendPaymentRequiredEmailRequest) String() string { @@ -1068,7 +1096,7 @@ func (*SendPaymentRequiredEmailRequest) ProtoMessage() {} func (x *SendPaymentRequiredEmailRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1105,9 +1133,11 @@ type SendPaymentRequiredEmailResponse struct { func (x *SendPaymentRequiredEmailResponse) Reset() { *x = SendPaymentRequiredEmailResponse{} - mi := &file_app_v1_billing_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_billing_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SendPaymentRequiredEmailResponse) String() string { @@ -1118,7 +1148,7 @@ func (*SendPaymentRequiredEmailResponse) ProtoMessage() {} func (x *SendPaymentRequiredEmailResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1394,7 +1424,7 @@ func file_app_v1_billing_proto_rawDescGZIP() []byte { var file_app_v1_billing_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_app_v1_billing_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_app_v1_billing_proto_goTypes = []any{ +var file_app_v1_billing_proto_goTypes = []interface{}{ (PaymentMethodType)(0), // 0: viam.app.v1.PaymentMethodType (UsageCostType)(0), // 1: viam.app.v1.UsageCostType (SourceType)(0), // 2: viam.app.v1.SourceType @@ -1451,7 +1481,189 @@ func file_app_v1_billing_proto_init() { if File_app_v1_billing_proto != nil { return } - file_app_v1_billing_proto_msgTypes[8].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_app_v1_billing_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InvoiceSummary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_billing_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaymentMethodCard); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_billing_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCurrentMonthUsageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_billing_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UsageCost); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_billing_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceUsageCostsBySource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_billing_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceUsageCosts); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_billing_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCurrentMonthUsageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_billing_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrgBillingInformationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_billing_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrgBillingInformationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_billing_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInvoicesSummaryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_billing_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInvoicesSummaryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_billing_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInvoicePdfRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_billing_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInvoicePdfResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_billing_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendPaymentRequiredEmailRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_billing_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendPaymentRequiredEmailResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_app_v1_billing_proto_msgTypes[8].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/app/v1/billing.pb.gw.go b/app/v1/billing.pb.gw.go index 66496195..0c3529a7 100644 --- a/app/v1/billing.pb.gw.go +++ b/app/v1/billing.pb.gw.go @@ -35,7 +35,11 @@ func request_BillingService_GetCurrentMonthUsage_0(ctx context.Context, marshale var protoReq GetCurrentMonthUsageRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -48,7 +52,11 @@ func local_request_BillingService_GetCurrentMonthUsage_0(ctx context.Context, ma var protoReq GetCurrentMonthUsageRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -61,7 +69,11 @@ func request_BillingService_GetOrgBillingInformation_0(ctx context.Context, mars var protoReq GetOrgBillingInformationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -74,7 +86,11 @@ func local_request_BillingService_GetOrgBillingInformation_0(ctx context.Context var protoReq GetOrgBillingInformationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -87,7 +103,11 @@ func request_BillingService_GetInvoicesSummary_0(ctx context.Context, marshaler var protoReq GetInvoicesSummaryRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -100,7 +120,11 @@ func local_request_BillingService_GetInvoicesSummary_0(ctx context.Context, mars var protoReq GetInvoicesSummaryRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -113,7 +137,11 @@ func request_BillingService_GetInvoicePdf_0(ctx context.Context, marshaler runti var protoReq GetInvoicePdfRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -134,7 +162,11 @@ func request_BillingService_SendPaymentRequiredEmail_0(ctx context.Context, mars var protoReq SendPaymentRequiredEmailRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -147,7 +179,11 @@ func local_request_BillingService_SendPaymentRequiredEmail_0(ctx context.Context var protoReq SendPaymentRequiredEmailRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -275,21 +311,21 @@ func RegisterBillingServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterBillingServiceHandlerFromEndpoint is same as RegisterBillingServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterBillingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/v1/end_user.pb.go b/app/v1/end_user.pb.go index 159ea626..b0a3f3cd 100644 --- a/app/v1/end_user.pb.go +++ b/app/v1/end_user.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: app/v1/end_user.proto @@ -28,9 +28,11 @@ type IsLegalAcceptedRequest struct { func (x *IsLegalAcceptedRequest) Reset() { *x = IsLegalAcceptedRequest{} - mi := &file_app_v1_end_user_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_end_user_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsLegalAcceptedRequest) String() string { @@ -41,7 +43,7 @@ func (*IsLegalAcceptedRequest) ProtoMessage() {} func (x *IsLegalAcceptedRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -67,9 +69,11 @@ type IsLegalAcceptedResponse struct { func (x *IsLegalAcceptedResponse) Reset() { *x = IsLegalAcceptedResponse{} - mi := &file_app_v1_end_user_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_end_user_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsLegalAcceptedResponse) String() string { @@ -80,7 +84,7 @@ func (*IsLegalAcceptedResponse) ProtoMessage() {} func (x *IsLegalAcceptedResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -110,9 +114,11 @@ type AcceptLegalRequest struct { func (x *AcceptLegalRequest) Reset() { *x = AcceptLegalRequest{} - mi := &file_app_v1_end_user_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_end_user_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AcceptLegalRequest) String() string { @@ -123,7 +129,7 @@ func (*AcceptLegalRequest) ProtoMessage() {} func (x *AcceptLegalRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -146,9 +152,11 @@ type AcceptLegalResponse struct { func (x *AcceptLegalResponse) Reset() { *x = AcceptLegalResponse{} - mi := &file_app_v1_end_user_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_end_user_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AcceptLegalResponse) String() string { @@ -159,7 +167,7 @@ func (*AcceptLegalResponse) ProtoMessage() {} func (x *AcceptLegalResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -188,9 +196,11 @@ type RegisterAuthApplicationRequest struct { func (x *RegisterAuthApplicationRequest) Reset() { *x = RegisterAuthApplicationRequest{} - mi := &file_app_v1_end_user_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_end_user_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RegisterAuthApplicationRequest) String() string { @@ -201,7 +211,7 @@ func (*RegisterAuthApplicationRequest) ProtoMessage() {} func (x *RegisterAuthApplicationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -263,9 +273,11 @@ type RegisterAuthApplicationResponse struct { func (x *RegisterAuthApplicationResponse) Reset() { *x = RegisterAuthApplicationResponse{} - mi := &file_app_v1_end_user_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_end_user_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RegisterAuthApplicationResponse) String() string { @@ -276,7 +288,7 @@ func (*RegisterAuthApplicationResponse) ProtoMessage() {} func (x *RegisterAuthApplicationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -327,9 +339,11 @@ type UpdateAuthApplicationRequest struct { func (x *UpdateAuthApplicationRequest) Reset() { *x = UpdateAuthApplicationRequest{} - mi := &file_app_v1_end_user_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_end_user_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateAuthApplicationRequest) String() string { @@ -340,7 +354,7 @@ func (*UpdateAuthApplicationRequest) ProtoMessage() {} func (x *UpdateAuthApplicationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -408,9 +422,11 @@ type UpdateAuthApplicationResponse struct { func (x *UpdateAuthApplicationResponse) Reset() { *x = UpdateAuthApplicationResponse{} - mi := &file_app_v1_end_user_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_end_user_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *UpdateAuthApplicationResponse) String() string { @@ -421,7 +437,7 @@ func (*UpdateAuthApplicationResponse) ProtoMessage() {} func (x *UpdateAuthApplicationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -461,9 +477,11 @@ type GetAuthApplicationRequest struct { func (x *GetAuthApplicationRequest) Reset() { *x = GetAuthApplicationRequest{} - mi := &file_app_v1_end_user_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_end_user_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetAuthApplicationRequest) String() string { @@ -474,7 +492,7 @@ func (*GetAuthApplicationRequest) ProtoMessage() {} func (x *GetAuthApplicationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -518,9 +536,11 @@ type GetAuthApplicationResponse struct { func (x *GetAuthApplicationResponse) Reset() { *x = GetAuthApplicationResponse{} - mi := &file_app_v1_end_user_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_end_user_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetAuthApplicationResponse) String() string { @@ -531,7 +551,7 @@ func (*GetAuthApplicationResponse) ProtoMessage() {} func (x *GetAuthApplicationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -718,7 +738,7 @@ func file_app_v1_end_user_proto_rawDescGZIP() []byte { } var file_app_v1_end_user_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_app_v1_end_user_proto_goTypes = []any{ +var file_app_v1_end_user_proto_goTypes = []interface{}{ (*IsLegalAcceptedRequest)(nil), // 0: viam.app.v1.IsLegalAcceptedRequest (*IsLegalAcceptedResponse)(nil), // 1: viam.app.v1.IsLegalAcceptedResponse (*AcceptLegalRequest)(nil), // 2: viam.app.v1.AcceptLegalRequest @@ -753,6 +773,128 @@ func file_app_v1_end_user_proto_init() { if File_app_v1_end_user_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_app_v1_end_user_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsLegalAcceptedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_end_user_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsLegalAcceptedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_end_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AcceptLegalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_end_user_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AcceptLegalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_end_user_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegisterAuthApplicationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_end_user_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegisterAuthApplicationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_end_user_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateAuthApplicationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_end_user_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateAuthApplicationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_end_user_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAuthApplicationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_end_user_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAuthApplicationResponse); 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{ diff --git a/app/v1/end_user.pb.gw.go b/app/v1/end_user.pb.gw.go index ea4f1800..9333ea13 100644 --- a/app/v1/end_user.pb.gw.go +++ b/app/v1/end_user.pb.gw.go @@ -35,7 +35,11 @@ func request_EndUserService_IsLegalAccepted_0(ctx context.Context, marshaler run var protoReq IsLegalAcceptedRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -48,7 +52,11 @@ func local_request_EndUserService_IsLegalAccepted_0(ctx context.Context, marshal var protoReq IsLegalAcceptedRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -61,7 +69,11 @@ func request_EndUserService_AcceptLegal_0(ctx context.Context, marshaler runtime var protoReq AcceptLegalRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -74,7 +86,11 @@ func local_request_EndUserService_AcceptLegal_0(ctx context.Context, marshaler r var protoReq AcceptLegalRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -87,7 +103,11 @@ func request_EndUserService_RegisterAuthApplication_0(ctx context.Context, marsh var protoReq RegisterAuthApplicationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -100,7 +120,11 @@ func local_request_EndUserService_RegisterAuthApplication_0(ctx context.Context, var protoReq RegisterAuthApplicationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -113,7 +137,11 @@ func request_EndUserService_UpdateAuthApplication_0(ctx context.Context, marshal var protoReq UpdateAuthApplicationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -126,7 +154,11 @@ func local_request_EndUserService_UpdateAuthApplication_0(ctx context.Context, m var protoReq UpdateAuthApplicationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -139,7 +171,11 @@ func request_EndUserService_GetAuthApplication_0(ctx context.Context, marshaler var protoReq GetAuthApplicationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -152,7 +188,11 @@ func local_request_EndUserService_GetAuthApplication_0(ctx context.Context, mars var protoReq GetAuthApplicationRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -298,21 +338,21 @@ func RegisterEndUserServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterEndUserServiceHandlerFromEndpoint is same as RegisterEndUserServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterEndUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/v1/robot.pb.go b/app/v1/robot.pb.go index 2425b264..491a92a0 100644 --- a/app/v1/robot.pb.go +++ b/app/v1/robot.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: app/v1/robot.proto @@ -107,9 +107,11 @@ type RobotConfig struct { func (x *RobotConfig) Reset() { *x = RobotConfig{} - mi := &file_app_v1_robot_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RobotConfig) String() string { @@ -120,7 +122,7 @@ func (*RobotConfig) ProtoMessage() {} func (x *RobotConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -260,9 +262,11 @@ type LogPatternConfig struct { func (x *LogPatternConfig) Reset() { *x = LogPatternConfig{} - mi := &file_app_v1_robot_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LogPatternConfig) String() string { @@ -273,7 +277,7 @@ func (*LogPatternConfig) ProtoMessage() {} func (x *LogPatternConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -315,9 +319,11 @@ type LocationSecret struct { func (x *LocationSecret) Reset() { *x = LocationSecret{} - mi := &file_app_v1_robot_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LocationSecret) String() string { @@ -328,7 +334,7 @@ func (*LocationSecret) ProtoMessage() {} func (x *LocationSecret) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -367,9 +373,11 @@ type AppValidationStatus struct { func (x *AppValidationStatus) Reset() { *x = AppValidationStatus{} - mi := &file_app_v1_robot_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AppValidationStatus) String() string { @@ -380,7 +388,7 @@ func (*AppValidationStatus) ProtoMessage() {} func (x *AppValidationStatus) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -416,7 +424,7 @@ type CloudConfig struct { SignalingInsecure bool `protobuf:"varint,6,opt,name=signaling_insecure,json=signalingInsecure,proto3" json:"signaling_insecure,omitempty"` // Deprecated use location_secrets // - // Deprecated: Marked as deprecated in app/v1/robot.proto. + // Deprecated: Do not use. LocationSecret string `protobuf:"bytes,7,opt,name=location_secret,json=locationSecret,proto3" json:"location_secret,omitempty"` // Robot part secret Secret string `protobuf:"bytes,8,opt,name=secret,proto3" json:"secret,omitempty"` @@ -429,9 +437,11 @@ type CloudConfig struct { func (x *CloudConfig) Reset() { *x = CloudConfig{} - mi := &file_app_v1_robot_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CloudConfig) String() string { @@ -442,7 +452,7 @@ func (*CloudConfig) ProtoMessage() {} func (x *CloudConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -499,7 +509,7 @@ func (x *CloudConfig) GetSignalingInsecure() bool { return false } -// Deprecated: Marked as deprecated in app/v1/robot.proto. +// Deprecated: Do not use. func (x *CloudConfig) GetLocationSecret() string { if x != nil { return x.LocationSecret @@ -561,9 +571,11 @@ type ComponentConfig struct { func (x *ComponentConfig) Reset() { *x = ComponentConfig{} - mi := &file_app_v1_robot_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ComponentConfig) String() string { @@ -574,7 +586,7 @@ func (*ComponentConfig) ProtoMessage() {} func (x *ComponentConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -672,9 +684,11 @@ type ResourceLevelServiceConfig struct { func (x *ResourceLevelServiceConfig) Reset() { *x = ResourceLevelServiceConfig{} - mi := &file_app_v1_robot_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResourceLevelServiceConfig) String() string { @@ -685,7 +699,7 @@ func (*ResourceLevelServiceConfig) ProtoMessage() {} func (x *ResourceLevelServiceConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -735,9 +749,11 @@ type ProcessConfig struct { func (x *ProcessConfig) Reset() { *x = ProcessConfig{} - mi := &file_app_v1_robot_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ProcessConfig) String() string { @@ -748,7 +764,7 @@ func (*ProcessConfig) ProtoMessage() {} func (x *ProcessConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -851,9 +867,11 @@ type ServiceConfig struct { func (x *ServiceConfig) Reset() { *x = ServiceConfig{} - mi := &file_app_v1_robot_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ServiceConfig) String() string { @@ -864,7 +882,7 @@ func (*ServiceConfig) ProtoMessage() {} func (x *ServiceConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -956,9 +974,11 @@ type NetworkConfig struct { func (x *NetworkConfig) Reset() { *x = NetworkConfig{} - mi := &file_app_v1_robot_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *NetworkConfig) String() string { @@ -969,7 +989,7 @@ func (*NetworkConfig) ProtoMessage() {} func (x *NetworkConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1029,9 +1049,11 @@ type SessionsConfig struct { func (x *SessionsConfig) Reset() { *x = SessionsConfig{} - mi := &file_app_v1_robot_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SessionsConfig) String() string { @@ -1042,7 +1064,7 @@ func (*SessionsConfig) ProtoMessage() {} func (x *SessionsConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1076,9 +1098,11 @@ type AuthConfig struct { func (x *AuthConfig) Reset() { *x = AuthConfig{} - mi := &file_app_v1_robot_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AuthConfig) String() string { @@ -1089,7 +1113,7 @@ func (*AuthConfig) ProtoMessage() {} func (x *AuthConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1137,9 +1161,11 @@ type JWKSFile struct { func (x *JWKSFile) Reset() { *x = JWKSFile{} - mi := &file_app_v1_robot_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JWKSFile) String() string { @@ -1150,7 +1176,7 @@ func (*JWKSFile) ProtoMessage() {} func (x *JWKSFile) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1184,9 +1210,11 @@ type ExternalAuthConfig struct { func (x *ExternalAuthConfig) Reset() { *x = ExternalAuthConfig{} - mi := &file_app_v1_robot_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ExternalAuthConfig) String() string { @@ -1197,7 +1225,7 @@ func (*ExternalAuthConfig) ProtoMessage() {} func (x *ExternalAuthConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1230,9 +1258,11 @@ type AuthHandlerConfig struct { func (x *AuthHandlerConfig) Reset() { *x = AuthHandlerConfig{} - mi := &file_app_v1_robot_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AuthHandlerConfig) String() string { @@ -1243,7 +1273,7 @@ func (*AuthHandlerConfig) ProtoMessage() {} func (x *AuthHandlerConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1285,9 +1315,11 @@ type Frame struct { func (x *Frame) Reset() { *x = Frame{} - mi := &file_app_v1_robot_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Frame) String() string { @@ -1298,7 +1330,7 @@ func (*Frame) ProtoMessage() {} func (x *Frame) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1351,9 +1383,11 @@ type LogConfiguration struct { func (x *LogConfiguration) Reset() { *x = LogConfiguration{} - mi := &file_app_v1_robot_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LogConfiguration) String() string { @@ -1364,7 +1398,7 @@ func (*LogConfiguration) ProtoMessage() {} func (x *LogConfiguration) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1398,9 +1432,11 @@ type Translation struct { func (x *Translation) Reset() { *x = Translation{} - mi := &file_app_v1_robot_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Translation) String() string { @@ -1411,7 +1447,7 @@ func (*Translation) ProtoMessage() {} func (x *Translation) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1465,9 +1501,11 @@ type Orientation struct { func (x *Orientation) Reset() { *x = Orientation{} - mi := &file_app_v1_robot_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Orientation) String() string { @@ -1478,7 +1516,7 @@ func (*Orientation) ProtoMessage() {} func (x *Orientation) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1606,9 +1644,11 @@ type RemoteConfig struct { func (x *RemoteConfig) Reset() { *x = RemoteConfig{} - mi := &file_app_v1_robot_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoteConfig) String() string { @@ -1619,7 +1659,7 @@ func (*RemoteConfig) ProtoMessage() {} func (x *RemoteConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1718,9 +1758,11 @@ type RemoteAuth struct { func (x *RemoteAuth) Reset() { *x = RemoteAuth{} - mi := &file_app_v1_robot_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoteAuth) String() string { @@ -1731,7 +1773,7 @@ func (*RemoteAuth) ProtoMessage() {} func (x *RemoteAuth) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1780,9 +1822,11 @@ type AgentInfo struct { func (x *AgentInfo) Reset() { *x = AgentInfo{} - mi := &file_app_v1_robot_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AgentInfo) String() string { @@ -1793,7 +1837,7 @@ func (*AgentInfo) ProtoMessage() {} func (x *AgentInfo) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1870,9 +1914,11 @@ type ConfigRequest struct { func (x *ConfigRequest) Reset() { *x = ConfigRequest{} - mi := &file_app_v1_robot_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ConfigRequest) String() string { @@ -1883,7 +1929,7 @@ func (*ConfigRequest) ProtoMessage() {} func (x *ConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1922,9 +1968,11 @@ type ConfigResponse struct { func (x *ConfigResponse) Reset() { *x = ConfigResponse{} - mi := &file_app_v1_robot_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ConfigResponse) String() string { @@ -1935,7 +1983,7 @@ func (*ConfigResponse) ProtoMessage() {} func (x *ConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1968,9 +2016,11 @@ type CertificateRequest struct { func (x *CertificateRequest) Reset() { *x = CertificateRequest{} - mi := &file_app_v1_robot_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CertificateRequest) String() string { @@ -1981,7 +2031,7 @@ func (*CertificateRequest) ProtoMessage() {} func (x *CertificateRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2016,9 +2066,11 @@ type CertificateResponse struct { func (x *CertificateResponse) Reset() { *x = CertificateResponse{} - mi := &file_app_v1_robot_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CertificateResponse) String() string { @@ -2029,7 +2081,7 @@ func (*CertificateResponse) ProtoMessage() {} func (x *CertificateResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2077,9 +2129,11 @@ type LogRequest struct { func (x *LogRequest) Reset() { *x = LogRequest{} - mi := &file_app_v1_robot_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LogRequest) String() string { @@ -2090,7 +2144,7 @@ func (*LogRequest) ProtoMessage() {} func (x *LogRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2127,9 +2181,11 @@ type LogResponse struct { func (x *LogResponse) Reset() { *x = LogResponse{} - mi := &file_app_v1_robot_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LogResponse) String() string { @@ -2140,7 +2196,7 @@ func (*LogResponse) ProtoMessage() {} func (x *LogResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2166,9 +2222,11 @@ type NeedsRestartRequest struct { func (x *NeedsRestartRequest) Reset() { *x = NeedsRestartRequest{} - mi := &file_app_v1_robot_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *NeedsRestartRequest) String() string { @@ -2179,7 +2237,7 @@ func (*NeedsRestartRequest) ProtoMessage() {} func (x *NeedsRestartRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2214,9 +2272,11 @@ type NeedsRestartResponse struct { func (x *NeedsRestartResponse) Reset() { *x = NeedsRestartResponse{} - mi := &file_app_v1_robot_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *NeedsRestartResponse) String() string { @@ -2227,7 +2287,7 @@ func (*NeedsRestartResponse) ProtoMessage() {} func (x *NeedsRestartResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[29] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2288,9 +2348,11 @@ type ModuleConfig struct { func (x *ModuleConfig) Reset() { *x = ModuleConfig{} - mi := &file_app_v1_robot_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ModuleConfig) String() string { @@ -2301,7 +2363,7 @@ func (*ModuleConfig) ProtoMessage() {} func (x *ModuleConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[30] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2392,9 +2454,11 @@ type PackageConfig struct { func (x *PackageConfig) Reset() { *x = PackageConfig{} - mi := &file_app_v1_robot_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PackageConfig) String() string { @@ -2405,7 +2469,7 @@ func (*PackageConfig) ProtoMessage() {} func (x *PackageConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[31] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2466,9 +2530,11 @@ type MaintenanceConfig struct { func (x *MaintenanceConfig) Reset() { *x = MaintenanceConfig{} - mi := &file_app_v1_robot_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MaintenanceConfig) String() string { @@ -2479,7 +2545,7 @@ func (*MaintenanceConfig) ProtoMessage() {} func (x *MaintenanceConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[32] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2516,9 +2582,11 @@ type Orientation_NoOrientation struct { func (x *Orientation_NoOrientation) Reset() { *x = Orientation_NoOrientation{} - mi := &file_app_v1_robot_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Orientation_NoOrientation) String() string { @@ -2529,7 +2597,7 @@ func (*Orientation_NoOrientation) ProtoMessage() {} func (x *Orientation_NoOrientation) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[34] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2566,9 +2634,11 @@ type Orientation_OrientationVectorRadians struct { func (x *Orientation_OrientationVectorRadians) Reset() { *x = Orientation_OrientationVectorRadians{} - mi := &file_app_v1_robot_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Orientation_OrientationVectorRadians) String() string { @@ -2579,7 +2649,7 @@ func (*Orientation_OrientationVectorRadians) ProtoMessage() {} func (x *Orientation_OrientationVectorRadians) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[35] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2637,9 +2707,11 @@ type Orientation_OrientationVectorDegrees struct { func (x *Orientation_OrientationVectorDegrees) Reset() { *x = Orientation_OrientationVectorDegrees{} - mi := &file_app_v1_robot_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Orientation_OrientationVectorDegrees) String() string { @@ -2650,7 +2722,7 @@ func (*Orientation_OrientationVectorDegrees) ProtoMessage() {} func (x *Orientation_OrientationVectorDegrees) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[36] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2707,9 +2779,11 @@ type Orientation_EulerAngles struct { func (x *Orientation_EulerAngles) Reset() { *x = Orientation_EulerAngles{} - mi := &file_app_v1_robot_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Orientation_EulerAngles) String() string { @@ -2720,7 +2794,7 @@ func (*Orientation_EulerAngles) ProtoMessage() {} func (x *Orientation_EulerAngles) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[37] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2776,9 +2850,11 @@ type Orientation_AxisAngles struct { func (x *Orientation_AxisAngles) Reset() { *x = Orientation_AxisAngles{} - mi := &file_app_v1_robot_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Orientation_AxisAngles) String() string { @@ -2789,7 +2865,7 @@ func (*Orientation_AxisAngles) ProtoMessage() {} func (x *Orientation_AxisAngles) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[38] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2846,9 +2922,11 @@ type Orientation_Quaternion struct { func (x *Orientation_Quaternion) Reset() { *x = Orientation_Quaternion{} - mi := &file_app_v1_robot_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Orientation_Quaternion) String() string { @@ -2859,7 +2937,7 @@ func (*Orientation_Quaternion) ProtoMessage() {} func (x *Orientation_Quaternion) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[39] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2915,9 +2993,11 @@ type RemoteAuth_Credentials struct { func (x *RemoteAuth_Credentials) Reset() { *x = RemoteAuth_Credentials{} - mi := &file_app_v1_robot_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_app_v1_robot_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoteAuth_Credentials) String() string { @@ -2928,7 +3008,7 @@ func (*RemoteAuth_Credentials) ProtoMessage() {} func (x *RemoteAuth_Credentials) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[40] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3467,7 +3547,7 @@ func file_app_v1_robot_proto_rawDescGZIP() []byte { var file_app_v1_robot_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_app_v1_robot_proto_msgTypes = make([]protoimpl.MessageInfo, 42) -var file_app_v1_robot_proto_goTypes = []any{ +var file_app_v1_robot_proto_goTypes = []interface{}{ (CredentialsType)(0), // 0: viam.app.v1.CredentialsType (*RobotConfig)(nil), // 1: viam.app.v1.RobotConfig (*LogPatternConfig)(nil), // 2: viam.app.v1.LogPatternConfig @@ -3594,9 +3674,491 @@ func file_app_v1_robot_proto_init() { if File_app_v1_robot_proto != nil { return } - file_app_v1_robot_proto_msgTypes[0].OneofWrappers = []any{} - file_app_v1_robot_proto_msgTypes[11].OneofWrappers = []any{} - file_app_v1_robot_proto_msgTypes[18].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_app_v1_robot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RobotConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LogPatternConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LocationSecret); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AppValidationStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloudConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ComponentConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceLevelServiceConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProcessConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NetworkConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SessionsConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuthConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JWKSFile); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExternalAuthConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuthHandlerConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Frame); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LogConfiguration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Translation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Orientation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoteConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoteAuth); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AgentInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LogRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LogResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NeedsRestartRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NeedsRestartResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ModuleConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PackageConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MaintenanceConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Orientation_NoOrientation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Orientation_OrientationVectorRadians); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Orientation_OrientationVectorDegrees); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Orientation_EulerAngles); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Orientation_AxisAngles); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Orientation_Quaternion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_app_v1_robot_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoteAuth_Credentials); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_app_v1_robot_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_app_v1_robot_proto_msgTypes[11].OneofWrappers = []interface{}{} + file_app_v1_robot_proto_msgTypes[18].OneofWrappers = []interface{}{ (*Orientation_NoOrientation_)(nil), (*Orientation_VectorRadians)(nil), (*Orientation_VectorDegrees)(nil), @@ -3604,8 +4166,8 @@ func file_app_v1_robot_proto_init() { (*Orientation_AxisAngles_)(nil), (*Orientation_Quaternion_)(nil), } - file_app_v1_robot_proto_msgTypes[21].OneofWrappers = []any{} - file_app_v1_robot_proto_msgTypes[22].OneofWrappers = []any{} + file_app_v1_robot_proto_msgTypes[21].OneofWrappers = []interface{}{} + file_app_v1_robot_proto_msgTypes[22].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/app/v1/robot.pb.gw.go b/app/v1/robot.pb.gw.go index 2fa0e5d8..b1ce77e9 100644 --- a/app/v1/robot.pb.gw.go +++ b/app/v1/robot.pb.gw.go @@ -35,7 +35,11 @@ func request_RobotService_Config_0(ctx context.Context, marshaler runtime.Marsha var protoReq ConfigRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -48,7 +52,11 @@ func local_request_RobotService_Config_0(ctx context.Context, marshaler runtime. var protoReq ConfigRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -61,7 +69,11 @@ func request_RobotService_Certificate_0(ctx context.Context, marshaler runtime.M var protoReq CertificateRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -74,7 +86,11 @@ func local_request_RobotService_Certificate_0(ctx context.Context, marshaler run var protoReq CertificateRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -87,7 +103,11 @@ func request_RobotService_Log_0(ctx context.Context, marshaler runtime.Marshaler var protoReq LogRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -100,7 +120,11 @@ func local_request_RobotService_Log_0(ctx context.Context, marshaler runtime.Mar var protoReq LogRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -113,7 +137,11 @@ func request_RobotService_NeedsRestart_0(ctx context.Context, marshaler runtime. var protoReq NeedsRestartRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -126,7 +154,11 @@ func local_request_RobotService_NeedsRestart_0(ctx context.Context, marshaler ru var protoReq NeedsRestartRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -247,21 +279,21 @@ func RegisterRobotServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu // RegisterRobotServiceHandlerFromEndpoint is same as RegisterRobotServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterRobotServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/common/v1/common.pb.go b/common/v1/common.pb.go index 603ea9ef..0502877f 100644 --- a/common/v1/common.pb.go +++ b/common/v1/common.pb.go @@ -2,7 +2,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: common/v1/common.proto @@ -89,9 +89,11 @@ type ResourceName struct { func (x *ResourceName) Reset() { *x = ResourceName{} - mi := &file_common_v1_common_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResourceName) String() string { @@ -102,7 +104,7 @@ func (*ResourceName) ProtoMessage() {} func (x *ResourceName) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -190,9 +192,11 @@ type Pose struct { func (x *Pose) Reset() { *x = Pose{} - mi := &file_common_v1_common_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Pose) String() string { @@ -203,7 +207,7 @@ func (*Pose) ProtoMessage() {} func (x *Pose) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -284,9 +288,11 @@ type Orientation struct { func (x *Orientation) Reset() { *x = Orientation{} - mi := &file_common_v1_common_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Orientation) String() string { @@ -297,7 +303,7 @@ func (*Orientation) ProtoMessage() {} func (x *Orientation) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -352,9 +358,11 @@ type PoseInFrame struct { func (x *PoseInFrame) Reset() { *x = PoseInFrame{} - mi := &file_common_v1_common_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PoseInFrame) String() string { @@ -365,7 +373,7 @@ func (*PoseInFrame) ProtoMessage() {} func (x *PoseInFrame) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -406,9 +414,11 @@ type Vector3 struct { func (x *Vector3) Reset() { *x = Vector3{} - mi := &file_common_v1_common_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Vector3) String() string { @@ -419,7 +429,7 @@ func (*Vector3) ProtoMessage() {} func (x *Vector3) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -465,9 +475,11 @@ type Sphere struct { func (x *Sphere) Reset() { *x = Sphere{} - mi := &file_common_v1_common_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Sphere) String() string { @@ -478,7 +490,7 @@ func (*Sphere) ProtoMessage() {} func (x *Sphere) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -511,9 +523,11 @@ type Capsule struct { func (x *Capsule) Reset() { *x = Capsule{} - mi := &file_common_v1_common_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Capsule) String() string { @@ -524,7 +538,7 @@ func (*Capsule) ProtoMessage() {} func (x *Capsule) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -565,9 +579,11 @@ type RectangularPrism struct { func (x *RectangularPrism) Reset() { *x = RectangularPrism{} - mi := &file_common_v1_common_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RectangularPrism) String() string { @@ -578,7 +594,7 @@ func (*RectangularPrism) ProtoMessage() {} func (x *RectangularPrism) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -622,9 +638,11 @@ type Geometry struct { func (x *Geometry) Reset() { *x = Geometry{} - mi := &file_common_v1_common_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Geometry) String() string { @@ -635,7 +653,7 @@ func (*Geometry) ProtoMessage() {} func (x *Geometry) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -729,9 +747,11 @@ type GeometriesInFrame struct { func (x *GeometriesInFrame) Reset() { *x = GeometriesInFrame{} - mi := &file_common_v1_common_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GeometriesInFrame) String() string { @@ -742,7 +762,7 @@ func (*GeometriesInFrame) ProtoMessage() {} func (x *GeometriesInFrame) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -786,9 +806,11 @@ type PointCloudObject struct { func (x *PointCloudObject) Reset() { *x = PointCloudObject{} - mi := &file_common_v1_common_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PointCloudObject) String() string { @@ -799,7 +821,7 @@ func (*PointCloudObject) ProtoMessage() {} func (x *PointCloudObject) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -839,9 +861,11 @@ type GeoPoint struct { func (x *GeoPoint) Reset() { *x = GeoPoint{} - mi := &file_common_v1_common_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GeoPoint) String() string { @@ -852,7 +876,7 @@ func (*GeoPoint) ProtoMessage() {} func (x *GeoPoint) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -895,9 +919,11 @@ type GeoGeometry struct { func (x *GeoGeometry) Reset() { *x = GeoGeometry{} - mi := &file_common_v1_common_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GeoGeometry) String() string { @@ -908,7 +934,7 @@ func (*GeoGeometry) ProtoMessage() {} func (x *GeoGeometry) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -954,9 +980,11 @@ type Transform struct { func (x *Transform) Reset() { *x = Transform{} - mi := &file_common_v1_common_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Transform) String() string { @@ -967,7 +995,7 @@ func (*Transform) ProtoMessage() {} func (x *Transform) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1020,9 +1048,11 @@ type WorldState struct { func (x *WorldState) Reset() { *x = WorldState{} - mi := &file_common_v1_common_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WorldState) String() string { @@ -1033,7 +1063,7 @@ func (*WorldState) ProtoMessage() {} func (x *WorldState) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1073,9 +1103,11 @@ type ActuatorStatus struct { func (x *ActuatorStatus) Reset() { *x = ActuatorStatus{} - mi := &file_common_v1_common_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ActuatorStatus) String() string { @@ -1086,7 +1118,7 @@ func (*ActuatorStatus) ProtoMessage() {} func (x *ActuatorStatus) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1122,9 +1154,11 @@ type ResponseMetadata struct { func (x *ResponseMetadata) Reset() { *x = ResponseMetadata{} - mi := &file_common_v1_common_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResponseMetadata) String() string { @@ -1135,7 +1169,7 @@ func (*ResponseMetadata) ProtoMessage() {} func (x *ResponseMetadata) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1169,9 +1203,11 @@ type DoCommandRequest struct { func (x *DoCommandRequest) Reset() { *x = DoCommandRequest{} - mi := &file_common_v1_common_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DoCommandRequest) String() string { @@ -1182,7 +1218,7 @@ func (*DoCommandRequest) ProtoMessage() {} func (x *DoCommandRequest) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1222,9 +1258,11 @@ type DoCommandResponse struct { func (x *DoCommandResponse) Reset() { *x = DoCommandResponse{} - mi := &file_common_v1_common_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DoCommandResponse) String() string { @@ -1235,7 +1273,7 @@ func (*DoCommandResponse) ProtoMessage() {} func (x *DoCommandResponse) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1270,9 +1308,11 @@ type GetKinematicsRequest struct { func (x *GetKinematicsRequest) Reset() { *x = GetKinematicsRequest{} - mi := &file_common_v1_common_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetKinematicsRequest) String() string { @@ -1283,7 +1323,7 @@ func (*GetKinematicsRequest) ProtoMessage() {} func (x *GetKinematicsRequest) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1326,9 +1366,11 @@ type GetKinematicsResponse struct { func (x *GetKinematicsResponse) Reset() { *x = GetKinematicsResponse{} - mi := &file_common_v1_common_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetKinematicsResponse) String() string { @@ -1339,7 +1381,7 @@ func (*GetKinematicsResponse) ProtoMessage() {} func (x *GetKinematicsResponse) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1381,9 +1423,11 @@ type GetGeometriesRequest struct { func (x *GetGeometriesRequest) Reset() { *x = GetGeometriesRequest{} - mi := &file_common_v1_common_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetGeometriesRequest) String() string { @@ -1394,7 +1438,7 @@ func (*GetGeometriesRequest) ProtoMessage() {} func (x *GetGeometriesRequest) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1434,9 +1478,11 @@ type GetGeometriesResponse struct { func (x *GetGeometriesResponse) Reset() { *x = GetGeometriesResponse{} - mi := &file_common_v1_common_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetGeometriesResponse) String() string { @@ -1447,7 +1493,7 @@ func (*GetGeometriesResponse) ProtoMessage() {} func (x *GetGeometriesResponse) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1482,9 +1528,11 @@ type GetReadingsRequest struct { func (x *GetReadingsRequest) Reset() { *x = GetReadingsRequest{} - mi := &file_common_v1_common_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetReadingsRequest) String() string { @@ -1495,7 +1543,7 @@ func (*GetReadingsRequest) ProtoMessage() {} func (x *GetReadingsRequest) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1534,9 +1582,11 @@ type GetReadingsResponse struct { func (x *GetReadingsResponse) Reset() { *x = GetReadingsResponse{} - mi := &file_common_v1_common_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetReadingsResponse) String() string { @@ -1547,7 +1597,7 @@ func (*GetReadingsResponse) ProtoMessage() {} func (x *GetReadingsResponse) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1586,9 +1636,11 @@ type LogEntry struct { func (x *LogEntry) Reset() { *x = LogEntry{} - mi := &file_common_v1_common_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_common_v1_common_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LogEntry) String() string { @@ -1599,7 +1651,7 @@ func (*LogEntry) ProtoMessage() {} func (x *LogEntry) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1927,7 +1979,7 @@ func file_common_v1_common_proto_rawDescGZIP() []byte { var file_common_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_common_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 27) -var file_common_v1_common_proto_goTypes = []any{ +var file_common_v1_common_proto_goTypes = []interface{}{ (KinematicsFileFormat)(0), // 0: viam.common.v1.KinematicsFileFormat (*ResourceName)(nil), // 1: viam.common.v1.ResourceName (*Pose)(nil), // 2: viam.common.v1.Pose @@ -2002,13 +2054,327 @@ func file_common_v1_common_proto_init() { if File_common_v1_common_proto != nil { return } - file_common_v1_common_proto_msgTypes[8].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_common_v1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceName); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Pose); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Orientation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoseInFrame); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Vector3); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Sphere); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Capsule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RectangularPrism); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Geometry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GeometriesInFrame); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PointCloudObject); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GeoPoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GeoGeometry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Transform); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorldState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActuatorStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResponseMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DoCommandRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DoCommandResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetKinematicsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetKinematicsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetGeometriesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetGeometriesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReadingsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReadingsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_v1_common_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LogEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_common_v1_common_proto_msgTypes[8].OneofWrappers = []interface{}{ (*Geometry_Sphere)(nil), (*Geometry_Box)(nil), (*Geometry_Capsule)(nil), } - file_common_v1_common_proto_msgTypes[13].OneofWrappers = []any{} - file_common_v1_common_proto_msgTypes[16].OneofWrappers = []any{} + file_common_v1_common_proto_msgTypes[13].OneofWrappers = []interface{}{} + file_common_v1_common_proto_msgTypes[16].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/component/arm/v1/arm.pb.go b/component/arm/v1/arm.pb.go index 6b975b5e..06773a35 100644 --- a/component/arm/v1/arm.pb.go +++ b/component/arm/v1/arm.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/arm/v1/arm.proto @@ -36,9 +36,11 @@ type GetEndPositionRequest struct { func (x *GetEndPositionRequest) Reset() { *x = GetEndPositionRequest{} - mi := &file_component_arm_v1_arm_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetEndPositionRequest) String() string { @@ -49,7 +51,7 @@ func (*GetEndPositionRequest) ProtoMessage() {} func (x *GetEndPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -90,9 +92,11 @@ type GetEndPositionResponse struct { func (x *GetEndPositionResponse) Reset() { *x = GetEndPositionResponse{} - mi := &file_component_arm_v1_arm_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetEndPositionResponse) String() string { @@ -103,7 +107,7 @@ func (*GetEndPositionResponse) ProtoMessage() {} func (x *GetEndPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -137,9 +141,11 @@ type JointPositions struct { func (x *JointPositions) Reset() { *x = JointPositions{} - mi := &file_component_arm_v1_arm_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *JointPositions) String() string { @@ -150,7 +156,7 @@ func (*JointPositions) ProtoMessage() {} func (x *JointPositions) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -185,9 +191,11 @@ type GetJointPositionsRequest struct { func (x *GetJointPositionsRequest) Reset() { *x = GetJointPositionsRequest{} - mi := &file_component_arm_v1_arm_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetJointPositionsRequest) String() string { @@ -198,7 +206,7 @@ func (*GetJointPositionsRequest) ProtoMessage() {} func (x *GetJointPositionsRequest) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -238,9 +246,11 @@ type GetJointPositionsResponse struct { func (x *GetJointPositionsResponse) Reset() { *x = GetJointPositionsResponse{} - mi := &file_component_arm_v1_arm_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetJointPositionsResponse) String() string { @@ -251,7 +261,7 @@ func (*GetJointPositionsResponse) ProtoMessage() {} func (x *GetJointPositionsResponse) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -291,9 +301,11 @@ type MoveToPositionRequest struct { func (x *MoveToPositionRequest) Reset() { *x = MoveToPositionRequest{} - mi := &file_component_arm_v1_arm_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveToPositionRequest) String() string { @@ -304,7 +316,7 @@ func (*MoveToPositionRequest) ProtoMessage() {} func (x *MoveToPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -348,9 +360,11 @@ type MoveToPositionResponse struct { func (x *MoveToPositionResponse) Reset() { *x = MoveToPositionResponse{} - mi := &file_component_arm_v1_arm_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveToPositionResponse) String() string { @@ -361,7 +375,7 @@ func (*MoveToPositionResponse) ProtoMessage() {} func (x *MoveToPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -392,9 +406,11 @@ type MoveToJointPositionsRequest struct { func (x *MoveToJointPositionsRequest) Reset() { *x = MoveToJointPositionsRequest{} - mi := &file_component_arm_v1_arm_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveToJointPositionsRequest) String() string { @@ -405,7 +421,7 @@ func (*MoveToJointPositionsRequest) ProtoMessage() {} func (x *MoveToJointPositionsRequest) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -449,9 +465,11 @@ type MoveToJointPositionsResponse struct { func (x *MoveToJointPositionsResponse) Reset() { *x = MoveToJointPositionsResponse{} - mi := &file_component_arm_v1_arm_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveToJointPositionsResponse) String() string { @@ -462,7 +480,7 @@ func (*MoveToJointPositionsResponse) ProtoMessage() {} func (x *MoveToJointPositionsResponse) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -494,9 +512,11 @@ type MoveThroughJointPositionsRequest struct { func (x *MoveThroughJointPositionsRequest) Reset() { *x = MoveThroughJointPositionsRequest{} - mi := &file_component_arm_v1_arm_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveThroughJointPositionsRequest) String() string { @@ -507,7 +527,7 @@ func (*MoveThroughJointPositionsRequest) ProtoMessage() {} func (x *MoveThroughJointPositionsRequest) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -558,9 +578,11 @@ type MoveThroughJointPositionsResponse struct { func (x *MoveThroughJointPositionsResponse) Reset() { *x = MoveThroughJointPositionsResponse{} - mi := &file_component_arm_v1_arm_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveThroughJointPositionsResponse) String() string { @@ -571,7 +593,7 @@ func (*MoveThroughJointPositionsResponse) ProtoMessage() {} func (x *MoveThroughJointPositionsResponse) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -599,9 +621,11 @@ type StopRequest struct { func (x *StopRequest) Reset() { *x = StopRequest{} - mi := &file_component_arm_v1_arm_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopRequest) String() string { @@ -612,7 +636,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -649,9 +673,11 @@ type StopResponse struct { func (x *StopResponse) Reset() { *x = StopResponse{} - mi := &file_component_arm_v1_arm_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopResponse) String() string { @@ -662,7 +688,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -689,9 +715,11 @@ type Status struct { func (x *Status) Reset() { *x = Status{} - mi := &file_component_arm_v1_arm_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Status) String() string { @@ -702,7 +730,7 @@ func (*Status) ProtoMessage() {} func (x *Status) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -748,9 +776,11 @@ type IsMovingRequest struct { func (x *IsMovingRequest) Reset() { *x = IsMovingRequest{} - mi := &file_component_arm_v1_arm_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsMovingRequest) String() string { @@ -761,7 +791,7 @@ func (*IsMovingRequest) ProtoMessage() {} func (x *IsMovingRequest) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -793,9 +823,11 @@ type IsMovingResponse struct { func (x *IsMovingResponse) Reset() { *x = IsMovingResponse{} - mi := &file_component_arm_v1_arm_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsMovingResponse) String() string { @@ -806,7 +838,7 @@ func (*IsMovingResponse) ProtoMessage() {} func (x *IsMovingResponse) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -841,9 +873,11 @@ type MoveOptions struct { func (x *MoveOptions) Reset() { *x = MoveOptions{} - mi := &file_component_arm_v1_arm_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_arm_v1_arm_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveOptions) String() string { @@ -854,7 +888,7 @@ func (*MoveOptions) ProtoMessage() {} func (x *MoveOptions) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1116,7 +1150,7 @@ func file_component_arm_v1_arm_proto_rawDescGZIP() []byte { } var file_component_arm_v1_arm_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_component_arm_v1_arm_proto_goTypes = []any{ +var file_component_arm_v1_arm_proto_goTypes = []interface{}{ (*GetEndPositionRequest)(nil), // 0: viam.component.arm.v1.GetEndPositionRequest (*GetEndPositionResponse)(nil), // 1: viam.component.arm.v1.GetEndPositionResponse (*JointPositions)(nil), // 2: viam.component.arm.v1.JointPositions @@ -1190,8 +1224,214 @@ func file_component_arm_v1_arm_proto_init() { if File_component_arm_v1_arm_proto != nil { return } - file_component_arm_v1_arm_proto_msgTypes[9].OneofWrappers = []any{} - file_component_arm_v1_arm_proto_msgTypes[16].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_component_arm_v1_arm_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEndPositionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEndPositionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*JointPositions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetJointPositionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetJointPositionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveToPositionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveToPositionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveToJointPositionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveToJointPositionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveThroughJointPositionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveThroughJointPositionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Status); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMovingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMovingResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_arm_v1_arm_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_component_arm_v1_arm_proto_msgTypes[9].OneofWrappers = []interface{}{} + file_component_arm_v1_arm_proto_msgTypes[16].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/component/arm/v1/arm.pb.gw.go b/component/arm/v1/arm.pb.gw.go index afd930a7..0e9899d5 100644 --- a/component/arm/v1/arm.pb.gw.go +++ b/component/arm/v1/arm.pb.gw.go @@ -976,21 +976,21 @@ func RegisterArmServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, // RegisterArmServiceHandlerFromEndpoint is same as RegisterArmServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterArmServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/audioinput/v1/audioinput.pb.go b/component/audioinput/v1/audioinput.pb.go index 8d464761..49f5d70d 100644 --- a/component/audioinput/v1/audioinput.pb.go +++ b/component/audioinput/v1/audioinput.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/audioinput/v1/audioinput.proto @@ -85,9 +85,11 @@ type RecordRequest struct { func (x *RecordRequest) Reset() { *x = RecordRequest{} - mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RecordRequest) String() string { @@ -98,7 +100,7 @@ func (*RecordRequest) ProtoMessage() {} func (x *RecordRequest) ProtoReflect() protoreflect.Message { mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -140,9 +142,11 @@ type AudioChunkInfo struct { func (x *AudioChunkInfo) Reset() { *x = AudioChunkInfo{} - mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AudioChunkInfo) String() string { @@ -153,7 +157,7 @@ func (*AudioChunkInfo) ProtoMessage() {} func (x *AudioChunkInfo) ProtoReflect() protoreflect.Message { mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -204,9 +208,11 @@ type AudioChunk struct { func (x *AudioChunk) Reset() { *x = AudioChunk{} - mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AudioChunk) String() string { @@ -217,7 +223,7 @@ func (*AudioChunk) ProtoMessage() {} func (x *AudioChunk) ProtoReflect() protoreflect.Message { mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -259,9 +265,11 @@ type ChunksRequest struct { func (x *ChunksRequest) Reset() { *x = ChunksRequest{} - mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ChunksRequest) String() string { @@ -272,7 +280,7 @@ func (*ChunksRequest) ProtoMessage() {} func (x *ChunksRequest) ProtoReflect() protoreflect.Message { mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -315,9 +323,11 @@ type ChunksResponse struct { func (x *ChunksResponse) Reset() { *x = ChunksResponse{} - mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ChunksResponse) String() string { @@ -328,7 +338,7 @@ func (*ChunksResponse) ProtoMessage() {} func (x *ChunksResponse) ProtoReflect() protoreflect.Message { mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -391,9 +401,11 @@ type PropertiesRequest struct { func (x *PropertiesRequest) Reset() { *x = PropertiesRequest{} - mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PropertiesRequest) String() string { @@ -404,7 +416,7 @@ func (*PropertiesRequest) ProtoMessage() {} func (x *PropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -442,9 +454,11 @@ type PropertiesResponse struct { func (x *PropertiesResponse) Reset() { *x = PropertiesResponse{} - mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PropertiesResponse) String() string { @@ -455,7 +469,7 @@ func (*PropertiesResponse) ProtoMessage() {} func (x *PropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -666,7 +680,7 @@ func file_component_audioinput_v1_audioinput_proto_rawDescGZIP() []byte { var file_component_audioinput_v1_audioinput_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_component_audioinput_v1_audioinput_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_component_audioinput_v1_audioinput_proto_goTypes = []any{ +var file_component_audioinput_v1_audioinput_proto_goTypes = []interface{}{ (SampleFormat)(0), // 0: viam.component.audioinput.v1.SampleFormat (*RecordRequest)(nil), // 1: viam.component.audioinput.v1.RecordRequest (*AudioChunkInfo)(nil), // 2: viam.component.audioinput.v1.AudioChunkInfo @@ -711,7 +725,93 @@ func file_component_audioinput_v1_audioinput_proto_init() { if File_component_audioinput_v1_audioinput_proto != nil { return } - file_component_audioinput_v1_audioinput_proto_msgTypes[4].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_component_audioinput_v1_audioinput_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RecordRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_audioinput_v1_audioinput_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AudioChunkInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_audioinput_v1_audioinput_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AudioChunk); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_audioinput_v1_audioinput_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChunksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_audioinput_v1_audioinput_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChunksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_audioinput_v1_audioinput_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_audioinput_v1_audioinput_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertiesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_component_audioinput_v1_audioinput_proto_msgTypes[4].OneofWrappers = []interface{}{ (*ChunksResponse_Info)(nil), (*ChunksResponse_Chunk)(nil), } diff --git a/component/audioinput/v1/audioinput.pb.gw.go b/component/audioinput/v1/audioinput.pb.gw.go index 2ccbdba7..97662546 100644 --- a/component/audioinput/v1/audioinput.pb.gw.go +++ b/component/audioinput/v1/audioinput.pb.gw.go @@ -36,7 +36,11 @@ func request_AudioInputService_Chunks_0(ctx context.Context, marshaler runtime.M var protoReq ChunksRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -434,21 +438,21 @@ func RegisterAudioInputServiceHandlerServer(ctx context.Context, mux *runtime.Se // RegisterAudioInputServiceHandlerFromEndpoint is same as RegisterAudioInputServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterAudioInputServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/base/v1/base.pb.go b/component/base/v1/base.pb.go index 96afd86a..694a34b7 100644 --- a/component/base/v1/base.pb.go +++ b/component/base/v1/base.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/base/v1/base.proto @@ -40,9 +40,11 @@ type MoveStraightRequest struct { func (x *MoveStraightRequest) Reset() { *x = MoveStraightRequest{} - mi := &file_component_base_v1_base_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_base_v1_base_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveStraightRequest) String() string { @@ -53,7 +55,7 @@ func (*MoveStraightRequest) ProtoMessage() {} func (x *MoveStraightRequest) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -104,9 +106,11 @@ type MoveStraightResponse struct { func (x *MoveStraightResponse) Reset() { *x = MoveStraightResponse{} - mi := &file_component_base_v1_base_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_base_v1_base_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveStraightResponse) String() string { @@ -117,7 +121,7 @@ func (*MoveStraightResponse) ProtoMessage() {} func (x *MoveStraightResponse) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -149,9 +153,11 @@ type SpinRequest struct { func (x *SpinRequest) Reset() { *x = SpinRequest{} - mi := &file_component_base_v1_base_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_base_v1_base_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SpinRequest) String() string { @@ -162,7 +168,7 @@ func (*SpinRequest) ProtoMessage() {} func (x *SpinRequest) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -213,9 +219,11 @@ type SpinResponse struct { func (x *SpinResponse) Reset() { *x = SpinResponse{} - mi := &file_component_base_v1_base_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_base_v1_base_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SpinResponse) String() string { @@ -226,7 +234,7 @@ func (*SpinResponse) ProtoMessage() {} func (x *SpinResponse) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -254,9 +262,11 @@ type StopRequest struct { func (x *StopRequest) Reset() { *x = StopRequest{} - mi := &file_component_base_v1_base_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_base_v1_base_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopRequest) String() string { @@ -267,7 +277,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -304,9 +314,11 @@ type StopResponse struct { func (x *StopResponse) Reset() { *x = StopResponse{} - mi := &file_component_base_v1_base_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_base_v1_base_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopResponse) String() string { @@ -317,7 +329,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -349,9 +361,11 @@ type SetPowerRequest struct { func (x *SetPowerRequest) Reset() { *x = SetPowerRequest{} - mi := &file_component_base_v1_base_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_base_v1_base_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetPowerRequest) String() string { @@ -362,7 +376,7 @@ func (*SetPowerRequest) ProtoMessage() {} func (x *SetPowerRequest) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -413,9 +427,11 @@ type SetPowerResponse struct { func (x *SetPowerResponse) Reset() { *x = SetPowerResponse{} - mi := &file_component_base_v1_base_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_base_v1_base_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetPowerResponse) String() string { @@ -426,7 +442,7 @@ func (*SetPowerResponse) ProtoMessage() {} func (x *SetPowerResponse) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -458,9 +474,11 @@ type SetVelocityRequest struct { func (x *SetVelocityRequest) Reset() { *x = SetVelocityRequest{} - mi := &file_component_base_v1_base_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_base_v1_base_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetVelocityRequest) String() string { @@ -471,7 +489,7 @@ func (*SetVelocityRequest) ProtoMessage() {} func (x *SetVelocityRequest) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -522,9 +540,11 @@ type SetVelocityResponse struct { func (x *SetVelocityResponse) Reset() { *x = SetVelocityResponse{} - mi := &file_component_base_v1_base_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_base_v1_base_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetVelocityResponse) String() string { @@ -535,7 +555,7 @@ func (*SetVelocityResponse) ProtoMessage() {} func (x *SetVelocityResponse) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -560,9 +580,11 @@ type IsMovingRequest struct { func (x *IsMovingRequest) Reset() { *x = IsMovingRequest{} - mi := &file_component_base_v1_base_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_base_v1_base_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsMovingRequest) String() string { @@ -573,7 +595,7 @@ func (*IsMovingRequest) ProtoMessage() {} func (x *IsMovingRequest) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -605,9 +627,11 @@ type IsMovingResponse struct { func (x *IsMovingResponse) Reset() { *x = IsMovingResponse{} - mi := &file_component_base_v1_base_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_base_v1_base_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsMovingResponse) String() string { @@ -618,7 +642,7 @@ func (*IsMovingResponse) ProtoMessage() {} func (x *IsMovingResponse) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -652,9 +676,11 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - mi := &file_component_base_v1_base_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_base_v1_base_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesRequest) String() string { @@ -665,7 +691,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -706,9 +732,11 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - mi := &file_component_base_v1_base_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_base_v1_base_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesResponse) String() string { @@ -719,7 +747,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -949,7 +977,7 @@ func file_component_base_v1_base_proto_rawDescGZIP() []byte { } var file_component_base_v1_base_proto_msgTypes = make([]protoimpl.MessageInfo, 14) -var file_component_base_v1_base_proto_goTypes = []any{ +var file_component_base_v1_base_proto_goTypes = []interface{}{ (*MoveStraightRequest)(nil), // 0: viam.component.base.v1.MoveStraightRequest (*MoveStraightResponse)(nil), // 1: viam.component.base.v1.MoveStraightResponse (*SpinRequest)(nil), // 2: viam.component.base.v1.SpinRequest @@ -1012,6 +1040,176 @@ func file_component_base_v1_base_proto_init() { if File_component_base_v1_base_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_component_base_v1_base_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveStraightRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_base_v1_base_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveStraightResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_base_v1_base_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpinRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_base_v1_base_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpinResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_base_v1_base_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_base_v1_base_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_base_v1_base_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPowerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_base_v1_base_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPowerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_base_v1_base_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetVelocityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_base_v1_base_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetVelocityResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_base_v1_base_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMovingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_base_v1_base_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMovingResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_base_v1_base_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_base_v1_base_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesResponse); 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{ diff --git a/component/base/v1/base.pb.gw.go b/component/base/v1/base.pb.gw.go index 6ca08087..faa48e8b 100644 --- a/component/base/v1/base.pb.gw.go +++ b/component/base/v1/base.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -439,7 +439,7 @@ var ( ) func request_BaseService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client BaseServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -472,7 +472,7 @@ func request_BaseService_DoCommand_0(ctx context.Context, marshaler runtime.Mars } func local_request_BaseService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server BaseServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -509,7 +509,7 @@ var ( ) func request_BaseService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, client BaseServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetGeometriesRequest + var protoReq v1_0.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -542,7 +542,7 @@ func request_BaseService_GetGeometries_0(ctx context.Context, marshaler runtime. } func local_request_BaseService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, server BaseServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetGeometriesRequest + var protoReq v1_0.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -881,21 +881,21 @@ func RegisterBaseServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux // RegisterBaseServiceHandlerFromEndpoint is same as RegisterBaseServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterBaseServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/board/v1/board.pb.go b/component/board/v1/board.pb.go index 06666b1e..1544c80c 100644 --- a/component/board/v1/board.pb.go +++ b/component/board/v1/board.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/board/v1/board.proto @@ -84,9 +84,11 @@ type Status struct { func (x *Status) Reset() { *x = Status{} - mi := &file_component_board_v1_board_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Status) String() string { @@ -97,7 +99,7 @@ func (*Status) ProtoMessage() {} func (x *Status) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -140,9 +142,11 @@ type SetGPIORequest struct { func (x *SetGPIORequest) Reset() { *x = SetGPIORequest{} - mi := &file_component_board_v1_board_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetGPIORequest) String() string { @@ -153,7 +157,7 @@ func (*SetGPIORequest) ProtoMessage() {} func (x *SetGPIORequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -204,9 +208,11 @@ type SetGPIOResponse struct { func (x *SetGPIOResponse) Reset() { *x = SetGPIOResponse{} - mi := &file_component_board_v1_board_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetGPIOResponse) String() string { @@ -217,7 +223,7 @@ func (*SetGPIOResponse) ProtoMessage() {} func (x *SetGPIOResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -245,9 +251,11 @@ type GetGPIORequest struct { func (x *GetGPIORequest) Reset() { *x = GetGPIORequest{} - mi := &file_component_board_v1_board_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetGPIORequest) String() string { @@ -258,7 +266,7 @@ func (*GetGPIORequest) ProtoMessage() {} func (x *GetGPIORequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -304,9 +312,11 @@ type GetGPIOResponse struct { func (x *GetGPIOResponse) Reset() { *x = GetGPIOResponse{} - mi := &file_component_board_v1_board_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetGPIOResponse) String() string { @@ -317,7 +327,7 @@ func (*GetGPIOResponse) ProtoMessage() {} func (x *GetGPIOResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -352,9 +362,11 @@ type PWMRequest struct { func (x *PWMRequest) Reset() { *x = PWMRequest{} - mi := &file_component_board_v1_board_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PWMRequest) String() string { @@ -365,7 +377,7 @@ func (*PWMRequest) ProtoMessage() {} func (x *PWMRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -411,9 +423,11 @@ type PWMResponse struct { func (x *PWMResponse) Reset() { *x = PWMResponse{} - mi := &file_component_board_v1_board_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PWMResponse) String() string { @@ -424,7 +438,7 @@ func (*PWMResponse) ProtoMessage() {} func (x *PWMResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -460,9 +474,11 @@ type SetPWMRequest struct { func (x *SetPWMRequest) Reset() { *x = SetPWMRequest{} - mi := &file_component_board_v1_board_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetPWMRequest) String() string { @@ -473,7 +489,7 @@ func (*SetPWMRequest) ProtoMessage() {} func (x *SetPWMRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -524,9 +540,11 @@ type SetPWMResponse struct { func (x *SetPWMResponse) Reset() { *x = SetPWMResponse{} - mi := &file_component_board_v1_board_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetPWMResponse) String() string { @@ -537,7 +555,7 @@ func (*SetPWMResponse) ProtoMessage() {} func (x *SetPWMResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -565,9 +583,11 @@ type PWMFrequencyRequest struct { func (x *PWMFrequencyRequest) Reset() { *x = PWMFrequencyRequest{} - mi := &file_component_board_v1_board_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PWMFrequencyRequest) String() string { @@ -578,7 +598,7 @@ func (*PWMFrequencyRequest) ProtoMessage() {} func (x *PWMFrequencyRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -624,9 +644,11 @@ type PWMFrequencyResponse struct { func (x *PWMFrequencyResponse) Reset() { *x = PWMFrequencyResponse{} - mi := &file_component_board_v1_board_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PWMFrequencyResponse) String() string { @@ -637,7 +659,7 @@ func (*PWMFrequencyResponse) ProtoMessage() {} func (x *PWMFrequencyResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -673,9 +695,11 @@ type SetPWMFrequencyRequest struct { func (x *SetPWMFrequencyRequest) Reset() { *x = SetPWMFrequencyRequest{} - mi := &file_component_board_v1_board_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetPWMFrequencyRequest) String() string { @@ -686,7 +710,7 @@ func (*SetPWMFrequencyRequest) ProtoMessage() {} func (x *SetPWMFrequencyRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -737,9 +761,11 @@ type SetPWMFrequencyResponse struct { func (x *SetPWMFrequencyResponse) Reset() { *x = SetPWMFrequencyResponse{} - mi := &file_component_board_v1_board_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetPWMFrequencyResponse) String() string { @@ -750,7 +776,7 @@ func (*SetPWMFrequencyResponse) ProtoMessage() {} func (x *SetPWMFrequencyResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -778,9 +804,11 @@ type ReadAnalogReaderRequest struct { func (x *ReadAnalogReaderRequest) Reset() { *x = ReadAnalogReaderRequest{} - mi := &file_component_board_v1_board_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ReadAnalogReaderRequest) String() string { @@ -791,7 +819,7 @@ func (*ReadAnalogReaderRequest) ProtoMessage() {} func (x *ReadAnalogReaderRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -840,9 +868,11 @@ type ReadAnalogReaderResponse struct { func (x *ReadAnalogReaderResponse) Reset() { *x = ReadAnalogReaderResponse{} - mi := &file_component_board_v1_board_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ReadAnalogReaderResponse) String() string { @@ -853,7 +883,7 @@ func (*ReadAnalogReaderResponse) ProtoMessage() {} func (x *ReadAnalogReaderResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -910,9 +940,11 @@ type WriteAnalogRequest struct { func (x *WriteAnalogRequest) Reset() { *x = WriteAnalogRequest{} - mi := &file_component_board_v1_board_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WriteAnalogRequest) String() string { @@ -923,7 +955,7 @@ func (*WriteAnalogRequest) ProtoMessage() {} func (x *WriteAnalogRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -974,9 +1006,11 @@ type WriteAnalogResponse struct { func (x *WriteAnalogResponse) Reset() { *x = WriteAnalogResponse{} - mi := &file_component_board_v1_board_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *WriteAnalogResponse) String() string { @@ -987,7 +1021,7 @@ func (*WriteAnalogResponse) ProtoMessage() {} func (x *WriteAnalogResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1015,9 +1049,11 @@ type GetDigitalInterruptValueRequest struct { func (x *GetDigitalInterruptValueRequest) Reset() { *x = GetDigitalInterruptValueRequest{} - mi := &file_component_board_v1_board_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetDigitalInterruptValueRequest) String() string { @@ -1028,7 +1064,7 @@ func (*GetDigitalInterruptValueRequest) ProtoMessage() {} func (x *GetDigitalInterruptValueRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1074,9 +1110,11 @@ type GetDigitalInterruptValueResponse struct { func (x *GetDigitalInterruptValueResponse) Reset() { *x = GetDigitalInterruptValueResponse{} - mi := &file_component_board_v1_board_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetDigitalInterruptValueResponse) String() string { @@ -1087,7 +1125,7 @@ func (*GetDigitalInterruptValueResponse) ProtoMessage() {} func (x *GetDigitalInterruptValueResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1124,9 +1162,11 @@ type StreamTicksRequest struct { func (x *StreamTicksRequest) Reset() { *x = StreamTicksRequest{} - mi := &file_component_board_v1_board_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamTicksRequest) String() string { @@ -1137,7 +1177,7 @@ func (*StreamTicksRequest) ProtoMessage() {} func (x *StreamTicksRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1188,9 +1228,11 @@ type StreamTicksResponse struct { func (x *StreamTicksResponse) Reset() { *x = StreamTicksResponse{} - mi := &file_component_board_v1_board_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamTicksResponse) String() string { @@ -1201,7 +1243,7 @@ func (*StreamTicksResponse) ProtoMessage() {} func (x *StreamTicksResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1254,9 +1296,11 @@ type SetPowerModeRequest struct { func (x *SetPowerModeRequest) Reset() { *x = SetPowerModeRequest{} - mi := &file_component_board_v1_board_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetPowerModeRequest) String() string { @@ -1267,7 +1311,7 @@ func (*SetPowerModeRequest) ProtoMessage() {} func (x *SetPowerModeRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1318,9 +1362,11 @@ type SetPowerModeResponse struct { func (x *SetPowerModeResponse) Reset() { *x = SetPowerModeResponse{} - mi := &file_component_board_v1_board_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_board_v1_board_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetPowerModeResponse) String() string { @@ -1331,7 +1377,7 @@ func (*SetPowerModeResponse) ProtoMessage() {} func (x *SetPowerModeResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1671,7 +1717,7 @@ func file_component_board_v1_board_proto_rawDescGZIP() []byte { var file_component_board_v1_board_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_component_board_v1_board_proto_msgTypes = make([]protoimpl.MessageInfo, 25) -var file_component_board_v1_board_proto_goTypes = []any{ +var file_component_board_v1_board_proto_goTypes = []interface{}{ (PowerMode)(0), // 0: viam.component.board.v1.PowerMode (*Status)(nil), // 1: viam.component.board.v1.Status (*SetGPIORequest)(nil), // 2: viam.component.board.v1.SetGPIORequest @@ -1759,7 +1805,285 @@ func file_component_board_v1_board_proto_init() { if File_component_board_v1_board_proto != nil { return } - file_component_board_v1_board_proto_msgTypes[21].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_component_board_v1_board_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Status); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetGPIORequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetGPIOResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetGPIORequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetGPIOResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PWMRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PWMResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPWMRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPWMResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PWMFrequencyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PWMFrequencyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPWMFrequencyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPWMFrequencyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadAnalogReaderRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadAnalogReaderResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteAnalogRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteAnalogResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDigitalInterruptValueRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDigitalInterruptValueResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamTicksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamTicksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPowerModeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_board_v1_board_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPowerModeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_component_board_v1_board_proto_msgTypes[21].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/component/board/v1/board.pb.gw.go b/component/board/v1/board.pb.gw.go index bd967b38..c6e1fd68 100644 --- a/component/board/v1/board.pb.gw.go +++ b/component/board/v1/board.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -457,7 +457,7 @@ var ( ) func request_BoardService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client BoardServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -490,7 +490,7 @@ func request_BoardService_DoCommand_0(ctx context.Context, marshaler runtime.Mar } func local_request_BoardService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server BoardServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -892,7 +892,7 @@ var ( ) func request_BoardService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, client BoardServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetGeometriesRequest + var protoReq v1_0.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -925,7 +925,7 @@ func request_BoardService_GetGeometries_0(ctx context.Context, marshaler runtime } func local_request_BoardService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, server BoardServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetGeometriesRequest + var protoReq v1_0.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -1276,21 +1276,21 @@ func RegisterBoardServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu // RegisterBoardServiceHandlerFromEndpoint is same as RegisterBoardServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterBoardServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/camera/v1/camera.pb.go b/component/camera/v1/camera.pb.go index e59a9ff2..6e4b6a29 100644 --- a/component/camera/v1/camera.pb.go +++ b/component/camera/v1/camera.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/camera/v1/camera.proto @@ -94,9 +94,11 @@ type GetImageRequest struct { func (x *GetImageRequest) Reset() { *x = GetImageRequest{} - mi := &file_component_camera_v1_camera_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_camera_v1_camera_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetImageRequest) String() string { @@ -107,7 +109,7 @@ func (*GetImageRequest) ProtoMessage() {} func (x *GetImageRequest) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -156,9 +158,11 @@ type GetImageResponse struct { func (x *GetImageResponse) Reset() { *x = GetImageResponse{} - mi := &file_component_camera_v1_camera_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_camera_v1_camera_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetImageResponse) String() string { @@ -169,7 +173,7 @@ func (*GetImageResponse) ProtoMessage() {} func (x *GetImageResponse) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -209,9 +213,11 @@ type GetImagesRequest struct { func (x *GetImagesRequest) Reset() { *x = GetImagesRequest{} - mi := &file_component_camera_v1_camera_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_camera_v1_camera_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetImagesRequest) String() string { @@ -222,7 +228,7 @@ func (*GetImagesRequest) ProtoMessage() {} func (x *GetImagesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -257,9 +263,11 @@ type GetImagesResponse struct { func (x *GetImagesResponse) Reset() { *x = GetImagesResponse{} - mi := &file_component_camera_v1_camera_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_camera_v1_camera_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetImagesResponse) String() string { @@ -270,7 +278,7 @@ func (*GetImagesResponse) ProtoMessage() {} func (x *GetImagesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -314,9 +322,11 @@ type Image struct { func (x *Image) Reset() { *x = Image{} - mi := &file_component_camera_v1_camera_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_camera_v1_camera_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Image) String() string { @@ -327,7 +337,7 @@ func (*Image) ProtoMessage() {} func (x *Image) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -378,9 +388,11 @@ type RenderFrameRequest struct { func (x *RenderFrameRequest) Reset() { *x = RenderFrameRequest{} - mi := &file_component_camera_v1_camera_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_camera_v1_camera_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RenderFrameRequest) String() string { @@ -391,7 +403,7 @@ func (*RenderFrameRequest) ProtoMessage() {} func (x *RenderFrameRequest) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -442,9 +454,11 @@ type GetPointCloudRequest struct { func (x *GetPointCloudRequest) Reset() { *x = GetPointCloudRequest{} - mi := &file_component_camera_v1_camera_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_camera_v1_camera_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPointCloudRequest) String() string { @@ -455,7 +469,7 @@ func (*GetPointCloudRequest) ProtoMessage() {} func (x *GetPointCloudRequest) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -504,9 +518,11 @@ type GetPointCloudResponse struct { func (x *GetPointCloudResponse) Reset() { *x = GetPointCloudResponse{} - mi := &file_component_camera_v1_camera_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_camera_v1_camera_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPointCloudResponse) String() string { @@ -517,7 +533,7 @@ func (*GetPointCloudResponse) ProtoMessage() {} func (x *GetPointCloudResponse) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -557,9 +573,11 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - mi := &file_component_camera_v1_camera_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_camera_v1_camera_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesRequest) String() string { @@ -570,7 +588,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -615,9 +633,11 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - mi := &file_component_camera_v1_camera_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_camera_v1_camera_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesResponse) String() string { @@ -628,7 +648,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -688,9 +708,11 @@ type Webcams struct { func (x *Webcams) Reset() { *x = Webcams{} - mi := &file_component_camera_v1_camera_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_camera_v1_camera_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Webcams) String() string { @@ -701,7 +723,7 @@ func (*Webcams) ProtoMessage() {} func (x *Webcams) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -742,9 +764,11 @@ type Webcam struct { func (x *Webcam) Reset() { *x = Webcam{} - mi := &file_component_camera_v1_camera_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_camera_v1_camera_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Webcam) String() string { @@ -755,7 +779,7 @@ func (*Webcam) ProtoMessage() {} func (x *Webcam) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -822,9 +846,11 @@ type Property struct { func (x *Property) Reset() { *x = Property{} - mi := &file_component_camera_v1_camera_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_camera_v1_camera_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Property) String() string { @@ -835,7 +861,7 @@ func (*Property) ProtoMessage() {} func (x *Property) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -893,9 +919,11 @@ type IntrinsicParameters struct { func (x *IntrinsicParameters) Reset() { *x = IntrinsicParameters{} - mi := &file_component_camera_v1_camera_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_camera_v1_camera_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IntrinsicParameters) String() string { @@ -906,7 +934,7 @@ func (*IntrinsicParameters) ProtoMessage() {} func (x *IntrinsicParameters) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -974,9 +1002,11 @@ type DistortionParameters struct { func (x *DistortionParameters) Reset() { *x = DistortionParameters{} - mi := &file_component_camera_v1_camera_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_camera_v1_camera_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DistortionParameters) String() string { @@ -987,7 +1017,7 @@ func (*DistortionParameters) ProtoMessage() {} func (x *DistortionParameters) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1244,7 +1274,7 @@ func file_component_camera_v1_camera_proto_rawDescGZIP() []byte { var file_component_camera_v1_camera_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_component_camera_v1_camera_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_component_camera_v1_camera_proto_goTypes = []any{ +var file_component_camera_v1_camera_proto_goTypes = []interface{}{ (Format)(0), // 0: viam.component.camera.v1.Format (*GetImageRequest)(nil), // 1: viam.component.camera.v1.GetImageRequest (*GetImageResponse)(nil), // 2: viam.component.camera.v1.GetImageResponse @@ -1306,7 +1336,189 @@ func file_component_camera_v1_camera_proto_init() { if File_component_camera_v1_camera_proto != nil { return } - file_component_camera_v1_camera_proto_msgTypes[9].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_component_camera_v1_camera_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetImageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_camera_v1_camera_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetImageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_camera_v1_camera_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetImagesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_camera_v1_camera_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetImagesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_camera_v1_camera_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Image); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_camera_v1_camera_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenderFrameRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_camera_v1_camera_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPointCloudRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_camera_v1_camera_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPointCloudResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_camera_v1_camera_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_camera_v1_camera_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_camera_v1_camera_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Webcams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_camera_v1_camera_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Webcam); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_camera_v1_camera_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Property); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_camera_v1_camera_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IntrinsicParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_camera_v1_camera_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DistortionParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_component_camera_v1_camera_proto_msgTypes[9].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/component/camera/v1/camera.pb.gw.go b/component/camera/v1/camera.pb.gw.go index 1532d7f8..b329ca95 100644 --- a/component/camera/v1/camera.pb.gw.go +++ b/component/camera/v1/camera.pb.gw.go @@ -673,21 +673,21 @@ func RegisterCameraServiceHandlerServer(ctx context.Context, mux *runtime.ServeM // RegisterCameraServiceHandlerFromEndpoint is same as RegisterCameraServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterCameraServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/encoder/v1/encoder.pb.go b/component/encoder/v1/encoder.pb.go index 1ddaad40..ceeeb564 100644 --- a/component/encoder/v1/encoder.pb.go +++ b/component/encoder/v1/encoder.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/encoder/v1/encoder.proto @@ -95,9 +95,11 @@ type GetPositionRequest struct { func (x *GetPositionRequest) Reset() { *x = GetPositionRequest{} - mi := &file_component_encoder_v1_encoder_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_encoder_v1_encoder_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPositionRequest) String() string { @@ -108,7 +110,7 @@ func (*GetPositionRequest) ProtoMessage() {} func (x *GetPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_encoder_v1_encoder_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -155,9 +157,11 @@ type GetPositionResponse struct { func (x *GetPositionResponse) Reset() { *x = GetPositionResponse{} - mi := &file_component_encoder_v1_encoder_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_encoder_v1_encoder_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPositionResponse) String() string { @@ -168,7 +172,7 @@ func (*GetPositionResponse) ProtoMessage() {} func (x *GetPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_encoder_v1_encoder_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -210,9 +214,11 @@ type ResetPositionRequest struct { func (x *ResetPositionRequest) Reset() { *x = ResetPositionRequest{} - mi := &file_component_encoder_v1_encoder_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_encoder_v1_encoder_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResetPositionRequest) String() string { @@ -223,7 +229,7 @@ func (*ResetPositionRequest) ProtoMessage() {} func (x *ResetPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_encoder_v1_encoder_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -260,9 +266,11 @@ type ResetPositionResponse struct { func (x *ResetPositionResponse) Reset() { *x = ResetPositionResponse{} - mi := &file_component_encoder_v1_encoder_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_encoder_v1_encoder_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResetPositionResponse) String() string { @@ -273,7 +281,7 @@ func (*ResetPositionResponse) ProtoMessage() {} func (x *ResetPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_encoder_v1_encoder_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -301,9 +309,11 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - mi := &file_component_encoder_v1_encoder_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_encoder_v1_encoder_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesRequest) String() string { @@ -314,7 +324,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_encoder_v1_encoder_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -354,9 +364,11 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - mi := &file_component_encoder_v1_encoder_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_encoder_v1_encoder_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesResponse) String() string { @@ -367,7 +379,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_encoder_v1_encoder_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -530,7 +542,7 @@ func file_component_encoder_v1_encoder_proto_rawDescGZIP() []byte { var file_component_encoder_v1_encoder_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_component_encoder_v1_encoder_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_component_encoder_v1_encoder_proto_goTypes = []any{ +var file_component_encoder_v1_encoder_proto_goTypes = []interface{}{ (PositionType)(0), // 0: viam.component.encoder.v1.PositionType (*GetPositionRequest)(nil), // 1: viam.component.encoder.v1.GetPositionRequest (*GetPositionResponse)(nil), // 2: viam.component.encoder.v1.GetPositionResponse @@ -572,7 +584,81 @@ func file_component_encoder_v1_encoder_proto_init() { if File_component_encoder_v1_encoder_proto != nil { return } - file_component_encoder_v1_encoder_proto_msgTypes[0].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_component_encoder_v1_encoder_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPositionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_encoder_v1_encoder_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPositionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_encoder_v1_encoder_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResetPositionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_encoder_v1_encoder_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResetPositionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_encoder_v1_encoder_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_encoder_v1_encoder_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_component_encoder_v1_encoder_proto_msgTypes[0].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/component/encoder/v1/encoder.pb.gw.go b/component/encoder/v1/encoder.pb.gw.go index afe5b419..ef911f15 100644 --- a/component/encoder/v1/encoder.pb.gw.go +++ b/component/encoder/v1/encoder.pb.gw.go @@ -519,21 +519,21 @@ func RegisterEncoderServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterEncoderServiceHandlerFromEndpoint is same as RegisterEncoderServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterEncoderServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/gantry/v1/gantry.pb.go b/component/gantry/v1/gantry.pb.go index 873a722f..04bd4937 100644 --- a/component/gantry/v1/gantry.pb.go +++ b/component/gantry/v1/gantry.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/gantry/v1/gantry.proto @@ -35,9 +35,11 @@ type GetPositionRequest struct { func (x *GetPositionRequest) Reset() { *x = GetPositionRequest{} - mi := &file_component_gantry_v1_gantry_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gantry_v1_gantry_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPositionRequest) String() string { @@ -48,7 +50,7 @@ func (*GetPositionRequest) ProtoMessage() {} func (x *GetPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,9 +89,11 @@ type GetPositionResponse struct { func (x *GetPositionResponse) Reset() { *x = GetPositionResponse{} - mi := &file_component_gantry_v1_gantry_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gantry_v1_gantry_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPositionResponse) String() string { @@ -100,7 +104,7 @@ func (*GetPositionResponse) ProtoMessage() {} func (x *GetPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -138,9 +142,11 @@ type MoveToPositionRequest struct { func (x *MoveToPositionRequest) Reset() { *x = MoveToPositionRequest{} - mi := &file_component_gantry_v1_gantry_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gantry_v1_gantry_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveToPositionRequest) String() string { @@ -151,7 +157,7 @@ func (*MoveToPositionRequest) ProtoMessage() {} func (x *MoveToPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -202,9 +208,11 @@ type MoveToPositionResponse struct { func (x *MoveToPositionResponse) Reset() { *x = MoveToPositionResponse{} - mi := &file_component_gantry_v1_gantry_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gantry_v1_gantry_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveToPositionResponse) String() string { @@ -215,7 +223,7 @@ func (*MoveToPositionResponse) ProtoMessage() {} func (x *MoveToPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -242,9 +250,11 @@ type HomeRequest struct { func (x *HomeRequest) Reset() { *x = HomeRequest{} - mi := &file_component_gantry_v1_gantry_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gantry_v1_gantry_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *HomeRequest) String() string { @@ -255,7 +265,7 @@ func (*HomeRequest) ProtoMessage() {} func (x *HomeRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -295,9 +305,11 @@ type HomeResponse struct { func (x *HomeResponse) Reset() { *x = HomeResponse{} - mi := &file_component_gantry_v1_gantry_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gantry_v1_gantry_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *HomeResponse) String() string { @@ -308,7 +320,7 @@ func (*HomeResponse) ProtoMessage() {} func (x *HomeResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -342,9 +354,11 @@ type GetLengthsRequest struct { func (x *GetLengthsRequest) Reset() { *x = GetLengthsRequest{} - mi := &file_component_gantry_v1_gantry_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gantry_v1_gantry_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetLengthsRequest) String() string { @@ -355,7 +369,7 @@ func (*GetLengthsRequest) ProtoMessage() {} func (x *GetLengthsRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -394,9 +408,11 @@ type GetLengthsResponse struct { func (x *GetLengthsResponse) Reset() { *x = GetLengthsResponse{} - mi := &file_component_gantry_v1_gantry_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gantry_v1_gantry_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetLengthsResponse) String() string { @@ -407,7 +423,7 @@ func (*GetLengthsResponse) ProtoMessage() {} func (x *GetLengthsResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -442,9 +458,11 @@ type StopRequest struct { func (x *StopRequest) Reset() { *x = StopRequest{} - mi := &file_component_gantry_v1_gantry_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gantry_v1_gantry_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopRequest) String() string { @@ -455,7 +473,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -492,9 +510,11 @@ type StopResponse struct { func (x *StopResponse) Reset() { *x = StopResponse{} - mi := &file_component_gantry_v1_gantry_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gantry_v1_gantry_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopResponse) String() string { @@ -505,7 +525,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -532,9 +552,11 @@ type Status struct { func (x *Status) Reset() { *x = Status{} - mi := &file_component_gantry_v1_gantry_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gantry_v1_gantry_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Status) String() string { @@ -545,7 +567,7 @@ func (*Status) ProtoMessage() {} func (x *Status) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -591,9 +613,11 @@ type IsMovingRequest struct { func (x *IsMovingRequest) Reset() { *x = IsMovingRequest{} - mi := &file_component_gantry_v1_gantry_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gantry_v1_gantry_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsMovingRequest) String() string { @@ -604,7 +628,7 @@ func (*IsMovingRequest) ProtoMessage() {} func (x *IsMovingRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -636,9 +660,11 @@ type IsMovingResponse struct { func (x *IsMovingResponse) Reset() { *x = IsMovingResponse{} - mi := &file_component_gantry_v1_gantry_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gantry_v1_gantry_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsMovingResponse) String() string { @@ -649,7 +675,7 @@ func (*IsMovingResponse) ProtoMessage() {} func (x *IsMovingResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -837,7 +863,7 @@ func file_component_gantry_v1_gantry_proto_rawDescGZIP() []byte { } var file_component_gantry_v1_gantry_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_component_gantry_v1_gantry_proto_goTypes = []any{ +var file_component_gantry_v1_gantry_proto_goTypes = []interface{}{ (*GetPositionRequest)(nil), // 0: viam.component.gantry.v1.GetPositionRequest (*GetPositionResponse)(nil), // 1: viam.component.gantry.v1.GetPositionResponse (*MoveToPositionRequest)(nil), // 2: viam.component.gantry.v1.MoveToPositionRequest @@ -891,6 +917,164 @@ func file_component_gantry_v1_gantry_proto_init() { if File_component_gantry_v1_gantry_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_component_gantry_v1_gantry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPositionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gantry_v1_gantry_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPositionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gantry_v1_gantry_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveToPositionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gantry_v1_gantry_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveToPositionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gantry_v1_gantry_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gantry_v1_gantry_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HomeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gantry_v1_gantry_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLengthsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gantry_v1_gantry_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLengthsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gantry_v1_gantry_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gantry_v1_gantry_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gantry_v1_gantry_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Status); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gantry_v1_gantry_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMovingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gantry_v1_gantry_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMovingResponse); 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{ diff --git a/component/gantry/v1/gantry.pb.gw.go b/component/gantry/v1/gantry.pb.gw.go index 604c7acd..13a62b8f 100644 --- a/component/gantry/v1/gantry.pb.gw.go +++ b/component/gantry/v1/gantry.pb.gw.go @@ -786,21 +786,21 @@ func RegisterGantryServiceHandlerServer(ctx context.Context, mux *runtime.ServeM // RegisterGantryServiceHandlerFromEndpoint is same as RegisterGantryServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterGantryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/generic/v1/generic.pb.go b/component/generic/v1/generic.pb.go index 7bb2ee8a..a85770c4 100644 --- a/component/generic/v1/generic.pb.go +++ b/component/generic/v1/generic.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/generic/v1/generic.proto @@ -58,7 +58,7 @@ var file_component_generic_v1_generic_proto_rawDesc = []byte{ 0x69, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_component_generic_v1_generic_proto_goTypes = []any{ +var file_component_generic_v1_generic_proto_goTypes = []interface{}{ (*v1.DoCommandRequest)(nil), // 0: viam.common.v1.DoCommandRequest (*v1.GetGeometriesRequest)(nil), // 1: viam.common.v1.GetGeometriesRequest (*v1.DoCommandResponse)(nil), // 2: viam.common.v1.DoCommandResponse diff --git a/component/generic/v1/generic.pb.gw.go b/component/generic/v1/generic.pb.gw.go index 023d3438..8b95fb2a 100644 --- a/component/generic/v1/generic.pb.gw.go +++ b/component/generic/v1/generic.pb.gw.go @@ -234,21 +234,21 @@ func RegisterGenericServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterGenericServiceHandlerFromEndpoint is same as RegisterGenericServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterGenericServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/gripper/v1/gripper.pb.go b/component/gripper/v1/gripper.pb.go index 633d98e0..5fb95c8e 100644 --- a/component/gripper/v1/gripper.pb.go +++ b/component/gripper/v1/gripper.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/gripper/v1/gripper.proto @@ -34,9 +34,11 @@ type OpenRequest struct { func (x *OpenRequest) Reset() { *x = OpenRequest{} - mi := &file_component_gripper_v1_gripper_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gripper_v1_gripper_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *OpenRequest) String() string { @@ -47,7 +49,7 @@ func (*OpenRequest) ProtoMessage() {} func (x *OpenRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -84,9 +86,11 @@ type OpenResponse struct { func (x *OpenResponse) Reset() { *x = OpenResponse{} - mi := &file_component_gripper_v1_gripper_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gripper_v1_gripper_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *OpenResponse) String() string { @@ -97,7 +101,7 @@ func (*OpenResponse) ProtoMessage() {} func (x *OpenResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -123,9 +127,11 @@ type GrabRequest struct { func (x *GrabRequest) Reset() { *x = GrabRequest{} - mi := &file_component_gripper_v1_gripper_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gripper_v1_gripper_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GrabRequest) String() string { @@ -136,7 +142,7 @@ func (*GrabRequest) ProtoMessage() {} func (x *GrabRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -176,9 +182,11 @@ type GrabResponse struct { func (x *GrabResponse) Reset() { *x = GrabResponse{} - mi := &file_component_gripper_v1_gripper_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gripper_v1_gripper_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GrabResponse) String() string { @@ -189,7 +197,7 @@ func (*GrabResponse) ProtoMessage() {} func (x *GrabResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -230,9 +238,11 @@ type StopRequest struct { func (x *StopRequest) Reset() { *x = StopRequest{} - mi := &file_component_gripper_v1_gripper_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gripper_v1_gripper_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopRequest) String() string { @@ -243,7 +253,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -280,9 +290,11 @@ type StopResponse struct { func (x *StopResponse) Reset() { *x = StopResponse{} - mi := &file_component_gripper_v1_gripper_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gripper_v1_gripper_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopResponse) String() string { @@ -293,7 +305,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -318,9 +330,11 @@ type IsMovingRequest struct { func (x *IsMovingRequest) Reset() { *x = IsMovingRequest{} - mi := &file_component_gripper_v1_gripper_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gripper_v1_gripper_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsMovingRequest) String() string { @@ -331,7 +345,7 @@ func (*IsMovingRequest) ProtoMessage() {} func (x *IsMovingRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -363,9 +377,11 @@ type IsMovingResponse struct { func (x *IsMovingResponse) Reset() { *x = IsMovingResponse{} - mi := &file_component_gripper_v1_gripper_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_gripper_v1_gripper_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsMovingResponse) String() string { @@ -376,7 +392,7 @@ func (*IsMovingResponse) ProtoMessage() {} func (x *IsMovingResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -516,7 +532,7 @@ func file_component_gripper_v1_gripper_proto_rawDescGZIP() []byte { } var file_component_gripper_v1_gripper_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_component_gripper_v1_gripper_proto_goTypes = []any{ +var file_component_gripper_v1_gripper_proto_goTypes = []interface{}{ (*OpenRequest)(nil), // 0: viam.component.gripper.v1.OpenRequest (*OpenResponse)(nil), // 1: viam.component.gripper.v1.OpenResponse (*GrabRequest)(nil), // 2: viam.component.gripper.v1.GrabRequest @@ -560,6 +576,104 @@ func file_component_gripper_v1_gripper_proto_init() { if File_component_gripper_v1_gripper_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_component_gripper_v1_gripper_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OpenRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gripper_v1_gripper_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OpenResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gripper_v1_gripper_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GrabRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gripper_v1_gripper_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GrabResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gripper_v1_gripper_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gripper_v1_gripper_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gripper_v1_gripper_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMovingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_gripper_v1_gripper_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMovingResponse); 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{ diff --git a/component/gripper/v1/gripper.pb.gw.go b/component/gripper/v1/gripper.pb.gw.go index ec26584b..b432b0c7 100644 --- a/component/gripper/v1/gripper.pb.gw.go +++ b/component/gripper/v1/gripper.pb.gw.go @@ -596,21 +596,21 @@ func RegisterGripperServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterGripperServiceHandlerFromEndpoint is same as RegisterGripperServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterGripperServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/inputcontroller/v1/input_controller.pb.go b/component/inputcontroller/v1/input_controller.pb.go index 00a02643..b64b3050 100644 --- a/component/inputcontroller/v1/input_controller.pb.go +++ b/component/inputcontroller/v1/input_controller.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/inputcontroller/v1/input_controller.proto @@ -37,9 +37,11 @@ type GetControlsRequest struct { func (x *GetControlsRequest) Reset() { *x = GetControlsRequest{} - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetControlsRequest) String() string { @@ -50,7 +52,7 @@ func (*GetControlsRequest) ProtoMessage() {} func (x *GetControlsRequest) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -91,9 +93,11 @@ type GetControlsResponse struct { func (x *GetControlsResponse) Reset() { *x = GetControlsResponse{} - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetControlsResponse) String() string { @@ -104,7 +108,7 @@ func (*GetControlsResponse) ProtoMessage() {} func (x *GetControlsResponse) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -139,9 +143,11 @@ type GetEventsRequest struct { func (x *GetEventsRequest) Reset() { *x = GetEventsRequest{} - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetEventsRequest) String() string { @@ -152,7 +158,7 @@ func (*GetEventsRequest) ProtoMessage() {} func (x *GetEventsRequest) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -193,9 +199,11 @@ type GetEventsResponse struct { func (x *GetEventsResponse) Reset() { *x = GetEventsResponse{} - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetEventsResponse) String() string { @@ -206,7 +214,7 @@ func (*GetEventsResponse) ProtoMessage() {} func (x *GetEventsResponse) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -243,9 +251,11 @@ type TriggerEventRequest struct { func (x *TriggerEventRequest) Reset() { *x = TriggerEventRequest{} - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TriggerEventRequest) String() string { @@ -256,7 +266,7 @@ func (*TriggerEventRequest) ProtoMessage() {} func (x *TriggerEventRequest) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -300,9 +310,11 @@ type TriggerEventResponse struct { func (x *TriggerEventResponse) Reset() { *x = TriggerEventResponse{} - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TriggerEventResponse) String() string { @@ -313,7 +325,7 @@ func (*TriggerEventResponse) ProtoMessage() {} func (x *TriggerEventResponse) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -345,9 +357,11 @@ type Event struct { func (x *Event) Reset() { *x = Event{} - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Event) String() string { @@ -358,7 +372,7 @@ func (*Event) ProtoMessage() {} func (x *Event) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -416,9 +430,11 @@ type StreamEventsRequest struct { func (x *StreamEventsRequest) Reset() { *x = StreamEventsRequest{} - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamEventsRequest) String() string { @@ -429,7 +445,7 @@ func (*StreamEventsRequest) ProtoMessage() {} func (x *StreamEventsRequest) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -476,9 +492,11 @@ type StreamEventsResponse struct { func (x *StreamEventsResponse) Reset() { *x = StreamEventsResponse{} - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamEventsResponse) String() string { @@ -489,7 +507,7 @@ func (*StreamEventsResponse) ProtoMessage() {} func (x *StreamEventsResponse) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -521,9 +539,11 @@ type Status struct { func (x *Status) Reset() { *x = Status{} - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Status) String() string { @@ -534,7 +554,7 @@ func (*Status) ProtoMessage() {} func (x *Status) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -572,9 +592,11 @@ type StreamEventsRequest_Events struct { func (x *StreamEventsRequest_Events) Reset() { *x = StreamEventsRequest_Events{} - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamEventsRequest_Events) String() string { @@ -585,7 +607,7 @@ func (*StreamEventsRequest_Events) ProtoMessage() {} func (x *StreamEventsRequest_Events) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -794,7 +816,7 @@ func file_component_inputcontroller_v1_input_controller_proto_rawDescGZIP() []by } var file_component_inputcontroller_v1_input_controller_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_component_inputcontroller_v1_input_controller_proto_goTypes = []any{ +var file_component_inputcontroller_v1_input_controller_proto_goTypes = []interface{}{ (*GetControlsRequest)(nil), // 0: viam.component.inputcontroller.v1.GetControlsRequest (*GetControlsResponse)(nil), // 1: viam.component.inputcontroller.v1.GetControlsResponse (*GetEventsRequest)(nil), // 2: viam.component.inputcontroller.v1.GetEventsRequest @@ -848,6 +870,140 @@ func file_component_inputcontroller_v1_input_controller_proto_init() { if File_component_inputcontroller_v1_input_controller_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_component_inputcontroller_v1_input_controller_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetControlsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_inputcontroller_v1_input_controller_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetControlsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_inputcontroller_v1_input_controller_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEventsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_inputcontroller_v1_input_controller_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEventsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_inputcontroller_v1_input_controller_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerEventRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_inputcontroller_v1_input_controller_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerEventResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_inputcontroller_v1_input_controller_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Event); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_inputcontroller_v1_input_controller_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamEventsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_inputcontroller_v1_input_controller_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamEventsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_inputcontroller_v1_input_controller_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Status); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_inputcontroller_v1_input_controller_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamEventsRequest_Events); 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{ diff --git a/component/inputcontroller/v1/input_controller.pb.gw.go b/component/inputcontroller/v1/input_controller.pb.gw.go index d73bfa80..199f00f1 100644 --- a/component/inputcontroller/v1/input_controller.pb.gw.go +++ b/component/inputcontroller/v1/input_controller.pb.gw.go @@ -571,21 +571,21 @@ func RegisterInputControllerServiceHandlerServer(ctx context.Context, mux *runti // RegisterInputControllerServiceHandlerFromEndpoint is same as RegisterInputControllerServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterInputControllerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/motor/v1/motor.pb.go b/component/motor/v1/motor.pb.go index 8cd6e06a..f57eca8a 100644 --- a/component/motor/v1/motor.pb.go +++ b/component/motor/v1/motor.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/motor/v1/motor.proto @@ -38,9 +38,11 @@ type SetPowerRequest struct { func (x *SetPowerRequest) Reset() { *x = SetPowerRequest{} - mi := &file_component_motor_v1_motor_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetPowerRequest) String() string { @@ -51,7 +53,7 @@ func (*SetPowerRequest) ProtoMessage() {} func (x *SetPowerRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -95,9 +97,11 @@ type SetPowerResponse struct { func (x *SetPowerResponse) Reset() { *x = SetPowerResponse{} - mi := &file_component_motor_v1_motor_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetPowerResponse) String() string { @@ -108,7 +112,7 @@ func (*SetPowerResponse) ProtoMessage() {} func (x *SetPowerResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -140,9 +144,11 @@ type GoForRequest struct { func (x *GoForRequest) Reset() { *x = GoForRequest{} - mi := &file_component_motor_v1_motor_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GoForRequest) String() string { @@ -153,7 +159,7 @@ func (*GoForRequest) ProtoMessage() {} func (x *GoForRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -204,9 +210,11 @@ type GoForResponse struct { func (x *GoForResponse) Reset() { *x = GoForResponse{} - mi := &file_component_motor_v1_motor_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GoForResponse) String() string { @@ -217,7 +225,7 @@ func (*GoForResponse) ProtoMessage() {} func (x *GoForResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -249,9 +257,11 @@ type GoToRequest struct { func (x *GoToRequest) Reset() { *x = GoToRequest{} - mi := &file_component_motor_v1_motor_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GoToRequest) String() string { @@ -262,7 +272,7 @@ func (*GoToRequest) ProtoMessage() {} func (x *GoToRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -313,9 +323,11 @@ type GoToResponse struct { func (x *GoToResponse) Reset() { *x = GoToResponse{} - mi := &file_component_motor_v1_motor_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GoToResponse) String() string { @@ -326,7 +338,7 @@ func (*GoToResponse) ProtoMessage() {} func (x *GoToResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -356,9 +368,11 @@ type SetRPMRequest struct { func (x *SetRPMRequest) Reset() { *x = SetRPMRequest{} - mi := &file_component_motor_v1_motor_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetRPMRequest) String() string { @@ -369,7 +383,7 @@ func (*SetRPMRequest) ProtoMessage() {} func (x *SetRPMRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -413,9 +427,11 @@ type SetRPMResponse struct { func (x *SetRPMResponse) Reset() { *x = SetRPMResponse{} - mi := &file_component_motor_v1_motor_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetRPMResponse) String() string { @@ -426,7 +442,7 @@ func (*SetRPMResponse) ProtoMessage() {} func (x *SetRPMResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -456,9 +472,11 @@ type ResetZeroPositionRequest struct { func (x *ResetZeroPositionRequest) Reset() { *x = ResetZeroPositionRequest{} - mi := &file_component_motor_v1_motor_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResetZeroPositionRequest) String() string { @@ -469,7 +487,7 @@ func (*ResetZeroPositionRequest) ProtoMessage() {} func (x *ResetZeroPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -513,9 +531,11 @@ type ResetZeroPositionResponse struct { func (x *ResetZeroPositionResponse) Reset() { *x = ResetZeroPositionResponse{} - mi := &file_component_motor_v1_motor_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResetZeroPositionResponse) String() string { @@ -526,7 +546,7 @@ func (*ResetZeroPositionResponse) ProtoMessage() {} func (x *ResetZeroPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -554,9 +574,11 @@ type GetPositionRequest struct { func (x *GetPositionRequest) Reset() { *x = GetPositionRequest{} - mi := &file_component_motor_v1_motor_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPositionRequest) String() string { @@ -567,7 +589,7 @@ func (*GetPositionRequest) ProtoMessage() {} func (x *GetPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -607,9 +629,11 @@ type GetPositionResponse struct { func (x *GetPositionResponse) Reset() { *x = GetPositionResponse{} - mi := &file_component_motor_v1_motor_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPositionResponse) String() string { @@ -620,7 +644,7 @@ func (*GetPositionResponse) ProtoMessage() {} func (x *GetPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -655,9 +679,11 @@ type StopRequest struct { func (x *StopRequest) Reset() { *x = StopRequest{} - mi := &file_component_motor_v1_motor_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopRequest) String() string { @@ -668,7 +694,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -705,9 +731,11 @@ type StopResponse struct { func (x *StopResponse) Reset() { *x = StopResponse{} - mi := &file_component_motor_v1_motor_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopResponse) String() string { @@ -718,7 +746,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -746,9 +774,11 @@ type IsPoweredRequest struct { func (x *IsPoweredRequest) Reset() { *x = IsPoweredRequest{} - mi := &file_component_motor_v1_motor_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsPoweredRequest) String() string { @@ -759,7 +789,7 @@ func (*IsPoweredRequest) ProtoMessage() {} func (x *IsPoweredRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -803,9 +833,11 @@ type IsPoweredResponse struct { func (x *IsPoweredResponse) Reset() { *x = IsPoweredResponse{} - mi := &file_component_motor_v1_motor_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsPoweredResponse) String() string { @@ -816,7 +848,7 @@ func (*IsPoweredResponse) ProtoMessage() {} func (x *IsPoweredResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -858,9 +890,11 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - mi := &file_component_motor_v1_motor_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesRequest) String() string { @@ -871,7 +905,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -911,9 +945,11 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - mi := &file_component_motor_v1_motor_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesResponse) String() string { @@ -924,7 +960,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -961,9 +997,11 @@ type Status struct { func (x *Status) Reset() { *x = Status{} - mi := &file_component_motor_v1_motor_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Status) String() string { @@ -974,7 +1012,7 @@ func (*Status) ProtoMessage() {} func (x *Status) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1020,9 +1058,11 @@ type IsMovingRequest struct { func (x *IsMovingRequest) Reset() { *x = IsMovingRequest{} - mi := &file_component_motor_v1_motor_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsMovingRequest) String() string { @@ -1033,7 +1073,7 @@ func (*IsMovingRequest) ProtoMessage() {} func (x *IsMovingRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1065,9 +1105,11 @@ type IsMovingResponse struct { func (x *IsMovingResponse) Reset() { *x = IsMovingResponse{} - mi := &file_component_motor_v1_motor_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_motor_v1_motor_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsMovingResponse) String() string { @@ -1078,7 +1120,7 @@ func (*IsMovingResponse) ProtoMessage() {} func (x *IsMovingResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1339,7 +1381,7 @@ func file_component_motor_v1_motor_proto_rawDescGZIP() []byte { } var file_component_motor_v1_motor_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_component_motor_v1_motor_proto_goTypes = []any{ +var file_component_motor_v1_motor_proto_goTypes = []interface{}{ (*SetPowerRequest)(nil), // 0: viam.component.motor.v1.SetPowerRequest (*SetPowerResponse)(nil), // 1: viam.component.motor.v1.SetPowerResponse (*GoForRequest)(nil), // 2: viam.component.motor.v1.GoForRequest @@ -1413,6 +1455,260 @@ func file_component_motor_v1_motor_proto_init() { if File_component_motor_v1_motor_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_component_motor_v1_motor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPowerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPowerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GoForRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GoForResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GoToRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GoToResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetRPMRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetRPMResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResetZeroPositionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResetZeroPositionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPositionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPositionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsPoweredRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsPoweredResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Status); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMovingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_motor_v1_motor_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMovingResponse); 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{ diff --git a/component/motor/v1/motor.pb.gw.go b/component/motor/v1/motor.pb.gw.go index 6137ef16..a3e2fe66 100644 --- a/component/motor/v1/motor.pb.gw.go +++ b/component/motor/v1/motor.pb.gw.go @@ -1166,21 +1166,21 @@ func RegisterMotorServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu // RegisterMotorServiceHandlerFromEndpoint is same as RegisterMotorServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterMotorServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/movementsensor/v1/movementsensor.pb.go b/component/movementsensor/v1/movementsensor.pb.go index 01c02ba8..5eb6fa0c 100644 --- a/component/movementsensor/v1/movementsensor.pb.go +++ b/component/movementsensor/v1/movementsensor.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/movementsensor/v1/movementsensor.proto @@ -36,9 +36,11 @@ type GetLinearVelocityRequest struct { func (x *GetLinearVelocityRequest) Reset() { *x = GetLinearVelocityRequest{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetLinearVelocityRequest) String() string { @@ -49,7 +51,7 @@ func (*GetLinearVelocityRequest) ProtoMessage() {} func (x *GetLinearVelocityRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -89,9 +91,11 @@ type GetLinearVelocityResponse struct { func (x *GetLinearVelocityResponse) Reset() { *x = GetLinearVelocityResponse{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetLinearVelocityResponse) String() string { @@ -102,7 +106,7 @@ func (*GetLinearVelocityResponse) ProtoMessage() {} func (x *GetLinearVelocityResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -137,9 +141,11 @@ type GetAngularVelocityRequest struct { func (x *GetAngularVelocityRequest) Reset() { *x = GetAngularVelocityRequest{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetAngularVelocityRequest) String() string { @@ -150,7 +156,7 @@ func (*GetAngularVelocityRequest) ProtoMessage() {} func (x *GetAngularVelocityRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -190,9 +196,11 @@ type GetAngularVelocityResponse struct { func (x *GetAngularVelocityResponse) Reset() { *x = GetAngularVelocityResponse{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetAngularVelocityResponse) String() string { @@ -203,7 +211,7 @@ func (*GetAngularVelocityResponse) ProtoMessage() {} func (x *GetAngularVelocityResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -238,9 +246,11 @@ type GetCompassHeadingRequest struct { func (x *GetCompassHeadingRequest) Reset() { *x = GetCompassHeadingRequest{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetCompassHeadingRequest) String() string { @@ -251,7 +261,7 @@ func (*GetCompassHeadingRequest) ProtoMessage() {} func (x *GetCompassHeadingRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -292,9 +302,11 @@ type GetCompassHeadingResponse struct { func (x *GetCompassHeadingResponse) Reset() { *x = GetCompassHeadingResponse{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetCompassHeadingResponse) String() string { @@ -305,7 +317,7 @@ func (*GetCompassHeadingResponse) ProtoMessage() {} func (x *GetCompassHeadingResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -340,9 +352,11 @@ type GetOrientationRequest struct { func (x *GetOrientationRequest) Reset() { *x = GetOrientationRequest{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetOrientationRequest) String() string { @@ -353,7 +367,7 @@ func (*GetOrientationRequest) ProtoMessage() {} func (x *GetOrientationRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -394,9 +408,11 @@ type GetOrientationResponse struct { func (x *GetOrientationResponse) Reset() { *x = GetOrientationResponse{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetOrientationResponse) String() string { @@ -407,7 +423,7 @@ func (*GetOrientationResponse) ProtoMessage() {} func (x *GetOrientationResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -442,9 +458,11 @@ type GetPositionRequest struct { func (x *GetPositionRequest) Reset() { *x = GetPositionRequest{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPositionRequest) String() string { @@ -455,7 +473,7 @@ func (*GetPositionRequest) ProtoMessage() {} func (x *GetPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -497,9 +515,11 @@ type GetPositionResponse struct { func (x *GetPositionResponse) Reset() { *x = GetPositionResponse{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPositionResponse) String() string { @@ -510,7 +530,7 @@ func (*GetPositionResponse) ProtoMessage() {} func (x *GetPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -552,9 +572,11 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesRequest) String() string { @@ -565,7 +587,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -609,9 +631,11 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesResponse) String() string { @@ -622,7 +646,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -692,9 +716,11 @@ type GetAccuracyRequest struct { func (x *GetAccuracyRequest) Reset() { *x = GetAccuracyRequest{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetAccuracyRequest) String() string { @@ -705,7 +731,7 @@ func (*GetAccuracyRequest) ProtoMessage() {} func (x *GetAccuracyRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -748,9 +774,11 @@ type GetAccuracyResponse struct { func (x *GetAccuracyResponse) Reset() { *x = GetAccuracyResponse{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetAccuracyResponse) String() string { @@ -761,7 +789,7 @@ func (*GetAccuracyResponse) ProtoMessage() {} func (x *GetAccuracyResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -824,9 +852,11 @@ type GetLinearAccelerationRequest struct { func (x *GetLinearAccelerationRequest) Reset() { *x = GetLinearAccelerationRequest{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetLinearAccelerationRequest) String() string { @@ -837,7 +867,7 @@ func (*GetLinearAccelerationRequest) ProtoMessage() {} func (x *GetLinearAccelerationRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -877,9 +907,11 @@ type GetLinearAccelerationResponse struct { func (x *GetLinearAccelerationResponse) Reset() { *x = GetLinearAccelerationResponse{} - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetLinearAccelerationResponse) String() string { @@ -890,7 +922,7 @@ func (*GetLinearAccelerationResponse) ProtoMessage() {} func (x *GetLinearAccelerationResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1214,7 +1246,7 @@ func file_component_movementsensor_v1_movementsensor_proto_rawDescGZIP() []byte } var file_component_movementsensor_v1_movementsensor_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_component_movementsensor_v1_movementsensor_proto_goTypes = []any{ +var file_component_movementsensor_v1_movementsensor_proto_goTypes = []interface{}{ (*GetLinearVelocityRequest)(nil), // 0: viam.component.movementsensor.v1.GetLinearVelocityRequest (*GetLinearVelocityResponse)(nil), // 1: viam.component.movementsensor.v1.GetLinearVelocityResponse (*GetAngularVelocityRequest)(nil), // 2: viam.component.movementsensor.v1.GetAngularVelocityRequest @@ -1292,7 +1324,201 @@ func file_component_movementsensor_v1_movementsensor_proto_init() { if File_component_movementsensor_v1_movementsensor_proto != nil { return } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[13].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_component_movementsensor_v1_movementsensor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLinearVelocityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLinearVelocityResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAngularVelocityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAngularVelocityResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCompassHeadingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCompassHeadingResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrientationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOrientationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPositionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPositionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAccuracyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAccuracyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLinearAccelerationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLinearAccelerationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_component_movementsensor_v1_movementsensor_proto_msgTypes[13].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/component/movementsensor/v1/movementsensor.pb.gw.go b/component/movementsensor/v1/movementsensor.pb.gw.go index ccdbe81f..8530c6d9 100644 --- a/component/movementsensor/v1/movementsensor.pb.gw.go +++ b/component/movementsensor/v1/movementsensor.pb.gw.go @@ -1089,21 +1089,21 @@ func RegisterMovementSensorServiceHandlerServer(ctx context.Context, mux *runtim // RegisterMovementSensorServiceHandlerFromEndpoint is same as RegisterMovementSensorServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterMovementSensorServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/posetracker/v1/pose_tracker.pb.go b/component/posetracker/v1/pose_tracker.pb.go index 4e85ad5b..9b01e750 100644 --- a/component/posetracker/v1/pose_tracker.pb.go +++ b/component/posetracker/v1/pose_tracker.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/posetracker/v1/pose_tracker.proto @@ -40,9 +40,11 @@ type GetPosesRequest struct { func (x *GetPosesRequest) Reset() { *x = GetPosesRequest{} - mi := &file_component_posetracker_v1_pose_tracker_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_posetracker_v1_pose_tracker_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPosesRequest) String() string { @@ -53,7 +55,7 @@ func (*GetPosesRequest) ProtoMessage() {} func (x *GetPosesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_posetracker_v1_pose_tracker_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -100,9 +102,11 @@ type GetPosesResponse struct { func (x *GetPosesResponse) Reset() { *x = GetPosesResponse{} - mi := &file_component_posetracker_v1_pose_tracker_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_posetracker_v1_pose_tracker_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPosesResponse) String() string { @@ -113,7 +117,7 @@ func (*GetPosesResponse) ProtoMessage() {} func (x *GetPosesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_posetracker_v1_pose_tracker_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -219,7 +223,7 @@ func file_component_posetracker_v1_pose_tracker_proto_rawDescGZIP() []byte { } var file_component_posetracker_v1_pose_tracker_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_component_posetracker_v1_pose_tracker_proto_goTypes = []any{ +var file_component_posetracker_v1_pose_tracker_proto_goTypes = []interface{}{ (*GetPosesRequest)(nil), // 0: viam.component.posetracker.v1.GetPosesRequest (*GetPosesResponse)(nil), // 1: viam.component.posetracker.v1.GetPosesResponse nil, // 2: viam.component.posetracker.v1.GetPosesResponse.BodyPosesEntry @@ -252,6 +256,32 @@ func file_component_posetracker_v1_pose_tracker_proto_init() { if File_component_posetracker_v1_pose_tracker_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_component_posetracker_v1_pose_tracker_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPosesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_posetracker_v1_pose_tracker_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPosesResponse); 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{ diff --git a/component/posetracker/v1/pose_tracker.pb.gw.go b/component/posetracker/v1/pose_tracker.pb.gw.go index 453b5242..0007c002 100644 --- a/component/posetracker/v1/pose_tracker.pb.gw.go +++ b/component/posetracker/v1/pose_tracker.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -107,7 +107,7 @@ var ( ) func request_PoseTrackerService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client PoseTrackerServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -140,7 +140,7 @@ func request_PoseTrackerService_DoCommand_0(ctx context.Context, marshaler runti } func local_request_PoseTrackerService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server PoseTrackerServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -177,7 +177,7 @@ var ( ) func request_PoseTrackerService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, client PoseTrackerServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetGeometriesRequest + var protoReq v1_0.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -210,7 +210,7 @@ func request_PoseTrackerService_GetGeometries_0(ctx context.Context, marshaler r } func local_request_PoseTrackerService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, server PoseTrackerServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetGeometriesRequest + var protoReq v1_0.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -329,21 +329,21 @@ func RegisterPoseTrackerServiceHandlerServer(ctx context.Context, mux *runtime.S // RegisterPoseTrackerServiceHandlerFromEndpoint is same as RegisterPoseTrackerServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterPoseTrackerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/powersensor/v1/powersensor.pb.go b/component/powersensor/v1/powersensor.pb.go index fa572fda..88a32c65 100644 --- a/component/powersensor/v1/powersensor.pb.go +++ b/component/powersensor/v1/powersensor.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/powersensor/v1/powersensor.proto @@ -36,9 +36,11 @@ type GetVoltageRequest struct { func (x *GetVoltageRequest) Reset() { *x = GetVoltageRequest{} - mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetVoltageRequest) String() string { @@ -49,7 +51,7 @@ func (*GetVoltageRequest) ProtoMessage() {} func (x *GetVoltageRequest) ProtoReflect() protoreflect.Message { mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -91,9 +93,11 @@ type GetVoltageResponse struct { func (x *GetVoltageResponse) Reset() { *x = GetVoltageResponse{} - mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetVoltageResponse) String() string { @@ -104,7 +108,7 @@ func (*GetVoltageResponse) ProtoMessage() {} func (x *GetVoltageResponse) ProtoReflect() protoreflect.Message { mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -146,9 +150,11 @@ type GetCurrentRequest struct { func (x *GetCurrentRequest) Reset() { *x = GetCurrentRequest{} - mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetCurrentRequest) String() string { @@ -159,7 +165,7 @@ func (*GetCurrentRequest) ProtoMessage() {} func (x *GetCurrentRequest) ProtoReflect() protoreflect.Message { mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -201,9 +207,11 @@ type GetCurrentResponse struct { func (x *GetCurrentResponse) Reset() { *x = GetCurrentResponse{} - mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetCurrentResponse) String() string { @@ -214,7 +222,7 @@ func (*GetCurrentResponse) ProtoMessage() {} func (x *GetCurrentResponse) ProtoReflect() protoreflect.Message { mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -256,9 +264,11 @@ type GetPowerRequest struct { func (x *GetPowerRequest) Reset() { *x = GetPowerRequest{} - mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPowerRequest) String() string { @@ -269,7 +279,7 @@ func (*GetPowerRequest) ProtoMessage() {} func (x *GetPowerRequest) ProtoReflect() protoreflect.Message { mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -309,9 +319,11 @@ type GetPowerResponse struct { func (x *GetPowerResponse) Reset() { *x = GetPowerResponse{} - mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPowerResponse) String() string { @@ -322,7 +334,7 @@ func (*GetPowerResponse) ProtoMessage() {} func (x *GetPowerResponse) ProtoReflect() protoreflect.Message { mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -458,7 +470,7 @@ func file_component_powersensor_v1_powersensor_proto_rawDescGZIP() []byte { } var file_component_powersensor_v1_powersensor_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_component_powersensor_v1_powersensor_proto_goTypes = []any{ +var file_component_powersensor_v1_powersensor_proto_goTypes = []interface{}{ (*GetVoltageRequest)(nil), // 0: viam.component.powersensor.v1.GetVoltageRequest (*GetVoltageResponse)(nil), // 1: viam.component.powersensor.v1.GetVoltageResponse (*GetCurrentRequest)(nil), // 2: viam.component.powersensor.v1.GetCurrentRequest @@ -497,6 +509,80 @@ func file_component_powersensor_v1_powersensor_proto_init() { if File_component_powersensor_v1_powersensor_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_component_powersensor_v1_powersensor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetVoltageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_powersensor_v1_powersensor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetVoltageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_powersensor_v1_powersensor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCurrentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_powersensor_v1_powersensor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCurrentResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_powersensor_v1_powersensor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPowerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_powersensor_v1_powersensor_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPowerResponse); 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{ diff --git a/component/powersensor/v1/powersensor.pb.gw.go b/component/powersensor/v1/powersensor.pb.gw.go index 623f489c..9a80a7e4 100644 --- a/component/powersensor/v1/powersensor.pb.gw.go +++ b/component/powersensor/v1/powersensor.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -247,7 +247,7 @@ var ( ) func request_PowerSensorService_GetReadings_0(ctx context.Context, marshaler runtime.Marshaler, client PowerSensorServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetReadingsRequest + var protoReq v1_0.GetReadingsRequest var metadata runtime.ServerMetadata var ( @@ -280,7 +280,7 @@ func request_PowerSensorService_GetReadings_0(ctx context.Context, marshaler run } func local_request_PowerSensorService_GetReadings_0(ctx context.Context, marshaler runtime.Marshaler, server PowerSensorServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetReadingsRequest + var protoReq v1_0.GetReadingsRequest var metadata runtime.ServerMetadata var ( @@ -317,7 +317,7 @@ var ( ) func request_PowerSensorService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client PowerSensorServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -350,7 +350,7 @@ func request_PowerSensorService_DoCommand_0(ctx context.Context, marshaler runti } func local_request_PowerSensorService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server PowerSensorServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -519,21 +519,21 @@ func RegisterPowerSensorServiceHandlerServer(ctx context.Context, mux *runtime.S // RegisterPowerSensorServiceHandlerFromEndpoint is same as RegisterPowerSensorServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterPowerSensorServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/sensor/v1/sensor.pb.go b/component/sensor/v1/sensor.pb.go index df318426..bdb17ec7 100644 --- a/component/sensor/v1/sensor.pb.go +++ b/component/sensor/v1/sensor.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/sensor/v1/sensor.proto @@ -67,7 +67,7 @@ var file_component_sensor_v1_sensor_proto_rawDesc = []byte{ 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_component_sensor_v1_sensor_proto_goTypes = []any{ +var file_component_sensor_v1_sensor_proto_goTypes = []interface{}{ (*v1.GetReadingsRequest)(nil), // 0: viam.common.v1.GetReadingsRequest (*v1.DoCommandRequest)(nil), // 1: viam.common.v1.DoCommandRequest (*v1.GetGeometriesRequest)(nil), // 2: viam.common.v1.GetGeometriesRequest diff --git a/component/sensor/v1/sensor.pb.gw.go b/component/sensor/v1/sensor.pb.gw.go index 1c3d3c79..66681c36 100644 --- a/component/sensor/v1/sensor.pb.gw.go +++ b/component/sensor/v1/sensor.pb.gw.go @@ -329,21 +329,21 @@ func RegisterSensorServiceHandlerServer(ctx context.Context, mux *runtime.ServeM // RegisterSensorServiceHandlerFromEndpoint is same as RegisterSensorServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterSensorServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/servo/v1/servo.pb.go b/component/servo/v1/servo.pb.go index e7f6ba9f..332471ae 100644 --- a/component/servo/v1/servo.pb.go +++ b/component/servo/v1/servo.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/servo/v1/servo.proto @@ -38,9 +38,11 @@ type MoveRequest struct { func (x *MoveRequest) Reset() { *x = MoveRequest{} - mi := &file_component_servo_v1_servo_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_servo_v1_servo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveRequest) String() string { @@ -51,7 +53,7 @@ func (*MoveRequest) ProtoMessage() {} func (x *MoveRequest) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -95,9 +97,11 @@ type MoveResponse struct { func (x *MoveResponse) Reset() { *x = MoveResponse{} - mi := &file_component_servo_v1_servo_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_servo_v1_servo_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveResponse) String() string { @@ -108,7 +112,7 @@ func (*MoveResponse) ProtoMessage() {} func (x *MoveResponse) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -136,9 +140,11 @@ type GetPositionRequest struct { func (x *GetPositionRequest) Reset() { *x = GetPositionRequest{} - mi := &file_component_servo_v1_servo_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_servo_v1_servo_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPositionRequest) String() string { @@ -149,7 +155,7 @@ func (*GetPositionRequest) ProtoMessage() {} func (x *GetPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -189,9 +195,11 @@ type GetPositionResponse struct { func (x *GetPositionResponse) Reset() { *x = GetPositionResponse{} - mi := &file_component_servo_v1_servo_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_servo_v1_servo_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPositionResponse) String() string { @@ -202,7 +210,7 @@ func (*GetPositionResponse) ProtoMessage() {} func (x *GetPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -237,9 +245,11 @@ type StopRequest struct { func (x *StopRequest) Reset() { *x = StopRequest{} - mi := &file_component_servo_v1_servo_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_servo_v1_servo_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopRequest) String() string { @@ -250,7 +260,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -287,9 +297,11 @@ type StopResponse struct { func (x *StopResponse) Reset() { *x = StopResponse{} - mi := &file_component_servo_v1_servo_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_servo_v1_servo_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopResponse) String() string { @@ -300,7 +312,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -326,9 +338,11 @@ type Status struct { func (x *Status) Reset() { *x = Status{} - mi := &file_component_servo_v1_servo_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_servo_v1_servo_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Status) String() string { @@ -339,7 +353,7 @@ func (*Status) ProtoMessage() {} func (x *Status) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -378,9 +392,11 @@ type IsMovingRequest struct { func (x *IsMovingRequest) Reset() { *x = IsMovingRequest{} - mi := &file_component_servo_v1_servo_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_servo_v1_servo_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsMovingRequest) String() string { @@ -391,7 +407,7 @@ func (*IsMovingRequest) ProtoMessage() {} func (x *IsMovingRequest) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -423,9 +439,11 @@ type IsMovingResponse struct { func (x *IsMovingResponse) Reset() { *x = IsMovingResponse{} - mi := &file_component_servo_v1_servo_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_servo_v1_servo_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *IsMovingResponse) String() string { @@ -436,7 +454,7 @@ func (*IsMovingResponse) ProtoMessage() {} func (x *IsMovingResponse) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -579,7 +597,7 @@ func file_component_servo_v1_servo_proto_rawDescGZIP() []byte { } var file_component_servo_v1_servo_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_component_servo_v1_servo_proto_goTypes = []any{ +var file_component_servo_v1_servo_proto_goTypes = []interface{}{ (*MoveRequest)(nil), // 0: viam.component.servo.v1.MoveRequest (*MoveResponse)(nil), // 1: viam.component.servo.v1.MoveResponse (*GetPositionRequest)(nil), // 2: viam.component.servo.v1.GetPositionRequest @@ -623,6 +641,116 @@ func file_component_servo_v1_servo_proto_init() { if File_component_servo_v1_servo_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_component_servo_v1_servo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_servo_v1_servo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_servo_v1_servo_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPositionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_servo_v1_servo_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPositionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_servo_v1_servo_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_servo_v1_servo_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_servo_v1_servo_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Status); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_servo_v1_servo_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMovingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_servo_v1_servo_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsMovingResponse); 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{ diff --git a/component/servo/v1/servo.pb.gw.go b/component/servo/v1/servo.pb.gw.go index 83fc78c3..fd6e0a9d 100644 --- a/component/servo/v1/servo.pb.gw.go +++ b/component/servo/v1/servo.pb.gw.go @@ -596,21 +596,21 @@ func RegisterServoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu // RegisterServoServiceHandlerFromEndpoint is same as RegisterServoServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterServoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/testecho/v1/testecho.pb.go b/component/testecho/v1/testecho.pb.go index d253a169..1300e9da 100644 --- a/component/testecho/v1/testecho.pb.go +++ b/component/testecho/v1/testecho.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: component/testecho/v1/testecho.proto @@ -32,9 +32,11 @@ type EchoRequest struct { func (x *EchoRequest) Reset() { *x = EchoRequest{} - mi := &file_component_testecho_v1_testecho_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_testecho_v1_testecho_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EchoRequest) String() string { @@ -45,7 +47,7 @@ func (*EchoRequest) ProtoMessage() {} func (x *EchoRequest) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -84,9 +86,11 @@ type EchoResponse struct { func (x *EchoResponse) Reset() { *x = EchoResponse{} - mi := &file_component_testecho_v1_testecho_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_testecho_v1_testecho_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EchoResponse) String() string { @@ -97,7 +101,7 @@ func (*EchoResponse) ProtoMessage() {} func (x *EchoResponse) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -130,9 +134,11 @@ type EchoMultipleRequest struct { func (x *EchoMultipleRequest) Reset() { *x = EchoMultipleRequest{} - mi := &file_component_testecho_v1_testecho_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_testecho_v1_testecho_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EchoMultipleRequest) String() string { @@ -143,7 +149,7 @@ func (*EchoMultipleRequest) ProtoMessage() {} func (x *EchoMultipleRequest) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -182,9 +188,11 @@ type EchoMultipleResponse struct { func (x *EchoMultipleResponse) Reset() { *x = EchoMultipleResponse{} - mi := &file_component_testecho_v1_testecho_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_testecho_v1_testecho_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EchoMultipleResponse) String() string { @@ -195,7 +203,7 @@ func (*EchoMultipleResponse) ProtoMessage() {} func (x *EchoMultipleResponse) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -228,9 +236,11 @@ type EchoBiDiRequest struct { func (x *EchoBiDiRequest) Reset() { *x = EchoBiDiRequest{} - mi := &file_component_testecho_v1_testecho_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_testecho_v1_testecho_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EchoBiDiRequest) String() string { @@ -241,7 +251,7 @@ func (*EchoBiDiRequest) ProtoMessage() {} func (x *EchoBiDiRequest) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -280,9 +290,11 @@ type EchoBiDiResponse struct { func (x *EchoBiDiResponse) Reset() { *x = EchoBiDiResponse{} - mi := &file_component_testecho_v1_testecho_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_testecho_v1_testecho_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *EchoBiDiResponse) String() string { @@ -293,7 +305,7 @@ func (*EchoBiDiResponse) ProtoMessage() {} func (x *EchoBiDiResponse) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -325,9 +337,11 @@ type StopRequest struct { func (x *StopRequest) Reset() { *x = StopRequest{} - mi := &file_component_testecho_v1_testecho_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_testecho_v1_testecho_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopRequest) String() string { @@ -338,7 +352,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -368,9 +382,11 @@ type StopResponse struct { func (x *StopResponse) Reset() { *x = StopResponse{} - mi := &file_component_testecho_v1_testecho_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_component_testecho_v1_testecho_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopResponse) String() string { @@ -381,7 +397,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -477,7 +493,7 @@ func file_component_testecho_v1_testecho_proto_rawDescGZIP() []byte { } var file_component_testecho_v1_testecho_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_component_testecho_v1_testecho_proto_goTypes = []any{ +var file_component_testecho_v1_testecho_proto_goTypes = []interface{}{ (*EchoRequest)(nil), // 0: viam.component.testecho.v1.EchoRequest (*EchoResponse)(nil), // 1: viam.component.testecho.v1.EchoResponse (*EchoMultipleRequest)(nil), // 2: viam.component.testecho.v1.EchoMultipleRequest @@ -508,6 +524,104 @@ func file_component_testecho_v1_testecho_proto_init() { if File_component_testecho_v1_testecho_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_component_testecho_v1_testecho_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EchoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_testecho_v1_testecho_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EchoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_testecho_v1_testecho_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EchoMultipleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_testecho_v1_testecho_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EchoMultipleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_testecho_v1_testecho_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EchoBiDiRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_testecho_v1_testecho_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EchoBiDiResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_testecho_v1_testecho_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_component_testecho_v1_testecho_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopResponse); 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{ diff --git a/component/testecho/v1/testecho.pb.gw.go b/component/testecho/v1/testecho.pb.gw.go index ed73f032..c9f118a9 100644 --- a/component/testecho/v1/testecho.pb.gw.go +++ b/component/testecho/v1/testecho.pb.gw.go @@ -35,7 +35,11 @@ func request_TestEchoService_Echo_0(ctx context.Context, marshaler runtime.Marsh var protoReq EchoRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -48,7 +52,11 @@ func local_request_TestEchoService_Echo_0(ctx context.Context, marshaler runtime var protoReq EchoRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -61,7 +69,11 @@ func request_TestEchoService_EchoMultiple_0(ctx context.Context, marshaler runti var protoReq EchoMultipleRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -82,7 +94,7 @@ func request_TestEchoService_EchoBiDi_0(ctx context.Context, marshaler runtime.M var metadata runtime.ServerMetadata stream, err := client.EchoBiDi(ctx) if err != nil { - grpclog.Errorf("Failed to start streaming: %v", err) + grpclog.Infof("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -93,11 +105,11 @@ func request_TestEchoService_EchoBiDi_0(ctx context.Context, marshaler runtime.M return err } if err != nil { - grpclog.Errorf("Failed to decode request: %v", err) + grpclog.Infof("Failed to decode request: %v", err) return err } if err := stream.Send(&protoReq); err != nil { - grpclog.Errorf("Failed to send request: %v", err) + grpclog.Infof("Failed to send request: %v", err) return err } return nil @@ -109,12 +121,12 @@ func request_TestEchoService_EchoBiDi_0(ctx context.Context, marshaler runtime.M } } if err := stream.CloseSend(); err != nil { - grpclog.Errorf("Failed to terminate client stream: %v", err) + grpclog.Infof("Failed to terminate client stream: %v", err) } }() header, err := stream.Header() if err != nil { - grpclog.Errorf("Failed to get header from client: %v", err) + grpclog.Infof("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -125,7 +137,11 @@ func request_TestEchoService_Stop_0(ctx context.Context, marshaler runtime.Marsh var protoReq StopRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -138,7 +154,11 @@ func local_request_TestEchoService_Stop_0(ctx context.Context, marshaler runtime var protoReq StopRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -223,21 +243,21 @@ func RegisterTestEchoServiceHandlerServer(ctx context.Context, mux *runtime.Serv // RegisterTestEchoServiceHandlerFromEndpoint is same as RegisterTestEchoServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterTestEchoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/gen/js/app/agent/v1/agent_pb.js b/gen/js/app/agent/v1/agent_pb.js index eac54b7b..8084e818 100644 --- a/gen/js/app/agent/v1/agent_pb.js +++ b/gen/js/app/agent/v1/agent_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js'); goog.object.extend(proto, google_protobuf_duration_pb); @@ -162,9 +168,9 @@ proto.viam.app.agent.v1.DeviceAgentConfigRequest.prototype.toObject = function(o */ proto.viam.app.agent.v1.DeviceAgentConfigRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - hostInfo: (f = msg.getHostInfo()) && proto.viam.app.agent.v1.HostInfo.toObject(includeInstance, f), - subsystemVersionsMap: (f = msg.getSubsystemVersionsMap()) ? f.toObject(includeInstance, undefined) : [] +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +hostInfo: (f = msg.getHostInfo()) && proto.viam.app.agent.v1.HostInfo.toObject(includeInstance, f), +subsystemVersionsMap: (f = msg.getSubsystemVersionsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -341,7 +347,8 @@ proto.viam.app.agent.v1.DeviceAgentConfigRequest.prototype.getSubsystemVersionsM */ proto.viam.app.agent.v1.DeviceAgentConfigRequest.prototype.clearSubsystemVersionsMap = function() { this.getSubsystemVersionsMap().clear(); - return this;}; + return this; +}; @@ -376,8 +383,8 @@ proto.viam.app.agent.v1.DeviceAgentConfigResponse.prototype.toObject = function( */ proto.viam.app.agent.v1.DeviceAgentConfigResponse.toObject = function(includeInstance, msg) { var f, obj = { - subsystemConfigsMap: (f = msg.getSubsystemConfigsMap()) ? f.toObject(includeInstance, proto.viam.app.agent.v1.DeviceSubsystemConfig.toObject) : [], - checkInterval: (f = msg.getCheckInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) +subsystemConfigsMap: (f = msg.getSubsystemConfigsMap()) ? f.toObject(includeInstance, proto.viam.app.agent.v1.DeviceSubsystemConfig.toObject) : [], +checkInterval: (f = msg.getCheckInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -488,7 +495,8 @@ proto.viam.app.agent.v1.DeviceAgentConfigResponse.prototype.getSubsystemConfigsM */ proto.viam.app.agent.v1.DeviceAgentConfigResponse.prototype.clearSubsystemConfigsMap = function() { this.getSubsystemConfigsMap().clear(); - return this;}; + return this; +}; /** @@ -560,10 +568,10 @@ proto.viam.app.agent.v1.DeviceSubsystemConfig.prototype.toObject = function(opt_ */ proto.viam.app.agent.v1.DeviceSubsystemConfig.toObject = function(includeInstance, msg) { var f, obj = { - updateInfo: (f = msg.getUpdateInfo()) && proto.viam.app.agent.v1.SubsystemUpdateInfo.toObject(includeInstance, f), - disable: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - forceRestart: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +updateInfo: (f = msg.getUpdateInfo()) && proto.viam.app.agent.v1.SubsystemUpdateInfo.toObject(includeInstance, f), +disable: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), +forceRestart: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), +attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -829,9 +837,9 @@ proto.viam.app.agent.v1.HostInfo.prototype.toObject = function(opt_includeInstan */ proto.viam.app.agent.v1.HostInfo.toObject = function(includeInstance, msg) { var f, obj = { - platform: jspb.Message.getFieldWithDefault(msg, 1, ""), - distro: jspb.Message.getFieldWithDefault(msg, 2, ""), - tagsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f +platform: jspb.Message.getFieldWithDefault(msg, 1, ""), +distro: jspb.Message.getFieldWithDefault(msg, 2, ""), +tagsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -1038,11 +1046,11 @@ proto.viam.app.agent.v1.SubsystemUpdateInfo.prototype.toObject = function(opt_in */ proto.viam.app.agent.v1.SubsystemUpdateInfo.toObject = function(includeInstance, msg) { var f, obj = { - filename: jspb.Message.getFieldWithDefault(msg, 1, ""), - url: jspb.Message.getFieldWithDefault(msg, 2, ""), - version: jspb.Message.getFieldWithDefault(msg, 3, ""), - sha256: msg.getSha256_asB64(), - format: jspb.Message.getFieldWithDefault(msg, 5, 0) +filename: jspb.Message.getFieldWithDefault(msg, 1, ""), +url: jspb.Message.getFieldWithDefault(msg, 2, ""), +version: jspb.Message.getFieldWithDefault(msg, 3, ""), +sha256: msg.getSha256_asB64(), +format: jspb.Message.getFieldWithDefault(msg, 5, 0) }; if (includeInstance) { diff --git a/gen/js/app/build/v1/build_pb.js b/gen/js/app/build/v1/build_pb.js index a86ce670..1058266b 100644 --- a/gen/js/app/build/v1/build_pb.js +++ b/gen/js/app/build/v1/build_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb); @@ -563,13 +569,13 @@ proto.viam.app.build.v1.StartBuildRequest.prototype.toObject = function(opt_incl */ proto.viam.app.build.v1.StartBuildRequest.toObject = function(includeInstance, msg) { var f, obj = { - repo: jspb.Message.getFieldWithDefault(msg, 1, ""), - ref: jspb.Message.getFieldWithDefault(msg, 2, ""), - platformsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, - moduleId: jspb.Message.getFieldWithDefault(msg, 4, ""), - moduleVersion: jspb.Message.getFieldWithDefault(msg, 5, ""), - token: jspb.Message.getFieldWithDefault(msg, 6, ""), - workdir: jspb.Message.getFieldWithDefault(msg, 7, "") +repo: jspb.Message.getFieldWithDefault(msg, 1, ""), +ref: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +platformsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, +moduleId: jspb.Message.getFieldWithDefault(msg, 4, ""), +moduleVersion: jspb.Message.getFieldWithDefault(msg, 5, ""), +token: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, +workdir: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f }; if (includeInstance) { @@ -946,7 +952,7 @@ proto.viam.app.build.v1.StartBuildResponse.prototype.toObject = function(opt_inc */ proto.viam.app.build.v1.StartBuildResponse.toObject = function(includeInstance, msg) { var f, obj = { - buildId: jspb.Message.getFieldWithDefault(msg, 1, "") +buildId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1076,8 +1082,8 @@ proto.viam.app.build.v1.GetLogsRequest.prototype.toObject = function(opt_include */ proto.viam.app.build.v1.GetLogsRequest.toObject = function(includeInstance, msg) { var f, obj = { - buildId: jspb.Message.getFieldWithDefault(msg, 1, ""), - platform: jspb.Message.getFieldWithDefault(msg, 2, "") +buildId: jspb.Message.getFieldWithDefault(msg, 1, ""), +platform: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1236,8 +1242,8 @@ proto.viam.app.build.v1.GetLogsResponse.prototype.toObject = function(opt_includ */ proto.viam.app.build.v1.GetLogsResponse.toObject = function(includeInstance, msg) { var f, obj = { - buildStep: jspb.Message.getFieldWithDefault(msg, 1, ""), - data: jspb.Message.getFieldWithDefault(msg, 2, "") +buildStep: jspb.Message.getFieldWithDefault(msg, 1, ""), +data: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1396,12 +1402,12 @@ proto.viam.app.build.v1.JobInfo.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.build.v1.JobInfo.toObject = function(includeInstance, msg) { var f, obj = { - buildId: jspb.Message.getFieldWithDefault(msg, 1, ""), - platform: jspb.Message.getFieldWithDefault(msg, 2, ""), - version: jspb.Message.getFieldWithDefault(msg, 3, ""), - status: jspb.Message.getFieldWithDefault(msg, 4, 0), - startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +buildId: jspb.Message.getFieldWithDefault(msg, 1, ""), +platform: jspb.Message.getFieldWithDefault(msg, 2, ""), +version: jspb.Message.getFieldWithDefault(msg, 3, ""), +status: jspb.Message.getFieldWithDefault(msg, 4, 0), +startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -1718,9 +1724,9 @@ proto.viam.app.build.v1.ListJobsRequest.prototype.toObject = function(opt_includ */ proto.viam.app.build.v1.ListJobsRequest.toObject = function(includeInstance, msg) { var f, obj = { - moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), - maxJobsLength: jspb.Message.getFieldWithDefault(msg, 2, 0), - buildId: jspb.Message.getFieldWithDefault(msg, 3, "") +moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), +maxJobsLength: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +buildId: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -1951,7 +1957,7 @@ proto.viam.app.build.v1.ListJobsResponse.prototype.toObject = function(opt_inclu */ proto.viam.app.build.v1.ListJobsResponse.toObject = function(includeInstance, msg) { var f, obj = { - jobsList: jspb.Message.toObjectList(msg.getJobsList(), +jobsList: jspb.Message.toObjectList(msg.getJobsList(), proto.viam.app.build.v1.JobInfo.toObject, includeInstance) }; @@ -2104,12 +2110,12 @@ proto.viam.app.build.v1.RepoLink.prototype.toObject = function(opt_includeInstan */ proto.viam.app.build.v1.RepoLink.toObject = function(includeInstance, msg) { var f, obj = { - oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), - orgId: jspb.Message.getFieldWithDefault(msg, 2, ""), - namespace: jspb.Message.getFieldWithDefault(msg, 3, ""), - moduleName: jspb.Message.getFieldWithDefault(msg, 4, ""), - repo: jspb.Message.getFieldWithDefault(msg, 5, ""), - viamUser: jspb.Message.getFieldWithDefault(msg, 6, "") +oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), +orgId: jspb.Message.getFieldWithDefault(msg, 2, ""), +namespace: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +moduleName: jspb.Message.getFieldWithDefault(msg, 4, ""), +repo: jspb.Message.getFieldWithDefault(msg, 5, ""), +viamUser: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { @@ -2402,7 +2408,7 @@ proto.viam.app.build.v1.LinkRepoRequest.prototype.toObject = function(opt_includ */ proto.viam.app.build.v1.LinkRepoRequest.toObject = function(includeInstance, msg) { var f, obj = { - link: (f = msg.getLink()) && proto.viam.app.build.v1.RepoLink.toObject(includeInstance, f) +link: (f = msg.getLink()) && proto.viam.app.build.v1.RepoLink.toObject(includeInstance, f) }; if (includeInstance) { @@ -2553,7 +2559,7 @@ proto.viam.app.build.v1.LinkRepoResponse.prototype.toObject = function(opt_inclu */ proto.viam.app.build.v1.LinkRepoResponse.toObject = function(includeInstance, msg) { var f, obj = { - repoLinkId: jspb.Message.getFieldWithDefault(msg, 1, "") +repoLinkId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2683,7 +2689,7 @@ proto.viam.app.build.v1.UnlinkRepoRequest.prototype.toObject = function(opt_incl */ proto.viam.app.build.v1.UnlinkRepoRequest.toObject = function(includeInstance, msg) { var f, obj = { - repoLinkId: jspb.Message.getFieldWithDefault(msg, 1, "") +repoLinkId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -3022,7 +3028,7 @@ proto.viam.app.build.v1.ListRepoLinksResponse.prototype.toObject = function(opt_ */ proto.viam.app.build.v1.ListRepoLinksResponse.toObject = function(includeInstance, msg) { var f, obj = { - linksList: jspb.Message.toObjectList(msg.getLinksList(), +linksList: jspb.Message.toObjectList(msg.getLinksList(), proto.viam.app.build.v1.RepoLink.toObject, includeInstance) }; @@ -3283,10 +3289,10 @@ proto.viam.app.build.v1.AppLink.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.build.v1.AppLink.toObject = function(includeInstance, msg) { var f, obj = { - oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), - viamUser: jspb.Message.getFieldWithDefault(msg, 2, ""), - externalUser: jspb.Message.getFieldWithDefault(msg, 3, ""), - orgIdOrNsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f +oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), +viamUser: jspb.Message.getFieldWithDefault(msg, 2, ""), +externalUser: jspb.Message.getFieldWithDefault(msg, 3, ""), +orgIdOrNsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f }; if (includeInstance) { @@ -3529,7 +3535,7 @@ proto.viam.app.build.v1.ListAppLinksResponse.prototype.toObject = function(opt_i */ proto.viam.app.build.v1.ListAppLinksResponse.toObject = function(includeInstance, msg) { var f, obj = { - linksList: jspb.Message.toObjectList(msg.getLinksList(), +linksList: jspb.Message.toObjectList(msg.getLinksList(), proto.viam.app.build.v1.AppLink.toObject, includeInstance) }; @@ -3682,7 +3688,7 @@ proto.viam.app.build.v1.RemoveAppLinkRequest.prototype.toObject = function(opt_i */ proto.viam.app.build.v1.RemoveAppLinkRequest.toObject = function(includeInstance, msg) { var f, obj = { - oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, "") +oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -3913,8 +3919,8 @@ proto.viam.app.build.v1.LinkOrgRequest.prototype.toObject = function(opt_include */ proto.viam.app.build.v1.LinkOrgRequest.toObject = function(includeInstance, msg) { var f, obj = { - oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), - orgId: jspb.Message.getFieldWithDefault(msg, 2, "") +oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), +orgId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -4174,8 +4180,8 @@ proto.viam.app.build.v1.UnlinkOrgRequest.prototype.toObject = function(opt_inclu */ proto.viam.app.build.v1.UnlinkOrgRequest.toObject = function(includeInstance, msg) { var f, obj = { - oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), - orgId: jspb.Message.getFieldWithDefault(msg, 2, "") +oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), +orgId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/app/cloudslam/v1/cloud_slam_pb.js b/gen/js/app/cloudslam/v1/cloud_slam_pb.js index 1bfa44a1..1753e1f8 100644 --- a/gen/js/app/cloudslam/v1/cloud_slam_pb.js +++ b/gen/js/app/cloudslam/v1/cloud_slam_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -413,18 +419,18 @@ proto.viam.app.cloudslam.v1.StartMappingSessionRequest.prototype.toObject = func */ proto.viam.app.cloudslam.v1.StartMappingSessionRequest.toObject = function(includeInstance, msg) { var f, obj = { - slamVersion: jspb.Message.getFieldWithDefault(msg, 1, ""), - viamServerVersion: jspb.Message.getFieldWithDefault(msg, 2, ""), - mapName: jspb.Message.getFieldWithDefault(msg, 3, ""), - organizationId: jspb.Message.getFieldWithDefault(msg, 4, ""), - locationId: jspb.Message.getFieldWithDefault(msg, 5, ""), - robotId: jspb.Message.getFieldWithDefault(msg, 6, ""), - captureInterval: (f = msg.getCaptureInterval()) && proto.viam.app.cloudslam.v1.CaptureInterval.toObject(includeInstance, f), - sensorsList: jspb.Message.toObjectList(msg.getSensorsList(), +slamVersion: jspb.Message.getFieldWithDefault(msg, 1, ""), +viamServerVersion: jspb.Message.getFieldWithDefault(msg, 2, ""), +mapName: jspb.Message.getFieldWithDefault(msg, 3, ""), +organizationId: jspb.Message.getFieldWithDefault(msg, 4, ""), +locationId: jspb.Message.getFieldWithDefault(msg, 5, ""), +robotId: jspb.Message.getFieldWithDefault(msg, 6, ""), +captureInterval: (f = msg.getCaptureInterval()) && proto.viam.app.cloudslam.v1.CaptureInterval.toObject(includeInstance, f), +sensorsList: jspb.Message.toObjectList(msg.getSensorsList(), proto.viam.app.cloudslam.v1.SensorInfo.toObject, includeInstance), - slamConfig: (f = msg.getSlamConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - existingMapVersion: jspb.Message.getFieldWithDefault(msg, 11, ""), - module: (f = msg.getModule()) && proto.viam.app.cloudslam.v1.Module.toObject(includeInstance, f) +slamConfig: (f = msg.getSlamConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +existingMapVersion: jspb.Message.getFieldWithDefault(msg, 11, ""), +module: (f = msg.getModule()) && proto.viam.app.cloudslam.v1.Module.toObject(includeInstance, f) }; if (includeInstance) { @@ -929,9 +935,9 @@ proto.viam.app.cloudslam.v1.Module.prototype.toObject = function(opt_includeInst */ proto.viam.app.cloudslam.v1.Module.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - moduleId: jspb.Message.getFieldWithDefault(msg, 3, ""), - version: jspb.Message.getFieldWithDefault(msg, 4, "") +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +moduleId: jspb.Message.getFieldWithDefault(msg, 3, ""), +version: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -1119,9 +1125,9 @@ proto.viam.app.cloudslam.v1.SensorInfo.prototype.toObject = function(opt_include */ proto.viam.app.cloudslam.v1.SensorInfo.toObject = function(includeInstance, msg) { var f, obj = { - sourceComponentName: jspb.Message.getFieldWithDefault(msg, 1, ""), - type: jspb.Message.getFieldWithDefault(msg, 2, ""), - dataFrequencyHz: jspb.Message.getFieldWithDefault(msg, 3, "") +sourceComponentName: jspb.Message.getFieldWithDefault(msg, 1, ""), +type: jspb.Message.getFieldWithDefault(msg, 2, ""), +dataFrequencyHz: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1309,8 +1315,8 @@ proto.viam.app.cloudslam.v1.CaptureInterval.prototype.toObject = function(opt_in */ proto.viam.app.cloudslam.v1.CaptureInterval.toObject = function(includeInstance, msg) { var f, obj = { - startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -1511,7 +1517,7 @@ proto.viam.app.cloudslam.v1.StartMappingSessionResponse.prototype.toObject = fun */ proto.viam.app.cloudslam.v1.StartMappingSessionResponse.toObject = function(includeInstance, msg) { var f, obj = { - sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") +sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1641,7 +1647,7 @@ proto.viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotRequest.prototype.to */ proto.viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotRequest.toObject = function(includeInstance, msg) { var f, obj = { - robotId: jspb.Message.getFieldWithDefault(msg, 1, "") +robotId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1771,7 +1777,7 @@ proto.viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotResponse.prototype.t */ proto.viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotResponse.toObject = function(includeInstance, msg) { var f, obj = { - sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") +sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1901,7 +1907,7 @@ proto.viam.app.cloudslam.v1.GetMappingSessionPointCloudRequest.prototype.toObjec */ proto.viam.app.cloudslam.v1.GetMappingSessionPointCloudRequest.toObject = function(includeInstance, msg) { var f, obj = { - sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") +sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2031,8 +2037,8 @@ proto.viam.app.cloudslam.v1.GetMappingSessionPointCloudResponse.prototype.toObje */ proto.viam.app.cloudslam.v1.GetMappingSessionPointCloudResponse.toObject = function(includeInstance, msg) { var f, obj = { - mapUrl: jspb.Message.getFieldWithDefault(msg, 1, ""), - pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) +mapUrl: jspb.Message.getFieldWithDefault(msg, 1, ""), +pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) }; if (includeInstance) { @@ -2212,8 +2218,8 @@ proto.viam.app.cloudslam.v1.ListMappingSessionsRequest.prototype.toObject = func */ proto.viam.app.cloudslam.v1.ListMappingSessionsRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - locationId: jspb.Message.getFieldWithDefault(msg, 2, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +locationId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -2379,7 +2385,7 @@ proto.viam.app.cloudslam.v1.ListMappingSessionsResponse.prototype.toObject = fun */ proto.viam.app.cloudslam.v1.ListMappingSessionsResponse.toObject = function(includeInstance, msg) { var f, obj = { - sessionList: jspb.Message.toObjectList(msg.getSessionList(), +sessionList: jspb.Message.toObjectList(msg.getSessionList(), proto.viam.app.cloudslam.v1.MappingMetadata.toObject, includeInstance) }; @@ -2532,7 +2538,7 @@ proto.viam.app.cloudslam.v1.StopMappingSessionRequest.prototype.toObject = funct */ proto.viam.app.cloudslam.v1.StopMappingSessionRequest.toObject = function(includeInstance, msg) { var f, obj = { - sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") +sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2662,8 +2668,8 @@ proto.viam.app.cloudslam.v1.StopMappingSessionResponse.prototype.toObject = func */ proto.viam.app.cloudslam.v1.StopMappingSessionResponse.toObject = function(includeInstance, msg) { var f, obj = { - packageId: jspb.Message.getFieldWithDefault(msg, 1, ""), - version: jspb.Message.getFieldWithDefault(msg, 2, "") +packageId: jspb.Message.getFieldWithDefault(msg, 1, ""), +version: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -2822,7 +2828,7 @@ proto.viam.app.cloudslam.v1.GetMappingSessionMetadataByIDRequest.prototype.toObj */ proto.viam.app.cloudslam.v1.GetMappingSessionMetadataByIDRequest.toObject = function(includeInstance, msg) { var f, obj = { - sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") +sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2952,7 +2958,7 @@ proto.viam.app.cloudslam.v1.GetMappingSessionMetadataByIDResponse.prototype.toOb */ proto.viam.app.cloudslam.v1.GetMappingSessionMetadataByIDResponse.toObject = function(includeInstance, msg) { var f, obj = { - sessionMetadata: (f = msg.getSessionMetadata()) && proto.viam.app.cloudslam.v1.MappingMetadata.toObject(includeInstance, f) +sessionMetadata: (f = msg.getSessionMetadata()) && proto.viam.app.cloudslam.v1.MappingMetadata.toObject(includeInstance, f) }; if (includeInstance) { @@ -3103,20 +3109,20 @@ proto.viam.app.cloudslam.v1.MappingMetadata.prototype.toObject = function(opt_in */ proto.viam.app.cloudslam.v1.MappingMetadata.toObject = function(includeInstance, msg) { var f, obj = { - orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), - locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), - robotId: jspb.Message.getFieldWithDefault(msg, 3, ""), - timeStartSubmitted: (f = msg.getTimeStartSubmitted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - timeCloudRunJobStarted: (f = msg.getTimeCloudRunJobStarted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - timeEndSubmitted: (f = msg.getTimeEndSubmitted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - timeCloudRunJobEnded: (f = msg.getTimeCloudRunJobEnded()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - endStatus: jspb.Message.getFieldWithDefault(msg, 8, 0), - cloudRunJobId: jspb.Message.getFieldWithDefault(msg, 9, ""), - viamServerVersion: jspb.Message.getFieldWithDefault(msg, 10, ""), - mapName: jspb.Message.getFieldWithDefault(msg, 11, ""), - slamVersion: jspb.Message.getFieldWithDefault(msg, 12, ""), - config: jspb.Message.getFieldWithDefault(msg, 13, ""), - errorMsg: jspb.Message.getFieldWithDefault(msg, 14, "") +orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), +locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), +robotId: jspb.Message.getFieldWithDefault(msg, 3, ""), +timeStartSubmitted: (f = msg.getTimeStartSubmitted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +timeCloudRunJobStarted: (f = msg.getTimeCloudRunJobStarted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +timeEndSubmitted: (f = msg.getTimeEndSubmitted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +timeCloudRunJobEnded: (f = msg.getTimeCloudRunJobEnded()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +endStatus: jspb.Message.getFieldWithDefault(msg, 8, 0), +cloudRunJobId: jspb.Message.getFieldWithDefault(msg, 9, ""), +viamServerVersion: jspb.Message.getFieldWithDefault(msg, 10, ""), +mapName: jspb.Message.getFieldWithDefault(msg, 11, ""), +slamVersion: jspb.Message.getFieldWithDefault(msg, 12, ""), +config: jspb.Message.getFieldWithDefault(msg, 13, ""), +errorMsg: jspb.Message.getFieldWithDefault(msg, 14, "") }; if (includeInstance) { diff --git a/gen/js/app/data/v1/data_pb.js b/gen/js/app/data/v1/data_pb.js index b24990cd..dce7d147 100644 --- a/gen/js/app/data/v1/data_pb.js +++ b/gen/js/app/data/v1/data_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); goog.object.extend(proto, google_protobuf_any_pb); @@ -1243,10 +1249,10 @@ proto.viam.app.data.v1.DataRequest.prototype.toObject = function(opt_includeInst */ proto.viam.app.data.v1.DataRequest.toObject = function(includeInstance, msg) { var f, obj = { - filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), - limit: jspb.Message.getFieldWithDefault(msg, 2, 0), - last: jspb.Message.getFieldWithDefault(msg, 3, ""), - sortOrder: jspb.Message.getFieldWithDefault(msg, 4, 0) +filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), +limit: jspb.Message.getFieldWithDefault(msg, 2, 0), +last: jspb.Message.getFieldWithDefault(msg, 3, ""), +sortOrder: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { @@ -1491,20 +1497,20 @@ proto.viam.app.data.v1.Filter.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.data.v1.Filter.toObject = function(includeInstance, msg) { var f, obj = { - componentName: jspb.Message.getFieldWithDefault(msg, 1, ""), - componentType: jspb.Message.getFieldWithDefault(msg, 2, ""), - method: jspb.Message.getFieldWithDefault(msg, 4, ""), - robotName: jspb.Message.getFieldWithDefault(msg, 6, ""), - robotId: jspb.Message.getFieldWithDefault(msg, 7, ""), - partName: jspb.Message.getFieldWithDefault(msg, 8, ""), - partId: jspb.Message.getFieldWithDefault(msg, 9, ""), - locationIdsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, - organizationIdsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f, - mimeTypeList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f, - interval: (f = msg.getInterval()) && proto.viam.app.data.v1.CaptureInterval.toObject(includeInstance, f), - tagsFilter: (f = msg.getTagsFilter()) && proto.viam.app.data.v1.TagsFilter.toObject(includeInstance, f), - bboxLabelsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f, - datasetId: jspb.Message.getFieldWithDefault(msg, 16, "") +componentName: jspb.Message.getFieldWithDefault(msg, 1, ""), +componentType: jspb.Message.getFieldWithDefault(msg, 2, ""), +method: jspb.Message.getFieldWithDefault(msg, 4, ""), +robotName: jspb.Message.getFieldWithDefault(msg, 6, ""), +robotId: jspb.Message.getFieldWithDefault(msg, 7, ""), +partName: jspb.Message.getFieldWithDefault(msg, 8, ""), +partId: jspb.Message.getFieldWithDefault(msg, 9, ""), +locationIdsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, +organizationIdsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f, +mimeTypeList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f, +interval: (f = msg.getInterval()) && proto.viam.app.data.v1.CaptureInterval.toObject(includeInstance, f), +tagsFilter: (f = msg.getTagsFilter()) && proto.viam.app.data.v1.TagsFilter.toObject(includeInstance, f), +bboxLabelsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f, +datasetId: jspb.Message.getFieldWithDefault(msg, 16, "") }; if (includeInstance) { @@ -2136,8 +2142,8 @@ proto.viam.app.data.v1.TagsFilter.prototype.toObject = function(opt_includeInsta */ proto.viam.app.data.v1.TagsFilter.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, 0), - tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f +type: jspb.Message.getFieldWithDefault(msg, 1, 0), +tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -2322,18 +2328,18 @@ proto.viam.app.data.v1.CaptureMetadata.prototype.toObject = function(opt_include */ proto.viam.app.data.v1.CaptureMetadata.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), - robotName: jspb.Message.getFieldWithDefault(msg, 3, ""), - robotId: jspb.Message.getFieldWithDefault(msg, 4, ""), - partName: jspb.Message.getFieldWithDefault(msg, 5, ""), - partId: jspb.Message.getFieldWithDefault(msg, 6, ""), - componentType: jspb.Message.getFieldWithDefault(msg, 7, ""), - componentName: jspb.Message.getFieldWithDefault(msg, 9, ""), - methodName: jspb.Message.getFieldWithDefault(msg, 10, ""), - methodParametersMap: (f = msg.getMethodParametersMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [], - tagsList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f, - mimeType: jspb.Message.getFieldWithDefault(msg, 13, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), +robotName: jspb.Message.getFieldWithDefault(msg, 3, ""), +robotId: jspb.Message.getFieldWithDefault(msg, 4, ""), +partName: jspb.Message.getFieldWithDefault(msg, 5, ""), +partId: jspb.Message.getFieldWithDefault(msg, 6, ""), +componentType: jspb.Message.getFieldWithDefault(msg, 7, ""), +componentName: jspb.Message.getFieldWithDefault(msg, 9, ""), +methodName: jspb.Message.getFieldWithDefault(msg, 10, ""), +methodParametersMap: (f = msg.getMethodParametersMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [], +tagsList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f, +mimeType: jspb.Message.getFieldWithDefault(msg, 13, "") }; if (includeInstance) { @@ -2714,7 +2720,8 @@ proto.viam.app.data.v1.CaptureMetadata.prototype.getMethodParametersMap = functi */ proto.viam.app.data.v1.CaptureMetadata.prototype.clearMethodParametersMap = function() { this.getMethodParametersMap().clear(); - return this;}; + return this; +}; /** @@ -2804,8 +2811,8 @@ proto.viam.app.data.v1.CaptureInterval.prototype.toObject = function(opt_include */ proto.viam.app.data.v1.CaptureInterval.toObject = function(includeInstance, msg) { var f, obj = { - start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -3006,9 +3013,9 @@ proto.viam.app.data.v1.TabularDataByFilterRequest.prototype.toObject = function( */ proto.viam.app.data.v1.TabularDataByFilterRequest.toObject = function(includeInstance, msg) { var f, obj = { - dataRequest: (f = msg.getDataRequest()) && proto.viam.app.data.v1.DataRequest.toObject(includeInstance, f), - countOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - includeInternalData: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) +dataRequest: (f = msg.getDataRequest()) && proto.viam.app.data.v1.DataRequest.toObject(includeInstance, f), +countOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), +includeInternalData: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -3224,13 +3231,13 @@ proto.viam.app.data.v1.TabularDataByFilterResponse.prototype.toObject = function */ proto.viam.app.data.v1.TabularDataByFilterResponse.toObject = function(includeInstance, msg) { var f, obj = { - metadataList: jspb.Message.toObjectList(msg.getMetadataList(), +metadataList: jspb.Message.toObjectList(msg.getMetadataList(), proto.viam.app.data.v1.CaptureMetadata.toObject, includeInstance), - dataList: jspb.Message.toObjectList(msg.getDataList(), +dataList: jspb.Message.toObjectList(msg.getDataList(), proto.viam.app.data.v1.TabularData.toObject, includeInstance), - count: jspb.Message.getFieldWithDefault(msg, 3, 0), - last: jspb.Message.getFieldWithDefault(msg, 4, ""), - totalSizeBytes: jspb.Message.getFieldWithDefault(msg, 5, 0) +count: jspb.Message.getFieldWithDefault(msg, 3, 0), +last: jspb.Message.getFieldWithDefault(msg, 4, ""), +totalSizeBytes: jspb.Message.getFieldWithDefault(msg, 5, 0) }; if (includeInstance) { @@ -3520,10 +3527,10 @@ proto.viam.app.data.v1.TabularData.prototype.toObject = function(opt_includeInst */ proto.viam.app.data.v1.TabularData.toObject = function(includeInstance, msg) { var f, obj = { - data: (f = msg.getData()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - metadataIndex: jspb.Message.getFieldWithDefault(msg, 2, 0), - timeRequested: (f = msg.getTimeRequested()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - timeReceived: (f = msg.getTimeReceived()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +data: (f = msg.getData()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +metadataIndex: jspb.Message.getFieldWithDefault(msg, 2, 0), +timeRequested: (f = msg.getTimeRequested()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +timeReceived: (f = msg.getTimeReceived()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -3803,8 +3810,8 @@ proto.viam.app.data.v1.TabularDataBySQLRequest.prototype.toObject = function(opt */ proto.viam.app.data.v1.TabularDataBySQLRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - sqlQuery: jspb.Message.getFieldWithDefault(msg, 2, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +sqlQuery: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -3970,9 +3977,9 @@ proto.viam.app.data.v1.TabularDataBySQLResponse.prototype.toObject = function(op */ proto.viam.app.data.v1.TabularDataBySQLResponse.toObject = function(includeInstance, msg) { var f, obj = { - dataList: jspb.Message.toObjectList(msg.getDataList(), +dataList: jspb.Message.toObjectList(msg.getDataList(), google_protobuf_struct_pb.Struct.toObject, includeInstance), - rawDataList: msg.getRawDataList_asB64() +rawDataList: msg.getRawDataList_asB64() }; if (includeInstance) { @@ -4203,8 +4210,8 @@ proto.viam.app.data.v1.TabularDataByMQLRequest.prototype.toObject = function(opt */ proto.viam.app.data.v1.TabularDataByMQLRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - mqlBinaryList: msg.getMqlBinaryList_asB64() +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +mqlBinaryList: msg.getMqlBinaryList_asB64() }; if (includeInstance) { @@ -4413,9 +4420,9 @@ proto.viam.app.data.v1.TabularDataByMQLResponse.prototype.toObject = function(op */ proto.viam.app.data.v1.TabularDataByMQLResponse.toObject = function(includeInstance, msg) { var f, obj = { - dataList: jspb.Message.toObjectList(msg.getDataList(), +dataList: jspb.Message.toObjectList(msg.getDataList(), google_protobuf_struct_pb.Struct.toObject, includeInstance), - rawDataList: msg.getRawDataList_asB64() +rawDataList: msg.getRawDataList_asB64() }; if (includeInstance) { @@ -4639,8 +4646,8 @@ proto.viam.app.data.v1.BinaryData.prototype.toObject = function(opt_includeInsta */ proto.viam.app.data.v1.BinaryData.toObject = function(includeInstance, msg) { var f, obj = { - binary: msg.getBinary_asB64(), - metadata: (f = msg.getMetadata()) && proto.viam.app.data.v1.BinaryMetadata.toObject(includeInstance, f) +binary: msg.getBinary_asB64(), +metadata: (f = msg.getMetadata()) && proto.viam.app.data.v1.BinaryMetadata.toObject(includeInstance, f) }; if (includeInstance) { @@ -4844,10 +4851,10 @@ proto.viam.app.data.v1.BinaryDataByFilterRequest.prototype.toObject = function(o */ proto.viam.app.data.v1.BinaryDataByFilterRequest.toObject = function(includeInstance, msg) { var f, obj = { - dataRequest: (f = msg.getDataRequest()) && proto.viam.app.data.v1.DataRequest.toObject(includeInstance, f), - includeBinary: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - countOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - includeInternalData: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) +dataRequest: (f = msg.getDataRequest()) && proto.viam.app.data.v1.DataRequest.toObject(includeInstance, f), +includeBinary: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), +countOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), +includeInternalData: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) }; if (includeInstance) { @@ -5092,11 +5099,11 @@ proto.viam.app.data.v1.BinaryDataByFilterResponse.prototype.toObject = function( */ proto.viam.app.data.v1.BinaryDataByFilterResponse.toObject = function(includeInstance, msg) { var f, obj = { - dataList: jspb.Message.toObjectList(msg.getDataList(), +dataList: jspb.Message.toObjectList(msg.getDataList(), proto.viam.app.data.v1.BinaryData.toObject, includeInstance), - count: jspb.Message.getFieldWithDefault(msg, 2, 0), - last: jspb.Message.getFieldWithDefault(msg, 3, ""), - totalSizeBytes: jspb.Message.getFieldWithDefault(msg, 4, 0) +count: jspb.Message.getFieldWithDefault(msg, 2, 0), +last: jspb.Message.getFieldWithDefault(msg, 3, ""), +totalSizeBytes: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { @@ -5335,9 +5342,9 @@ proto.viam.app.data.v1.BinaryID.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.data.v1.BinaryID.toObject = function(includeInstance, msg) { var f, obj = { - fileId: jspb.Message.getFieldWithDefault(msg, 1, ""), - organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), - locationId: jspb.Message.getFieldWithDefault(msg, 3, "") +fileId: jspb.Message.getFieldWithDefault(msg, 1, ""), +organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), +locationId: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -5532,8 +5539,8 @@ proto.viam.app.data.v1.BinaryDataByIDsRequest.prototype.toObject = function(opt_ */ proto.viam.app.data.v1.BinaryDataByIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { - includeBinary: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), +includeBinary: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), +binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), proto.viam.app.data.v1.BinaryID.toObject, includeInstance) }; @@ -5722,9 +5729,9 @@ proto.viam.app.data.v1.BinaryDataByIDsResponse.prototype.toObject = function(opt */ proto.viam.app.data.v1.BinaryDataByIDsResponse.toObject = function(includeInstance, msg) { var f, obj = { - dataList: jspb.Message.toObjectList(msg.getDataList(), +dataList: jspb.Message.toObjectList(msg.getDataList(), proto.viam.app.data.v1.BinaryData.toObject, includeInstance), - count: jspb.Message.getFieldWithDefault(msg, 2, 0) +count: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -5905,13 +5912,13 @@ proto.viam.app.data.v1.BoundingBox.prototype.toObject = function(opt_includeInst */ proto.viam.app.data.v1.BoundingBox.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - label: jspb.Message.getFieldWithDefault(msg, 2, ""), - xMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - yMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), - xMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - yMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0), - confidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +label: jspb.Message.getFieldWithDefault(msg, 2, ""), +xMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +yMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), +xMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), +yMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0), +confidence: (f = jspb.Message.getOptionalFloatingPointField(msg, 7)) == null ? undefined : f }; if (includeInstance) { @@ -6233,8 +6240,8 @@ proto.viam.app.data.v1.Classification.prototype.toObject = function(opt_includeI */ proto.viam.app.data.v1.Classification.toObject = function(includeInstance, msg) { var f, obj = { - label: jspb.Message.getFieldWithDefault(msg, 1, ""), - confidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) +label: jspb.Message.getFieldWithDefault(msg, 1, ""), +confidence: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -6418,9 +6425,9 @@ proto.viam.app.data.v1.Annotations.prototype.toObject = function(opt_includeInst */ proto.viam.app.data.v1.Annotations.toObject = function(includeInstance, msg) { var f, obj = { - bboxesList: jspb.Message.toObjectList(msg.getBboxesList(), +bboxesList: jspb.Message.toObjectList(msg.getBboxesList(), proto.viam.app.data.v1.BoundingBox.toObject, includeInstance), - classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), +classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), proto.viam.app.data.v1.Classification.toObject, includeInstance) }; @@ -6631,15 +6638,15 @@ proto.viam.app.data.v1.BinaryMetadata.prototype.toObject = function(opt_includeI */ proto.viam.app.data.v1.BinaryMetadata.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - captureMetadata: (f = msg.getCaptureMetadata()) && proto.viam.app.data.v1.CaptureMetadata.toObject(includeInstance, f), - timeRequested: (f = msg.getTimeRequested()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - timeReceived: (f = msg.getTimeReceived()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - fileName: jspb.Message.getFieldWithDefault(msg, 5, ""), - fileExt: jspb.Message.getFieldWithDefault(msg, 6, ""), - uri: jspb.Message.getFieldWithDefault(msg, 7, ""), - annotations: (f = msg.getAnnotations()) && proto.viam.app.data.v1.Annotations.toObject(includeInstance, f), - datasetIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +captureMetadata: (f = msg.getCaptureMetadata()) && proto.viam.app.data.v1.CaptureMetadata.toObject(includeInstance, f), +timeRequested: (f = msg.getTimeRequested()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +timeReceived: (f = msg.getTimeReceived()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +fileName: jspb.Message.getFieldWithDefault(msg, 5, ""), +fileExt: jspb.Message.getFieldWithDefault(msg, 6, ""), +uri: jspb.Message.getFieldWithDefault(msg, 7, ""), +annotations: (f = msg.getAnnotations()) && proto.viam.app.data.v1.Annotations.toObject(includeInstance, f), +datasetIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f }; if (includeInstance) { @@ -7104,8 +7111,8 @@ proto.viam.app.data.v1.DeleteTabularDataRequest.prototype.toObject = function(op */ proto.viam.app.data.v1.DeleteTabularDataRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - deleteOlderThanDays: jspb.Message.getFieldWithDefault(msg, 2, 0) +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +deleteOlderThanDays: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -7264,7 +7271,7 @@ proto.viam.app.data.v1.DeleteTabularDataResponse.prototype.toObject = function(o */ proto.viam.app.data.v1.DeleteTabularDataResponse.toObject = function(includeInstance, msg) { var f, obj = { - deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) +deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -7394,8 +7401,8 @@ proto.viam.app.data.v1.DeleteBinaryDataByFilterRequest.prototype.toObject = func */ proto.viam.app.data.v1.DeleteBinaryDataByFilterRequest.toObject = function(includeInstance, msg) { var f, obj = { - filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), - includeInternalData: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) +filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), +includeInternalData: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -7575,7 +7582,7 @@ proto.viam.app.data.v1.DeleteBinaryDataByFilterResponse.prototype.toObject = fun */ proto.viam.app.data.v1.DeleteBinaryDataByFilterResponse.toObject = function(includeInstance, msg) { var f, obj = { - deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) +deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -7712,7 +7719,7 @@ proto.viam.app.data.v1.DeleteBinaryDataByIDsRequest.prototype.toObject = functio */ proto.viam.app.data.v1.DeleteBinaryDataByIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { - binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), +binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), proto.viam.app.data.v1.BinaryID.toObject, includeInstance) }; @@ -7865,7 +7872,7 @@ proto.viam.app.data.v1.DeleteBinaryDataByIDsResponse.prototype.toObject = functi */ proto.viam.app.data.v1.DeleteBinaryDataByIDsResponse.toObject = function(includeInstance, msg) { var f, obj = { - deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) +deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -8002,9 +8009,9 @@ proto.viam.app.data.v1.AddTagsToBinaryDataByIDsRequest.prototype.toObject = func */ proto.viam.app.data.v1.AddTagsToBinaryDataByIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { - binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), +binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), proto.viam.app.data.v1.BinaryID.toObject, includeInstance), - tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f +tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -8312,8 +8319,8 @@ proto.viam.app.data.v1.AddTagsToBinaryDataByFilterRequest.prototype.toObject = f */ proto.viam.app.data.v1.AddTagsToBinaryDataByFilterRequest.toObject = function(includeInstance, msg) { var f, obj = { - filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), - tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f +filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), +tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -8620,9 +8627,9 @@ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsRequest.prototype.toObject = */ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { - binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), +binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), proto.viam.app.data.v1.BinaryID.toObject, includeInstance), - tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f +tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -8822,7 +8829,7 @@ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsResponse.prototype.toObject */ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsResponse.toObject = function(includeInstance, msg) { var f, obj = { - deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) +deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -8959,8 +8966,8 @@ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterRequest.prototype.toObjec */ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterRequest.toObject = function(includeInstance, msg) { var f, obj = { - filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), - tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f +filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), +tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -9159,7 +9166,7 @@ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterResponse.prototype.toObje */ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterResponse.toObject = function(includeInstance, msg) { var f, obj = { - deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) +deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -9289,7 +9296,7 @@ proto.viam.app.data.v1.TagsByFilterRequest.prototype.toObject = function(opt_inc */ proto.viam.app.data.v1.TagsByFilterRequest.toObject = function(includeInstance, msg) { var f, obj = { - filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f) +filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f) }; if (includeInstance) { @@ -9447,7 +9454,7 @@ proto.viam.app.data.v1.TagsByFilterResponse.prototype.toObject = function(opt_in */ proto.viam.app.data.v1.TagsByFilterResponse.toObject = function(includeInstance, msg) { var f, obj = { - tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f +tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -9596,12 +9603,12 @@ proto.viam.app.data.v1.AddBoundingBoxToImageByIDRequest.prototype.toObject = fun */ proto.viam.app.data.v1.AddBoundingBoxToImageByIDRequest.toObject = function(includeInstance, msg) { var f, obj = { - binaryId: (f = msg.getBinaryId()) && proto.viam.app.data.v1.BinaryID.toObject(includeInstance, f), - label: jspb.Message.getFieldWithDefault(msg, 2, ""), - xMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - yMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), - xMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - yMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0) +binaryId: (f = msg.getBinaryId()) && proto.viam.app.data.v1.BinaryID.toObject(includeInstance, f), +label: jspb.Message.getFieldWithDefault(msg, 2, ""), +xMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +yMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), +xMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), +yMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0) }; if (includeInstance) { @@ -9897,7 +9904,7 @@ proto.viam.app.data.v1.AddBoundingBoxToImageByIDResponse.prototype.toObject = fu */ proto.viam.app.data.v1.AddBoundingBoxToImageByIDResponse.toObject = function(includeInstance, msg) { var f, obj = { - bboxId: jspb.Message.getFieldWithDefault(msg, 1, "") +bboxId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -10027,8 +10034,8 @@ proto.viam.app.data.v1.RemoveBoundingBoxFromImageByIDRequest.prototype.toObject */ proto.viam.app.data.v1.RemoveBoundingBoxFromImageByIDRequest.toObject = function(includeInstance, msg) { var f, obj = { - binaryId: (f = msg.getBinaryId()) && proto.viam.app.data.v1.BinaryID.toObject(includeInstance, f), - bboxId: jspb.Message.getFieldWithDefault(msg, 2, "") +binaryId: (f = msg.getBinaryId()) && proto.viam.app.data.v1.BinaryID.toObject(includeInstance, f), +bboxId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -10309,13 +10316,13 @@ proto.viam.app.data.v1.UpdateBoundingBoxRequest.prototype.toObject = function(op */ proto.viam.app.data.v1.UpdateBoundingBoxRequest.toObject = function(includeInstance, msg) { var f, obj = { - binaryId: (f = msg.getBinaryId()) && proto.viam.app.data.v1.BinaryID.toObject(includeInstance, f), - bboxId: jspb.Message.getFieldWithDefault(msg, 2, ""), - label: jspb.Message.getFieldWithDefault(msg, 3, ""), - xMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), - yMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - xMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0), - yMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0) +binaryId: (f = msg.getBinaryId()) && proto.viam.app.data.v1.BinaryID.toObject(includeInstance, f), +bboxId: jspb.Message.getFieldWithDefault(msg, 2, ""), +label: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +xMinNormalized: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f, +yMinNormalized: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, +xMaxNormalized: (f = jspb.Message.getOptionalFloatingPointField(msg, 6)) == null ? undefined : f, +yMaxNormalized: (f = jspb.Message.getOptionalFloatingPointField(msg, 7)) == null ? undefined : f }; if (includeInstance) { @@ -10831,7 +10838,7 @@ proto.viam.app.data.v1.BoundingBoxLabelsByFilterRequest.prototype.toObject = fun */ proto.viam.app.data.v1.BoundingBoxLabelsByFilterRequest.toObject = function(includeInstance, msg) { var f, obj = { - filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f) +filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f) }; if (includeInstance) { @@ -10989,7 +10996,7 @@ proto.viam.app.data.v1.BoundingBoxLabelsByFilterResponse.prototype.toObject = fu */ proto.viam.app.data.v1.BoundingBoxLabelsByFilterResponse.toObject = function(includeInstance, msg) { var f, obj = { - labelsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f +labelsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -11138,8 +11145,8 @@ proto.viam.app.data.v1.ConfigureDatabaseUserRequest.prototype.toObject = functio */ proto.viam.app.data.v1.ConfigureDatabaseUserRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - password: jspb.Message.getFieldWithDefault(msg, 2, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +password: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -11399,7 +11406,7 @@ proto.viam.app.data.v1.GetDatabaseConnectionRequest.prototype.toObject = functio */ proto.viam.app.data.v1.GetDatabaseConnectionRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -11529,9 +11536,9 @@ proto.viam.app.data.v1.GetDatabaseConnectionResponse.prototype.toObject = functi */ proto.viam.app.data.v1.GetDatabaseConnectionResponse.toObject = function(includeInstance, msg) { var f, obj = { - hostname: jspb.Message.getFieldWithDefault(msg, 1, ""), - mongodbUri: jspb.Message.getFieldWithDefault(msg, 2, ""), - hasDatabaseUser: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) +hostname: jspb.Message.getFieldWithDefault(msg, 1, ""), +mongodbUri: jspb.Message.getFieldWithDefault(msg, 2, ""), +hasDatabaseUser: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -11726,9 +11733,9 @@ proto.viam.app.data.v1.AddBinaryDataToDatasetByIDsRequest.prototype.toObject = f */ proto.viam.app.data.v1.AddBinaryDataToDatasetByIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { - binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), +binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), proto.viam.app.data.v1.BinaryID.toObject, includeInstance), - datasetId: jspb.Message.getFieldWithDefault(msg, 2, "") +datasetId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -12017,9 +12024,9 @@ proto.viam.app.data.v1.RemoveBinaryDataFromDatasetByIDsRequest.prototype.toObjec */ proto.viam.app.data.v1.RemoveBinaryDataFromDatasetByIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { - binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), +binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), proto.viam.app.data.v1.BinaryID.toObject, includeInstance), - datasetId: jspb.Message.getFieldWithDefault(msg, 2, "") +datasetId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/app/dataset/v1/dataset_pb.js b/gen/js/app/dataset/v1/dataset_pb.js index 13fbe9ce..343f0a95 100644 --- a/gen/js/app/dataset/v1/dataset_pb.js +++ b/gen/js/app/dataset/v1/dataset_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb); @@ -291,10 +297,10 @@ proto.viam.app.dataset.v1.Dataset.prototype.toObject = function(opt_includeInsta */ proto.viam.app.dataset.v1.Dataset.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - organizationId: jspb.Message.getFieldWithDefault(msg, 3, ""), - timeCreated: (f = msg.getTimeCreated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +organizationId: jspb.Message.getFieldWithDefault(msg, 3, ""), +timeCreated: (f = msg.getTimeCreated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -532,8 +538,8 @@ proto.viam.app.dataset.v1.CreateDatasetRequest.prototype.toObject = function(opt */ proto.viam.app.dataset.v1.CreateDatasetRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - organizationId: jspb.Message.getFieldWithDefault(msg, 2, "") +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +organizationId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -692,7 +698,7 @@ proto.viam.app.dataset.v1.CreateDatasetResponse.prototype.toObject = function(op */ proto.viam.app.dataset.v1.CreateDatasetResponse.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -822,7 +828,7 @@ proto.viam.app.dataset.v1.DeleteDatasetRequest.prototype.toObject = function(opt */ proto.viam.app.dataset.v1.DeleteDatasetRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1053,8 +1059,8 @@ proto.viam.app.dataset.v1.RenameDatasetRequest.prototype.toObject = function(opt */ proto.viam.app.dataset.v1.RenameDatasetRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1314,7 +1320,7 @@ proto.viam.app.dataset.v1.ListDatasetsByOrganizationIDRequest.prototype.toObject */ proto.viam.app.dataset.v1.ListDatasetsByOrganizationIDRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1451,7 +1457,7 @@ proto.viam.app.dataset.v1.ListDatasetsByOrganizationIDResponse.prototype.toObjec */ proto.viam.app.dataset.v1.ListDatasetsByOrganizationIDResponse.toObject = function(includeInstance, msg) { var f, obj = { - datasetsList: jspb.Message.toObjectList(msg.getDatasetsList(), +datasetsList: jspb.Message.toObjectList(msg.getDatasetsList(), proto.viam.app.dataset.v1.Dataset.toObject, includeInstance) }; @@ -1611,7 +1617,7 @@ proto.viam.app.dataset.v1.ListDatasetsByIDsRequest.prototype.toObject = function */ proto.viam.app.dataset.v1.ListDatasetsByIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { - idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f +idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -1767,7 +1773,7 @@ proto.viam.app.dataset.v1.ListDatasetsByIDsResponse.prototype.toObject = functio */ proto.viam.app.dataset.v1.ListDatasetsByIDsResponse.toObject = function(includeInstance, msg) { var f, obj = { - datasetsList: jspb.Message.toObjectList(msg.getDatasetsList(), +datasetsList: jspb.Message.toObjectList(msg.getDatasetsList(), proto.viam.app.dataset.v1.Dataset.toObject, includeInstance) }; diff --git a/gen/js/app/datasync/v1/data_sync_pb.js b/gen/js/app/datasync/v1/data_sync_pb.js index be772018..ca703b37 100644 --- a/gen/js/app/datasync/v1/data_sync_pb.js +++ b/gen/js/app/datasync/v1/data_sync_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 app_data_v1_data_pb = require('../../../app/data/v1/data_pb.js'); goog.object.extend(proto, app_data_v1_data_pb); @@ -355,8 +361,8 @@ proto.viam.app.datasync.v1.DataCaptureUploadRequest.prototype.toObject = functio */ proto.viam.app.datasync.v1.DataCaptureUploadRequest.toObject = function(includeInstance, msg) { var f, obj = { - metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.UploadMetadata.toObject(includeInstance, f), - sensorContentsList: jspb.Message.toObjectList(msg.getSensorContentsList(), +metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.UploadMetadata.toObject(includeInstance, f), +sensorContentsList: jspb.Message.toObjectList(msg.getSensorContentsList(), proto.viam.app.datasync.v1.SensorData.toObject, includeInstance) }; @@ -559,7 +565,7 @@ proto.viam.app.datasync.v1.DataCaptureUploadResponse.prototype.toObject = functi */ proto.viam.app.datasync.v1.DataCaptureUploadResponse.toObject = function(includeInstance, msg) { var f, obj = { - fileId: jspb.Message.getFieldWithDefault(msg, 1, "") +fileId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -715,8 +721,8 @@ proto.viam.app.datasync.v1.FileUploadRequest.prototype.toObject = function(opt_i */ proto.viam.app.datasync.v1.FileUploadRequest.toObject = function(includeInstance, msg) { var f, obj = { - metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.UploadMetadata.toObject(includeInstance, f), - fileContents: (f = msg.getFileContents()) && proto.viam.app.datasync.v1.FileData.toObject(includeInstance, f) +metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.UploadMetadata.toObject(includeInstance, f), +fileContents: (f = msg.getFileContents()) && proto.viam.app.datasync.v1.FileData.toObject(includeInstance, f) }; if (includeInstance) { @@ -917,7 +923,7 @@ proto.viam.app.datasync.v1.FileUploadResponse.prototype.toObject = function(opt_ */ proto.viam.app.datasync.v1.FileUploadResponse.toObject = function(includeInstance, msg) { var f, obj = { - fileId: jspb.Message.getFieldWithDefault(msg, 1, "") +fileId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1073,8 +1079,8 @@ proto.viam.app.datasync.v1.StreamingDataCaptureUploadRequest.prototype.toObject */ proto.viam.app.datasync.v1.StreamingDataCaptureUploadRequest.toObject = function(includeInstance, msg) { var f, obj = { - metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.DataCaptureUploadMetadata.toObject(includeInstance, f), - data: msg.getData_asB64() +metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.DataCaptureUploadMetadata.toObject(includeInstance, f), +data: msg.getData_asB64() }; if (includeInstance) { @@ -1296,7 +1302,7 @@ proto.viam.app.datasync.v1.StreamingDataCaptureUploadResponse.prototype.toObject */ proto.viam.app.datasync.v1.StreamingDataCaptureUploadResponse.toObject = function(includeInstance, msg) { var f, obj = { - fileId: jspb.Message.getFieldWithDefault(msg, 1, "") +fileId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1426,10 +1432,10 @@ proto.viam.app.datasync.v1.SensorMetadata.prototype.toObject = function(opt_incl */ proto.viam.app.datasync.v1.SensorMetadata.toObject = function(includeInstance, msg) { var f, obj = { - timeRequested: (f = msg.getTimeRequested()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - timeReceived: (f = msg.getTimeReceived()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - mimeType: jspb.Message.getFieldWithDefault(msg, 3, 0), - annotations: (f = msg.getAnnotations()) && app_data_v1_data_pb.Annotations.toObject(includeInstance, f) +timeRequested: (f = msg.getTimeRequested()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +timeReceived: (f = msg.getTimeReceived()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +mimeType: jspb.Message.getFieldWithDefault(msg, 3, 0), +annotations: (f = msg.getAnnotations()) && app_data_v1_data_pb.Annotations.toObject(includeInstance, f) }; if (includeInstance) { @@ -1735,9 +1741,9 @@ proto.viam.app.datasync.v1.SensorData.prototype.toObject = function(opt_includeI */ proto.viam.app.datasync.v1.SensorData.toObject = function(includeInstance, msg) { var f, obj = { - metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.SensorMetadata.toObject(includeInstance, f), - struct: (f = msg.getStruct()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - binary: msg.getBinary_asB64() +metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.SensorMetadata.toObject(includeInstance, f), +struct: (f = msg.getStruct()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +binary: msg.getBinary_asB64() }; if (includeInstance) { @@ -2009,7 +2015,7 @@ proto.viam.app.datasync.v1.FileData.prototype.toObject = function(opt_includeIns */ proto.viam.app.datasync.v1.FileData.toObject = function(includeInstance, msg) { var f, obj = { - data: msg.getData_asB64() +data: msg.getData_asB64() }; if (includeInstance) { @@ -2170,15 +2176,15 @@ proto.viam.app.datasync.v1.UploadMetadata.prototype.toObject = function(opt_incl */ proto.viam.app.datasync.v1.UploadMetadata.toObject = function(includeInstance, msg) { var f, obj = { - partId: jspb.Message.getFieldWithDefault(msg, 1, ""), - componentType: jspb.Message.getFieldWithDefault(msg, 2, ""), - componentName: jspb.Message.getFieldWithDefault(msg, 3, ""), - methodName: jspb.Message.getFieldWithDefault(msg, 5, ""), - type: jspb.Message.getFieldWithDefault(msg, 6, 0), - fileName: jspb.Message.getFieldWithDefault(msg, 7, ""), - methodParametersMap: (f = msg.getMethodParametersMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [], - fileExtension: jspb.Message.getFieldWithDefault(msg, 9, ""), - tagsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f +partId: jspb.Message.getFieldWithDefault(msg, 1, ""), +componentType: jspb.Message.getFieldWithDefault(msg, 2, ""), +componentName: jspb.Message.getFieldWithDefault(msg, 3, ""), +methodName: jspb.Message.getFieldWithDefault(msg, 5, ""), +type: jspb.Message.getFieldWithDefault(msg, 6, 0), +fileName: jspb.Message.getFieldWithDefault(msg, 7, ""), +methodParametersMap: (f = msg.getMethodParametersMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [], +fileExtension: jspb.Message.getFieldWithDefault(msg, 9, ""), +tagsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f }; if (includeInstance) { @@ -2472,7 +2478,8 @@ proto.viam.app.datasync.v1.UploadMetadata.prototype.getMethodParametersMap = fun */ proto.viam.app.datasync.v1.UploadMetadata.prototype.clearMethodParametersMap = function() { this.getMethodParametersMap().clear(); - return this;}; + return this; +}; /** @@ -2562,8 +2569,8 @@ proto.viam.app.datasync.v1.CaptureInterval.prototype.toObject = function(opt_inc */ proto.viam.app.datasync.v1.CaptureInterval.toObject = function(includeInstance, msg) { var f, obj = { - start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -2771,13 +2778,13 @@ proto.viam.app.datasync.v1.DataCaptureMetadata.prototype.toObject = function(opt */ proto.viam.app.datasync.v1.DataCaptureMetadata.toObject = function(includeInstance, msg) { var f, obj = { - componentType: jspb.Message.getFieldWithDefault(msg, 1, ""), - componentName: jspb.Message.getFieldWithDefault(msg, 2, ""), - methodName: jspb.Message.getFieldWithDefault(msg, 4, ""), - type: jspb.Message.getFieldWithDefault(msg, 5, 0), - methodParametersMap: (f = msg.getMethodParametersMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [], - fileExtension: jspb.Message.getFieldWithDefault(msg, 7, ""), - tagsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f +componentType: jspb.Message.getFieldWithDefault(msg, 1, ""), +componentName: jspb.Message.getFieldWithDefault(msg, 2, ""), +methodName: jspb.Message.getFieldWithDefault(msg, 4, ""), +type: jspb.Message.getFieldWithDefault(msg, 5, 0), +methodParametersMap: (f = msg.getMethodParametersMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [], +fileExtension: jspb.Message.getFieldWithDefault(msg, 7, ""), +tagsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f }; if (includeInstance) { @@ -3013,7 +3020,8 @@ proto.viam.app.datasync.v1.DataCaptureMetadata.prototype.getMethodParametersMap */ proto.viam.app.datasync.v1.DataCaptureMetadata.prototype.clearMethodParametersMap = function() { this.getMethodParametersMap().clear(); - return this;}; + return this; +}; /** @@ -3103,8 +3111,8 @@ proto.viam.app.datasync.v1.DataCaptureUploadMetadata.prototype.toObject = functi */ proto.viam.app.datasync.v1.DataCaptureUploadMetadata.toObject = function(includeInstance, msg) { var f, obj = { - uploadMetadata: (f = msg.getUploadMetadata()) && proto.viam.app.datasync.v1.UploadMetadata.toObject(includeInstance, f), - sensorMetadata: (f = msg.getSensorMetadata()) && proto.viam.app.datasync.v1.SensorMetadata.toObject(includeInstance, f) +uploadMetadata: (f = msg.getUploadMetadata()) && proto.viam.app.datasync.v1.UploadMetadata.toObject(includeInstance, f), +sensorMetadata: (f = msg.getSensorMetadata()) && proto.viam.app.datasync.v1.SensorMetadata.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/app/mlinference/v1/ml_inference_pb.js b/gen/js/app/mlinference/v1/ml_inference_pb.js index e4507403..3e3cd2df 100644 --- a/gen/js/app/mlinference/v1/ml_inference_pb.js +++ b/gen/js/app/mlinference/v1/ml_inference_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 app_data_v1_data_pb = require('../../../app/data/v1/data_pb.js'); goog.object.extend(proto, app_data_v1_data_pb); @@ -93,10 +99,10 @@ proto.viam.app.mlinference.v1.GetInferenceRequest.prototype.toObject = function( */ proto.viam.app.mlinference.v1.GetInferenceRequest.toObject = function(includeInstance, msg) { var f, obj = { - registryItemId: jspb.Message.getFieldWithDefault(msg, 1, ""), - registryItemVersion: jspb.Message.getFieldWithDefault(msg, 2, ""), - binaryId: (f = msg.getBinaryId()) && app_data_v1_data_pb.BinaryID.toObject(includeInstance, f), - organizationId: jspb.Message.getFieldWithDefault(msg, 4, "") +registryItemId: jspb.Message.getFieldWithDefault(msg, 1, ""), +registryItemVersion: jspb.Message.getFieldWithDefault(msg, 2, ""), +binaryId: (f = msg.getBinaryId()) && app_data_v1_data_pb.BinaryID.toObject(includeInstance, f), +organizationId: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { diff --git a/gen/js/app/mltraining/v1/ml_training_pb.js b/gen/js/app/mltraining/v1/ml_training_pb.js index d41a12b2..3575b50f 100644 --- a/gen/js/app/mltraining/v1/ml_training_pb.js +++ b/gen/js/app/mltraining/v1/ml_training_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb); @@ -415,12 +421,12 @@ proto.viam.app.mltraining.v1.SubmitTrainingJobRequest.prototype.toObject = funct */ proto.viam.app.mltraining.v1.SubmitTrainingJobRequest.toObject = function(includeInstance, msg) { var f, obj = { - datasetId: jspb.Message.getFieldWithDefault(msg, 7, ""), - organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), - modelName: jspb.Message.getFieldWithDefault(msg, 3, ""), - modelVersion: jspb.Message.getFieldWithDefault(msg, 4, ""), - modelType: jspb.Message.getFieldWithDefault(msg, 5, 0), - tagsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f +datasetId: jspb.Message.getFieldWithDefault(msg, 7, ""), +organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), +modelName: jspb.Message.getFieldWithDefault(msg, 3, ""), +modelVersion: jspb.Message.getFieldWithDefault(msg, 4, ""), +modelType: jspb.Message.getFieldWithDefault(msg, 5, 0), +tagsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f }; if (includeInstance) { @@ -714,7 +720,7 @@ proto.viam.app.mltraining.v1.SubmitTrainingJobResponse.prototype.toObject = func */ proto.viam.app.mltraining.v1.SubmitTrainingJobResponse.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -844,13 +850,13 @@ proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.toObject = */ proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.toObject = function(includeInstance, msg) { var f, obj = { - datasetId: jspb.Message.getFieldWithDefault(msg, 1, ""), - registryItemId: jspb.Message.getFieldWithDefault(msg, 2, ""), - registryItemVersion: jspb.Message.getFieldWithDefault(msg, 6, ""), - organizationId: jspb.Message.getFieldWithDefault(msg, 3, ""), - modelName: jspb.Message.getFieldWithDefault(msg, 4, ""), - modelVersion: jspb.Message.getFieldWithDefault(msg, 5, ""), - argumentsMap: (f = msg.getArgumentsMap()) ? f.toObject(includeInstance, undefined) : [] +datasetId: jspb.Message.getFieldWithDefault(msg, 1, ""), +registryItemId: jspb.Message.getFieldWithDefault(msg, 2, ""), +registryItemVersion: jspb.Message.getFieldWithDefault(msg, 6, ""), +organizationId: jspb.Message.getFieldWithDefault(msg, 3, ""), +modelName: jspb.Message.getFieldWithDefault(msg, 4, ""), +modelVersion: jspb.Message.getFieldWithDefault(msg, 5, ""), +argumentsMap: (f = msg.getArgumentsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -1122,7 +1128,8 @@ proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.getArgumen */ proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.clearArgumentsMap = function() { this.getArgumentsMap().clear(); - return this;}; + return this; +}; @@ -1157,7 +1164,7 @@ proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.prototype.toObject */ proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1287,7 +1294,7 @@ proto.viam.app.mltraining.v1.GetTrainingJobRequest.prototype.toObject = function */ proto.viam.app.mltraining.v1.GetTrainingJobRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1417,7 +1424,7 @@ proto.viam.app.mltraining.v1.GetTrainingJobResponse.prototype.toObject = functio */ proto.viam.app.mltraining.v1.GetTrainingJobResponse.toObject = function(includeInstance, msg) { var f, obj = { - metadata: (f = msg.getMetadata()) && proto.viam.app.mltraining.v1.TrainingJobMetadata.toObject(includeInstance, f) +metadata: (f = msg.getMetadata()) && proto.viam.app.mltraining.v1.TrainingJobMetadata.toObject(includeInstance, f) }; if (includeInstance) { @@ -1568,8 +1575,8 @@ proto.viam.app.mltraining.v1.ListTrainingJobsRequest.prototype.toObject = functi */ proto.viam.app.mltraining.v1.ListTrainingJobsRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - status: jspb.Message.getFieldWithDefault(msg, 2, 0) +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +status: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -1735,7 +1742,7 @@ proto.viam.app.mltraining.v1.ListTrainingJobsResponse.prototype.toObject = funct */ proto.viam.app.mltraining.v1.ListTrainingJobsResponse.toObject = function(includeInstance, msg) { var f, obj = { - jobsList: jspb.Message.toObjectList(msg.getJobsList(), +jobsList: jspb.Message.toObjectList(msg.getJobsList(), proto.viam.app.mltraining.v1.TrainingJobMetadata.toObject, includeInstance) }; @@ -1895,24 +1902,24 @@ proto.viam.app.mltraining.v1.TrainingJobMetadata.prototype.toObject = function(o */ proto.viam.app.mltraining.v1.TrainingJobMetadata.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 7, ""), - datasetId: jspb.Message.getFieldWithDefault(msg, 11, ""), - organizationId: jspb.Message.getFieldWithDefault(msg, 12, ""), - modelName: jspb.Message.getFieldWithDefault(msg, 13, ""), - modelVersion: jspb.Message.getFieldWithDefault(msg, 14, ""), - modelType: jspb.Message.getFieldWithDefault(msg, 15, 0), - modelFramework: jspb.Message.getFieldWithDefault(msg, 17, 0), - isCustomJob: jspb.Message.getBooleanFieldWithDefault(msg, 18, false), - registryItemId: jspb.Message.getFieldWithDefault(msg, 19, ""), - registryItemVersion: jspb.Message.getFieldWithDefault(msg, 20, ""), - status: jspb.Message.getFieldWithDefault(msg, 2, 0), - errorStatus: (f = msg.getErrorStatus()) && google_rpc_status_pb.Status.toObject(includeInstance, f), - createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - lastModified: (f = msg.getLastModified()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - trainingStarted: (f = msg.getTrainingStarted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - trainingEnded: (f = msg.getTrainingEnded()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - syncedModelId: jspb.Message.getFieldWithDefault(msg, 5, ""), - tagsList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f +id: jspb.Message.getFieldWithDefault(msg, 7, ""), +datasetId: jspb.Message.getFieldWithDefault(msg, 11, ""), +organizationId: jspb.Message.getFieldWithDefault(msg, 12, ""), +modelName: jspb.Message.getFieldWithDefault(msg, 13, ""), +modelVersion: jspb.Message.getFieldWithDefault(msg, 14, ""), +modelType: jspb.Message.getFieldWithDefault(msg, 15, 0), +modelFramework: jspb.Message.getFieldWithDefault(msg, 17, 0), +isCustomJob: jspb.Message.getBooleanFieldWithDefault(msg, 18, false), +registryItemId: jspb.Message.getFieldWithDefault(msg, 19, ""), +registryItemVersion: jspb.Message.getFieldWithDefault(msg, 20, ""), +status: jspb.Message.getFieldWithDefault(msg, 2, 0), +errorStatus: (f = msg.getErrorStatus()) && google_rpc_status_pb.Status.toObject(includeInstance, f), +createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +lastModified: (f = msg.getLastModified()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +trainingStarted: (f = msg.getTrainingStarted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +trainingEnded: (f = msg.getTrainingEnded()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +syncedModelId: jspb.Message.getFieldWithDefault(msg, 5, ""), +tagsList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f }; if (includeInstance) { @@ -2659,7 +2666,7 @@ proto.viam.app.mltraining.v1.CancelTrainingJobRequest.prototype.toObject = funct */ proto.viam.app.mltraining.v1.CancelTrainingJobRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2890,7 +2897,7 @@ proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobRequest.prototype.toObjec */ proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -3121,9 +3128,9 @@ proto.viam.app.mltraining.v1.TrainingJobLogEntry.prototype.toObject = function(o */ proto.viam.app.mltraining.v1.TrainingJobLogEntry.toObject = function(includeInstance, msg) { var f, obj = { - level: jspb.Message.getFieldWithDefault(msg, 1, ""), - time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - message: jspb.Message.getFieldWithDefault(msg, 3, "") +level: jspb.Message.getFieldWithDefault(msg, 1, ""), +time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +message: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -3332,8 +3339,8 @@ proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.prototype.toObject = func */ proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - pageToken: jspb.Message.getFieldWithDefault(msg, 2, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +pageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -3517,9 +3524,9 @@ proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.prototype.toObject = fun */ proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.toObject = function(includeInstance, msg) { var f, obj = { - logsList: jspb.Message.toObjectList(msg.getLogsList(), +logsList: jspb.Message.toObjectList(msg.getLogsList(), proto.viam.app.mltraining.v1.TrainingJobLogEntry.toObject, includeInstance), - nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") +nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/app/packages/v1/packages_pb.js b/gen/js/app/packages/v1/packages_pb.js index 1cfed1f5..bed0db46 100644 --- a/gen/js/app/packages/v1/packages_pb.js +++ b/gen/js/app/packages/v1/packages_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_api_annotations_pb = require('../../../google/api/annotations_pb.js'); goog.object.extend(proto, google_api_annotations_pb); @@ -297,9 +303,9 @@ proto.viam.app.packages.v1.FileInfo.prototype.toObject = function(opt_includeIns */ proto.viam.app.packages.v1.FileInfo.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - size: jspb.Message.getFieldWithDefault(msg, 2, 0), - isDirectory: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +size: jspb.Message.getFieldWithDefault(msg, 2, 0), +isDirectory: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -512,14 +518,14 @@ proto.viam.app.packages.v1.PackageInfo.prototype.toObject = function(opt_include */ proto.viam.app.packages.v1.PackageInfo.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - version: jspb.Message.getFieldWithDefault(msg, 3, ""), - type: jspb.Message.getFieldWithDefault(msg, 4, 0), - platform: jspb.Message.getFieldWithDefault(msg, 7, ""), - filesList: jspb.Message.toObjectList(msg.getFilesList(), +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +version: jspb.Message.getFieldWithDefault(msg, 3, ""), +type: jspb.Message.getFieldWithDefault(msg, 4, 0), +platform: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, +filesList: jspb.Message.toObjectList(msg.getFilesList(), proto.viam.app.packages.v1.FileInfo.toObject, includeInstance), - metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -910,8 +916,8 @@ proto.viam.app.packages.v1.CreatePackageRequest.prototype.toObject = function(op */ proto.viam.app.packages.v1.CreatePackageRequest.toObject = function(includeInstance, msg) { var f, obj = { - info: (f = msg.getInfo()) && proto.viam.app.packages.v1.PackageInfo.toObject(includeInstance, f), - contents: msg.getContents_asB64() +info: (f = msg.getInfo()) && proto.viam.app.packages.v1.PackageInfo.toObject(includeInstance, f), +contents: msg.getContents_asB64() }; if (includeInstance) { @@ -1133,8 +1139,8 @@ proto.viam.app.packages.v1.CreatePackageResponse.prototype.toObject = function(o */ proto.viam.app.packages.v1.CreatePackageResponse.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - version: jspb.Message.getFieldWithDefault(msg, 2, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +version: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1293,9 +1299,9 @@ proto.viam.app.packages.v1.DeletePackageRequest.prototype.toObject = function(op */ proto.viam.app.packages.v1.DeletePackageRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - version: jspb.Message.getFieldWithDefault(msg, 2, ""), - type: jspb.Message.getFieldWithDefault(msg, 3, 0) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +version: jspb.Message.getFieldWithDefault(msg, 2, ""), +type: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -1584,11 +1590,11 @@ proto.viam.app.packages.v1.Package.prototype.toObject = function(opt_includeInst */ proto.viam.app.packages.v1.Package.toObject = function(includeInstance, msg) { var f, obj = { - info: (f = msg.getInfo()) && proto.viam.app.packages.v1.PackageInfo.toObject(includeInstance, f), - url: jspb.Message.getFieldWithDefault(msg, 2, ""), - createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - checksum: jspb.Message.getFieldWithDefault(msg, 4, ""), - id: jspb.Message.getFieldWithDefault(msg, 5, "") +info: (f = msg.getInfo()) && proto.viam.app.packages.v1.PackageInfo.toObject(includeInstance, f), +url: jspb.Message.getFieldWithDefault(msg, 2, ""), +createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +checksum: jspb.Message.getFieldWithDefault(msg, 4, ""), +id: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -1876,11 +1882,11 @@ proto.viam.app.packages.v1.GetPackageRequest.prototype.toObject = function(opt_i */ proto.viam.app.packages.v1.GetPackageRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - version: jspb.Message.getFieldWithDefault(msg, 2, ""), - includeUrl: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - type: jspb.Message.getFieldWithDefault(msg, 4, 0), - platform: jspb.Message.getFieldWithDefault(msg, 5, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +version: jspb.Message.getFieldWithDefault(msg, 2, ""), +includeUrl: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, +type: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +platform: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -2180,7 +2186,7 @@ proto.viam.app.packages.v1.GetPackageResponse.prototype.toObject = function(opt_ */ proto.viam.app.packages.v1.GetPackageResponse.toObject = function(includeInstance, msg) { var f, obj = { - pb_package: (f = msg.getPackage()) && proto.viam.app.packages.v1.Package.toObject(includeInstance, f) +pb_package: (f = msg.getPackage()) && proto.viam.app.packages.v1.Package.toObject(includeInstance, f) }; if (includeInstance) { @@ -2331,11 +2337,11 @@ proto.viam.app.packages.v1.ListPackagesRequest.prototype.toObject = function(opt */ proto.viam.app.packages.v1.ListPackagesRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - version: jspb.Message.getFieldWithDefault(msg, 3, ""), - type: jspb.Message.getFieldWithDefault(msg, 4, 0), - includeUrl: jspb.Message.getBooleanFieldWithDefault(msg, 5, false) +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +version: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +type: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +includeUrl: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -2660,7 +2666,7 @@ proto.viam.app.packages.v1.ListPackagesResponse.prototype.toObject = function(op */ proto.viam.app.packages.v1.ListPackagesResponse.toObject = function(includeInstance, msg) { var f, obj = { - packagesList: jspb.Message.toObjectList(msg.getPackagesList(), +packagesList: jspb.Message.toObjectList(msg.getPackagesList(), proto.viam.app.packages.v1.Package.toObject, includeInstance) }; diff --git a/gen/js/app/v1/app_grpc_web_pb.js b/gen/js/app/v1/app_grpc_web_pb.js index 95a5affc..7fb6b814 100644 --- a/gen/js/app/v1/app_grpc_web_pb.js +++ b/gen/js/app/v1/app_grpc_web_pb.js @@ -1186,6 +1186,67 @@ proto.viam.app.v1.AppServicePromiseClient.prototype.updateBillingService = }; +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.viam.app.v1.GetBillingServiceRequest, + * !proto.viam.app.v1.GetBillingServiceResponse>} + */ +const methodDescriptor_AppService_GetBillingService = new grpc.web.MethodDescriptor( + '/viam.app.v1.AppService/GetBillingService', + grpc.web.MethodType.UNARY, + proto.viam.app.v1.GetBillingServiceRequest, + proto.viam.app.v1.GetBillingServiceResponse, + /** + * @param {!proto.viam.app.v1.GetBillingServiceRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.viam.app.v1.GetBillingServiceResponse.deserializeBinary +); + + +/** + * @param {!proto.viam.app.v1.GetBillingServiceRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.viam.app.v1.GetBillingServiceResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.viam.app.v1.AppServiceClient.prototype.getBillingService = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/viam.app.v1.AppService/GetBillingService', + request, + metadata || {}, + methodDescriptor_AppService_GetBillingService, + callback); +}; + + +/** + * @param {!proto.viam.app.v1.GetBillingServiceRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.viam.app.v1.AppServicePromiseClient.prototype.getBillingService = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/viam.app.v1.AppService/GetBillingService', + request, + metadata || {}, + methodDescriptor_AppService_GetBillingService); +}; + + /** * @const * @type {!grpc.web.MethodDescriptor< diff --git a/gen/js/app/v1/app_pb.d.ts b/gen/js/app/v1/app_pb.d.ts index 897bfc79..9b024605 100644 --- a/gen/js/app/v1/app_pb.d.ts +++ b/gen/js/app/v1/app_pb.d.ts @@ -1005,6 +1005,48 @@ export namespace UpdateBillingServiceResponse { } } +export class GetBillingServiceRequest extends jspb.Message { + getOrgId(): string; + setOrgId(value: string): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetBillingServiceRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetBillingServiceRequest): GetBillingServiceRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetBillingServiceRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetBillingServiceRequest; + static deserializeBinaryFromReader(message: GetBillingServiceRequest, reader: jspb.BinaryReader): GetBillingServiceRequest; +} + +export namespace GetBillingServiceRequest { + export type AsObject = { + orgId: string, + } +} + +export class GetBillingServiceResponse extends jspb.Message { + hasBillingAddress(): boolean; + clearBillingAddress(): void; + getBillingAddress(): BillingAddress | undefined; + setBillingAddress(value?: BillingAddress): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetBillingServiceResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetBillingServiceResponse): GetBillingServiceResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetBillingServiceResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetBillingServiceResponse; + static deserializeBinaryFromReader(message: GetBillingServiceResponse, reader: jspb.BinaryReader): GetBillingServiceResponse; +} + +export namespace GetBillingServiceResponse { + export type AsObject = { + billingAddress?: BillingAddress.AsObject, + } +} + export class DisableBillingServiceRequest extends jspb.Message { getOrgId(): string; setOrgId(value: string): void; diff --git a/gen/js/app/v1/app_pb.js b/gen/js/app/v1/app_pb.js index 73072ed8..7fa60f58 100644 --- a/gen/js/app/v1/app_pb.js +++ b/gen/js/app/v1/app_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 app_mltraining_v1_ml_training_pb = require('../../app/mltraining/v1/ml_training_pb.js'); goog.object.extend(proto, app_mltraining_v1_ml_training_pb); @@ -92,6 +98,8 @@ goog.exportSymbol('proto.viam.app.v1.FragmentError', null, global); goog.exportSymbol('proto.viam.app.v1.FragmentErrorType', null, global); goog.exportSymbol('proto.viam.app.v1.FragmentHistoryEntry', null, global); goog.exportSymbol('proto.viam.app.v1.FragmentVisibility', null, global); +goog.exportSymbol('proto.viam.app.v1.GetBillingServiceRequest', null, global); +goog.exportSymbol('proto.viam.app.v1.GetBillingServiceResponse', null, global); goog.exportSymbol('proto.viam.app.v1.GetFragmentHistoryRequest', null, global); goog.exportSymbol('proto.viam.app.v1.GetFragmentHistoryResponse', null, global); goog.exportSymbol('proto.viam.app.v1.GetFragmentRequest', null, global); @@ -983,6 +991,48 @@ if (goog.DEBUG && !COMPILED) { */ proto.viam.app.v1.UpdateBillingServiceResponse.displayName = 'proto.viam.app.v1.UpdateBillingServiceResponse'; } +/** + * 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.viam.app.v1.GetBillingServiceRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.viam.app.v1.GetBillingServiceRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.viam.app.v1.GetBillingServiceRequest.displayName = 'proto.viam.app.v1.GetBillingServiceRequest'; +} +/** + * 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.viam.app.v1.GetBillingServiceResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.viam.app.v1.GetBillingServiceResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.viam.app.v1.GetBillingServiceResponse.displayName = 'proto.viam.app.v1.GetBillingServiceResponse'; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -4291,11 +4341,11 @@ proto.viam.app.v1.Robot.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.Robot.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - location: jspb.Message.getFieldWithDefault(msg, 3, ""), - lastAccess: (f = msg.getLastAccess()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +location: jspb.Message.getFieldWithDefault(msg, 3, ""), +lastAccess: (f = msg.getLastAccess()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -4590,22 +4640,22 @@ proto.viam.app.v1.RobotPart.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.RobotPart.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - dnsName: jspb.Message.getFieldWithDefault(msg, 10, ""), - secret: jspb.Message.getFieldWithDefault(msg, 3, ""), - robot: jspb.Message.getFieldWithDefault(msg, 4, ""), - locationId: jspb.Message.getFieldWithDefault(msg, 12, ""), - robotConfig: (f = msg.getRobotConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - lastAccess: (f = msg.getLastAccess()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - userSuppliedInfo: (f = msg.getUserSuppliedInfo()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - mainPart: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), - fqdn: jspb.Message.getFieldWithDefault(msg, 9, ""), - localFqdn: jspb.Message.getFieldWithDefault(msg, 11, ""), - createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - secretsList: jspb.Message.toObjectList(msg.getSecretsList(), +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +dnsName: jspb.Message.getFieldWithDefault(msg, 10, ""), +secret: jspb.Message.getFieldWithDefault(msg, 3, ""), +robot: jspb.Message.getFieldWithDefault(msg, 4, ""), +locationId: jspb.Message.getFieldWithDefault(msg, 12, ""), +robotConfig: (f = msg.getRobotConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +lastAccess: (f = msg.getLastAccess()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +userSuppliedInfo: (f = msg.getUserSuppliedInfo()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +mainPart: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), +fqdn: jspb.Message.getFieldWithDefault(msg, 9, ""), +localFqdn: jspb.Message.getFieldWithDefault(msg, 11, ""), +createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +secretsList: jspb.Message.toObjectList(msg.getSecretsList(), proto.viam.app.v1.SharedSecret.toObject, includeInstance), - lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -5268,11 +5318,11 @@ proto.viam.app.v1.RobotPartHistoryEntry.prototype.toObject = function(opt_includ */ proto.viam.app.v1.RobotPartHistoryEntry.toObject = function(includeInstance, msg) { var f, obj = { - part: jspb.Message.getFieldWithDefault(msg, 1, ""), - robot: jspb.Message.getFieldWithDefault(msg, 2, ""), - when: (f = msg.getWhen()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - old: (f = msg.getOld()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f), - editedBy: (f = msg.getEditedBy()) && proto.viam.app.v1.AuthenticatorInfo.toObject(includeInstance, f) +part: jspb.Message.getFieldWithDefault(msg, 1, ""), +robot: jspb.Message.getFieldWithDefault(msg, 2, ""), +when: (f = msg.getWhen()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +old: (f = msg.getOld()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f), +editedBy: (f = msg.getEditedBy()) && proto.viam.app.v1.AuthenticatorInfo.toObject(includeInstance, f) }; if (includeInstance) { @@ -5581,9 +5631,9 @@ proto.viam.app.v1.AuthenticatorInfo.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.AuthenticatorInfo.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, 0), - value: jspb.Message.getFieldWithDefault(msg, 2, ""), - isDeactivated: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) +type: jspb.Message.getFieldWithDefault(msg, 1, 0), +value: jspb.Message.getFieldWithDefault(msg, 2, ""), +isDeactivated: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -5872,12 +5922,12 @@ proto.viam.app.v1.Organization.prototype.toObject = function(opt_includeInstance */ proto.viam.app.v1.Organization.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - publicNamespace: jspb.Message.getFieldWithDefault(msg, 4, ""), - defaultRegion: jspb.Message.getFieldWithDefault(msg, 5, ""), - cid: jspb.Message.getFieldWithDefault(msg, 6, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +publicNamespace: jspb.Message.getFieldWithDefault(msg, 4, ""), +defaultRegion: jspb.Message.getFieldWithDefault(msg, 5, ""), +cid: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f }; if (includeInstance) { @@ -6198,10 +6248,10 @@ proto.viam.app.v1.OrganizationMember.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.OrganizationMember.toObject = function(includeInstance, msg) { var f, obj = { - userId: jspb.Message.getFieldWithDefault(msg, 1, ""), - emailsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - dateAdded: (f = msg.getDateAdded()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - lastLogin: (f = msg.getLastLogin()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +userId: jspb.Message.getFieldWithDefault(msg, 1, ""), +emailsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, +dateAdded: (f = msg.getDateAdded()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +lastLogin: (f = msg.getLastLogin()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -6486,7 +6536,7 @@ proto.viam.app.v1.ListOrganizationsResponse.prototype.toObject = function(opt_in */ proto.viam.app.v1.ListOrganizationsResponse.toObject = function(includeInstance, msg) { var f, obj = { - organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(), +organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(), proto.viam.app.v1.Organization.toObject, includeInstance) }; @@ -6646,10 +6696,10 @@ proto.viam.app.v1.OrganizationInvite.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.OrganizationInvite.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - email: jspb.Message.getFieldWithDefault(msg, 2, ""), - createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +email: jspb.Message.getFieldWithDefault(msg, 2, ""), +createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), proto.viam.app.v1.Authorization.toObject, includeInstance) }; @@ -6910,7 +6960,7 @@ proto.viam.app.v1.CreateOrganizationRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.CreateOrganizationRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -7040,7 +7090,7 @@ proto.viam.app.v1.CreateOrganizationResponse.prototype.toObject = function(opt_i */ proto.viam.app.v1.CreateOrganizationResponse.toObject = function(includeInstance, msg) { var f, obj = { - organization: (f = msg.getOrganization()) && proto.viam.app.v1.Organization.toObject(includeInstance, f) +organization: (f = msg.getOrganization()) && proto.viam.app.v1.Organization.toObject(includeInstance, f) }; if (includeInstance) { @@ -7191,7 +7241,7 @@ proto.viam.app.v1.GetOrganizationRequest.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.GetOrganizationRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -7321,7 +7371,7 @@ proto.viam.app.v1.GetOrganizationResponse.prototype.toObject = function(opt_incl */ proto.viam.app.v1.GetOrganizationResponse.toObject = function(includeInstance, msg) { var f, obj = { - organization: (f = msg.getOrganization()) && proto.viam.app.v1.Organization.toObject(includeInstance, f) +organization: (f = msg.getOrganization()) && proto.viam.app.v1.Organization.toObject(includeInstance, f) }; if (includeInstance) { @@ -7472,7 +7522,7 @@ proto.viam.app.v1.GetOrganizationNamespaceAvailabilityRequest.prototype.toObject */ proto.viam.app.v1.GetOrganizationNamespaceAvailabilityRequest.toObject = function(includeInstance, msg) { var f, obj = { - publicNamespace: jspb.Message.getFieldWithDefault(msg, 1, "") +publicNamespace: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -7602,7 +7652,7 @@ proto.viam.app.v1.GetOrganizationNamespaceAvailabilityResponse.prototype.toObjec */ proto.viam.app.v1.GetOrganizationNamespaceAvailabilityResponse.toObject = function(includeInstance, msg) { var f, obj = { - available: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) +available: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -7732,11 +7782,11 @@ proto.viam.app.v1.UpdateOrganizationRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.UpdateOrganizationRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - publicNamespace: jspb.Message.getFieldWithDefault(msg, 3, ""), - region: jspb.Message.getFieldWithDefault(msg, 4, ""), - cid: jspb.Message.getFieldWithDefault(msg, 5, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +publicNamespace: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +region: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +cid: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -8054,7 +8104,7 @@ proto.viam.app.v1.UpdateOrganizationResponse.prototype.toObject = function(opt_i */ proto.viam.app.v1.UpdateOrganizationResponse.toObject = function(includeInstance, msg) { var f, obj = { - organization: (f = msg.getOrganization()) && proto.viam.app.v1.Organization.toObject(includeInstance, f) +organization: (f = msg.getOrganization()) && proto.viam.app.v1.Organization.toObject(includeInstance, f) }; if (includeInstance) { @@ -8205,7 +8255,7 @@ proto.viam.app.v1.DeleteOrganizationRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.DeleteOrganizationRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -8436,7 +8486,7 @@ proto.viam.app.v1.ListOrganizationMembersRequest.prototype.toObject = function(o */ proto.viam.app.v1.ListOrganizationMembersRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -8573,10 +8623,10 @@ proto.viam.app.v1.ListOrganizationMembersResponse.prototype.toObject = function( */ proto.viam.app.v1.ListOrganizationMembersResponse.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - membersList: jspb.Message.toObjectList(msg.getMembersList(), +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +membersList: jspb.Message.toObjectList(msg.getMembersList(), proto.viam.app.v1.OrganizationMember.toObject, includeInstance), - invitesList: jspb.Message.toObjectList(msg.getInvitesList(), +invitesList: jspb.Message.toObjectList(msg.getInvitesList(), proto.viam.app.v1.OrganizationInvite.toObject, includeInstance) }; @@ -8816,11 +8866,11 @@ proto.viam.app.v1.CreateOrganizationInviteRequest.prototype.toObject = function( */ proto.viam.app.v1.CreateOrganizationInviteRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - email: jspb.Message.getFieldWithDefault(msg, 2, ""), - authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +email: jspb.Message.getFieldWithDefault(msg, 2, ""), +authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), proto.viam.app.v1.Authorization.toObject, includeInstance), - sendEmailInvite: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) +sendEmailInvite: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f }; if (includeInstance) { @@ -9077,7 +9127,7 @@ proto.viam.app.v1.CreateOrganizationInviteResponse.prototype.toObject = function */ proto.viam.app.v1.CreateOrganizationInviteResponse.toObject = function(includeInstance, msg) { var f, obj = { - invite: (f = msg.getInvite()) && proto.viam.app.v1.OrganizationInvite.toObject(includeInstance, f) +invite: (f = msg.getInvite()) && proto.viam.app.v1.OrganizationInvite.toObject(includeInstance, f) }; if (includeInstance) { @@ -9235,11 +9285,11 @@ proto.viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.prototype.toObje */ proto.viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - email: jspb.Message.getFieldWithDefault(msg, 2, ""), - addAuthorizationsList: jspb.Message.toObjectList(msg.getAddAuthorizationsList(), +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +email: jspb.Message.getFieldWithDefault(msg, 2, ""), +addAuthorizationsList: jspb.Message.toObjectList(msg.getAddAuthorizationsList(), proto.viam.app.v1.Authorization.toObject, includeInstance), - removeAuthorizationsList: jspb.Message.toObjectList(msg.getRemoveAuthorizationsList(), +removeAuthorizationsList: jspb.Message.toObjectList(msg.getRemoveAuthorizationsList(), proto.viam.app.v1.Authorization.toObject, includeInstance) }; @@ -9501,7 +9551,7 @@ proto.viam.app.v1.UpdateOrganizationInviteAuthorizationsResponse.prototype.toObj */ proto.viam.app.v1.UpdateOrganizationInviteAuthorizationsResponse.toObject = function(includeInstance, msg) { var f, obj = { - invite: (f = msg.getInvite()) && proto.viam.app.v1.OrganizationInvite.toObject(includeInstance, f) +invite: (f = msg.getInvite()) && proto.viam.app.v1.OrganizationInvite.toObject(includeInstance, f) }; if (includeInstance) { @@ -9652,8 +9702,8 @@ proto.viam.app.v1.DeleteOrganizationInviteRequest.prototype.toObject = function( */ proto.viam.app.v1.DeleteOrganizationInviteRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - email: jspb.Message.getFieldWithDefault(msg, 2, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +email: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -9913,8 +9963,8 @@ proto.viam.app.v1.ResendOrganizationInviteRequest.prototype.toObject = function( */ proto.viam.app.v1.ResendOrganizationInviteRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - email: jspb.Message.getFieldWithDefault(msg, 2, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +email: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -10073,7 +10123,7 @@ proto.viam.app.v1.ResendOrganizationInviteResponse.prototype.toObject = function */ proto.viam.app.v1.ResendOrganizationInviteResponse.toObject = function(includeInstance, msg) { var f, obj = { - invite: (f = msg.getInvite()) && proto.viam.app.v1.OrganizationInvite.toObject(includeInstance, f) +invite: (f = msg.getInvite()) && proto.viam.app.v1.OrganizationInvite.toObject(includeInstance, f) }; if (includeInstance) { @@ -10224,8 +10274,8 @@ proto.viam.app.v1.DeleteOrganizationMemberRequest.prototype.toObject = function( */ proto.viam.app.v1.DeleteOrganizationMemberRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - userId: jspb.Message.getFieldWithDefault(msg, 2, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +userId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -10485,11 +10535,11 @@ proto.viam.app.v1.BillingAddress.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.BillingAddress.toObject = function(includeInstance, msg) { var f, obj = { - addressLine1: jspb.Message.getFieldWithDefault(msg, 1, ""), - addressLine2: jspb.Message.getFieldWithDefault(msg, 2, ""), - city: jspb.Message.getFieldWithDefault(msg, 3, ""), - state: jspb.Message.getFieldWithDefault(msg, 4, ""), - zipcode: jspb.Message.getFieldWithDefault(msg, 5, "") +addressLine1: jspb.Message.getFieldWithDefault(msg, 1, ""), +addressLine2: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +city: jspb.Message.getFieldWithDefault(msg, 3, ""), +state: jspb.Message.getFieldWithDefault(msg, 4, ""), +zipcode: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -10753,8 +10803,8 @@ proto.viam.app.v1.EnableBillingServiceRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.EnableBillingServiceRequest.toObject = function(includeInstance, msg) { var f, obj = { - orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), - billingAddress: (f = msg.getBillingAddress()) && proto.viam.app.v1.BillingAddress.toObject(includeInstance, f) +orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), +billingAddress: (f = msg.getBillingAddress()) && proto.viam.app.v1.BillingAddress.toObject(includeInstance, f) }; if (includeInstance) { @@ -11035,8 +11085,8 @@ proto.viam.app.v1.UpdateBillingServiceRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.UpdateBillingServiceRequest.toObject = function(includeInstance, msg) { var f, obj = { - orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), - billingAddress: (f = msg.getBillingAddress()) && proto.viam.app.v1.BillingAddress.toObject(includeInstance, f) +orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), +billingAddress: (f = msg.getBillingAddress()) && proto.viam.app.v1.BillingAddress.toObject(includeInstance, f) }; if (includeInstance) { @@ -11288,6 +11338,287 @@ proto.viam.app.v1.UpdateBillingServiceResponse.serializeBinaryToWriter = functio +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.viam.app.v1.GetBillingServiceRequest.prototype.toObject = function(opt_includeInstance) { + return proto.viam.app.v1.GetBillingServiceRequest.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.viam.app.v1.GetBillingServiceRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.viam.app.v1.GetBillingServiceRequest.toObject = function(includeInstance, msg) { + var f, obj = { +orgId: 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.viam.app.v1.GetBillingServiceRequest} + */ +proto.viam.app.v1.GetBillingServiceRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.viam.app.v1.GetBillingServiceRequest; + return proto.viam.app.v1.GetBillingServiceRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.viam.app.v1.GetBillingServiceRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.viam.app.v1.GetBillingServiceRequest} + */ +proto.viam.app.v1.GetBillingServiceRequest.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.setOrgId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.viam.app.v1.GetBillingServiceRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.viam.app.v1.GetBillingServiceRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.viam.app.v1.GetBillingServiceRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.viam.app.v1.GetBillingServiceRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOrgId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string org_id = 1; + * @return {string} + */ +proto.viam.app.v1.GetBillingServiceRequest.prototype.getOrgId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.viam.app.v1.GetBillingServiceRequest} returns this + */ +proto.viam.app.v1.GetBillingServiceRequest.prototype.setOrgId = 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.viam.app.v1.GetBillingServiceResponse.prototype.toObject = function(opt_includeInstance) { + return proto.viam.app.v1.GetBillingServiceResponse.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.viam.app.v1.GetBillingServiceResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.viam.app.v1.GetBillingServiceResponse.toObject = function(includeInstance, msg) { + var f, obj = { +billingAddress: (f = msg.getBillingAddress()) && proto.viam.app.v1.BillingAddress.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.viam.app.v1.GetBillingServiceResponse} + */ +proto.viam.app.v1.GetBillingServiceResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.viam.app.v1.GetBillingServiceResponse; + return proto.viam.app.v1.GetBillingServiceResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.viam.app.v1.GetBillingServiceResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.viam.app.v1.GetBillingServiceResponse} + */ +proto.viam.app.v1.GetBillingServiceResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.viam.app.v1.BillingAddress; + reader.readMessage(value,proto.viam.app.v1.BillingAddress.deserializeBinaryFromReader); + msg.setBillingAddress(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.viam.app.v1.GetBillingServiceResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.viam.app.v1.GetBillingServiceResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.viam.app.v1.GetBillingServiceResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.viam.app.v1.GetBillingServiceResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBillingAddress(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.viam.app.v1.BillingAddress.serializeBinaryToWriter + ); + } +}; + + +/** + * optional BillingAddress billing_address = 1; + * @return {?proto.viam.app.v1.BillingAddress} + */ +proto.viam.app.v1.GetBillingServiceResponse.prototype.getBillingAddress = function() { + return /** @type{?proto.viam.app.v1.BillingAddress} */ ( + jspb.Message.getWrapperField(this, proto.viam.app.v1.BillingAddress, 1)); +}; + + +/** + * @param {?proto.viam.app.v1.BillingAddress|undefined} value + * @return {!proto.viam.app.v1.GetBillingServiceResponse} returns this +*/ +proto.viam.app.v1.GetBillingServiceResponse.prototype.setBillingAddress = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.viam.app.v1.GetBillingServiceResponse} returns this + */ +proto.viam.app.v1.GetBillingServiceResponse.prototype.clearBillingAddress = function() { + return this.setBillingAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.viam.app.v1.GetBillingServiceResponse.prototype.hasBillingAddress = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. @@ -11317,7 +11648,7 @@ proto.viam.app.v1.DisableBillingServiceRequest.prototype.toObject = function(opt */ proto.viam.app.v1.DisableBillingServiceRequest.toObject = function(includeInstance, msg) { var f, obj = { - orgId: jspb.Message.getFieldWithDefault(msg, 1, "") +orgId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -11548,8 +11879,8 @@ proto.viam.app.v1.OrganizationSetSupportEmailRequest.prototype.toObject = functi */ proto.viam.app.v1.OrganizationSetSupportEmailRequest.toObject = function(includeInstance, msg) { var f, obj = { - orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), - email: jspb.Message.getFieldWithDefault(msg, 2, "") +orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), +email: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -11809,7 +12140,7 @@ proto.viam.app.v1.OrganizationGetSupportEmailRequest.prototype.toObject = functi */ proto.viam.app.v1.OrganizationGetSupportEmailRequest.toObject = function(includeInstance, msg) { var f, obj = { - orgId: jspb.Message.getFieldWithDefault(msg, 1, "") +orgId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -11939,7 +12270,7 @@ proto.viam.app.v1.OrganizationGetSupportEmailResponse.prototype.toObject = funct */ proto.viam.app.v1.OrganizationGetSupportEmailResponse.toObject = function(includeInstance, msg) { var f, obj = { - email: jspb.Message.getFieldWithDefault(msg, 1, "") +email: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -12069,8 +12400,8 @@ proto.viam.app.v1.OrganizationIdentity.prototype.toObject = function(opt_include */ proto.viam.app.v1.OrganizationIdentity.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -12229,8 +12560,8 @@ proto.viam.app.v1.LocationOrganization.prototype.toObject = function(opt_include */ proto.viam.app.v1.LocationOrganization.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - primary: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +primary: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -12396,9 +12727,9 @@ proto.viam.app.v1.LocationAuth.prototype.toObject = function(opt_includeInstance */ proto.viam.app.v1.LocationAuth.toObject = function(includeInstance, msg) { var f, obj = { - secret: jspb.Message.getFieldWithDefault(msg, 1, ""), - locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), - secretsList: jspb.Message.toObjectList(msg.getSecretsList(), +secret: jspb.Message.getFieldWithDefault(msg, 1, ""), +locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), +secretsList: jspb.Message.toObjectList(msg.getSecretsList(), proto.viam.app.v1.SharedSecret.toObject, includeInstance) }; @@ -12609,7 +12940,7 @@ proto.viam.app.v1.StorageConfig.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.StorageConfig.toObject = function(includeInstance, msg) { var f, obj = { - region: jspb.Message.getFieldWithDefault(msg, 1, "") +region: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -12746,15 +13077,15 @@ proto.viam.app.v1.Location.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.Location.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - parentLocationId: jspb.Message.getFieldWithDefault(msg, 4, ""), - auth: (f = msg.getAuth()) && proto.viam.app.v1.LocationAuth.toObject(includeInstance, f), - organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(), +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +parentLocationId: jspb.Message.getFieldWithDefault(msg, 4, ""), +auth: (f = msg.getAuth()) && proto.viam.app.v1.LocationAuth.toObject(includeInstance, f), +organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(), proto.viam.app.v1.LocationOrganization.toObject, includeInstance), - createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - robotCount: jspb.Message.getFieldWithDefault(msg, 7, 0), - config: (f = msg.getConfig()) && proto.viam.app.v1.StorageConfig.toObject(includeInstance, f) +createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +robotCount: jspb.Message.getFieldWithDefault(msg, 7, 0), +config: (f = msg.getConfig()) && proto.viam.app.v1.StorageConfig.toObject(includeInstance, f) }; if (includeInstance) { @@ -13172,10 +13503,10 @@ proto.viam.app.v1.SharedSecret.prototype.toObject = function(opt_includeInstance */ proto.viam.app.v1.SharedSecret.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - secret: jspb.Message.getFieldWithDefault(msg, 2, ""), - createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - state: jspb.Message.getFieldWithDefault(msg, 4, 0) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +secret: jspb.Message.getFieldWithDefault(msg, 2, ""), +createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +state: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { @@ -13422,9 +13753,9 @@ proto.viam.app.v1.CreateLocationRequest.prototype.toObject = function(opt_includ */ proto.viam.app.v1.CreateLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - parentLocationId: jspb.Message.getFieldWithDefault(msg, 3, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +parentLocationId: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -13630,7 +13961,7 @@ proto.viam.app.v1.CreateLocationResponse.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.CreateLocationResponse.toObject = function(includeInstance, msg) { var f, obj = { - location: (f = msg.getLocation()) && proto.viam.app.v1.Location.toObject(includeInstance, f) +location: (f = msg.getLocation()) && proto.viam.app.v1.Location.toObject(includeInstance, f) }; if (includeInstance) { @@ -13781,7 +14112,7 @@ proto.viam.app.v1.GetLocationRequest.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.GetLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { - locationId: jspb.Message.getFieldWithDefault(msg, 1, "") +locationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -13911,7 +14242,7 @@ proto.viam.app.v1.GetLocationResponse.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.GetLocationResponse.toObject = function(includeInstance, msg) { var f, obj = { - location: (f = msg.getLocation()) && proto.viam.app.v1.Location.toObject(includeInstance, f) +location: (f = msg.getLocation()) && proto.viam.app.v1.Location.toObject(includeInstance, f) }; if (includeInstance) { @@ -14062,10 +14393,10 @@ proto.viam.app.v1.UpdateLocationRequest.prototype.toObject = function(opt_includ */ proto.viam.app.v1.UpdateLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { - locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - parentLocationId: jspb.Message.getFieldWithDefault(msg, 3, ""), - region: jspb.Message.getFieldWithDefault(msg, 4, "") +locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +parentLocationId: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +region: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { @@ -14336,7 +14667,7 @@ proto.viam.app.v1.UpdateLocationResponse.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.UpdateLocationResponse.toObject = function(includeInstance, msg) { var f, obj = { - location: (f = msg.getLocation()) && proto.viam.app.v1.Location.toObject(includeInstance, f) +location: (f = msg.getLocation()) && proto.viam.app.v1.Location.toObject(includeInstance, f) }; if (includeInstance) { @@ -14487,7 +14818,7 @@ proto.viam.app.v1.DeleteLocationRequest.prototype.toObject = function(opt_includ */ proto.viam.app.v1.DeleteLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { - locationId: jspb.Message.getFieldWithDefault(msg, 1, "") +locationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -14718,7 +15049,7 @@ proto.viam.app.v1.GetOrganizationsWithAccessToLocationRequest.prototype.toObject */ proto.viam.app.v1.GetOrganizationsWithAccessToLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { - locationId: jspb.Message.getFieldWithDefault(msg, 1, "") +locationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -14855,7 +15186,7 @@ proto.viam.app.v1.GetOrganizationsWithAccessToLocationResponse.prototype.toObjec */ proto.viam.app.v1.GetOrganizationsWithAccessToLocationResponse.toObject = function(includeInstance, msg) { var f, obj = { - organizationIdentitiesList: jspb.Message.toObjectList(msg.getOrganizationIdentitiesList(), +organizationIdentitiesList: jspb.Message.toObjectList(msg.getOrganizationIdentitiesList(), proto.viam.app.v1.OrganizationIdentity.toObject, includeInstance) }; @@ -15008,7 +15339,7 @@ proto.viam.app.v1.ListLocationsRequest.prototype.toObject = function(opt_include */ proto.viam.app.v1.ListLocationsRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -15138,8 +15469,8 @@ proto.viam.app.v1.ShareLocationRequest.prototype.toObject = function(opt_include */ proto.viam.app.v1.ShareLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { - locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - organizationId: jspb.Message.getFieldWithDefault(msg, 2, "") +locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +organizationId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -15399,8 +15730,8 @@ proto.viam.app.v1.UnshareLocationRequest.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.UnshareLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { - locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - organizationId: jspb.Message.getFieldWithDefault(msg, 2, "") +locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +organizationId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -15667,7 +15998,7 @@ proto.viam.app.v1.ListLocationsResponse.prototype.toObject = function(opt_includ */ proto.viam.app.v1.ListLocationsResponse.toObject = function(includeInstance, msg) { var f, obj = { - locationsList: jspb.Message.toObjectList(msg.getLocationsList(), +locationsList: jspb.Message.toObjectList(msg.getLocationsList(), proto.viam.app.v1.Location.toObject, includeInstance) }; @@ -15820,7 +16151,7 @@ proto.viam.app.v1.CreateLocationSecretRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.CreateLocationSecretRequest.toObject = function(includeInstance, msg) { var f, obj = { - locationId: jspb.Message.getFieldWithDefault(msg, 1, "") +locationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -15950,7 +16281,7 @@ proto.viam.app.v1.CreateLocationSecretResponse.prototype.toObject = function(opt */ proto.viam.app.v1.CreateLocationSecretResponse.toObject = function(includeInstance, msg) { var f, obj = { - auth: (f = msg.getAuth()) && proto.viam.app.v1.LocationAuth.toObject(includeInstance, f) +auth: (f = msg.getAuth()) && proto.viam.app.v1.LocationAuth.toObject(includeInstance, f) }; if (includeInstance) { @@ -16101,8 +16432,8 @@ proto.viam.app.v1.DeleteLocationSecretRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.DeleteLocationSecretRequest.toObject = function(includeInstance, msg) { var f, obj = { - locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - secretId: jspb.Message.getFieldWithDefault(msg, 2, "") +locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +secretId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -16362,7 +16693,7 @@ proto.viam.app.v1.LocationAuthRequest.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.LocationAuthRequest.toObject = function(includeInstance, msg) { var f, obj = { - locationId: jspb.Message.getFieldWithDefault(msg, 1, "") +locationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -16492,7 +16823,7 @@ proto.viam.app.v1.LocationAuthResponse.prototype.toObject = function(opt_include */ proto.viam.app.v1.LocationAuthResponse.toObject = function(includeInstance, msg) { var f, obj = { - auth: (f = msg.getAuth()) && proto.viam.app.v1.LocationAuth.toObject(includeInstance, f) +auth: (f = msg.getAuth()) && proto.viam.app.v1.LocationAuth.toObject(includeInstance, f) }; if (includeInstance) { @@ -16643,7 +16974,7 @@ proto.viam.app.v1.GetRobotRequest.prototype.toObject = function(opt_includeInsta */ proto.viam.app.v1.GetRobotRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -16773,7 +17104,7 @@ proto.viam.app.v1.GetRoverRentalRobotsRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.GetRoverRentalRobotsRequest.toObject = function(includeInstance, msg) { var f, obj = { - orgId: jspb.Message.getFieldWithDefault(msg, 1, "") +orgId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -16903,10 +17234,10 @@ proto.viam.app.v1.RoverRentalRobot.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.RoverRentalRobot.toObject = function(includeInstance, msg) { var f, obj = { - robotId: jspb.Message.getFieldWithDefault(msg, 1, ""), - locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), - robotName: jspb.Message.getFieldWithDefault(msg, 3, ""), - robotMainPartId: jspb.Message.getFieldWithDefault(msg, 4, "") +robotId: jspb.Message.getFieldWithDefault(msg, 1, ""), +locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), +robotName: jspb.Message.getFieldWithDefault(msg, 3, ""), +robotMainPartId: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -17130,7 +17461,7 @@ proto.viam.app.v1.GetRoverRentalRobotsResponse.prototype.toObject = function(opt */ proto.viam.app.v1.GetRoverRentalRobotsResponse.toObject = function(includeInstance, msg) { var f, obj = { - robotsList: jspb.Message.toObjectList(msg.getRobotsList(), +robotsList: jspb.Message.toObjectList(msg.getRobotsList(), proto.viam.app.v1.RoverRentalRobot.toObject, includeInstance) }; @@ -17283,7 +17614,7 @@ proto.viam.app.v1.GetRobotResponse.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.GetRobotResponse.toObject = function(includeInstance, msg) { var f, obj = { - robot: (f = msg.getRobot()) && proto.viam.app.v1.Robot.toObject(includeInstance, f) +robot: (f = msg.getRobot()) && proto.viam.app.v1.Robot.toObject(includeInstance, f) }; if (includeInstance) { @@ -17434,7 +17765,7 @@ proto.viam.app.v1.GetRobotPartsRequest.prototype.toObject = function(opt_include */ proto.viam.app.v1.GetRobotPartsRequest.toObject = function(includeInstance, msg) { var f, obj = { - robotId: jspb.Message.getFieldWithDefault(msg, 1, "") +robotId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -17571,7 +17902,7 @@ proto.viam.app.v1.GetRobotPartsResponse.prototype.toObject = function(opt_includ */ proto.viam.app.v1.GetRobotPartsResponse.toObject = function(includeInstance, msg) { var f, obj = { - partsList: jspb.Message.toObjectList(msg.getPartsList(), +partsList: jspb.Message.toObjectList(msg.getPartsList(), proto.viam.app.v1.RobotPart.toObject, includeInstance) }; @@ -17724,7 +18055,7 @@ proto.viam.app.v1.GetRobotPartRequest.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.GetRobotPartRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -17854,8 +18185,8 @@ proto.viam.app.v1.GetRobotPartResponse.prototype.toObject = function(opt_include */ proto.viam.app.v1.GetRobotPartResponse.toObject = function(includeInstance, msg) { var f, obj = { - part: (f = msg.getPart()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f), - configJson: jspb.Message.getFieldWithDefault(msg, 2, "") +part: (f = msg.getPart()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f), +configJson: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -18042,15 +18373,15 @@ proto.viam.app.v1.GetRobotPartLogsRequest.prototype.toObject = function(opt_incl */ proto.viam.app.v1.GetRobotPartLogsRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - errorsOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - filter: jspb.Message.getFieldWithDefault(msg, 3, ""), - pageToken: jspb.Message.getFieldWithDefault(msg, 4, ""), - levelsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, - start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - limit: jspb.Message.getFieldWithDefault(msg, 8, 0), - source: jspb.Message.getFieldWithDefault(msg, 9, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +errorsOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), +filter: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +pageToken: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +levelsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, +start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +limit: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, +source: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f }; if (includeInstance) { @@ -18552,9 +18883,9 @@ proto.viam.app.v1.GetRobotPartLogsResponse.prototype.toObject = function(opt_inc */ proto.viam.app.v1.GetRobotPartLogsResponse.toObject = function(includeInstance, msg) { var f, obj = { - logsList: jspb.Message.toObjectList(msg.getLogsList(), +logsList: jspb.Message.toObjectList(msg.getLogsList(), common_v1_common_pb.LogEntry.toObject, includeInstance), - nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") +nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -18735,9 +19066,9 @@ proto.viam.app.v1.TailRobotPartLogsRequest.prototype.toObject = function(opt_inc */ proto.viam.app.v1.TailRobotPartLogsRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - errorsOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - filter: jspb.Message.getFieldWithDefault(msg, 3, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +errorsOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), +filter: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -18950,7 +19281,7 @@ proto.viam.app.v1.TailRobotPartLogsResponse.prototype.toObject = function(opt_in */ proto.viam.app.v1.TailRobotPartLogsResponse.toObject = function(includeInstance, msg) { var f, obj = { - logsList: jspb.Message.toObjectList(msg.getLogsList(), +logsList: jspb.Message.toObjectList(msg.getLogsList(), common_v1_common_pb.LogEntry.toObject, includeInstance) }; @@ -19103,7 +19434,7 @@ proto.viam.app.v1.GetRobotPartHistoryRequest.prototype.toObject = function(opt_i */ proto.viam.app.v1.GetRobotPartHistoryRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -19240,7 +19571,7 @@ proto.viam.app.v1.GetRobotPartHistoryResponse.prototype.toObject = function(opt_ */ proto.viam.app.v1.GetRobotPartHistoryResponse.toObject = function(includeInstance, msg) { var f, obj = { - historyList: jspb.Message.toObjectList(msg.getHistoryList(), +historyList: jspb.Message.toObjectList(msg.getHistoryList(), proto.viam.app.v1.RobotPartHistoryEntry.toObject, includeInstance) }; @@ -19393,9 +19724,9 @@ proto.viam.app.v1.UpdateRobotPartRequest.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.UpdateRobotPartRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - robotConfig: (f = msg.getRobotConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +robotConfig: (f = msg.getRobotConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -19604,7 +19935,7 @@ proto.viam.app.v1.UpdateRobotPartResponse.prototype.toObject = function(opt_incl */ proto.viam.app.v1.UpdateRobotPartResponse.toObject = function(includeInstance, msg) { var f, obj = { - part: (f = msg.getPart()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f) +part: (f = msg.getPart()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f) }; if (includeInstance) { @@ -19755,8 +20086,8 @@ proto.viam.app.v1.NewRobotPartRequest.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.NewRobotPartRequest.toObject = function(includeInstance, msg) { var f, obj = { - robotId: jspb.Message.getFieldWithDefault(msg, 1, ""), - partName: jspb.Message.getFieldWithDefault(msg, 2, "") +robotId: jspb.Message.getFieldWithDefault(msg, 1, ""), +partName: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -19915,7 +20246,7 @@ proto.viam.app.v1.NewRobotPartResponse.prototype.toObject = function(opt_include */ proto.viam.app.v1.NewRobotPartResponse.toObject = function(includeInstance, msg) { var f, obj = { - partId: jspb.Message.getFieldWithDefault(msg, 1, "") +partId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -20045,7 +20376,7 @@ proto.viam.app.v1.DeleteRobotPartRequest.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.DeleteRobotPartRequest.toObject = function(includeInstance, msg) { var f, obj = { - partId: jspb.Message.getFieldWithDefault(msg, 1, "") +partId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -20175,7 +20506,7 @@ proto.viam.app.v1.GetRobotAPIKeysRequest.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.GetRobotAPIKeysRequest.toObject = function(includeInstance, msg) { var f, obj = { - robotId: jspb.Message.getFieldWithDefault(msg, 1, "") +robotId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -20305,10 +20636,10 @@ proto.viam.app.v1.APIKey.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.APIKey.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - key: jspb.Message.getFieldWithDefault(msg, 2, ""), - name: jspb.Message.getFieldWithDefault(msg, 3, ""), - createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +key: jspb.Message.getFieldWithDefault(msg, 2, ""), +name: jspb.Message.getFieldWithDefault(msg, 3, ""), +createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -20553,7 +20884,7 @@ proto.viam.app.v1.GetRobotAPIKeysResponse.prototype.toObject = function(opt_incl */ proto.viam.app.v1.GetRobotAPIKeysResponse.toObject = function(includeInstance, msg) { var f, obj = { - apiKeysList: jspb.Message.toObjectList(msg.getApiKeysList(), +apiKeysList: jspb.Message.toObjectList(msg.getApiKeysList(), proto.viam.app.v1.APIKeyWithAuthorizations.toObject, includeInstance) }; @@ -20807,18 +21138,18 @@ proto.viam.app.v1.Fragment.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.Fragment.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - fragment: (f = msg.getFragment()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - organizationOwner: jspb.Message.getFieldWithDefault(msg, 4, ""), - pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), - createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - organizationName: jspb.Message.getFieldWithDefault(msg, 7, ""), - robotPartCount: jspb.Message.getFieldWithDefault(msg, 9, 0), - organizationCount: jspb.Message.getFieldWithDefault(msg, 10, 0), - onlyUsedByOwner: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), - visibility: jspb.Message.getFieldWithDefault(msg, 12, 0), - lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +fragment: (f = msg.getFragment()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +organizationOwner: jspb.Message.getFieldWithDefault(msg, 4, ""), +pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), +createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +organizationName: jspb.Message.getFieldWithDefault(msg, 7, ""), +robotPartCount: jspb.Message.getFieldWithDefault(msg, 9, 0), +organizationCount: jspb.Message.getFieldWithDefault(msg, 10, 0), +onlyUsedByOwner: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), +visibility: jspb.Message.getFieldWithDefault(msg, 12, 0), +lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -21330,10 +21661,10 @@ proto.viam.app.v1.FragmentHistoryEntry.prototype.toObject = function(opt_include */ proto.viam.app.v1.FragmentHistoryEntry.toObject = function(includeInstance, msg) { var f, obj = { - fragment: jspb.Message.getFieldWithDefault(msg, 1, ""), - editedOn: (f = msg.getEditedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - old: (f = msg.getOld()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f), - editedBy: (f = msg.getEditedBy()) && proto.viam.app.v1.AuthenticatorInfo.toObject(includeInstance, f) +fragment: jspb.Message.getFieldWithDefault(msg, 1, ""), +editedOn: (f = msg.getEditedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +old: (f = msg.getOld()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f), +editedBy: (f = msg.getEditedBy()) && proto.viam.app.v1.AuthenticatorInfo.toObject(includeInstance, f) }; if (includeInstance) { @@ -21613,9 +21944,9 @@ proto.viam.app.v1.FragmentError.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.FragmentError.toObject = function(includeInstance, msg) { var f, obj = { - errorType: jspb.Message.getFieldWithDefault(msg, 1, 0), - fragmentId: jspb.Message.getFieldWithDefault(msg, 2, ""), - detail: jspb.Message.getFieldWithDefault(msg, 3, "") +errorType: jspb.Message.getFieldWithDefault(msg, 1, 0), +fragmentId: jspb.Message.getFieldWithDefault(msg, 2, ""), +detail: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -21803,9 +22134,9 @@ proto.viam.app.v1.ResolvedFragment.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.ResolvedFragment.toObject = function(includeInstance, msg) { var f, obj = { - fragmentId: jspb.Message.getFieldWithDefault(msg, 1, ""), - resolvedConfig: (f = msg.getResolvedConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - error: (f = msg.getError()) && proto.viam.app.v1.FragmentError.toObject(includeInstance, f) +fragmentId: jspb.Message.getFieldWithDefault(msg, 1, ""), +resolvedConfig: (f = msg.getResolvedConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +error: (f = msg.getError()) && proto.viam.app.v1.FragmentError.toObject(includeInstance, f) }; if (includeInstance) { @@ -22042,9 +22373,9 @@ proto.viam.app.v1.ListFragmentsRequest.prototype.toObject = function(opt_include */ proto.viam.app.v1.ListFragmentsRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - showPublic: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - fragmentVisibilityList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +showPublic: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), +fragmentVisibilityList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -22260,7 +22591,7 @@ proto.viam.app.v1.ListFragmentsResponse.prototype.toObject = function(opt_includ */ proto.viam.app.v1.ListFragmentsResponse.toObject = function(includeInstance, msg) { var f, obj = { - fragmentsList: jspb.Message.toObjectList(msg.getFragmentsList(), +fragmentsList: jspb.Message.toObjectList(msg.getFragmentsList(), proto.viam.app.v1.Fragment.toObject, includeInstance) }; @@ -22413,7 +22744,7 @@ proto.viam.app.v1.GetFragmentRequest.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.GetFragmentRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -22543,7 +22874,7 @@ proto.viam.app.v1.GetFragmentResponse.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.GetFragmentResponse.toObject = function(includeInstance, msg) { var f, obj = { - fragment: (f = msg.getFragment()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f) +fragment: (f = msg.getFragment()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f) }; if (includeInstance) { @@ -22694,10 +23025,10 @@ proto.viam.app.v1.CreateFragmentRequest.prototype.toObject = function(opt_includ */ proto.viam.app.v1.CreateFragmentRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - organizationId: jspb.Message.getFieldWithDefault(msg, 3, ""), - visibility: jspb.Message.getFieldWithDefault(msg, 4, 0) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +organizationId: jspb.Message.getFieldWithDefault(msg, 3, ""), +visibility: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { @@ -22953,7 +23284,7 @@ proto.viam.app.v1.CreateFragmentResponse.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.CreateFragmentResponse.toObject = function(includeInstance, msg) { var f, obj = { - fragment: (f = msg.getFragment()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f) +fragment: (f = msg.getFragment()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f) }; if (includeInstance) { @@ -23104,11 +23435,11 @@ proto.viam.app.v1.UpdateFragmentRequest.prototype.toObject = function(opt_includ */ proto.viam.app.v1.UpdateFragmentRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), - visibility: jspb.Message.getFieldWithDefault(msg, 5, 0) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +pb_public: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f, +visibility: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -23411,7 +23742,7 @@ proto.viam.app.v1.UpdateFragmentResponse.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.UpdateFragmentResponse.toObject = function(includeInstance, msg) { var f, obj = { - fragment: (f = msg.getFragment()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f) +fragment: (f = msg.getFragment()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f) }; if (includeInstance) { @@ -23562,7 +23893,7 @@ proto.viam.app.v1.DeleteFragmentRequest.prototype.toObject = function(opt_includ */ proto.viam.app.v1.DeleteFragmentRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -23793,9 +24124,9 @@ proto.viam.app.v1.GetFragmentHistoryRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.GetFragmentHistoryRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""), - pageLimit: jspb.Message.getFieldWithDefault(msg, 3, 0) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +pageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +pageLimit: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -24026,9 +24357,9 @@ proto.viam.app.v1.GetFragmentHistoryResponse.prototype.toObject = function(opt_i */ proto.viam.app.v1.GetFragmentHistoryResponse.toObject = function(includeInstance, msg) { var f, obj = { - historyList: jspb.Message.toObjectList(msg.getHistoryList(), +historyList: jspb.Message.toObjectList(msg.getHistoryList(), proto.viam.app.v1.FragmentHistoryEntry.toObject, includeInstance), - nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") +nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -24209,7 +24540,7 @@ proto.viam.app.v1.ListRobotsRequest.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.ListRobotsRequest.toObject = function(includeInstance, msg) { var f, obj = { - locationId: jspb.Message.getFieldWithDefault(msg, 1, "") +locationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -24346,8 +24677,8 @@ proto.viam.app.v1.ListMachineFragmentsRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.ListMachineFragmentsRequest.toObject = function(includeInstance, msg) { var f, obj = { - machineId: jspb.Message.getFieldWithDefault(msg, 1, ""), - additionalFragmentIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f +machineId: jspb.Message.getFieldWithDefault(msg, 1, ""), +additionalFragmentIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -24532,9 +24863,9 @@ proto.viam.app.v1.ListMachineFragmentsResponse.prototype.toObject = function(opt */ proto.viam.app.v1.ListMachineFragmentsResponse.toObject = function(includeInstance, msg) { var f, obj = { - fragmentsList: jspb.Message.toObjectList(msg.getFragmentsList(), +fragmentsList: jspb.Message.toObjectList(msg.getFragmentsList(), proto.viam.app.v1.Fragment.toObject, includeInstance), - resolvedFragmentsList: jspb.Message.toObjectList(msg.getResolvedFragmentsList(), +resolvedFragmentsList: jspb.Message.toObjectList(msg.getResolvedFragmentsList(), proto.viam.app.v1.ResolvedFragment.toObject, includeInstance) }; @@ -24745,7 +25076,7 @@ proto.viam.app.v1.ListRobotsResponse.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.ListRobotsResponse.toObject = function(includeInstance, msg) { var f, obj = { - robotsList: jspb.Message.toObjectList(msg.getRobotsList(), +robotsList: jspb.Message.toObjectList(msg.getRobotsList(), proto.viam.app.v1.Robot.toObject, includeInstance) }; @@ -24898,8 +25229,8 @@ proto.viam.app.v1.NewRobotRequest.prototype.toObject = function(opt_includeInsta */ proto.viam.app.v1.NewRobotRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - location: jspb.Message.getFieldWithDefault(msg, 2, "") +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +location: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -25058,7 +25389,7 @@ proto.viam.app.v1.NewRobotResponse.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.NewRobotResponse.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -25188,9 +25519,9 @@ proto.viam.app.v1.UpdateRobotRequest.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.UpdateRobotRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - location: jspb.Message.getFieldWithDefault(msg, 3, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +location: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -25378,7 +25709,7 @@ proto.viam.app.v1.UpdateRobotResponse.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.UpdateRobotResponse.toObject = function(includeInstance, msg) { var f, obj = { - robot: (f = msg.getRobot()) && proto.viam.app.v1.Robot.toObject(includeInstance, f) +robot: (f = msg.getRobot()) && proto.viam.app.v1.Robot.toObject(includeInstance, f) }; if (includeInstance) { @@ -25529,7 +25860,7 @@ proto.viam.app.v1.DeleteRobotRequest.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.DeleteRobotRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -25760,7 +26091,7 @@ proto.viam.app.v1.MarkPartAsMainRequest.prototype.toObject = function(opt_includ */ proto.viam.app.v1.MarkPartAsMainRequest.toObject = function(includeInstance, msg) { var f, obj = { - partId: jspb.Message.getFieldWithDefault(msg, 1, "") +partId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -25991,7 +26322,7 @@ proto.viam.app.v1.MarkPartForRestartRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.MarkPartForRestartRequest.toObject = function(includeInstance, msg) { var f, obj = { - partId: jspb.Message.getFieldWithDefault(msg, 1, "") +partId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -26222,7 +26553,7 @@ proto.viam.app.v1.CreateRobotPartSecretRequest.prototype.toObject = function(opt */ proto.viam.app.v1.CreateRobotPartSecretRequest.toObject = function(includeInstance, msg) { var f, obj = { - partId: jspb.Message.getFieldWithDefault(msg, 1, "") +partId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -26352,7 +26683,7 @@ proto.viam.app.v1.CreateRobotPartSecretResponse.prototype.toObject = function(op */ proto.viam.app.v1.CreateRobotPartSecretResponse.toObject = function(includeInstance, msg) { var f, obj = { - part: (f = msg.getPart()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f) +part: (f = msg.getPart()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f) }; if (includeInstance) { @@ -26503,8 +26834,8 @@ proto.viam.app.v1.DeleteRobotPartSecretRequest.prototype.toObject = function(opt */ proto.viam.app.v1.DeleteRobotPartSecretRequest.toObject = function(includeInstance, msg) { var f, obj = { - partId: jspb.Message.getFieldWithDefault(msg, 1, ""), - secretId: jspb.Message.getFieldWithDefault(msg, 2, "") +partId: jspb.Message.getFieldWithDefault(msg, 1, ""), +secretId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -26764,13 +27095,13 @@ proto.viam.app.v1.Authorization.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.Authorization.toObject = function(includeInstance, msg) { var f, obj = { - authorizationType: jspb.Message.getFieldWithDefault(msg, 1, ""), - authorizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), - resourceType: jspb.Message.getFieldWithDefault(msg, 3, ""), - resourceId: jspb.Message.getFieldWithDefault(msg, 4, ""), - identityId: jspb.Message.getFieldWithDefault(msg, 5, ""), - organizationId: jspb.Message.getFieldWithDefault(msg, 6, ""), - identityType: jspb.Message.getFieldWithDefault(msg, 7, "") +authorizationType: jspb.Message.getFieldWithDefault(msg, 1, ""), +authorizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), +resourceType: jspb.Message.getFieldWithDefault(msg, 3, ""), +resourceId: jspb.Message.getFieldWithDefault(msg, 4, ""), +identityId: jspb.Message.getFieldWithDefault(msg, 5, ""), +organizationId: jspb.Message.getFieldWithDefault(msg, 6, ""), +identityType: jspb.Message.getFieldWithDefault(msg, 7, "") }; if (includeInstance) { @@ -27074,7 +27405,7 @@ proto.viam.app.v1.AddRoleRequest.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.AddRoleRequest.toObject = function(includeInstance, msg) { var f, obj = { - authorization: (f = msg.getAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f) +authorization: (f = msg.getAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f) }; if (includeInstance) { @@ -27326,7 +27657,7 @@ proto.viam.app.v1.RemoveRoleRequest.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.RemoveRoleRequest.toObject = function(includeInstance, msg) { var f, obj = { - authorization: (f = msg.getAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f) +authorization: (f = msg.getAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f) }; if (includeInstance) { @@ -27578,8 +27909,8 @@ proto.viam.app.v1.ChangeRoleRequest.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.ChangeRoleRequest.toObject = function(includeInstance, msg) { var f, obj = { - oldAuthorization: (f = msg.getOldAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f), - newAuthorization: (f = msg.getNewAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f) +oldAuthorization: (f = msg.getOldAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f), +newAuthorization: (f = msg.getNewAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f) }; if (includeInstance) { @@ -27888,8 +28219,8 @@ proto.viam.app.v1.ListAuthorizationsRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.ListAuthorizationsRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - resourceIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +resourceIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -28074,7 +28405,7 @@ proto.viam.app.v1.ListAuthorizationsResponse.prototype.toObject = function(opt_i */ proto.viam.app.v1.ListAuthorizationsResponse.toObject = function(includeInstance, msg) { var f, obj = { - authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), +authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), proto.viam.app.v1.Authorization.toObject, includeInstance) }; @@ -28234,7 +28565,7 @@ proto.viam.app.v1.CheckPermissionsRequest.prototype.toObject = function(opt_incl */ proto.viam.app.v1.CheckPermissionsRequest.toObject = function(includeInstance, msg) { var f, obj = { - permissionsList: jspb.Message.toObjectList(msg.getPermissionsList(), +permissionsList: jspb.Message.toObjectList(msg.getPermissionsList(), proto.viam.app.v1.AuthorizedPermissions.toObject, includeInstance) }; @@ -28394,9 +28725,9 @@ proto.viam.app.v1.AuthorizedPermissions.prototype.toObject = function(opt_includ */ proto.viam.app.v1.AuthorizedPermissions.toObject = function(includeInstance, msg) { var f, obj = { - resourceType: jspb.Message.getFieldWithDefault(msg, 1, ""), - resourceId: jspb.Message.getFieldWithDefault(msg, 2, ""), - permissionsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f +resourceType: jspb.Message.getFieldWithDefault(msg, 1, ""), +resourceId: jspb.Message.getFieldWithDefault(msg, 2, ""), +permissionsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -28610,7 +28941,7 @@ proto.viam.app.v1.CheckPermissionsResponse.prototype.toObject = function(opt_inc */ proto.viam.app.v1.CheckPermissionsResponse.toObject = function(includeInstance, msg) { var f, obj = { - authorizedPermissionsList: jspb.Message.toObjectList(msg.getAuthorizedPermissionsList(), +authorizedPermissionsList: jspb.Message.toObjectList(msg.getAuthorizedPermissionsList(), proto.viam.app.v1.AuthorizedPermissions.toObject, includeInstance) }; @@ -28770,13 +29101,13 @@ proto.viam.app.v1.ModuleVersion.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.ModuleVersion.toObject = function(includeInstance, msg) { var f, obj = { - version: jspb.Message.getFieldWithDefault(msg, 1, ""), - filesList: jspb.Message.toObjectList(msg.getFilesList(), +version: jspb.Message.getFieldWithDefault(msg, 1, ""), +filesList: jspb.Message.toObjectList(msg.getFilesList(), proto.viam.app.v1.Uploads.toObject, includeInstance), - modelsList: jspb.Message.toObjectList(msg.getModelsList(), +modelsList: jspb.Message.toObjectList(msg.getModelsList(), proto.viam.app.v1.Model.toObject, includeInstance), - entrypoint: jspb.Message.getFieldWithDefault(msg, 4, ""), - firstRun: jspb.Message.getFieldWithDefault(msg, 5, "") +entrypoint: jspb.Message.getFieldWithDefault(msg, 4, ""), +firstRun: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -29091,12 +29422,12 @@ proto.viam.app.v1.ModuleMetadata.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.ModuleMetadata.toObject = function(includeInstance, msg) { var f, obj = { - modelsList: jspb.Message.toObjectList(msg.getModelsList(), +modelsList: jspb.Message.toObjectList(msg.getModelsList(), proto.viam.app.v1.Model.toObject, includeInstance), - versionsList: jspb.Message.toObjectList(msg.getVersionsList(), +versionsList: jspb.Message.toObjectList(msg.getVersionsList(), proto.viam.app.v1.ModuleVersion.toObject, includeInstance), - entrypoint: jspb.Message.getFieldWithDefault(msg, 3, ""), - firstRun: jspb.Message.getFieldWithDefault(msg, 4, "") +entrypoint: jspb.Message.getFieldWithDefault(msg, 3, ""), +firstRun: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { @@ -29382,9 +29713,9 @@ proto.viam.app.v1.MLModelMetadata.prototype.toObject = function(opt_includeInsta */ proto.viam.app.v1.MLModelMetadata.toObject = function(includeInstance, msg) { var f, obj = { - versionsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, - modelType: jspb.Message.getFieldWithDefault(msg, 2, 0), - modelFramework: jspb.Message.getFieldWithDefault(msg, 3, 0) +versionsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, +modelType: jspb.Message.getFieldWithDefault(msg, 2, 0), +modelFramework: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -29591,8 +29922,8 @@ proto.viam.app.v1.MLTrainingVersion.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.MLTrainingVersion.toObject = function(includeInstance, msg) { var f, obj = { - version: jspb.Message.getFieldWithDefault(msg, 1, ""), - createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +version: jspb.Message.getFieldWithDefault(msg, 1, ""), +createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -29779,11 +30110,11 @@ proto.viam.app.v1.MLTrainingMetadata.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.MLTrainingMetadata.toObject = function(includeInstance, msg) { var f, obj = { - versionsList: jspb.Message.toObjectList(msg.getVersionsList(), +versionsList: jspb.Message.toObjectList(msg.getVersionsList(), proto.viam.app.v1.MLTrainingVersion.toObject, includeInstance), - modelType: jspb.Message.getFieldWithDefault(msg, 2, 0), - modelFramework: jspb.Message.getFieldWithDefault(msg, 3, 0), - draft: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) +modelType: jspb.Message.getFieldWithDefault(msg, 2, 0), +modelFramework: jspb.Message.getFieldWithDefault(msg, 3, 0), +draft: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) }; if (includeInstance) { @@ -30049,23 +30380,23 @@ proto.viam.app.v1.RegistryItem.prototype.toObject = function(opt_includeInstance */ proto.viam.app.v1.RegistryItem.toObject = function(includeInstance, msg) { var f, obj = { - itemId: jspb.Message.getFieldWithDefault(msg, 1, ""), - organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), - publicNamespace: jspb.Message.getFieldWithDefault(msg, 3, ""), - name: jspb.Message.getFieldWithDefault(msg, 4, ""), - type: jspb.Message.getFieldWithDefault(msg, 5, 0), - visibility: jspb.Message.getFieldWithDefault(msg, 6, 0), - url: jspb.Message.getFieldWithDefault(msg, 7, ""), - description: jspb.Message.getFieldWithDefault(msg, 8, ""), - totalRobotUsage: jspb.Message.getFieldWithDefault(msg, 9, 0), - totalExternalRobotUsage: jspb.Message.getFieldWithDefault(msg, 13, 0), - totalOrganizationUsage: jspb.Message.getFieldWithDefault(msg, 10, 0), - totalExternalOrganizationUsage: jspb.Message.getFieldWithDefault(msg, 14, 0), - moduleMetadata: (f = msg.getModuleMetadata()) && proto.viam.app.v1.ModuleMetadata.toObject(includeInstance, f), - mlModelMetadata: (f = msg.getMlModelMetadata()) && proto.viam.app.v1.MLModelMetadata.toObject(includeInstance, f), - mlTrainingMetadata: (f = msg.getMlTrainingMetadata()) && proto.viam.app.v1.MLTrainingMetadata.toObject(includeInstance, f), - createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +itemId: jspb.Message.getFieldWithDefault(msg, 1, ""), +organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), +publicNamespace: jspb.Message.getFieldWithDefault(msg, 3, ""), +name: jspb.Message.getFieldWithDefault(msg, 4, ""), +type: jspb.Message.getFieldWithDefault(msg, 5, 0), +visibility: jspb.Message.getFieldWithDefault(msg, 6, 0), +url: jspb.Message.getFieldWithDefault(msg, 7, ""), +description: jspb.Message.getFieldWithDefault(msg, 8, ""), +totalRobotUsage: jspb.Message.getFieldWithDefault(msg, 9, 0), +totalExternalRobotUsage: jspb.Message.getFieldWithDefault(msg, 13, 0), +totalOrganizationUsage: jspb.Message.getFieldWithDefault(msg, 10, 0), +totalExternalOrganizationUsage: jspb.Message.getFieldWithDefault(msg, 14, 0), +moduleMetadata: (f = msg.getModuleMetadata()) && proto.viam.app.v1.ModuleMetadata.toObject(includeInstance, f), +mlModelMetadata: (f = msg.getMlModelMetadata()) && proto.viam.app.v1.MLModelMetadata.toObject(includeInstance, f), +mlTrainingMetadata: (f = msg.getMlTrainingMetadata()) && proto.viam.app.v1.MLTrainingMetadata.toObject(includeInstance, f), +createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -30764,7 +31095,7 @@ proto.viam.app.v1.GetRegistryItemRequest.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.GetRegistryItemRequest.toObject = function(includeInstance, msg) { var f, obj = { - itemId: jspb.Message.getFieldWithDefault(msg, 1, "") +itemId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -30894,7 +31225,7 @@ proto.viam.app.v1.GetRegistryItemResponse.prototype.toObject = function(opt_incl */ proto.viam.app.v1.GetRegistryItemResponse.toObject = function(includeInstance, msg) { var f, obj = { - item: (f = msg.getItem()) && proto.viam.app.v1.RegistryItem.toObject(includeInstance, f) +item: (f = msg.getItem()) && proto.viam.app.v1.RegistryItem.toObject(includeInstance, f) }; if (includeInstance) { @@ -31045,9 +31376,9 @@ proto.viam.app.v1.CreateRegistryItemRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.CreateRegistryItemRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - type: jspb.Message.getFieldWithDefault(msg, 3, 0) +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +type: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -31336,11 +31667,11 @@ proto.viam.app.v1.UpdateRegistryItemRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.UpdateRegistryItemRequest.toObject = function(includeInstance, msg) { var f, obj = { - itemId: jspb.Message.getFieldWithDefault(msg, 1, ""), - type: jspb.Message.getFieldWithDefault(msg, 2, 0), - description: jspb.Message.getFieldWithDefault(msg, 3, ""), - visibility: jspb.Message.getFieldWithDefault(msg, 4, 0), - url: jspb.Message.getFieldWithDefault(msg, 5, "") +itemId: jspb.Message.getFieldWithDefault(msg, 1, ""), +type: jspb.Message.getFieldWithDefault(msg, 2, 0), +description: jspb.Message.getFieldWithDefault(msg, 3, ""), +visibility: jspb.Message.getFieldWithDefault(msg, 4, 0), +url: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -31712,14 +32043,14 @@ proto.viam.app.v1.ListRegistryItemsRequest.prototype.toObject = function(opt_inc */ proto.viam.app.v1.ListRegistryItemsRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - typesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - visibilitiesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, - platformsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, - statusesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, - searchTerm: jspb.Message.getFieldWithDefault(msg, 6, ""), - pageToken: jspb.Message.getFieldWithDefault(msg, 7, ""), - publicNamespacesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f +organizationId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, +typesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, +visibilitiesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, +platformsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, +statusesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, +searchTerm: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, +pageToken: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, +publicNamespacesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f }; if (includeInstance) { @@ -32214,7 +32545,7 @@ proto.viam.app.v1.ListRegistryItemsResponse.prototype.toObject = function(opt_in */ proto.viam.app.v1.ListRegistryItemsResponse.toObject = function(includeInstance, msg) { var f, obj = { - itemsList: jspb.Message.toObjectList(msg.getItemsList(), +itemsList: jspb.Message.toObjectList(msg.getItemsList(), proto.viam.app.v1.RegistryItem.toObject, includeInstance) }; @@ -32367,7 +32698,7 @@ proto.viam.app.v1.DeleteRegistryItemRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.DeleteRegistryItemRequest.toObject = function(includeInstance, msg) { var f, obj = { - itemId: jspb.Message.getFieldWithDefault(msg, 1, "") +itemId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -32598,8 +32929,8 @@ proto.viam.app.v1.TransferRegistryItemRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.TransferRegistryItemRequest.toObject = function(includeInstance, msg) { var f, obj = { - itemId: jspb.Message.getFieldWithDefault(msg, 1, ""), - newPublicNamespace: jspb.Message.getFieldWithDefault(msg, 2, "") +itemId: jspb.Message.getFieldWithDefault(msg, 1, ""), +newPublicNamespace: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -32859,8 +33190,8 @@ proto.viam.app.v1.CreateModuleRequest.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.CreateModuleRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, "") +organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -33019,8 +33350,8 @@ proto.viam.app.v1.CreateModuleResponse.prototype.toObject = function(opt_include */ proto.viam.app.v1.CreateModuleResponse.toObject = function(includeInstance, msg) { var f, obj = { - moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), - url: jspb.Message.getFieldWithDefault(msg, 2, "") +moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), +url: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -33186,14 +33517,14 @@ proto.viam.app.v1.UpdateModuleRequest.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.UpdateModuleRequest.toObject = function(includeInstance, msg) { var f, obj = { - moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), - visibility: jspb.Message.getFieldWithDefault(msg, 2, 0), - url: jspb.Message.getFieldWithDefault(msg, 3, ""), - description: jspb.Message.getFieldWithDefault(msg, 4, ""), - modelsList: jspb.Message.toObjectList(msg.getModelsList(), +moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), +visibility: jspb.Message.getFieldWithDefault(msg, 2, 0), +url: jspb.Message.getFieldWithDefault(msg, 3, ""), +description: jspb.Message.getFieldWithDefault(msg, 4, ""), +modelsList: jspb.Message.toObjectList(msg.getModelsList(), proto.viam.app.v1.Model.toObject, includeInstance), - entrypoint: jspb.Message.getFieldWithDefault(msg, 6, ""), - firstRun: jspb.Message.getFieldWithDefault(msg, 7, "") +entrypoint: jspb.Message.getFieldWithDefault(msg, 6, ""), +firstRun: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f }; if (includeInstance) { @@ -33537,7 +33868,7 @@ proto.viam.app.v1.UpdateModuleResponse.prototype.toObject = function(opt_include */ proto.viam.app.v1.UpdateModuleResponse.toObject = function(includeInstance, msg) { var f, obj = { - url: jspb.Message.getFieldWithDefault(msg, 1, "") +url: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -33667,8 +33998,8 @@ proto.viam.app.v1.Model.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.Model.toObject = function(includeInstance, msg) { var f, obj = { - api: jspb.Message.getFieldWithDefault(msg, 1, ""), - model: jspb.Message.getFieldWithDefault(msg, 2, "") +api: jspb.Message.getFieldWithDefault(msg, 1, ""), +model: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -33834,10 +34165,10 @@ proto.viam.app.v1.ModuleFileInfo.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.ModuleFileInfo.toObject = function(includeInstance, msg) { var f, obj = { - moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), - version: jspb.Message.getFieldWithDefault(msg, 2, ""), - platform: jspb.Message.getFieldWithDefault(msg, 3, ""), - platformTagsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f +moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), +version: jspb.Message.getFieldWithDefault(msg, 2, ""), +platform: jspb.Message.getFieldWithDefault(msg, 3, ""), +platformTagsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -34099,8 +34430,8 @@ proto.viam.app.v1.UploadModuleFileRequest.prototype.toObject = function(opt_incl */ proto.viam.app.v1.UploadModuleFileRequest.toObject = function(includeInstance, msg) { var f, obj = { - moduleFileInfo: (f = msg.getModuleFileInfo()) && proto.viam.app.v1.ModuleFileInfo.toObject(includeInstance, f), - file: msg.getFile_asB64() +moduleFileInfo: (f = msg.getModuleFileInfo()) && proto.viam.app.v1.ModuleFileInfo.toObject(includeInstance, f), +file: msg.getFile_asB64() }; if (includeInstance) { @@ -34322,7 +34653,7 @@ proto.viam.app.v1.UploadModuleFileResponse.prototype.toObject = function(opt_inc */ proto.viam.app.v1.UploadModuleFileResponse.toObject = function(includeInstance, msg) { var f, obj = { - url: jspb.Message.getFieldWithDefault(msg, 1, "") +url: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -34452,7 +34783,7 @@ proto.viam.app.v1.GetModuleRequest.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.GetModuleRequest.toObject = function(includeInstance, msg) { var f, obj = { - moduleId: jspb.Message.getFieldWithDefault(msg, 1, "") +moduleId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -34582,7 +34913,7 @@ proto.viam.app.v1.GetModuleResponse.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.GetModuleResponse.toObject = function(includeInstance, msg) { var f, obj = { - module: (f = msg.getModule()) && proto.viam.app.v1.Module.toObject(includeInstance, f) +module: (f = msg.getModule()) && proto.viam.app.v1.Module.toObject(includeInstance, f) }; if (includeInstance) { @@ -34740,21 +35071,21 @@ proto.viam.app.v1.Module.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.Module.toObject = function(includeInstance, msg) { var f, obj = { - moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - visibility: jspb.Message.getFieldWithDefault(msg, 3, 0), - versionsList: jspb.Message.toObjectList(msg.getVersionsList(), +moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +visibility: jspb.Message.getFieldWithDefault(msg, 3, 0), +versionsList: jspb.Message.toObjectList(msg.getVersionsList(), proto.viam.app.v1.VersionHistory.toObject, includeInstance), - url: jspb.Message.getFieldWithDefault(msg, 5, ""), - description: jspb.Message.getFieldWithDefault(msg, 6, ""), - modelsList: jspb.Message.toObjectList(msg.getModelsList(), +url: jspb.Message.getFieldWithDefault(msg, 5, ""), +description: jspb.Message.getFieldWithDefault(msg, 6, ""), +modelsList: jspb.Message.toObjectList(msg.getModelsList(), proto.viam.app.v1.Model.toObject, includeInstance), - totalRobotUsage: jspb.Message.getFieldWithDefault(msg, 8, 0), - totalOrganizationUsage: jspb.Message.getFieldWithDefault(msg, 9, 0), - organizationId: jspb.Message.getFieldWithDefault(msg, 10, ""), - entrypoint: jspb.Message.getFieldWithDefault(msg, 11, ""), - publicNamespace: jspb.Message.getFieldWithDefault(msg, 12, ""), - firstRun: jspb.Message.getFieldWithDefault(msg, 13, "") +totalRobotUsage: jspb.Message.getFieldWithDefault(msg, 8, 0), +totalOrganizationUsage: jspb.Message.getFieldWithDefault(msg, 9, 0), +organizationId: jspb.Message.getFieldWithDefault(msg, 10, ""), +entrypoint: jspb.Message.getFieldWithDefault(msg, 11, ""), +publicNamespace: jspb.Message.getFieldWithDefault(msg, 12, ""), +firstRun: (f = jspb.Message.getField(msg, 13)) == null ? undefined : f }; if (includeInstance) { @@ -35301,13 +35632,13 @@ proto.viam.app.v1.VersionHistory.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.VersionHistory.toObject = function(includeInstance, msg) { var f, obj = { - version: jspb.Message.getFieldWithDefault(msg, 1, ""), - filesList: jspb.Message.toObjectList(msg.getFilesList(), +version: jspb.Message.getFieldWithDefault(msg, 1, ""), +filesList: jspb.Message.toObjectList(msg.getFilesList(), proto.viam.app.v1.Uploads.toObject, includeInstance), - modelsList: jspb.Message.toObjectList(msg.getModelsList(), +modelsList: jspb.Message.toObjectList(msg.getModelsList(), proto.viam.app.v1.Model.toObject, includeInstance), - entrypoint: jspb.Message.getFieldWithDefault(msg, 4, ""), - firstRun: jspb.Message.getFieldWithDefault(msg, 5, "") +entrypoint: jspb.Message.getFieldWithDefault(msg, 4, ""), +firstRun: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -35615,8 +35946,8 @@ proto.viam.app.v1.Uploads.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.Uploads.toObject = function(includeInstance, msg) { var f, obj = { - platform: jspb.Message.getFieldWithDefault(msg, 1, ""), - uploadedAt: (f = msg.getUploadedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +platform: jspb.Message.getFieldWithDefault(msg, 1, ""), +uploadedAt: (f = msg.getUploadedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -35796,7 +36127,7 @@ proto.viam.app.v1.ListModulesRequest.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.ListModulesRequest.toObject = function(includeInstance, msg) { var f, obj = { - organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") +organizationId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -35951,7 +36282,7 @@ proto.viam.app.v1.ListModulesResponse.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.ListModulesResponse.toObject = function(includeInstance, msg) { var f, obj = { - modulesList: jspb.Message.toObjectList(msg.getModulesList(), +modulesList: jspb.Message.toObjectList(msg.getModulesList(), proto.viam.app.v1.Module.toObject, includeInstance) }; @@ -36104,7 +36435,7 @@ proto.viam.app.v1.GetUserIDByEmailRequest.prototype.toObject = function(opt_incl */ proto.viam.app.v1.GetUserIDByEmailRequest.toObject = function(includeInstance, msg) { var f, obj = { - email: jspb.Message.getFieldWithDefault(msg, 1, "") +email: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -36234,7 +36565,7 @@ proto.viam.app.v1.GetUserIDByEmailResponse.prototype.toObject = function(opt_inc */ proto.viam.app.v1.GetUserIDByEmailResponse.toObject = function(includeInstance, msg) { var f, obj = { - userId: jspb.Message.getFieldWithDefault(msg, 1, "") +userId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -36364,7 +36695,7 @@ proto.viam.app.v1.ListOrganizationsByUserRequest.prototype.toObject = function(o */ proto.viam.app.v1.ListOrganizationsByUserRequest.toObject = function(includeInstance, msg) { var f, obj = { - userId: jspb.Message.getFieldWithDefault(msg, 1, "") +userId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -36494,8 +36825,8 @@ proto.viam.app.v1.OrgDetails.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.OrgDetails.toObject = function(includeInstance, msg) { var f, obj = { - orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), - orgName: jspb.Message.getFieldWithDefault(msg, 2, "") +orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), +orgName: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -36661,7 +36992,7 @@ proto.viam.app.v1.ListOrganizationsByUserResponse.prototype.toObject = function( */ proto.viam.app.v1.ListOrganizationsByUserResponse.toObject = function(includeInstance, msg) { var f, obj = { - orgsList: jspb.Message.toObjectList(msg.getOrgsList(), +orgsList: jspb.Message.toObjectList(msg.getOrgsList(), proto.viam.app.v1.OrgDetails.toObject, includeInstance) }; @@ -36821,9 +37152,9 @@ proto.viam.app.v1.CreateKeyRequest.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.CreateKeyRequest.toObject = function(includeInstance, msg) { var f, obj = { - authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), +authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), proto.viam.app.v1.Authorization.toObject, includeInstance), - name: jspb.Message.getFieldWithDefault(msg, 2, "") +name: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -37004,8 +37335,8 @@ proto.viam.app.v1.CreateKeyResponse.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.CreateKeyResponse.toObject = function(includeInstance, msg) { var f, obj = { - key: jspb.Message.getFieldWithDefault(msg, 1, ""), - id: jspb.Message.getFieldWithDefault(msg, 2, "") +key: jspb.Message.getFieldWithDefault(msg, 1, ""), +id: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -37164,7 +37495,7 @@ proto.viam.app.v1.DeleteKeyRequest.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.DeleteKeyRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -37395,8 +37726,8 @@ proto.viam.app.v1.RenameKeyRequest.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.RenameKeyRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -37555,8 +37886,8 @@ proto.viam.app.v1.RenameKeyResponse.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.RenameKeyResponse.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -37715,11 +38046,11 @@ proto.viam.app.v1.AuthorizationDetails.prototype.toObject = function(opt_include */ proto.viam.app.v1.AuthorizationDetails.toObject = function(includeInstance, msg) { var f, obj = { - authorizationType: jspb.Message.getFieldWithDefault(msg, 1, ""), - authorizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), - resourceType: jspb.Message.getFieldWithDefault(msg, 3, ""), - resourceId: jspb.Message.getFieldWithDefault(msg, 4, ""), - orgId: jspb.Message.getFieldWithDefault(msg, 5, "") +authorizationType: jspb.Message.getFieldWithDefault(msg, 1, ""), +authorizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), +resourceType: jspb.Message.getFieldWithDefault(msg, 3, ""), +resourceId: jspb.Message.getFieldWithDefault(msg, 4, ""), +orgId: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -37972,8 +38303,8 @@ proto.viam.app.v1.APIKeyWithAuthorizations.prototype.toObject = function(opt_inc */ proto.viam.app.v1.APIKeyWithAuthorizations.toObject = function(includeInstance, msg) { var f, obj = { - apiKey: (f = msg.getApiKey()) && proto.viam.app.v1.APIKey.toObject(includeInstance, f), - authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), +apiKey: (f = msg.getApiKey()) && proto.viam.app.v1.APIKey.toObject(includeInstance, f), +authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), proto.viam.app.v1.AuthorizationDetails.toObject, includeInstance) }; @@ -38176,7 +38507,7 @@ proto.viam.app.v1.ListKeysRequest.prototype.toObject = function(opt_includeInsta */ proto.viam.app.v1.ListKeysRequest.toObject = function(includeInstance, msg) { var f, obj = { - orgId: jspb.Message.getFieldWithDefault(msg, 1, "") +orgId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -38313,7 +38644,7 @@ proto.viam.app.v1.ListKeysResponse.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.ListKeysResponse.toObject = function(includeInstance, msg) { var f, obj = { - apiKeysList: jspb.Message.toObjectList(msg.getApiKeysList(), +apiKeysList: jspb.Message.toObjectList(msg.getApiKeysList(), proto.viam.app.v1.APIKeyWithAuthorizations.toObject, includeInstance) }; @@ -38466,7 +38797,7 @@ proto.viam.app.v1.RotateKeyRequest.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.RotateKeyRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -38596,8 +38927,8 @@ proto.viam.app.v1.RotateKeyResponse.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.RotateKeyResponse.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - key: jspb.Message.getFieldWithDefault(msg, 2, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +key: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -38756,7 +39087,7 @@ proto.viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest.prototype.toObje */ proto.viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -38886,8 +39217,8 @@ proto.viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse.prototype.toObj */ proto.viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - key: jspb.Message.getFieldWithDefault(msg, 2, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +key: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/app/v1/app_pb_service.d.ts b/gen/js/app/v1/app_pb_service.d.ts index 007331ca..2dd79a0a 100644 --- a/gen/js/app/v1/app_pb_service.d.ts +++ b/gen/js/app/v1/app_pb_service.d.ts @@ -166,6 +166,15 @@ type AppServiceUpdateBillingService = { readonly responseType: typeof app_v1_app_pb.UpdateBillingServiceResponse; }; +type AppServiceGetBillingService = { + readonly methodName: string; + readonly service: typeof AppService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof app_v1_app_pb.GetBillingServiceRequest; + readonly responseType: typeof app_v1_app_pb.GetBillingServiceResponse; +}; + type AppServiceOrganizationSetSupportEmail = { readonly methodName: string; readonly service: typeof AppService; @@ -726,6 +735,7 @@ export class AppService { static readonly EnableBillingService: AppServiceEnableBillingService; static readonly DisableBillingService: AppServiceDisableBillingService; static readonly UpdateBillingService: AppServiceUpdateBillingService; + static readonly GetBillingService: AppServiceGetBillingService; static readonly OrganizationSetSupportEmail: AppServiceOrganizationSetSupportEmail; static readonly OrganizationGetSupportEmail: AppServiceOrganizationGetSupportEmail; static readonly CreateLocation: AppServiceCreateLocation; @@ -982,6 +992,15 @@ export class AppServiceClient { requestMessage: app_v1_app_pb.UpdateBillingServiceRequest, callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.UpdateBillingServiceResponse|null) => void ): UnaryResponse; + getBillingService( + requestMessage: app_v1_app_pb.GetBillingServiceRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetBillingServiceResponse|null) => void + ): UnaryResponse; + getBillingService( + requestMessage: app_v1_app_pb.GetBillingServiceRequest, + callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetBillingServiceResponse|null) => void + ): UnaryResponse; organizationSetSupportEmail( requestMessage: app_v1_app_pb.OrganizationSetSupportEmailRequest, metadata: grpc.Metadata, diff --git a/gen/js/app/v1/app_pb_service.js b/gen/js/app/v1/app_pb_service.js index 8d21edd1..f85d7c7c 100644 --- a/gen/js/app/v1/app_pb_service.js +++ b/gen/js/app/v1/app_pb_service.js @@ -172,6 +172,15 @@ AppService.UpdateBillingService = { responseType: app_v1_app_pb.UpdateBillingServiceResponse }; +AppService.GetBillingService = { + methodName: "GetBillingService", + service: AppService, + requestStream: false, + responseStream: false, + requestType: app_v1_app_pb.GetBillingServiceRequest, + responseType: app_v1_app_pb.GetBillingServiceResponse +}; + AppService.OrganizationSetSupportEmail = { methodName: "OrganizationSetSupportEmail", service: AppService, @@ -1277,6 +1286,37 @@ AppServiceClient.prototype.updateBillingService = function updateBillingService( }; }; +AppServiceClient.prototype.getBillingService = function getBillingService(requestMessage, metadata, callback) { + if (arguments.length === 2) { + callback = arguments[1]; + } + var client = grpc.unary(AppService.GetBillingService, { + request: requestMessage, + host: this.serviceHost, + metadata: metadata, + transport: this.options.transport, + debug: this.options.debug, + onEnd: function (response) { + if (callback) { + if (response.status !== grpc.Code.OK) { + var err = new Error(response.statusMessage); + err.code = response.status; + err.metadata = response.trailers; + callback(err, null); + } else { + callback(null, response.message); + } + } + } + }); + return { + cancel: function () { + callback = null; + client.close(); + } + }; +}; + AppServiceClient.prototype.organizationSetSupportEmail = function organizationSetSupportEmail(requestMessage, metadata, callback) { if (arguments.length === 2) { callback = arguments[1]; diff --git a/gen/js/app/v1/billing_pb.js b/gen/js/app/v1/billing_pb.js index 18873586..e0c7cfeb 100644 --- a/gen/js/app/v1/billing_pb.js +++ b/gen/js/app/v1/billing_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb); @@ -382,12 +388,12 @@ proto.viam.app.v1.InvoiceSummary.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.InvoiceSummary.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - invoiceDate: (f = msg.getInvoiceDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - invoiceAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - status: jspb.Message.getFieldWithDefault(msg, 4, ""), - dueDate: (f = msg.getDueDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - paidDate: (f = msg.getPaidDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +invoiceDate: (f = msg.getInvoiceDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +invoiceAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +status: jspb.Message.getFieldWithDefault(msg, 4, ""), +dueDate: (f = msg.getDueDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +paidDate: (f = msg.getPaidDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -725,8 +731,8 @@ proto.viam.app.v1.PaymentMethodCard.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.PaymentMethodCard.toObject = function(includeInstance, msg) { var f, obj = { - brand: jspb.Message.getFieldWithDefault(msg, 1, ""), - lastFourDigits: jspb.Message.getFieldWithDefault(msg, 2, "") +brand: jspb.Message.getFieldWithDefault(msg, 1, ""), +lastFourDigits: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -885,7 +891,7 @@ proto.viam.app.v1.GetCurrentMonthUsageRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.GetCurrentMonthUsageRequest.toObject = function(includeInstance, msg) { var f, obj = { - orgId: jspb.Message.getFieldWithDefault(msg, 1, "") +orgId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1015,8 +1021,8 @@ proto.viam.app.v1.UsageCost.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.UsageCost.toObject = function(includeInstance, msg) { var f, obj = { - resourceType: jspb.Message.getFieldWithDefault(msg, 1, 0), - cost: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) +resourceType: jspb.Message.getFieldWithDefault(msg, 1, 0), +cost: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -1175,9 +1181,9 @@ proto.viam.app.v1.ResourceUsageCostsBySource.prototype.toObject = function(opt_i */ proto.viam.app.v1.ResourceUsageCostsBySource.toObject = function(includeInstance, msg) { var f, obj = { - sourceType: jspb.Message.getFieldWithDefault(msg, 1, 0), - resourceUsageCosts: (f = msg.getResourceUsageCosts()) && proto.viam.app.v1.ResourceUsageCosts.toObject(includeInstance, f), - tierName: jspb.Message.getFieldWithDefault(msg, 3, "") +sourceType: jspb.Message.getFieldWithDefault(msg, 1, 0), +resourceUsageCosts: (f = msg.getResourceUsageCosts()) && proto.viam.app.v1.ResourceUsageCosts.toObject(includeInstance, f), +tierName: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1393,11 +1399,11 @@ proto.viam.app.v1.ResourceUsageCosts.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.ResourceUsageCosts.toObject = function(includeInstance, msg) { var f, obj = { - usageCostsList: jspb.Message.toObjectList(msg.getUsageCostsList(), +usageCostsList: jspb.Message.toObjectList(msg.getUsageCostsList(), proto.viam.app.v1.UsageCost.toObject, includeInstance), - discount: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - totalWithDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - totalWithoutDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) +discount: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +totalWithDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +totalWithoutDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -1643,22 +1649,22 @@ proto.viam.app.v1.GetCurrentMonthUsageResponse.prototype.toObject = function(opt */ proto.viam.app.v1.GetCurrentMonthUsageResponse.toObject = function(includeInstance, msg) { var f, obj = { - startDate: (f = msg.getStartDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - endDate: (f = msg.getEndDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - resourceUsageCostsBySourceList: jspb.Message.toObjectList(msg.getResourceUsageCostsBySourceList(), +startDate: (f = msg.getStartDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +endDate: (f = msg.getEndDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +resourceUsageCostsBySourceList: jspb.Message.toObjectList(msg.getResourceUsageCostsBySourceList(), proto.viam.app.v1.ResourceUsageCostsBySource.toObject, includeInstance), - subtotal: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0), - cloudStorageUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - dataUploadUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), - dataEgresUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - remoteControlUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0), - standardComputeUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0), - discountAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0), - totalUsageWithDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0), - totalUsageWithoutDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), - perMachineUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), - binaryDataCloudStorageUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0), - otherCloudStorageUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0) +subtotal: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0), +cloudStorageUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +dataUploadUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), +dataEgresUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), +remoteControlUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0), +standardComputeUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0), +discountAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0), +totalUsageWithDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0), +totalUsageWithoutDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), +perMachineUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), +binaryDataCloudStorageUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0), +otherCloudStorageUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0) }; if (includeInstance) { @@ -2258,7 +2264,7 @@ proto.viam.app.v1.GetOrgBillingInformationRequest.prototype.toObject = function( */ proto.viam.app.v1.GetOrgBillingInformationRequest.toObject = function(includeInstance, msg) { var f, obj = { - orgId: jspb.Message.getFieldWithDefault(msg, 1, "") +orgId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2388,10 +2394,10 @@ proto.viam.app.v1.GetOrgBillingInformationResponse.prototype.toObject = function */ proto.viam.app.v1.GetOrgBillingInformationResponse.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, 0), - billingEmail: jspb.Message.getFieldWithDefault(msg, 2, ""), - method: (f = msg.getMethod()) && proto.viam.app.v1.PaymentMethodCard.toObject(includeInstance, f), - billingTier: jspb.Message.getFieldWithDefault(msg, 4, "") +type: jspb.Message.getFieldWithDefault(msg, 1, 0), +billingEmail: jspb.Message.getFieldWithDefault(msg, 2, ""), +method: (f = msg.getMethod()) && proto.viam.app.v1.PaymentMethodCard.toObject(includeInstance, f), +billingTier: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { @@ -2647,7 +2653,7 @@ proto.viam.app.v1.GetInvoicesSummaryRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.GetInvoicesSummaryRequest.toObject = function(includeInstance, msg) { var f, obj = { - orgId: jspb.Message.getFieldWithDefault(msg, 1, "") +orgId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2784,8 +2790,8 @@ proto.viam.app.v1.GetInvoicesSummaryResponse.prototype.toObject = function(opt_i */ proto.viam.app.v1.GetInvoicesSummaryResponse.toObject = function(includeInstance, msg) { var f, obj = { - outstandingBalance: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - invoicesList: jspb.Message.toObjectList(msg.getInvoicesList(), +outstandingBalance: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +invoicesList: jspb.Message.toObjectList(msg.getInvoicesList(), proto.viam.app.v1.InvoiceSummary.toObject, includeInstance) }; @@ -2967,8 +2973,8 @@ proto.viam.app.v1.GetInvoicePdfRequest.prototype.toObject = function(opt_include */ proto.viam.app.v1.GetInvoicePdfRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - orgId: jspb.Message.getFieldWithDefault(msg, 2, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +orgId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -3127,7 +3133,7 @@ proto.viam.app.v1.GetInvoicePdfResponse.prototype.toObject = function(opt_includ */ proto.viam.app.v1.GetInvoicePdfResponse.toObject = function(includeInstance, msg) { var f, obj = { - chunk: msg.getChunk_asB64() +chunk: msg.getChunk_asB64() }; if (includeInstance) { @@ -3281,8 +3287,8 @@ proto.viam.app.v1.SendPaymentRequiredEmailRequest.prototype.toObject = function( */ proto.viam.app.v1.SendPaymentRequiredEmailRequest.toObject = function(includeInstance, msg) { var f, obj = { - customerOrgId: jspb.Message.getFieldWithDefault(msg, 1, ""), - billingOwnerOrgId: jspb.Message.getFieldWithDefault(msg, 2, "") +customerOrgId: jspb.Message.getFieldWithDefault(msg, 1, ""), +billingOwnerOrgId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/app/v1/end_user_pb.js b/gen/js/app/v1/end_user_pb.js index 8281b163..75c84229 100644 --- a/gen/js/app/v1/end_user_pb.js +++ b/gen/js/app/v1/end_user_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.viam.app.v1.AcceptLegalRequest', null, global); goog.exportSymbol('proto.viam.app.v1.AcceptLegalResponse', null, global); @@ -368,7 +374,7 @@ proto.viam.app.v1.IsLegalAcceptedResponse.prototype.toObject = function(opt_incl */ proto.viam.app.v1.IsLegalAcceptedResponse.toObject = function(includeInstance, msg) { var f, obj = { - acceptedLegal: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) +acceptedLegal: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -707,11 +713,11 @@ proto.viam.app.v1.RegisterAuthApplicationRequest.prototype.toObject = function(o */ proto.viam.app.v1.RegisterAuthApplicationRequest.toObject = function(includeInstance, msg) { var f, obj = { - applicationName: jspb.Message.getFieldWithDefault(msg, 1, ""), - orgId: jspb.Message.getFieldWithDefault(msg, 2, ""), - originUrisList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, - redirectUrisList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, - logoutUri: jspb.Message.getFieldWithDefault(msg, 5, "") +applicationName: jspb.Message.getFieldWithDefault(msg, 1, ""), +orgId: jspb.Message.getFieldWithDefault(msg, 2, ""), +originUrisList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, +redirectUrisList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, +logoutUri: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -995,9 +1001,9 @@ proto.viam.app.v1.RegisterAuthApplicationResponse.prototype.toObject = function( */ proto.viam.app.v1.RegisterAuthApplicationResponse.toObject = function(includeInstance, msg) { var f, obj = { - applicationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - applicationName: jspb.Message.getFieldWithDefault(msg, 2, ""), - clientSecret: jspb.Message.getFieldWithDefault(msg, 3, "") +applicationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +applicationName: jspb.Message.getFieldWithDefault(msg, 2, ""), +clientSecret: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1192,12 +1198,12 @@ proto.viam.app.v1.UpdateAuthApplicationRequest.prototype.toObject = function(opt */ proto.viam.app.v1.UpdateAuthApplicationRequest.toObject = function(includeInstance, msg) { var f, obj = { - orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), - applicationId: jspb.Message.getFieldWithDefault(msg, 2, ""), - applicationName: jspb.Message.getFieldWithDefault(msg, 3, ""), - originUrisList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, - redirectUrisList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, - logoutUri: jspb.Message.getFieldWithDefault(msg, 6, "") +orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), +applicationId: jspb.Message.getFieldWithDefault(msg, 2, ""), +applicationName: jspb.Message.getFieldWithDefault(msg, 3, ""), +originUrisList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, +redirectUrisList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, +logoutUri: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { @@ -1510,8 +1516,8 @@ proto.viam.app.v1.UpdateAuthApplicationResponse.prototype.toObject = function(op */ proto.viam.app.v1.UpdateAuthApplicationResponse.toObject = function(includeInstance, msg) { var f, obj = { - applicationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - applicationName: jspb.Message.getFieldWithDefault(msg, 2, "") +applicationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +applicationName: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1670,8 +1676,8 @@ proto.viam.app.v1.GetAuthApplicationRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.GetAuthApplicationRequest.toObject = function(includeInstance, msg) { var f, obj = { - orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), - applicationId: jspb.Message.getFieldWithDefault(msg, 2, "") +orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), +applicationId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1837,12 +1843,12 @@ proto.viam.app.v1.GetAuthApplicationResponse.prototype.toObject = function(opt_i */ proto.viam.app.v1.GetAuthApplicationResponse.toObject = function(includeInstance, msg) { var f, obj = { - applicationId: jspb.Message.getFieldWithDefault(msg, 1, ""), - applicationName: jspb.Message.getFieldWithDefault(msg, 2, ""), - clientSecret: jspb.Message.getFieldWithDefault(msg, 3, ""), - originUrisList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, - redirectUrisList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, - logoutUri: jspb.Message.getFieldWithDefault(msg, 6, "") +applicationId: jspb.Message.getFieldWithDefault(msg, 1, ""), +applicationName: jspb.Message.getFieldWithDefault(msg, 2, ""), +clientSecret: jspb.Message.getFieldWithDefault(msg, 3, ""), +originUrisList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, +redirectUrisList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, +logoutUri: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { diff --git a/gen/js/app/v1/robot_pb.js b/gen/js/app/v1/robot_pb.js index ec8e7e34..c5e92b6a 100644 --- a/gen/js/app/v1/robot_pb.js +++ b/gen/js/app/v1/robot_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -944,30 +950,30 @@ proto.viam.app.v1.RobotConfig.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.RobotConfig.toObject = function(includeInstance, msg) { var f, obj = { - cloud: (f = msg.getCloud()) && proto.viam.app.v1.CloudConfig.toObject(includeInstance, f), - remotesList: jspb.Message.toObjectList(msg.getRemotesList(), +cloud: (f = msg.getCloud()) && proto.viam.app.v1.CloudConfig.toObject(includeInstance, f), +remotesList: jspb.Message.toObjectList(msg.getRemotesList(), proto.viam.app.v1.RemoteConfig.toObject, includeInstance), - componentsList: jspb.Message.toObjectList(msg.getComponentsList(), +componentsList: jspb.Message.toObjectList(msg.getComponentsList(), proto.viam.app.v1.ComponentConfig.toObject, includeInstance), - processesList: jspb.Message.toObjectList(msg.getProcessesList(), +processesList: jspb.Message.toObjectList(msg.getProcessesList(), proto.viam.app.v1.ProcessConfig.toObject, includeInstance), - servicesList: jspb.Message.toObjectList(msg.getServicesList(), +servicesList: jspb.Message.toObjectList(msg.getServicesList(), proto.viam.app.v1.ServiceConfig.toObject, includeInstance), - network: (f = msg.getNetwork()) && proto.viam.app.v1.NetworkConfig.toObject(includeInstance, f), - auth: (f = msg.getAuth()) && proto.viam.app.v1.AuthConfig.toObject(includeInstance, f), - debug: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), - modulesList: jspb.Message.toObjectList(msg.getModulesList(), +network: (f = msg.getNetwork()) && proto.viam.app.v1.NetworkConfig.toObject(includeInstance, f), +auth: (f = msg.getAuth()) && proto.viam.app.v1.AuthConfig.toObject(includeInstance, f), +debug: (f = jspb.Message.getBooleanField(msg, 8)) == null ? undefined : f, +modulesList: jspb.Message.toObjectList(msg.getModulesList(), proto.viam.app.v1.ModuleConfig.toObject, includeInstance), - disablePartialStart: jspb.Message.getBooleanFieldWithDefault(msg, 10, false), - packagesList: jspb.Message.toObjectList(msg.getPackagesList(), +disablePartialStart: (f = jspb.Message.getBooleanField(msg, 10)) == null ? undefined : f, +packagesList: jspb.Message.toObjectList(msg.getPackagesList(), proto.viam.app.v1.PackageConfig.toObject, includeInstance), - overwriteFragmentStatusList: jspb.Message.toObjectList(msg.getOverwriteFragmentStatusList(), +overwriteFragmentStatusList: jspb.Message.toObjectList(msg.getOverwriteFragmentStatusList(), proto.viam.app.v1.AppValidationStatus.toObject, includeInstance), - enableWebProfile: jspb.Message.getBooleanFieldWithDefault(msg, 13, false), - logList: jspb.Message.toObjectList(msg.getLogList(), +enableWebProfile: jspb.Message.getBooleanFieldWithDefault(msg, 13, false), +logList: jspb.Message.toObjectList(msg.getLogList(), proto.viam.app.v1.LogPatternConfig.toObject, includeInstance), - revision: jspb.Message.getFieldWithDefault(msg, 15, ""), - maintenance: (f = msg.getMaintenance()) && proto.viam.app.v1.MaintenanceConfig.toObject(includeInstance, f) +revision: jspb.Message.getFieldWithDefault(msg, 15, ""), +maintenance: (f = msg.getMaintenance()) && proto.viam.app.v1.MaintenanceConfig.toObject(includeInstance, f) }; if (includeInstance) { @@ -1828,8 +1834,8 @@ proto.viam.app.v1.LogPatternConfig.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.LogPatternConfig.toObject = function(includeInstance, msg) { var f, obj = { - pattern: jspb.Message.getFieldWithDefault(msg, 1, ""), - level: jspb.Message.getFieldWithDefault(msg, 2, "") +pattern: jspb.Message.getFieldWithDefault(msg, 1, ""), +level: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1988,8 +1994,8 @@ proto.viam.app.v1.LocationSecret.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.LocationSecret.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - secret: jspb.Message.getFieldWithDefault(msg, 2, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +secret: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -2148,7 +2154,7 @@ proto.viam.app.v1.AppValidationStatus.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.AppValidationStatus.toObject = function(includeInstance, msg) { var f, obj = { - error: jspb.Message.getFieldWithDefault(msg, 1, "") +error: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2285,19 +2291,19 @@ proto.viam.app.v1.CloudConfig.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.CloudConfig.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - fqdn: jspb.Message.getFieldWithDefault(msg, 2, ""), - localFqdn: jspb.Message.getFieldWithDefault(msg, 3, ""), - managedBy: jspb.Message.getFieldWithDefault(msg, 4, ""), - signalingAddress: jspb.Message.getFieldWithDefault(msg, 5, ""), - signalingInsecure: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), - locationSecret: jspb.Message.getFieldWithDefault(msg, 7, ""), - secret: jspb.Message.getFieldWithDefault(msg, 8, ""), - locationSecretsList: jspb.Message.toObjectList(msg.getLocationSecretsList(), +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +fqdn: jspb.Message.getFieldWithDefault(msg, 2, ""), +localFqdn: jspb.Message.getFieldWithDefault(msg, 3, ""), +managedBy: jspb.Message.getFieldWithDefault(msg, 4, ""), +signalingAddress: jspb.Message.getFieldWithDefault(msg, 5, ""), +signalingInsecure: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), +locationSecret: jspb.Message.getFieldWithDefault(msg, 7, ""), +secret: jspb.Message.getFieldWithDefault(msg, 8, ""), +locationSecretsList: jspb.Message.toObjectList(msg.getLocationSecretsList(), proto.viam.app.v1.LocationSecret.toObject, includeInstance), - primaryOrgId: jspb.Message.getFieldWithDefault(msg, 10, ""), - locationId: jspb.Message.getFieldWithDefault(msg, 11, ""), - machineId: jspb.Message.getFieldWithDefault(msg, 12, "") +primaryOrgId: jspb.Message.getFieldWithDefault(msg, 10, ""), +locationId: jspb.Message.getFieldWithDefault(msg, 11, ""), +machineId: jspb.Message.getFieldWithDefault(msg, 12, "") }; if (includeInstance) { @@ -2775,17 +2781,17 @@ proto.viam.app.v1.ComponentConfig.prototype.toObject = function(opt_includeInsta */ proto.viam.app.v1.ComponentConfig.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - namespace: jspb.Message.getFieldWithDefault(msg, 2, ""), - type: jspb.Message.getFieldWithDefault(msg, 3, ""), - model: jspb.Message.getFieldWithDefault(msg, 4, ""), - frame: (f = msg.getFrame()) && proto.viam.app.v1.Frame.toObject(includeInstance, f), - dependsOnList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, - serviceConfigsList: jspb.Message.toObjectList(msg.getServiceConfigsList(), +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +namespace: jspb.Message.getFieldWithDefault(msg, 2, ""), +type: jspb.Message.getFieldWithDefault(msg, 3, ""), +model: jspb.Message.getFieldWithDefault(msg, 4, ""), +frame: (f = msg.getFrame()) && proto.viam.app.v1.Frame.toObject(includeInstance, f), +dependsOnList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, +serviceConfigsList: jspb.Message.toObjectList(msg.getServiceConfigsList(), proto.viam.app.v1.ResourceLevelServiceConfig.toObject, includeInstance), - attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - api: jspb.Message.getFieldWithDefault(msg, 9, ""), - logConfiguration: (f = msg.getLogConfiguration()) && proto.viam.app.v1.LogConfiguration.toObject(includeInstance, f) +attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +api: jspb.Message.getFieldWithDefault(msg, 9, ""), +logConfiguration: (f = msg.getLogConfiguration()) && proto.viam.app.v1.LogConfiguration.toObject(includeInstance, f) }; if (includeInstance) { @@ -3280,8 +3286,8 @@ proto.viam.app.v1.ResourceLevelServiceConfig.prototype.toObject = function(opt_i */ proto.viam.app.v1.ResourceLevelServiceConfig.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +type: jspb.Message.getFieldWithDefault(msg, 1, ""), +attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3468,16 +3474,16 @@ proto.viam.app.v1.ProcessConfig.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.ProcessConfig.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - argsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, - cwd: jspb.Message.getFieldWithDefault(msg, 4, ""), - oneShot: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), - log: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), - stopSignal: jspb.Message.getFieldWithDefault(msg, 7, 0), - stopTimeout: (f = msg.getStopTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), - envMap: (f = msg.getEnvMap()) ? f.toObject(includeInstance, undefined) : [], - username: jspb.Message.getFieldWithDefault(msg, 10, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +argsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, +cwd: jspb.Message.getFieldWithDefault(msg, 4, ""), +oneShot: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), +log: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), +stopSignal: jspb.Message.getFieldWithDefault(msg, 7, 0), +stopTimeout: (f = msg.getStopTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), +envMap: (f = msg.getEnvMap()) ? f.toObject(includeInstance, undefined) : [], +username: jspb.Message.getFieldWithDefault(msg, 10, "") }; if (includeInstance) { @@ -3858,7 +3864,8 @@ proto.viam.app.v1.ProcessConfig.prototype.getEnvMap = function(opt_noLazyCreate) */ proto.viam.app.v1.ProcessConfig.prototype.clearEnvMap = function() { this.getEnvMap().clear(); - return this;}; + return this; +}; /** @@ -3918,16 +3925,16 @@ proto.viam.app.v1.ServiceConfig.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.ServiceConfig.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - namespace: jspb.Message.getFieldWithDefault(msg, 2, ""), - type: jspb.Message.getFieldWithDefault(msg, 3, ""), - attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - dependsOnList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, - model: jspb.Message.getFieldWithDefault(msg, 6, ""), - api: jspb.Message.getFieldWithDefault(msg, 9, ""), - serviceConfigsList: jspb.Message.toObjectList(msg.getServiceConfigsList(), +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +namespace: jspb.Message.getFieldWithDefault(msg, 2, ""), +type: jspb.Message.getFieldWithDefault(msg, 3, ""), +attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +dependsOnList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, +model: jspb.Message.getFieldWithDefault(msg, 6, ""), +api: jspb.Message.getFieldWithDefault(msg, 9, ""), +serviceConfigsList: jspb.Message.toObjectList(msg.getServiceConfigsList(), proto.viam.app.v1.ResourceLevelServiceConfig.toObject, includeInstance), - logConfiguration: (f = msg.getLogConfiguration()) && proto.viam.app.v1.LogConfiguration.toObject(includeInstance, f) +logConfiguration: (f = msg.getLogConfiguration()) && proto.viam.app.v1.LogConfiguration.toObject(includeInstance, f) }; if (includeInstance) { @@ -4372,11 +4379,11 @@ proto.viam.app.v1.NetworkConfig.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.NetworkConfig.toObject = function(includeInstance, msg) { var f, obj = { - fqdn: jspb.Message.getFieldWithDefault(msg, 1, ""), - bindAddress: jspb.Message.getFieldWithDefault(msg, 2, ""), - tlsCertFile: jspb.Message.getFieldWithDefault(msg, 3, ""), - tlsKeyFile: jspb.Message.getFieldWithDefault(msg, 4, ""), - sessions: (f = msg.getSessions()) && proto.viam.app.v1.SessionsConfig.toObject(includeInstance, f) +fqdn: jspb.Message.getFieldWithDefault(msg, 1, ""), +bindAddress: jspb.Message.getFieldWithDefault(msg, 2, ""), +tlsCertFile: jspb.Message.getFieldWithDefault(msg, 3, ""), +tlsKeyFile: jspb.Message.getFieldWithDefault(msg, 4, ""), +sessions: (f = msg.getSessions()) && proto.viam.app.v1.SessionsConfig.toObject(includeInstance, f) }; if (includeInstance) { @@ -4643,7 +4650,7 @@ proto.viam.app.v1.SessionsConfig.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.SessionsConfig.toObject = function(includeInstance, msg) { var f, obj = { - heartbeatWindow: (f = msg.getHeartbeatWindow()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) +heartbeatWindow: (f = msg.getHeartbeatWindow()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -4801,10 +4808,10 @@ proto.viam.app.v1.AuthConfig.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.AuthConfig.toObject = function(includeInstance, msg) { var f, obj = { - handlersList: jspb.Message.toObjectList(msg.getHandlersList(), +handlersList: jspb.Message.toObjectList(msg.getHandlersList(), proto.viam.app.v1.AuthHandlerConfig.toObject, includeInstance), - tlsAuthEntitiesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - externalAuthConfig: (f = msg.getExternalAuthConfig()) && proto.viam.app.v1.ExternalAuthConfig.toObject(includeInstance, f) +tlsAuthEntitiesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, +externalAuthConfig: (f = msg.getExternalAuthConfig()) && proto.viam.app.v1.ExternalAuthConfig.toObject(includeInstance, f) }; if (includeInstance) { @@ -5054,7 +5061,7 @@ proto.viam.app.v1.JWKSFile.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.JWKSFile.toObject = function(includeInstance, msg) { var f, obj = { - json: (f = msg.getJson()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +json: (f = msg.getJson()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -5205,7 +5212,7 @@ proto.viam.app.v1.ExternalAuthConfig.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.ExternalAuthConfig.toObject = function(includeInstance, msg) { var f, obj = { - jwks: (f = msg.getJwks()) && proto.viam.app.v1.JWKSFile.toObject(includeInstance, f) +jwks: (f = msg.getJwks()) && proto.viam.app.v1.JWKSFile.toObject(includeInstance, f) }; if (includeInstance) { @@ -5356,8 +5363,8 @@ proto.viam.app.v1.AuthHandlerConfig.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.AuthHandlerConfig.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, 0), - config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +type: jspb.Message.getFieldWithDefault(msg, 1, 0), +config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -5537,10 +5544,10 @@ proto.viam.app.v1.Frame.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.Frame.toObject = function(includeInstance, msg) { var f, obj = { - parent: jspb.Message.getFieldWithDefault(msg, 1, ""), - translation: (f = msg.getTranslation()) && proto.viam.app.v1.Translation.toObject(includeInstance, f), - orientation: (f = msg.getOrientation()) && proto.viam.app.v1.Orientation.toObject(includeInstance, f), - geometry: (f = msg.getGeometry()) && common_v1_common_pb.Geometry.toObject(includeInstance, f) +parent: jspb.Message.getFieldWithDefault(msg, 1, ""), +translation: (f = msg.getTranslation()) && proto.viam.app.v1.Translation.toObject(includeInstance, f), +orientation: (f = msg.getOrientation()) && proto.viam.app.v1.Orientation.toObject(includeInstance, f), +geometry: (f = msg.getGeometry()) && common_v1_common_pb.Geometry.toObject(includeInstance, f) }; if (includeInstance) { @@ -5820,7 +5827,7 @@ proto.viam.app.v1.LogConfiguration.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.LogConfiguration.toObject = function(includeInstance, msg) { var f, obj = { - level: jspb.Message.getFieldWithDefault(msg, 1, "") +level: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -5950,9 +5957,9 @@ proto.viam.app.v1.Translation.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.Translation.toObject = function(includeInstance, msg) { var f, obj = { - x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) +x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) }; if (includeInstance) { @@ -6170,12 +6177,12 @@ proto.viam.app.v1.Orientation.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.Orientation.toObject = function(includeInstance, msg) { var f, obj = { - noOrientation: (f = msg.getNoOrientation()) && proto.viam.app.v1.Orientation.NoOrientation.toObject(includeInstance, f), - vectorRadians: (f = msg.getVectorRadians()) && proto.viam.app.v1.Orientation.OrientationVectorRadians.toObject(includeInstance, f), - vectorDegrees: (f = msg.getVectorDegrees()) && proto.viam.app.v1.Orientation.OrientationVectorDegrees.toObject(includeInstance, f), - eulerAngles: (f = msg.getEulerAngles()) && proto.viam.app.v1.Orientation.EulerAngles.toObject(includeInstance, f), - axisAngles: (f = msg.getAxisAngles()) && proto.viam.app.v1.Orientation.AxisAngles.toObject(includeInstance, f), - quaternion: (f = msg.getQuaternion()) && proto.viam.app.v1.Orientation.Quaternion.toObject(includeInstance, f) +noOrientation: (f = msg.getNoOrientation()) && proto.viam.app.v1.Orientation.NoOrientation.toObject(includeInstance, f), +vectorRadians: (f = msg.getVectorRadians()) && proto.viam.app.v1.Orientation.OrientationVectorRadians.toObject(includeInstance, f), +vectorDegrees: (f = msg.getVectorDegrees()) && proto.viam.app.v1.Orientation.OrientationVectorDegrees.toObject(includeInstance, f), +eulerAngles: (f = msg.getEulerAngles()) && proto.viam.app.v1.Orientation.EulerAngles.toObject(includeInstance, f), +axisAngles: (f = msg.getAxisAngles()) && proto.viam.app.v1.Orientation.AxisAngles.toObject(includeInstance, f), +quaternion: (f = msg.getQuaternion()) && proto.viam.app.v1.Orientation.Quaternion.toObject(includeInstance, f) }; if (includeInstance) { @@ -6455,10 +6462,10 @@ proto.viam.app.v1.Orientation.OrientationVectorRadians.prototype.toObject = func */ proto.viam.app.v1.Orientation.OrientationVectorRadians.toObject = function(includeInstance, msg) { var f, obj = { - theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) +theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -6675,10 +6682,10 @@ proto.viam.app.v1.Orientation.OrientationVectorDegrees.prototype.toObject = func */ proto.viam.app.v1.Orientation.OrientationVectorDegrees.toObject = function(includeInstance, msg) { var f, obj = { - theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) +theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -6895,9 +6902,9 @@ proto.viam.app.v1.Orientation.EulerAngles.prototype.toObject = function(opt_incl */ proto.viam.app.v1.Orientation.EulerAngles.toObject = function(includeInstance, msg) { var f, obj = { - roll: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - pitch: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - yaw: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) +roll: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +pitch: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +yaw: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) }; if (includeInstance) { @@ -7085,10 +7092,10 @@ proto.viam.app.v1.Orientation.AxisAngles.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.Orientation.AxisAngles.toObject = function(includeInstance, msg) { var f, obj = { - theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) +theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -7305,10 +7312,10 @@ proto.viam.app.v1.Orientation.Quaternion.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.Orientation.Quaternion.toObject = function(includeInstance, msg) { var f, obj = { - w: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) +w: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -7754,17 +7761,17 @@ proto.viam.app.v1.RemoteConfig.prototype.toObject = function(opt_includeInstance */ proto.viam.app.v1.RemoteConfig.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - address: jspb.Message.getFieldWithDefault(msg, 2, ""), - frame: (f = msg.getFrame()) && proto.viam.app.v1.Frame.toObject(includeInstance, f), - auth: (f = msg.getAuth()) && proto.viam.app.v1.RemoteAuth.toObject(includeInstance, f), - managedBy: jspb.Message.getFieldWithDefault(msg, 5, ""), - insecure: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), - connectionCheckInterval: (f = msg.getConnectionCheckInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), - reconnectInterval: (f = msg.getReconnectInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), - serviceConfigsList: jspb.Message.toObjectList(msg.getServiceConfigsList(), +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +address: jspb.Message.getFieldWithDefault(msg, 2, ""), +frame: (f = msg.getFrame()) && proto.viam.app.v1.Frame.toObject(includeInstance, f), +auth: (f = msg.getAuth()) && proto.viam.app.v1.RemoteAuth.toObject(includeInstance, f), +managedBy: jspb.Message.getFieldWithDefault(msg, 5, ""), +insecure: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), +connectionCheckInterval: (f = msg.getConnectionCheckInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), +reconnectInterval: (f = msg.getReconnectInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), +serviceConfigsList: jspb.Message.toObjectList(msg.getServiceConfigsList(), proto.viam.app.v1.ResourceLevelServiceConfig.toObject, includeInstance), - secret: jspb.Message.getFieldWithDefault(msg, 10, "") +secret: jspb.Message.getFieldWithDefault(msg, 10, "") }; if (includeInstance) { @@ -8261,8 +8268,8 @@ proto.viam.app.v1.RemoteAuth.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.RemoteAuth.toObject = function(includeInstance, msg) { var f, obj = { - credentials: (f = msg.getCredentials()) && proto.viam.app.v1.RemoteAuth.Credentials.toObject(includeInstance, f), - entity: jspb.Message.getFieldWithDefault(msg, 2, "") +credentials: (f = msg.getCredentials()) && proto.viam.app.v1.RemoteAuth.Credentials.toObject(includeInstance, f), +entity: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -8387,8 +8394,8 @@ proto.viam.app.v1.RemoteAuth.Credentials.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.RemoteAuth.Credentials.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, 0), - payload: jspb.Message.getFieldWithDefault(msg, 2, "") +type: jspb.Message.getFieldWithDefault(msg, 1, 0), +payload: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -8609,13 +8616,13 @@ proto.viam.app.v1.AgentInfo.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.AgentInfo.toObject = function(includeInstance, msg) { var f, obj = { - host: jspb.Message.getFieldWithDefault(msg, 1, ""), - os: jspb.Message.getFieldWithDefault(msg, 2, ""), - ipsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, - version: jspb.Message.getFieldWithDefault(msg, 4, ""), - gitRevision: jspb.Message.getFieldWithDefault(msg, 5, ""), - platform: jspb.Message.getFieldWithDefault(msg, 6, ""), - platformTagsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f +host: jspb.Message.getFieldWithDefault(msg, 1, ""), +os: jspb.Message.getFieldWithDefault(msg, 2, ""), +ipsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, +version: jspb.Message.getFieldWithDefault(msg, 4, ""), +gitRevision: jspb.Message.getFieldWithDefault(msg, 5, ""), +platform: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, +platformTagsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f }; if (includeInstance) { @@ -8975,8 +8982,8 @@ proto.viam.app.v1.ConfigRequest.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.ConfigRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - agentInfo: (f = msg.getAgentInfo()) && proto.viam.app.v1.AgentInfo.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +agentInfo: (f = msg.getAgentInfo()) && proto.viam.app.v1.AgentInfo.toObject(includeInstance, f) }; if (includeInstance) { @@ -9156,7 +9163,7 @@ proto.viam.app.v1.ConfigResponse.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.ConfigResponse.toObject = function(includeInstance, msg) { var f, obj = { - config: (f = msg.getConfig()) && proto.viam.app.v1.RobotConfig.toObject(includeInstance, f) +config: (f = msg.getConfig()) && proto.viam.app.v1.RobotConfig.toObject(includeInstance, f) }; if (includeInstance) { @@ -9307,7 +9314,7 @@ proto.viam.app.v1.CertificateRequest.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.CertificateRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -9437,9 +9444,9 @@ proto.viam.app.v1.CertificateResponse.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.CertificateResponse.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - tlsCertificate: jspb.Message.getFieldWithDefault(msg, 2, ""), - tlsPrivateKey: jspb.Message.getFieldWithDefault(msg, 3, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +tlsCertificate: jspb.Message.getFieldWithDefault(msg, 2, ""), +tlsPrivateKey: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -9634,8 +9641,8 @@ proto.viam.app.v1.LogRequest.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.LogRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - logsList: jspb.Message.toObjectList(msg.getLogsList(), +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +logsList: jspb.Message.toObjectList(msg.getLogsList(), common_v1_common_pb.LogEntry.toObject, includeInstance) }; @@ -9918,7 +9925,7 @@ proto.viam.app.v1.NeedsRestartRequest.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.NeedsRestartRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -10048,9 +10055,9 @@ proto.viam.app.v1.NeedsRestartResponse.prototype.toObject = function(opt_include */ proto.viam.app.v1.NeedsRestartResponse.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - mustRestart: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - restartCheckInterval: (f = msg.getRestartCheckInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +mustRestart: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), +restartCheckInterval: (f = msg.getRestartCheckInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -10259,14 +10266,14 @@ proto.viam.app.v1.ModuleConfig.prototype.toObject = function(opt_includeInstance */ proto.viam.app.v1.ModuleConfig.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - path: jspb.Message.getFieldWithDefault(msg, 2, ""), - logLevel: jspb.Message.getFieldWithDefault(msg, 3, ""), - type: jspb.Message.getFieldWithDefault(msg, 4, ""), - moduleId: jspb.Message.getFieldWithDefault(msg, 5, ""), - envMap: (f = msg.getEnvMap()) ? f.toObject(includeInstance, undefined) : [], - status: (f = msg.getStatus()) && proto.viam.app.v1.AppValidationStatus.toObject(includeInstance, f), - firstRunTimeout: (f = msg.getFirstRunTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +path: jspb.Message.getFieldWithDefault(msg, 2, ""), +logLevel: jspb.Message.getFieldWithDefault(msg, 3, ""), +type: jspb.Message.getFieldWithDefault(msg, 4, ""), +moduleId: jspb.Message.getFieldWithDefault(msg, 5, ""), +envMap: (f = msg.getEnvMap()) ? f.toObject(includeInstance, undefined) : [], +status: (f = msg.getStatus()) && proto.viam.app.v1.AppValidationStatus.toObject(includeInstance, f), +firstRunTimeout: (f = msg.getFirstRunTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -10535,7 +10542,8 @@ proto.viam.app.v1.ModuleConfig.prototype.getEnvMap = function(opt_noLazyCreate) */ proto.viam.app.v1.ModuleConfig.prototype.clearEnvMap = function() { this.getEnvMap().clear(); - return this;}; + return this; +}; /** @@ -10644,11 +10652,11 @@ proto.viam.app.v1.PackageConfig.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.PackageConfig.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - pb_package: jspb.Message.getFieldWithDefault(msg, 2, ""), - version: jspb.Message.getFieldWithDefault(msg, 3, ""), - type: jspb.Message.getFieldWithDefault(msg, 4, ""), - status: (f = msg.getStatus()) && proto.viam.app.v1.AppValidationStatus.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +pb_package: jspb.Message.getFieldWithDefault(msg, 2, ""), +version: jspb.Message.getFieldWithDefault(msg, 3, ""), +type: jspb.Message.getFieldWithDefault(msg, 4, ""), +status: (f = msg.getStatus()) && proto.viam.app.v1.AppValidationStatus.toObject(includeInstance, f) }; if (includeInstance) { @@ -10915,8 +10923,8 @@ proto.viam.app.v1.MaintenanceConfig.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.MaintenanceConfig.toObject = function(includeInstance, msg) { var f, obj = { - sensorName: (f = msg.getSensorName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - maintenanceAllowedKey: jspb.Message.getFieldWithDefault(msg, 2, "") +sensorName: (f = msg.getSensorName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +maintenanceAllowedKey: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/common/v1/common_pb.js b/gen/js/common/v1/common_pb.js index 105a8eb0..a615ef11 100644 --- a/gen/js/common/v1/common_pb.js +++ b/gen/js/common/v1/common_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); goog.object.extend(proto, google_protobuf_descriptor_pb); @@ -635,12 +641,12 @@ proto.viam.common.v1.ResourceName.prototype.toObject = function(opt_includeInsta */ proto.viam.common.v1.ResourceName.toObject = function(includeInstance, msg) { var f, obj = { - namespace: jspb.Message.getFieldWithDefault(msg, 1, ""), - type: jspb.Message.getFieldWithDefault(msg, 2, ""), - subtype: jspb.Message.getFieldWithDefault(msg, 3, ""), - name: jspb.Message.getFieldWithDefault(msg, 4, ""), - remotePathList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, - localName: jspb.Message.getFieldWithDefault(msg, 6, "") +namespace: jspb.Message.getFieldWithDefault(msg, 1, ""), +type: jspb.Message.getFieldWithDefault(msg, 2, ""), +subtype: jspb.Message.getFieldWithDefault(msg, 3, ""), +name: jspb.Message.getFieldWithDefault(msg, 4, ""), +remotePathList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, +localName: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { @@ -934,13 +940,13 @@ proto.viam.common.v1.Pose.prototype.toObject = function(opt_includeInstance) { */ proto.viam.common.v1.Pose.toObject = function(includeInstance, msg) { var f, obj = { - x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - oX: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), - oY: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - oZ: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0), - theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0) +x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +oX: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), +oY: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), +oZ: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0), +theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0) }; if (includeInstance) { @@ -1244,10 +1250,10 @@ proto.viam.common.v1.Orientation.prototype.toObject = function(opt_includeInstan */ proto.viam.common.v1.Orientation.toObject = function(includeInstance, msg) { var f, obj = { - oX: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - oY: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - oZ: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) +oX: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +oY: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +oZ: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -1464,8 +1470,8 @@ proto.viam.common.v1.PoseInFrame.prototype.toObject = function(opt_includeInstan */ proto.viam.common.v1.PoseInFrame.toObject = function(includeInstance, msg) { var f, obj = { - referenceFrame: jspb.Message.getFieldWithDefault(msg, 1, ""), - pose: (f = msg.getPose()) && proto.viam.common.v1.Pose.toObject(includeInstance, f) +referenceFrame: jspb.Message.getFieldWithDefault(msg, 1, ""), +pose: (f = msg.getPose()) && proto.viam.common.v1.Pose.toObject(includeInstance, f) }; if (includeInstance) { @@ -1645,9 +1651,9 @@ proto.viam.common.v1.Vector3.prototype.toObject = function(opt_includeInstance) */ proto.viam.common.v1.Vector3.toObject = function(includeInstance, msg) { var f, obj = { - x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) +x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) }; if (includeInstance) { @@ -1835,7 +1841,7 @@ proto.viam.common.v1.Sphere.prototype.toObject = function(opt_includeInstance) { */ proto.viam.common.v1.Sphere.toObject = function(includeInstance, msg) { var f, obj = { - radiusMm: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) +radiusMm: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) }; if (includeInstance) { @@ -1965,8 +1971,8 @@ proto.viam.common.v1.Capsule.prototype.toObject = function(opt_includeInstance) */ proto.viam.common.v1.Capsule.toObject = function(includeInstance, msg) { var f, obj = { - radiusMm: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - lengthMm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) +radiusMm: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +lengthMm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -2125,7 +2131,7 @@ proto.viam.common.v1.RectangularPrism.prototype.toObject = function(opt_includeI */ proto.viam.common.v1.RectangularPrism.toObject = function(includeInstance, msg) { var f, obj = { - dimsMm: (f = msg.getDimsMm()) && proto.viam.common.v1.Vector3.toObject(includeInstance, f) +dimsMm: (f = msg.getDimsMm()) && proto.viam.common.v1.Vector3.toObject(includeInstance, f) }; if (includeInstance) { @@ -2303,11 +2309,11 @@ proto.viam.common.v1.Geometry.prototype.toObject = function(opt_includeInstance) */ proto.viam.common.v1.Geometry.toObject = function(includeInstance, msg) { var f, obj = { - center: (f = msg.getCenter()) && proto.viam.common.v1.Pose.toObject(includeInstance, f), - sphere: (f = msg.getSphere()) && proto.viam.common.v1.Sphere.toObject(includeInstance, f), - box: (f = msg.getBox()) && proto.viam.common.v1.RectangularPrism.toObject(includeInstance, f), - capsule: (f = msg.getCapsule()) && proto.viam.common.v1.Capsule.toObject(includeInstance, f), - label: jspb.Message.getFieldWithDefault(msg, 4, "") +center: (f = msg.getCenter()) && proto.viam.common.v1.Pose.toObject(includeInstance, f), +sphere: (f = msg.getSphere()) && proto.viam.common.v1.Sphere.toObject(includeInstance, f), +box: (f = msg.getBox()) && proto.viam.common.v1.RectangularPrism.toObject(includeInstance, f), +capsule: (f = msg.getCapsule()) && proto.viam.common.v1.Capsule.toObject(includeInstance, f), +label: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -2644,8 +2650,8 @@ proto.viam.common.v1.GeometriesInFrame.prototype.toObject = function(opt_include */ proto.viam.common.v1.GeometriesInFrame.toObject = function(includeInstance, msg) { var f, obj = { - referenceFrame: jspb.Message.getFieldWithDefault(msg, 1, ""), - geometriesList: jspb.Message.toObjectList(msg.getGeometriesList(), +referenceFrame: jspb.Message.getFieldWithDefault(msg, 1, ""), +geometriesList: jspb.Message.toObjectList(msg.getGeometriesList(), proto.viam.common.v1.Geometry.toObject, includeInstance) }; @@ -2827,8 +2833,8 @@ proto.viam.common.v1.PointCloudObject.prototype.toObject = function(opt_includeI */ proto.viam.common.v1.PointCloudObject.toObject = function(includeInstance, msg) { var f, obj = { - pointCloud: msg.getPointCloud_asB64(), - geometries: (f = msg.getGeometries()) && proto.viam.common.v1.GeometriesInFrame.toObject(includeInstance, f) +pointCloud: msg.getPointCloud_asB64(), +geometries: (f = msg.getGeometries()) && proto.viam.common.v1.GeometriesInFrame.toObject(includeInstance, f) }; if (includeInstance) { @@ -3032,8 +3038,8 @@ proto.viam.common.v1.GeoPoint.prototype.toObject = function(opt_includeInstance) */ proto.viam.common.v1.GeoPoint.toObject = function(includeInstance, msg) { var f, obj = { - latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) +latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -3199,8 +3205,8 @@ proto.viam.common.v1.GeoGeometry.prototype.toObject = function(opt_includeInstan */ proto.viam.common.v1.GeoGeometry.toObject = function(includeInstance, msg) { var f, obj = { - location: (f = msg.getLocation()) && proto.viam.common.v1.GeoPoint.toObject(includeInstance, f), - geometriesList: jspb.Message.toObjectList(msg.getGeometriesList(), +location: (f = msg.getLocation()) && proto.viam.common.v1.GeoPoint.toObject(includeInstance, f), +geometriesList: jspb.Message.toObjectList(msg.getGeometriesList(), proto.viam.common.v1.Geometry.toObject, includeInstance) }; @@ -3403,9 +3409,9 @@ proto.viam.common.v1.Transform.prototype.toObject = function(opt_includeInstance */ proto.viam.common.v1.Transform.toObject = function(includeInstance, msg) { var f, obj = { - referenceFrame: jspb.Message.getFieldWithDefault(msg, 1, ""), - poseInObserverFrame: (f = msg.getPoseInObserverFrame()) && proto.viam.common.v1.PoseInFrame.toObject(includeInstance, f), - physicalObject: (f = msg.getPhysicalObject()) && proto.viam.common.v1.Geometry.toObject(includeInstance, f) +referenceFrame: jspb.Message.getFieldWithDefault(msg, 1, ""), +poseInObserverFrame: (f = msg.getPoseInObserverFrame()) && proto.viam.common.v1.PoseInFrame.toObject(includeInstance, f), +physicalObject: (f = msg.getPhysicalObject()) && proto.viam.common.v1.Geometry.toObject(includeInstance, f) }; if (includeInstance) { @@ -3642,9 +3648,9 @@ proto.viam.common.v1.WorldState.prototype.toObject = function(opt_includeInstanc */ proto.viam.common.v1.WorldState.toObject = function(includeInstance, msg) { var f, obj = { - obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), +obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), proto.viam.common.v1.GeometriesInFrame.toObject, includeInstance), - transformsList: jspb.Message.toObjectList(msg.getTransformsList(), +transformsList: jspb.Message.toObjectList(msg.getTransformsList(), proto.viam.common.v1.Transform.toObject, includeInstance) }; @@ -3848,7 +3854,7 @@ proto.viam.common.v1.ActuatorStatus.prototype.toObject = function(opt_includeIns */ proto.viam.common.v1.ActuatorStatus.toObject = function(includeInstance, msg) { var f, obj = { - isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) +isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -3978,7 +3984,7 @@ proto.viam.common.v1.ResponseMetadata.prototype.toObject = function(opt_includeI */ proto.viam.common.v1.ResponseMetadata.toObject = function(includeInstance, msg) { var f, obj = { - capturedAt: (f = msg.getCapturedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +capturedAt: (f = msg.getCapturedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -4129,8 +4135,8 @@ proto.viam.common.v1.DoCommandRequest.prototype.toObject = function(opt_includeI */ proto.viam.common.v1.DoCommandRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - command: (f = msg.getCommand()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +command: (f = msg.getCommand()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -4310,7 +4316,7 @@ proto.viam.common.v1.DoCommandResponse.prototype.toObject = function(opt_include */ proto.viam.common.v1.DoCommandResponse.toObject = function(includeInstance, msg) { var f, obj = { - result: (f = msg.getResult()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +result: (f = msg.getResult()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -4461,8 +4467,8 @@ proto.viam.common.v1.GetKinematicsRequest.prototype.toObject = function(opt_incl */ proto.viam.common.v1.GetKinematicsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -4642,8 +4648,8 @@ proto.viam.common.v1.GetKinematicsResponse.prototype.toObject = function(opt_inc */ proto.viam.common.v1.GetKinematicsResponse.toObject = function(includeInstance, msg) { var f, obj = { - format: jspb.Message.getFieldWithDefault(msg, 1, 0), - kinematicsData: msg.getKinematicsData_asB64() +format: jspb.Message.getFieldWithDefault(msg, 1, 0), +kinematicsData: msg.getKinematicsData_asB64() }; if (includeInstance) { @@ -4826,8 +4832,8 @@ proto.viam.common.v1.GetGeometriesRequest.prototype.toObject = function(opt_incl */ proto.viam.common.v1.GetGeometriesRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -5014,7 +5020,7 @@ proto.viam.common.v1.GetGeometriesResponse.prototype.toObject = function(opt_inc */ proto.viam.common.v1.GetGeometriesResponse.toObject = function(includeInstance, msg) { var f, obj = { - geometriesList: jspb.Message.toObjectList(msg.getGeometriesList(), +geometriesList: jspb.Message.toObjectList(msg.getGeometriesList(), proto.viam.common.v1.Geometry.toObject, includeInstance) }; @@ -5167,8 +5173,8 @@ proto.viam.common.v1.GetReadingsRequest.prototype.toObject = function(opt_includ */ proto.viam.common.v1.GetReadingsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -5348,7 +5354,7 @@ proto.viam.common.v1.GetReadingsResponse.prototype.toObject = function(opt_inclu */ proto.viam.common.v1.GetReadingsResponse.toObject = function(includeInstance, msg) { var f, obj = { - readingsMap: (f = msg.getReadingsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] +readingsMap: (f = msg.getReadingsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] }; if (includeInstance) { @@ -5446,7 +5452,8 @@ proto.viam.common.v1.GetReadingsResponse.prototype.getReadingsMap = function(opt */ proto.viam.common.v1.GetReadingsResponse.prototype.clearReadingsMap = function() { this.getReadingsMap().clear(); - return this;}; + return this; +}; @@ -5488,14 +5495,14 @@ proto.viam.common.v1.LogEntry.prototype.toObject = function(opt_includeInstance) */ proto.viam.common.v1.LogEntry.toObject = function(includeInstance, msg) { var f, obj = { - host: jspb.Message.getFieldWithDefault(msg, 1, ""), - level: jspb.Message.getFieldWithDefault(msg, 2, ""), - time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - loggerName: jspb.Message.getFieldWithDefault(msg, 4, ""), - message: jspb.Message.getFieldWithDefault(msg, 5, ""), - caller: (f = msg.getCaller()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - stack: jspb.Message.getFieldWithDefault(msg, 7, ""), - fieldsList: jspb.Message.toObjectList(msg.getFieldsList(), +host: jspb.Message.getFieldWithDefault(msg, 1, ""), +level: jspb.Message.getFieldWithDefault(msg, 2, ""), +time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +loggerName: jspb.Message.getFieldWithDefault(msg, 4, ""), +message: jspb.Message.getFieldWithDefault(msg, 5, ""), +caller: (f = msg.getCaller()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +stack: jspb.Message.getFieldWithDefault(msg, 7, ""), +fieldsList: jspb.Message.toObjectList(msg.getFieldsList(), google_protobuf_struct_pb.Struct.toObject, includeInstance) }; diff --git a/gen/js/component/arm/v1/arm_pb.js b/gen/js/component/arm/v1/arm_pb.js index f77f25db..f952b900 100644 --- a/gen/js/component/arm/v1/arm_pb.js +++ b/gen/js/component/arm/v1/arm_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -427,8 +433,8 @@ proto.viam.component.arm.v1.GetEndPositionRequest.prototype.toObject = function( */ proto.viam.component.arm.v1.GetEndPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -608,7 +614,7 @@ proto.viam.component.arm.v1.GetEndPositionResponse.prototype.toObject = function */ proto.viam.component.arm.v1.GetEndPositionResponse.toObject = function(includeInstance, msg) { var f, obj = { - pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) +pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) }; if (includeInstance) { @@ -766,7 +772,7 @@ proto.viam.component.arm.v1.JointPositions.prototype.toObject = function(opt_inc */ proto.viam.component.arm.v1.JointPositions.toObject = function(includeInstance, msg) { var f, obj = { - valuesList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f +valuesList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -917,8 +923,8 @@ proto.viam.component.arm.v1.GetJointPositionsRequest.prototype.toObject = functi */ proto.viam.component.arm.v1.GetJointPositionsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1098,7 +1104,7 @@ proto.viam.component.arm.v1.GetJointPositionsResponse.prototype.toObject = funct */ proto.viam.component.arm.v1.GetJointPositionsResponse.toObject = function(includeInstance, msg) { var f, obj = { - positions: (f = msg.getPositions()) && proto.viam.component.arm.v1.JointPositions.toObject(includeInstance, f) +positions: (f = msg.getPositions()) && proto.viam.component.arm.v1.JointPositions.toObject(includeInstance, f) }; if (includeInstance) { @@ -1249,9 +1255,9 @@ proto.viam.component.arm.v1.MoveToPositionRequest.prototype.toObject = function( */ proto.viam.component.arm.v1.MoveToPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - to: (f = msg.getTo()) && common_v1_common_pb.Pose.toObject(includeInstance, f), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +to: (f = msg.getTo()) && common_v1_common_pb.Pose.toObject(includeInstance, f), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1582,9 +1588,9 @@ proto.viam.component.arm.v1.MoveToJointPositionsRequest.prototype.toObject = fun */ proto.viam.component.arm.v1.MoveToJointPositionsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - positions: (f = msg.getPositions()) && proto.viam.component.arm.v1.JointPositions.toObject(includeInstance, f), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +positions: (f = msg.getPositions()) && proto.viam.component.arm.v1.JointPositions.toObject(includeInstance, f), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1922,11 +1928,11 @@ proto.viam.component.arm.v1.MoveThroughJointPositionsRequest.prototype.toObject */ proto.viam.component.arm.v1.MoveThroughJointPositionsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - positionsList: jspb.Message.toObjectList(msg.getPositionsList(), +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +positionsList: jspb.Message.toObjectList(msg.getPositionsList(), proto.viam.component.arm.v1.JointPositions.toObject, includeInstance), - options: (f = msg.getOptions()) && proto.viam.component.arm.v1.MoveOptions.toObject(includeInstance, f), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +options: (f = msg.getOptions()) && proto.viam.component.arm.v1.MoveOptions.toObject(includeInstance, f), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2308,8 +2314,8 @@ proto.viam.component.arm.v1.StopRequest.prototype.toObject = function(opt_includ */ proto.viam.component.arm.v1.StopRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2590,9 +2596,9 @@ proto.viam.component.arm.v1.Status.prototype.toObject = function(opt_includeInst */ proto.viam.component.arm.v1.Status.toObject = function(includeInstance, msg) { var f, obj = { - endPosition: (f = msg.getEndPosition()) && common_v1_common_pb.Pose.toObject(includeInstance, f), - jointPositions: (f = msg.getJointPositions()) && proto.viam.component.arm.v1.JointPositions.toObject(includeInstance, f), - isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) +endPosition: (f = msg.getEndPosition()) && common_v1_common_pb.Pose.toObject(includeInstance, f), +jointPositions: (f = msg.getJointPositions()) && proto.viam.component.arm.v1.JointPositions.toObject(includeInstance, f), +isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -2822,7 +2828,7 @@ proto.viam.component.arm.v1.IsMovingRequest.prototype.toObject = function(opt_in */ proto.viam.component.arm.v1.IsMovingRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2952,7 +2958,7 @@ proto.viam.component.arm.v1.IsMovingResponse.prototype.toObject = function(opt_i */ proto.viam.component.arm.v1.IsMovingResponse.toObject = function(includeInstance, msg) { var f, obj = { - isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) +isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -3082,8 +3088,8 @@ proto.viam.component.arm.v1.MoveOptions.prototype.toObject = function(opt_includ */ proto.viam.component.arm.v1.MoveOptions.toObject = function(includeInstance, msg) { var f, obj = { - maxVelDegsPerSec: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - maxAccDegsPerSec2: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) +maxVelDegsPerSec: (f = jspb.Message.getOptionalFloatingPointField(msg, 1)) == null ? undefined : f, +maxAccDegsPerSec2: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f }; if (includeInstance) { diff --git a/gen/js/component/audioinput/v1/audioinput_pb.js b/gen/js/component/audioinput/v1/audioinput_pb.js index 09368651..0a5f5870 100644 --- a/gen/js/component/audioinput/v1/audioinput_pb.js +++ b/gen/js/component/audioinput/v1/audioinput_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -211,8 +217,8 @@ proto.viam.component.audioinput.v1.RecordRequest.prototype.toObject = function(o */ proto.viam.component.audioinput.v1.RecordRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - duration: (f = msg.getDuration()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +duration: (f = msg.getDuration()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -392,9 +398,9 @@ proto.viam.component.audioinput.v1.AudioChunkInfo.prototype.toObject = function( */ proto.viam.component.audioinput.v1.AudioChunkInfo.toObject = function(includeInstance, msg) { var f, obj = { - sampleFormat: jspb.Message.getFieldWithDefault(msg, 1, 0), - channels: jspb.Message.getFieldWithDefault(msg, 2, 0), - samplingRate: jspb.Message.getFieldWithDefault(msg, 3, 0) +sampleFormat: jspb.Message.getFieldWithDefault(msg, 1, 0), +channels: jspb.Message.getFieldWithDefault(msg, 2, 0), +samplingRate: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -582,8 +588,8 @@ proto.viam.component.audioinput.v1.AudioChunk.prototype.toObject = function(opt_ */ proto.viam.component.audioinput.v1.AudioChunk.toObject = function(includeInstance, msg) { var f, obj = { - data: msg.getData_asB64(), - length: jspb.Message.getFieldWithDefault(msg, 2, 0) +data: msg.getData_asB64(), +length: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -766,8 +772,8 @@ proto.viam.component.audioinput.v1.ChunksRequest.prototype.toObject = function(o */ proto.viam.component.audioinput.v1.ChunksRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - sampleFormat: jspb.Message.getFieldWithDefault(msg, 2, 0) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +sampleFormat: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -952,8 +958,8 @@ proto.viam.component.audioinput.v1.ChunksResponse.prototype.toObject = function( */ proto.viam.component.audioinput.v1.ChunksResponse.toObject = function(includeInstance, msg) { var f, obj = { - info: (f = msg.getInfo()) && proto.viam.component.audioinput.v1.AudioChunkInfo.toObject(includeInstance, f), - chunk: (f = msg.getChunk()) && proto.viam.component.audioinput.v1.AudioChunk.toObject(includeInstance, f) +info: (f = msg.getInfo()) && proto.viam.component.audioinput.v1.AudioChunkInfo.toObject(includeInstance, f), +chunk: (f = msg.getChunk()) && proto.viam.component.audioinput.v1.AudioChunk.toObject(includeInstance, f) }; if (includeInstance) { @@ -1154,7 +1160,7 @@ proto.viam.component.audioinput.v1.PropertiesRequest.prototype.toObject = functi */ proto.viam.component.audioinput.v1.PropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1284,13 +1290,13 @@ proto.viam.component.audioinput.v1.PropertiesResponse.prototype.toObject = funct */ proto.viam.component.audioinput.v1.PropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { - channelCount: jspb.Message.getFieldWithDefault(msg, 1, 0), - latency: (f = msg.getLatency()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), - sampleRate: jspb.Message.getFieldWithDefault(msg, 3, 0), - sampleSize: jspb.Message.getFieldWithDefault(msg, 4, 0), - isBigEndian: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), - isFloat: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), - isInterleaved: jspb.Message.getBooleanFieldWithDefault(msg, 7, false) +channelCount: jspb.Message.getFieldWithDefault(msg, 1, 0), +latency: (f = msg.getLatency()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), +sampleRate: jspb.Message.getFieldWithDefault(msg, 3, 0), +sampleSize: jspb.Message.getFieldWithDefault(msg, 4, 0), +isBigEndian: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), +isFloat: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), +isInterleaved: jspb.Message.getBooleanFieldWithDefault(msg, 7, false) }; if (includeInstance) { diff --git a/gen/js/component/base/v1/base_pb.js b/gen/js/component/base/v1/base_pb.js index e46ecff5..73900094 100644 --- a/gen/js/component/base/v1/base_pb.js +++ b/gen/js/component/base/v1/base_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -361,10 +367,10 @@ proto.viam.component.base.v1.MoveStraightRequest.prototype.toObject = function(o */ proto.viam.component.base.v1.MoveStraightRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - distanceMm: jspb.Message.getFieldWithDefault(msg, 2, 0), - mmPerSec: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +distanceMm: jspb.Message.getFieldWithDefault(msg, 2, 0), +mmPerSec: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -703,10 +709,10 @@ proto.viam.component.base.v1.SpinRequest.prototype.toObject = function(opt_inclu */ proto.viam.component.base.v1.SpinRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - angleDeg: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - degsPerSec: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +angleDeg: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +degsPerSec: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1045,8 +1051,8 @@ proto.viam.component.base.v1.StopRequest.prototype.toObject = function(opt_inclu */ proto.viam.component.base.v1.StopRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1327,10 +1333,10 @@ proto.viam.component.base.v1.SetPowerRequest.prototype.toObject = function(opt_i */ proto.viam.component.base.v1.SetPowerRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - linear: (f = msg.getLinear()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), - angular: (f = msg.getAngular()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +linear: (f = msg.getLinear()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), +angular: (f = msg.getAngular()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1711,10 +1717,10 @@ proto.viam.component.base.v1.SetVelocityRequest.prototype.toObject = function(op */ proto.viam.component.base.v1.SetVelocityRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - linear: (f = msg.getLinear()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), - angular: (f = msg.getAngular()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +linear: (f = msg.getLinear()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), +angular: (f = msg.getAngular()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2095,7 +2101,7 @@ proto.viam.component.base.v1.IsMovingRequest.prototype.toObject = function(opt_i */ proto.viam.component.base.v1.IsMovingRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2225,7 +2231,7 @@ proto.viam.component.base.v1.IsMovingResponse.prototype.toObject = function(opt_ */ proto.viam.component.base.v1.IsMovingResponse.toObject = function(includeInstance, msg) { var f, obj = { - isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) +isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -2355,8 +2361,8 @@ proto.viam.component.base.v1.GetPropertiesRequest.prototype.toObject = function( */ proto.viam.component.base.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2536,9 +2542,9 @@ proto.viam.component.base.v1.GetPropertiesResponse.prototype.toObject = function */ proto.viam.component.base.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { - widthMeters: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - turningRadiusMeters: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - wheelCircumferenceMeters: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) +widthMeters: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +turningRadiusMeters: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +wheelCircumferenceMeters: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) }; if (includeInstance) { diff --git a/gen/js/component/board/v1/board_pb.js b/gen/js/component/board/v1/board_pb.js index 670c970d..85ce9b19 100644 --- a/gen/js/component/board/v1/board_pb.js +++ b/gen/js/component/board/v1/board_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -562,8 +568,8 @@ proto.viam.component.board.v1.Status.prototype.toObject = function(opt_includeIn */ proto.viam.component.board.v1.Status.toObject = function(includeInstance, msg) { var f, obj = { - analogsMap: (f = msg.getAnalogsMap()) ? f.toObject(includeInstance, undefined) : [], - digitalInterruptsMap: (f = msg.getDigitalInterruptsMap()) ? f.toObject(includeInstance, undefined) : [] +analogsMap: (f = msg.getAnalogsMap()) ? f.toObject(includeInstance, undefined) : [], +digitalInterruptsMap: (f = msg.getDigitalInterruptsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -671,7 +677,8 @@ proto.viam.component.board.v1.Status.prototype.getAnalogsMap = function(opt_noLa */ proto.viam.component.board.v1.Status.prototype.clearAnalogsMap = function() { this.getAnalogsMap().clear(); - return this;}; + return this; +}; /** @@ -693,7 +700,8 @@ proto.viam.component.board.v1.Status.prototype.getDigitalInterruptsMap = functio */ proto.viam.component.board.v1.Status.prototype.clearDigitalInterruptsMap = function() { this.getDigitalInterruptsMap().clear(); - return this;}; + return this; +}; @@ -728,10 +736,10 @@ proto.viam.component.board.v1.SetGPIORequest.prototype.toObject = function(opt_i */ proto.viam.component.board.v1.SetGPIORequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - pin: jspb.Message.getFieldWithDefault(msg, 2, ""), - high: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +pin: jspb.Message.getFieldWithDefault(msg, 2, ""), +high: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1070,9 +1078,9 @@ proto.viam.component.board.v1.GetGPIORequest.prototype.toObject = function(opt_i */ proto.viam.component.board.v1.GetGPIORequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - pin: jspb.Message.getFieldWithDefault(msg, 2, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +pin: jspb.Message.getFieldWithDefault(msg, 2, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1281,7 +1289,7 @@ proto.viam.component.board.v1.GetGPIOResponse.prototype.toObject = function(opt_ */ proto.viam.component.board.v1.GetGPIOResponse.toObject = function(includeInstance, msg) { var f, obj = { - high: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) +high: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -1411,9 +1419,9 @@ proto.viam.component.board.v1.PWMRequest.prototype.toObject = function(opt_inclu */ proto.viam.component.board.v1.PWMRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - pin: jspb.Message.getFieldWithDefault(msg, 2, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +pin: jspb.Message.getFieldWithDefault(msg, 2, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1622,7 +1630,7 @@ proto.viam.component.board.v1.PWMResponse.prototype.toObject = function(opt_incl */ proto.viam.component.board.v1.PWMResponse.toObject = function(includeInstance, msg) { var f, obj = { - dutyCyclePct: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) +dutyCyclePct: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) }; if (includeInstance) { @@ -1752,10 +1760,10 @@ proto.viam.component.board.v1.SetPWMRequest.prototype.toObject = function(opt_in */ proto.viam.component.board.v1.SetPWMRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - pin: jspb.Message.getFieldWithDefault(msg, 2, ""), - dutyCyclePct: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +pin: jspb.Message.getFieldWithDefault(msg, 2, ""), +dutyCyclePct: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2094,9 +2102,9 @@ proto.viam.component.board.v1.PWMFrequencyRequest.prototype.toObject = function( */ proto.viam.component.board.v1.PWMFrequencyRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - pin: jspb.Message.getFieldWithDefault(msg, 2, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +pin: jspb.Message.getFieldWithDefault(msg, 2, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2305,7 +2313,7 @@ proto.viam.component.board.v1.PWMFrequencyResponse.prototype.toObject = function */ proto.viam.component.board.v1.PWMFrequencyResponse.toObject = function(includeInstance, msg) { var f, obj = { - frequencyHz: jspb.Message.getFieldWithDefault(msg, 1, 0) +frequencyHz: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -2435,10 +2443,10 @@ proto.viam.component.board.v1.SetPWMFrequencyRequest.prototype.toObject = functi */ proto.viam.component.board.v1.SetPWMFrequencyRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - pin: jspb.Message.getFieldWithDefault(msg, 2, ""), - frequencyHz: jspb.Message.getFieldWithDefault(msg, 3, 0), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +pin: jspb.Message.getFieldWithDefault(msg, 2, ""), +frequencyHz: jspb.Message.getFieldWithDefault(msg, 3, 0), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2777,9 +2785,9 @@ proto.viam.component.board.v1.ReadAnalogReaderRequest.prototype.toObject = funct */ proto.viam.component.board.v1.ReadAnalogReaderRequest.toObject = function(includeInstance, msg) { var f, obj = { - boardName: jspb.Message.getFieldWithDefault(msg, 1, ""), - analogReaderName: jspb.Message.getFieldWithDefault(msg, 2, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +boardName: jspb.Message.getFieldWithDefault(msg, 1, ""), +analogReaderName: jspb.Message.getFieldWithDefault(msg, 2, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2988,10 +2996,10 @@ proto.viam.component.board.v1.ReadAnalogReaderResponse.prototype.toObject = func */ proto.viam.component.board.v1.ReadAnalogReaderResponse.toObject = function(includeInstance, msg) { var f, obj = { - value: jspb.Message.getFieldWithDefault(msg, 1, 0), - minRange: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - maxRange: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - stepSize: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) +value: jspb.Message.getFieldWithDefault(msg, 1, 0), +minRange: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +maxRange: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +stepSize: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -3208,10 +3216,10 @@ proto.viam.component.board.v1.WriteAnalogRequest.prototype.toObject = function(o */ proto.viam.component.board.v1.WriteAnalogRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - pin: jspb.Message.getFieldWithDefault(msg, 2, ""), - value: jspb.Message.getFieldWithDefault(msg, 3, 0), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +pin: jspb.Message.getFieldWithDefault(msg, 2, ""), +value: jspb.Message.getFieldWithDefault(msg, 3, 0), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3550,9 +3558,9 @@ proto.viam.component.board.v1.GetDigitalInterruptValueRequest.prototype.toObject */ proto.viam.component.board.v1.GetDigitalInterruptValueRequest.toObject = function(includeInstance, msg) { var f, obj = { - boardName: jspb.Message.getFieldWithDefault(msg, 1, ""), - digitalInterruptName: jspb.Message.getFieldWithDefault(msg, 2, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +boardName: jspb.Message.getFieldWithDefault(msg, 1, ""), +digitalInterruptName: jspb.Message.getFieldWithDefault(msg, 2, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3761,7 +3769,7 @@ proto.viam.component.board.v1.GetDigitalInterruptValueResponse.prototype.toObjec */ proto.viam.component.board.v1.GetDigitalInterruptValueResponse.toObject = function(includeInstance, msg) { var f, obj = { - value: jspb.Message.getFieldWithDefault(msg, 1, 0) +value: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -3898,9 +3906,9 @@ proto.viam.component.board.v1.StreamTicksRequest.prototype.toObject = function(o */ proto.viam.component.board.v1.StreamTicksRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - pinNamesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +pinNamesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -4128,9 +4136,9 @@ proto.viam.component.board.v1.StreamTicksResponse.prototype.toObject = function( */ proto.viam.component.board.v1.StreamTicksResponse.toObject = function(includeInstance, msg) { var f, obj = { - pinName: jspb.Message.getFieldWithDefault(msg, 1, ""), - time: jspb.Message.getFieldWithDefault(msg, 2, 0), - high: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) +pinName: jspb.Message.getFieldWithDefault(msg, 1, ""), +time: jspb.Message.getFieldWithDefault(msg, 2, 0), +high: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -4318,10 +4326,10 @@ proto.viam.component.board.v1.SetPowerModeRequest.prototype.toObject = function( */ proto.viam.component.board.v1.SetPowerModeRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - powerMode: jspb.Message.getFieldWithDefault(msg, 2, 0), - duration: (f = msg.getDuration()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +powerMode: jspb.Message.getFieldWithDefault(msg, 2, 0), +duration: (f = msg.getDuration()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/component/camera/v1/camera_pb.js b/gen/js/component/camera/v1/camera_pb.js index b47abff4..2164f33a 100644 --- a/gen/js/component/camera/v1/camera_pb.js +++ b/gen/js/component/camera/v1/camera_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -386,9 +392,9 @@ proto.viam.component.camera.v1.GetImageRequest.prototype.toObject = function(opt */ proto.viam.component.camera.v1.GetImageRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - mimeType: jspb.Message.getFieldWithDefault(msg, 2, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +mimeType: jspb.Message.getFieldWithDefault(msg, 2, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -597,8 +603,8 @@ proto.viam.component.camera.v1.GetImageResponse.prototype.toObject = function(op */ proto.viam.component.camera.v1.GetImageResponse.toObject = function(includeInstance, msg) { var f, obj = { - mimeType: jspb.Message.getFieldWithDefault(msg, 1, ""), - image: msg.getImage_asB64() +mimeType: jspb.Message.getFieldWithDefault(msg, 1, ""), +image: msg.getImage_asB64() }; if (includeInstance) { @@ -781,7 +787,7 @@ proto.viam.component.camera.v1.GetImagesRequest.prototype.toObject = function(op */ proto.viam.component.camera.v1.GetImagesRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -918,9 +924,9 @@ proto.viam.component.camera.v1.GetImagesResponse.prototype.toObject = function(o */ proto.viam.component.camera.v1.GetImagesResponse.toObject = function(includeInstance, msg) { var f, obj = { - imagesList: jspb.Message.toObjectList(msg.getImagesList(), +imagesList: jspb.Message.toObjectList(msg.getImagesList(), proto.viam.component.camera.v1.Image.toObject, includeInstance), - responseMetadata: (f = msg.getResponseMetadata()) && common_v1_common_pb.ResponseMetadata.toObject(includeInstance, f) +responseMetadata: (f = msg.getResponseMetadata()) && common_v1_common_pb.ResponseMetadata.toObject(includeInstance, f) }; if (includeInstance) { @@ -1122,9 +1128,9 @@ proto.viam.component.camera.v1.Image.prototype.toObject = function(opt_includeIn */ proto.viam.component.camera.v1.Image.toObject = function(includeInstance, msg) { var f, obj = { - sourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), - format: jspb.Message.getFieldWithDefault(msg, 2, 0), - image: msg.getImage_asB64() +sourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), +format: jspb.Message.getFieldWithDefault(msg, 2, 0), +image: msg.getImage_asB64() }; if (includeInstance) { @@ -1336,9 +1342,9 @@ proto.viam.component.camera.v1.RenderFrameRequest.prototype.toObject = function( */ proto.viam.component.camera.v1.RenderFrameRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - mimeType: jspb.Message.getFieldWithDefault(msg, 2, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +mimeType: jspb.Message.getFieldWithDefault(msg, 2, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1547,9 +1553,9 @@ proto.viam.component.camera.v1.GetPointCloudRequest.prototype.toObject = functio */ proto.viam.component.camera.v1.GetPointCloudRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - mimeType: jspb.Message.getFieldWithDefault(msg, 2, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +mimeType: jspb.Message.getFieldWithDefault(msg, 2, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1758,8 +1764,8 @@ proto.viam.component.camera.v1.GetPointCloudResponse.prototype.toObject = functi */ proto.viam.component.camera.v1.GetPointCloudResponse.toObject = function(includeInstance, msg) { var f, obj = { - mimeType: jspb.Message.getFieldWithDefault(msg, 1, ""), - pointCloud: msg.getPointCloud_asB64() +mimeType: jspb.Message.getFieldWithDefault(msg, 1, ""), +pointCloud: msg.getPointCloud_asB64() }; if (includeInstance) { @@ -1942,7 +1948,7 @@ proto.viam.component.camera.v1.GetPropertiesRequest.prototype.toObject = functio */ proto.viam.component.camera.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2079,11 +2085,11 @@ proto.viam.component.camera.v1.GetPropertiesResponse.prototype.toObject = functi */ proto.viam.component.camera.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { - supportsPcd: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - intrinsicParameters: (f = msg.getIntrinsicParameters()) && proto.viam.component.camera.v1.IntrinsicParameters.toObject(includeInstance, f), - distortionParameters: (f = msg.getDistortionParameters()) && proto.viam.component.camera.v1.DistortionParameters.toObject(includeInstance, f), - mimeTypesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, - frameRate: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0) +supportsPcd: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), +intrinsicParameters: (f = msg.getIntrinsicParameters()) && proto.viam.component.camera.v1.IntrinsicParameters.toObject(includeInstance, f), +distortionParameters: (f = msg.getDistortionParameters()) && proto.viam.component.camera.v1.DistortionParameters.toObject(includeInstance, f), +mimeTypesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, +frameRate: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -2415,7 +2421,7 @@ proto.viam.component.camera.v1.Webcams.prototype.toObject = function(opt_include */ proto.viam.component.camera.v1.Webcams.toObject = function(includeInstance, msg) { var f, obj = { - webcamsList: jspb.Message.toObjectList(msg.getWebcamsList(), +webcamsList: jspb.Message.toObjectList(msg.getWebcamsList(), proto.viam.component.camera.v1.Webcam.toObject, includeInstance) }; @@ -2575,12 +2581,12 @@ proto.viam.component.camera.v1.Webcam.prototype.toObject = function(opt_includeI */ proto.viam.component.camera.v1.Webcam.toObject = function(includeInstance, msg) { var f, obj = { - label: jspb.Message.getFieldWithDefault(msg, 1, ""), - status: jspb.Message.getFieldWithDefault(msg, 2, ""), - propertiesList: jspb.Message.toObjectList(msg.getPropertiesList(), +label: jspb.Message.getFieldWithDefault(msg, 1, ""), +status: jspb.Message.getFieldWithDefault(msg, 2, ""), +propertiesList: jspb.Message.toObjectList(msg.getPropertiesList(), proto.viam.component.camera.v1.Property.toObject, includeInstance), - name: jspb.Message.getFieldWithDefault(msg, 4, ""), - id: jspb.Message.getFieldWithDefault(msg, 5, "") +name: jspb.Message.getFieldWithDefault(msg, 4, ""), +id: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -2848,10 +2854,10 @@ proto.viam.component.camera.v1.Property.prototype.toObject = function(opt_includ */ proto.viam.component.camera.v1.Property.toObject = function(includeInstance, msg) { var f, obj = { - widthPx: jspb.Message.getFieldWithDefault(msg, 1, 0), - heightPx: jspb.Message.getFieldWithDefault(msg, 2, 0), - frameFormat: jspb.Message.getFieldWithDefault(msg, 3, ""), - frameRate: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) +widthPx: jspb.Message.getFieldWithDefault(msg, 1, 0), +heightPx: jspb.Message.getFieldWithDefault(msg, 2, 0), +frameFormat: jspb.Message.getFieldWithDefault(msg, 3, ""), +frameRate: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -3068,12 +3074,12 @@ proto.viam.component.camera.v1.IntrinsicParameters.prototype.toObject = function */ proto.viam.component.camera.v1.IntrinsicParameters.toObject = function(includeInstance, msg) { var f, obj = { - widthPx: jspb.Message.getFieldWithDefault(msg, 1, 0), - heightPx: jspb.Message.getFieldWithDefault(msg, 2, 0), - focalXPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - focalYPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), - centerXPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - centerYPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0) +widthPx: jspb.Message.getFieldWithDefault(msg, 1, 0), +heightPx: jspb.Message.getFieldWithDefault(msg, 2, 0), +focalXPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +focalYPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), +centerXPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), +centerYPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0) }; if (includeInstance) { @@ -3355,8 +3361,8 @@ proto.viam.component.camera.v1.DistortionParameters.prototype.toObject = functio */ proto.viam.component.camera.v1.DistortionParameters.toObject = function(includeInstance, msg) { var f, obj = { - model: jspb.Message.getFieldWithDefault(msg, 1, ""), - parametersList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 2)) == null ? undefined : f +model: jspb.Message.getFieldWithDefault(msg, 1, ""), +parametersList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 2)) == null ? undefined : f }; if (includeInstance) { diff --git a/gen/js/component/encoder/v1/encoder_pb.js b/gen/js/component/encoder/v1/encoder_pb.js index 0a28d000..08ca4d30 100644 --- a/gen/js/component/encoder/v1/encoder_pb.js +++ b/gen/js/component/encoder/v1/encoder_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -186,9 +192,9 @@ proto.viam.component.encoder.v1.GetPositionRequest.prototype.toObject = function */ proto.viam.component.encoder.v1.GetPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - positionType: jspb.Message.getFieldWithDefault(msg, 2, 0), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +positionType: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -415,8 +421,8 @@ proto.viam.component.encoder.v1.GetPositionResponse.prototype.toObject = functio */ proto.viam.component.encoder.v1.GetPositionResponse.toObject = function(includeInstance, msg) { var f, obj = { - value: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - positionType: jspb.Message.getFieldWithDefault(msg, 2, 0) +value: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +positionType: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -575,8 +581,8 @@ proto.viam.component.encoder.v1.ResetPositionRequest.prototype.toObject = functi */ proto.viam.component.encoder.v1.ResetPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -857,8 +863,8 @@ proto.viam.component.encoder.v1.GetPropertiesRequest.prototype.toObject = functi */ proto.viam.component.encoder.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1038,8 +1044,8 @@ proto.viam.component.encoder.v1.GetPropertiesResponse.prototype.toObject = funct */ proto.viam.component.encoder.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { - ticksCountSupported: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - angleDegreesSupported: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) +ticksCountSupported: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), +angleDegreesSupported: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { diff --git a/gen/js/component/gantry/v1/gantry_pb.js b/gen/js/component/gantry/v1/gantry_pb.js index 3c4dad87..32ead892 100644 --- a/gen/js/component/gantry/v1/gantry_pb.js +++ b/gen/js/component/gantry/v1/gantry_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -339,8 +345,8 @@ proto.viam.component.gantry.v1.GetPositionRequest.prototype.toObject = function( */ proto.viam.component.gantry.v1.GetPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -527,7 +533,7 @@ proto.viam.component.gantry.v1.GetPositionResponse.prototype.toObject = function */ proto.viam.component.gantry.v1.GetPositionResponse.toObject = function(includeInstance, msg) { var f, obj = { - positionsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f +positionsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -685,10 +691,10 @@ proto.viam.component.gantry.v1.MoveToPositionRequest.prototype.toObject = functi */ proto.viam.component.gantry.v1.MoveToPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - positionsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 2)) == null ? undefined : f, - speedsMmPerSecList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 3)) == null ? undefined : f, - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +positionsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 2)) == null ? undefined : f, +speedsMmPerSecList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 3)) == null ? undefined : f, +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1069,8 +1075,8 @@ proto.viam.component.gantry.v1.HomeRequest.prototype.toObject = function(opt_inc */ proto.viam.component.gantry.v1.HomeRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1250,7 +1256,7 @@ proto.viam.component.gantry.v1.HomeResponse.prototype.toObject = function(opt_in */ proto.viam.component.gantry.v1.HomeResponse.toObject = function(includeInstance, msg) { var f, obj = { - homed: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) +homed: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -1380,8 +1386,8 @@ proto.viam.component.gantry.v1.GetLengthsRequest.prototype.toObject = function(o */ proto.viam.component.gantry.v1.GetLengthsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1568,7 +1574,7 @@ proto.viam.component.gantry.v1.GetLengthsResponse.prototype.toObject = function( */ proto.viam.component.gantry.v1.GetLengthsResponse.toObject = function(includeInstance, msg) { var f, obj = { - lengthsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f +lengthsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -1719,8 +1725,8 @@ proto.viam.component.gantry.v1.StopRequest.prototype.toObject = function(opt_inc */ proto.viam.component.gantry.v1.StopRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2008,9 +2014,9 @@ proto.viam.component.gantry.v1.Status.prototype.toObject = function(opt_includeI */ proto.viam.component.gantry.v1.Status.toObject = function(includeInstance, msg) { var f, obj = { - positionsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f, - lengthsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 2)) == null ? undefined : f, - isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) +positionsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f, +lengthsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 2)) == null ? undefined : f, +isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -2240,7 +2246,7 @@ proto.viam.component.gantry.v1.IsMovingRequest.prototype.toObject = function(opt */ proto.viam.component.gantry.v1.IsMovingRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2370,7 +2376,7 @@ proto.viam.component.gantry.v1.IsMovingResponse.prototype.toObject = function(op */ proto.viam.component.gantry.v1.IsMovingResponse.toObject = function(includeInstance, msg) { var f, obj = { - isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) +isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { diff --git a/gen/js/component/generic/v1/generic_pb.js b/gen/js/component/generic/v1/generic_pb.js index 1a9c660b..6defcf53 100644 --- a/gen/js/component/generic/v1/generic_pb.js +++ b/gen/js/component/generic/v1/generic_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); diff --git a/gen/js/component/gripper/v1/gripper_pb.js b/gen/js/component/gripper/v1/gripper_pb.js index 3e75fef7..e40711f7 100644 --- a/gen/js/component/gripper/v1/gripper_pb.js +++ b/gen/js/component/gripper/v1/gripper_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -229,8 +235,8 @@ proto.viam.component.gripper.v1.OpenRequest.prototype.toObject = function(opt_in */ proto.viam.component.gripper.v1.OpenRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -511,8 +517,8 @@ proto.viam.component.gripper.v1.GrabRequest.prototype.toObject = function(opt_in */ proto.viam.component.gripper.v1.GrabRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -692,8 +698,8 @@ proto.viam.component.gripper.v1.GrabResponse.prototype.toObject = function(opt_i */ proto.viam.component.gripper.v1.GrabResponse.toObject = function(includeInstance, msg) { var f, obj = { - success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -873,8 +879,8 @@ proto.viam.component.gripper.v1.StopRequest.prototype.toObject = function(opt_in */ proto.viam.component.gripper.v1.StopRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1155,7 +1161,7 @@ proto.viam.component.gripper.v1.IsMovingRequest.prototype.toObject = function(op */ proto.viam.component.gripper.v1.IsMovingRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1285,7 +1291,7 @@ proto.viam.component.gripper.v1.IsMovingResponse.prototype.toObject = function(o */ proto.viam.component.gripper.v1.IsMovingResponse.toObject = function(includeInstance, msg) { var f, obj = { - isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) +isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { diff --git a/gen/js/component/inputcontroller/v1/input_controller_pb.js b/gen/js/component/inputcontroller/v1/input_controller_pb.js index bde399d5..cf31f6e3 100644 --- a/gen/js/component/inputcontroller/v1/input_controller_pb.js +++ b/gen/js/component/inputcontroller/v1/input_controller_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -297,8 +303,8 @@ proto.viam.component.inputcontroller.v1.GetControlsRequest.prototype.toObject = */ proto.viam.component.inputcontroller.v1.GetControlsRequest.toObject = function(includeInstance, msg) { var f, obj = { - controller: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +controller: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -485,7 +491,7 @@ proto.viam.component.inputcontroller.v1.GetControlsResponse.prototype.toObject = */ proto.viam.component.inputcontroller.v1.GetControlsResponse.toObject = function(includeInstance, msg) { var f, obj = { - controlsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f +controlsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -634,8 +640,8 @@ proto.viam.component.inputcontroller.v1.GetEventsRequest.prototype.toObject = fu */ proto.viam.component.inputcontroller.v1.GetEventsRequest.toObject = function(includeInstance, msg) { var f, obj = { - controller: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +controller: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -822,7 +828,7 @@ proto.viam.component.inputcontroller.v1.GetEventsResponse.prototype.toObject = f */ proto.viam.component.inputcontroller.v1.GetEventsResponse.toObject = function(includeInstance, msg) { var f, obj = { - eventsList: jspb.Message.toObjectList(msg.getEventsList(), +eventsList: jspb.Message.toObjectList(msg.getEventsList(), proto.viam.component.inputcontroller.v1.Event.toObject, includeInstance) }; @@ -975,9 +981,9 @@ proto.viam.component.inputcontroller.v1.TriggerEventRequest.prototype.toObject = */ proto.viam.component.inputcontroller.v1.TriggerEventRequest.toObject = function(includeInstance, msg) { var f, obj = { - controller: jspb.Message.getFieldWithDefault(msg, 1, ""), - event: (f = msg.getEvent()) && proto.viam.component.inputcontroller.v1.Event.toObject(includeInstance, f), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +controller: jspb.Message.getFieldWithDefault(msg, 1, ""), +event: (f = msg.getEvent()) && proto.viam.component.inputcontroller.v1.Event.toObject(includeInstance, f), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1308,10 +1314,10 @@ proto.viam.component.inputcontroller.v1.Event.prototype.toObject = function(opt_ */ proto.viam.component.inputcontroller.v1.Event.toObject = function(includeInstance, msg) { var f, obj = { - time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - event: jspb.Message.getFieldWithDefault(msg, 2, ""), - control: jspb.Message.getFieldWithDefault(msg, 3, ""), - value: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) +time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +event: jspb.Message.getFieldWithDefault(msg, 2, ""), +control: jspb.Message.getFieldWithDefault(msg, 3, ""), +value: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -1556,10 +1562,10 @@ proto.viam.component.inputcontroller.v1.StreamEventsRequest.prototype.toObject = */ proto.viam.component.inputcontroller.v1.StreamEventsRequest.toObject = function(includeInstance, msg) { var f, obj = { - controller: jspb.Message.getFieldWithDefault(msg, 1, ""), - eventsList: jspb.Message.toObjectList(msg.getEventsList(), +controller: jspb.Message.getFieldWithDefault(msg, 1, ""), +eventsList: jspb.Message.toObjectList(msg.getEventsList(), proto.viam.component.inputcontroller.v1.StreamEventsRequest.Events.toObject, includeInstance), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1704,9 +1710,9 @@ proto.viam.component.inputcontroller.v1.StreamEventsRequest.Events.prototype.toO */ proto.viam.component.inputcontroller.v1.StreamEventsRequest.Events.toObject = function(includeInstance, msg) { var f, obj = { - control: jspb.Message.getFieldWithDefault(msg, 1, ""), - eventsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - cancelledEventsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f +control: jspb.Message.getFieldWithDefault(msg, 1, ""), +eventsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, +cancelledEventsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -2025,7 +2031,7 @@ proto.viam.component.inputcontroller.v1.StreamEventsResponse.prototype.toObject */ proto.viam.component.inputcontroller.v1.StreamEventsResponse.toObject = function(includeInstance, msg) { var f, obj = { - event: (f = msg.getEvent()) && proto.viam.component.inputcontroller.v1.Event.toObject(includeInstance, f) +event: (f = msg.getEvent()) && proto.viam.component.inputcontroller.v1.Event.toObject(includeInstance, f) }; if (includeInstance) { @@ -2183,7 +2189,7 @@ proto.viam.component.inputcontroller.v1.Status.prototype.toObject = function(opt */ proto.viam.component.inputcontroller.v1.Status.toObject = function(includeInstance, msg) { var f, obj = { - eventsList: jspb.Message.toObjectList(msg.getEventsList(), +eventsList: jspb.Message.toObjectList(msg.getEventsList(), proto.viam.component.inputcontroller.v1.Event.toObject, includeInstance) }; diff --git a/gen/js/component/motor/v1/motor_pb.js b/gen/js/component/motor/v1/motor_pb.js index fd0117d7..61a40237 100644 --- a/gen/js/component/motor/v1/motor_pb.js +++ b/gen/js/component/motor/v1/motor_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -515,9 +521,9 @@ proto.viam.component.motor.v1.SetPowerRequest.prototype.toObject = function(opt_ */ proto.viam.component.motor.v1.SetPowerRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - powerPct: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +powerPct: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -827,10 +833,10 @@ proto.viam.component.motor.v1.GoForRequest.prototype.toObject = function(opt_inc */ proto.viam.component.motor.v1.GoForRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - rpm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - revolutions: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +rpm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +revolutions: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1169,10 +1175,10 @@ proto.viam.component.motor.v1.GoToRequest.prototype.toObject = function(opt_incl */ proto.viam.component.motor.v1.GoToRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - rpm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - positionRevolutions: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +rpm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +positionRevolutions: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1511,9 +1517,9 @@ proto.viam.component.motor.v1.SetRPMRequest.prototype.toObject = function(opt_in */ proto.viam.component.motor.v1.SetRPMRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - rpm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +rpm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1823,9 +1829,9 @@ proto.viam.component.motor.v1.ResetZeroPositionRequest.prototype.toObject = func */ proto.viam.component.motor.v1.ResetZeroPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - offset: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +offset: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2135,8 +2141,8 @@ proto.viam.component.motor.v1.GetPositionRequest.prototype.toObject = function(o */ proto.viam.component.motor.v1.GetPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2316,7 +2322,7 @@ proto.viam.component.motor.v1.GetPositionResponse.prototype.toObject = function( */ proto.viam.component.motor.v1.GetPositionResponse.toObject = function(includeInstance, msg) { var f, obj = { - position: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) +position: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) }; if (includeInstance) { @@ -2446,8 +2452,8 @@ proto.viam.component.motor.v1.StopRequest.prototype.toObject = function(opt_incl */ proto.viam.component.motor.v1.StopRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2728,8 +2734,8 @@ proto.viam.component.motor.v1.IsPoweredRequest.prototype.toObject = function(opt */ proto.viam.component.motor.v1.IsPoweredRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2909,8 +2915,8 @@ proto.viam.component.motor.v1.IsPoweredResponse.prototype.toObject = function(op */ proto.viam.component.motor.v1.IsPoweredResponse.toObject = function(includeInstance, msg) { var f, obj = { - isOn: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - powerPct: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) +isOn: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), +powerPct: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -3069,8 +3075,8 @@ proto.viam.component.motor.v1.GetPropertiesRequest.prototype.toObject = function */ proto.viam.component.motor.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3250,7 +3256,7 @@ proto.viam.component.motor.v1.GetPropertiesResponse.prototype.toObject = functio */ proto.viam.component.motor.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { - positionReporting: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) +positionReporting: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -3380,9 +3386,9 @@ proto.viam.component.motor.v1.Status.prototype.toObject = function(opt_includeIn */ proto.viam.component.motor.v1.Status.toObject = function(includeInstance, msg) { var f, obj = { - isPowered: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - position: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) +isPowered: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), +position: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) }; if (includeInstance) { @@ -3570,7 +3576,7 @@ proto.viam.component.motor.v1.IsMovingRequest.prototype.toObject = function(opt_ */ proto.viam.component.motor.v1.IsMovingRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -3700,7 +3706,7 @@ proto.viam.component.motor.v1.IsMovingResponse.prototype.toObject = function(opt */ proto.viam.component.motor.v1.IsMovingResponse.toObject = function(includeInstance, msg) { var f, obj = { - isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) +isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { diff --git a/gen/js/component/movementsensor/v1/movementsensor_pb.js b/gen/js/component/movementsensor/v1/movementsensor_pb.js index baf4c9aa..037e515e 100644 --- a/gen/js/component/movementsensor/v1/movementsensor_pb.js +++ b/gen/js/component/movementsensor/v1/movementsensor_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -405,8 +411,8 @@ proto.viam.component.movementsensor.v1.GetLinearVelocityRequest.prototype.toObje */ proto.viam.component.movementsensor.v1.GetLinearVelocityRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -586,7 +592,7 @@ proto.viam.component.movementsensor.v1.GetLinearVelocityResponse.prototype.toObj */ proto.viam.component.movementsensor.v1.GetLinearVelocityResponse.toObject = function(includeInstance, msg) { var f, obj = { - linearVelocity: (f = msg.getLinearVelocity()) && common_v1_common_pb.Vector3.toObject(includeInstance, f) +linearVelocity: (f = msg.getLinearVelocity()) && common_v1_common_pb.Vector3.toObject(includeInstance, f) }; if (includeInstance) { @@ -737,8 +743,8 @@ proto.viam.component.movementsensor.v1.GetAngularVelocityRequest.prototype.toObj */ proto.viam.component.movementsensor.v1.GetAngularVelocityRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -918,7 +924,7 @@ proto.viam.component.movementsensor.v1.GetAngularVelocityResponse.prototype.toOb */ proto.viam.component.movementsensor.v1.GetAngularVelocityResponse.toObject = function(includeInstance, msg) { var f, obj = { - angularVelocity: (f = msg.getAngularVelocity()) && common_v1_common_pb.Vector3.toObject(includeInstance, f) +angularVelocity: (f = msg.getAngularVelocity()) && common_v1_common_pb.Vector3.toObject(includeInstance, f) }; if (includeInstance) { @@ -1069,8 +1075,8 @@ proto.viam.component.movementsensor.v1.GetCompassHeadingRequest.prototype.toObje */ proto.viam.component.movementsensor.v1.GetCompassHeadingRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1250,7 +1256,7 @@ proto.viam.component.movementsensor.v1.GetCompassHeadingResponse.prototype.toObj */ proto.viam.component.movementsensor.v1.GetCompassHeadingResponse.toObject = function(includeInstance, msg) { var f, obj = { - value: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) +value: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) }; if (includeInstance) { @@ -1380,8 +1386,8 @@ proto.viam.component.movementsensor.v1.GetOrientationRequest.prototype.toObject */ proto.viam.component.movementsensor.v1.GetOrientationRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1561,7 +1567,7 @@ proto.viam.component.movementsensor.v1.GetOrientationResponse.prototype.toObject */ proto.viam.component.movementsensor.v1.GetOrientationResponse.toObject = function(includeInstance, msg) { var f, obj = { - orientation: (f = msg.getOrientation()) && common_v1_common_pb.Orientation.toObject(includeInstance, f) +orientation: (f = msg.getOrientation()) && common_v1_common_pb.Orientation.toObject(includeInstance, f) }; if (includeInstance) { @@ -1712,8 +1718,8 @@ proto.viam.component.movementsensor.v1.GetPositionRequest.prototype.toObject = f */ proto.viam.component.movementsensor.v1.GetPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1893,8 +1899,8 @@ proto.viam.component.movementsensor.v1.GetPositionResponse.prototype.toObject = */ proto.viam.component.movementsensor.v1.GetPositionResponse.toObject = function(includeInstance, msg) { var f, obj = { - coordinate: (f = msg.getCoordinate()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), - altitudeM: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) +coordinate: (f = msg.getCoordinate()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), +altitudeM: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -2074,8 +2080,8 @@ proto.viam.component.movementsensor.v1.GetPropertiesRequest.prototype.toObject = */ proto.viam.component.movementsensor.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2255,12 +2261,12 @@ proto.viam.component.movementsensor.v1.GetPropertiesResponse.prototype.toObject */ proto.viam.component.movementsensor.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { - linearVelocitySupported: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - angularVelocitySupported: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - orientationSupported: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - positionSupported: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), - compassHeadingSupported: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), - linearAccelerationSupported: jspb.Message.getBooleanFieldWithDefault(msg, 6, false) +linearVelocitySupported: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), +angularVelocitySupported: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), +orientationSupported: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), +positionSupported: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), +compassHeadingSupported: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), +linearAccelerationSupported: jspb.Message.getBooleanFieldWithDefault(msg, 6, false) }; if (includeInstance) { @@ -2535,8 +2541,8 @@ proto.viam.component.movementsensor.v1.GetAccuracyRequest.prototype.toObject = f */ proto.viam.component.movementsensor.v1.GetAccuracyRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2716,11 +2722,11 @@ proto.viam.component.movementsensor.v1.GetAccuracyResponse.prototype.toObject = */ proto.viam.component.movementsensor.v1.GetAccuracyResponse.toObject = function(includeInstance, msg) { var f, obj = { - accuracyMap: (f = msg.getAccuracyMap()) ? f.toObject(includeInstance, undefined) : [], - positionHdop: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - positionVdop: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - positionNmeaGgaFix: jspb.Message.getFieldWithDefault(msg, 4, 0), - compassDegreesError: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0) +accuracyMap: (f = msg.getAccuracyMap()) ? f.toObject(includeInstance, undefined) : [], +positionHdop: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f, +positionVdop: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f, +positionNmeaGgaFix: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +compassDegreesError: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -2862,7 +2868,8 @@ proto.viam.component.movementsensor.v1.GetAccuracyResponse.prototype.getAccuracy */ proto.viam.component.movementsensor.v1.GetAccuracyResponse.prototype.clearAccuracyMap = function() { this.getAccuracyMap().clear(); - return this;}; + return this; +}; /** @@ -3041,8 +3048,8 @@ proto.viam.component.movementsensor.v1.GetLinearAccelerationRequest.prototype.to */ proto.viam.component.movementsensor.v1.GetLinearAccelerationRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3222,7 +3229,7 @@ proto.viam.component.movementsensor.v1.GetLinearAccelerationResponse.prototype.t */ proto.viam.component.movementsensor.v1.GetLinearAccelerationResponse.toObject = function(includeInstance, msg) { var f, obj = { - linearAcceleration: (f = msg.getLinearAcceleration()) && common_v1_common_pb.Vector3.toObject(includeInstance, f) +linearAcceleration: (f = msg.getLinearAcceleration()) && common_v1_common_pb.Vector3.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/component/posetracker/v1/pose_tracker_pb.js b/gen/js/component/posetracker/v1/pose_tracker_pb.js index 7fe03ad6..40fa597e 100644 --- a/gen/js/component/posetracker/v1/pose_tracker_pb.js +++ b/gen/js/component/posetracker/v1/pose_tracker_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -104,9 +110,9 @@ proto.viam.component.posetracker.v1.GetPosesRequest.prototype.toObject = functio */ proto.viam.component.posetracker.v1.GetPosesRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - bodyNamesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +bodyNamesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -334,7 +340,7 @@ proto.viam.component.posetracker.v1.GetPosesResponse.prototype.toObject = functi */ proto.viam.component.posetracker.v1.GetPosesResponse.toObject = function(includeInstance, msg) { var f, obj = { - bodyPosesMap: (f = msg.getBodyPosesMap()) ? f.toObject(includeInstance, proto.viam.common.v1.PoseInFrame.toObject) : [] +bodyPosesMap: (f = msg.getBodyPosesMap()) ? f.toObject(includeInstance, proto.viam.common.v1.PoseInFrame.toObject) : [] }; if (includeInstance) { @@ -432,7 +438,8 @@ proto.viam.component.posetracker.v1.GetPosesResponse.prototype.getBodyPosesMap = */ proto.viam.component.posetracker.v1.GetPosesResponse.prototype.clearBodyPosesMap = function() { this.getBodyPosesMap().clear(); - return this;}; + return this; +}; goog.object.extend(exports, proto.viam.component.posetracker.v1); diff --git a/gen/js/component/powersensor/v1/powersensor_pb.js b/gen/js/component/powersensor/v1/powersensor_pb.js index 781adb70..8e0e2a1c 100644 --- a/gen/js/component/powersensor/v1/powersensor_pb.js +++ b/gen/js/component/powersensor/v1/powersensor_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -185,8 +191,8 @@ proto.viam.component.powersensor.v1.GetVoltageRequest.prototype.toObject = funct */ proto.viam.component.powersensor.v1.GetVoltageRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -366,8 +372,8 @@ proto.viam.component.powersensor.v1.GetVoltageResponse.prototype.toObject = func */ proto.viam.component.powersensor.v1.GetVoltageResponse.toObject = function(includeInstance, msg) { var f, obj = { - volts: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - isAc: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) +volts: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +isAc: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -526,8 +532,8 @@ proto.viam.component.powersensor.v1.GetCurrentRequest.prototype.toObject = funct */ proto.viam.component.powersensor.v1.GetCurrentRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -707,8 +713,8 @@ proto.viam.component.powersensor.v1.GetCurrentResponse.prototype.toObject = func */ proto.viam.component.powersensor.v1.GetCurrentResponse.toObject = function(includeInstance, msg) { var f, obj = { - amperes: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - isAc: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) +amperes: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +isAc: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -867,8 +873,8 @@ proto.viam.component.powersensor.v1.GetPowerRequest.prototype.toObject = functio */ proto.viam.component.powersensor.v1.GetPowerRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1048,7 +1054,7 @@ proto.viam.component.powersensor.v1.GetPowerResponse.prototype.toObject = functi */ proto.viam.component.powersensor.v1.GetPowerResponse.toObject = function(includeInstance, msg) { var f, obj = { - watts: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) +watts: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) }; if (includeInstance) { diff --git a/gen/js/component/sensor/v1/sensor_pb.js b/gen/js/component/sensor/v1/sensor_pb.js index 93a85703..e84d35d0 100644 --- a/gen/js/component/sensor/v1/sensor_pb.js +++ b/gen/js/component/sensor/v1/sensor_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); diff --git a/gen/js/component/servo/v1/servo_pb.js b/gen/js/component/servo/v1/servo_pb.js index 255e1cb4..6a322263 100644 --- a/gen/js/component/servo/v1/servo_pb.js +++ b/gen/js/component/servo/v1/servo_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -251,9 +257,9 @@ proto.viam.component.servo.v1.MoveRequest.prototype.toObject = function(opt_incl */ proto.viam.component.servo.v1.MoveRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - angleDeg: jspb.Message.getFieldWithDefault(msg, 2, 0), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +angleDeg: jspb.Message.getFieldWithDefault(msg, 2, 0), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -563,8 +569,8 @@ proto.viam.component.servo.v1.GetPositionRequest.prototype.toObject = function(o */ proto.viam.component.servo.v1.GetPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -744,7 +750,7 @@ proto.viam.component.servo.v1.GetPositionResponse.prototype.toObject = function( */ proto.viam.component.servo.v1.GetPositionResponse.toObject = function(includeInstance, msg) { var f, obj = { - positionDeg: jspb.Message.getFieldWithDefault(msg, 1, 0) +positionDeg: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -874,8 +880,8 @@ proto.viam.component.servo.v1.StopRequest.prototype.toObject = function(opt_incl */ proto.viam.component.servo.v1.StopRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1156,8 +1162,8 @@ proto.viam.component.servo.v1.Status.prototype.toObject = function(opt_includeIn */ proto.viam.component.servo.v1.Status.toObject = function(includeInstance, msg) { var f, obj = { - positionDeg: jspb.Message.getFieldWithDefault(msg, 1, 0), - isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) +positionDeg: jspb.Message.getFieldWithDefault(msg, 1, 0), +isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -1316,7 +1322,7 @@ proto.viam.component.servo.v1.IsMovingRequest.prototype.toObject = function(opt_ */ proto.viam.component.servo.v1.IsMovingRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1446,7 +1452,7 @@ proto.viam.component.servo.v1.IsMovingResponse.prototype.toObject = function(opt */ proto.viam.component.servo.v1.IsMovingResponse.toObject = function(includeInstance, msg) { var f, obj = { - isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) +isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { diff --git a/gen/js/component/testecho/v1/testecho_pb.js b/gen/js/component/testecho/v1/testecho_pb.js index e2063204..a2cba33e 100644 --- a/gen/js/component/testecho/v1/testecho_pb.js +++ b/gen/js/component/testecho/v1/testecho_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -225,8 +231,8 @@ proto.viam.component.testecho.v1.EchoRequest.prototype.toObject = function(opt_i */ proto.viam.component.testecho.v1.EchoRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - message: jspb.Message.getFieldWithDefault(msg, 2, "") +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -385,7 +391,7 @@ proto.viam.component.testecho.v1.EchoResponse.prototype.toObject = function(opt_ */ proto.viam.component.testecho.v1.EchoResponse.toObject = function(includeInstance, msg) { var f, obj = { - message: jspb.Message.getFieldWithDefault(msg, 1, "") +message: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -515,8 +521,8 @@ proto.viam.component.testecho.v1.EchoMultipleRequest.prototype.toObject = functi */ proto.viam.component.testecho.v1.EchoMultipleRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - message: jspb.Message.getFieldWithDefault(msg, 2, "") +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -675,7 +681,7 @@ proto.viam.component.testecho.v1.EchoMultipleResponse.prototype.toObject = funct */ proto.viam.component.testecho.v1.EchoMultipleResponse.toObject = function(includeInstance, msg) { var f, obj = { - message: jspb.Message.getFieldWithDefault(msg, 1, "") +message: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -805,8 +811,8 @@ proto.viam.component.testecho.v1.EchoBiDiRequest.prototype.toObject = function(o */ proto.viam.component.testecho.v1.EchoBiDiRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - message: jspb.Message.getFieldWithDefault(msg, 2, "") +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -965,7 +971,7 @@ proto.viam.component.testecho.v1.EchoBiDiResponse.prototype.toObject = function( */ proto.viam.component.testecho.v1.EchoBiDiResponse.toObject = function(includeInstance, msg) { var f, obj = { - message: jspb.Message.getFieldWithDefault(msg, 1, "") +message: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1095,7 +1101,7 @@ proto.viam.component.testecho.v1.StopRequest.prototype.toObject = function(opt_i */ proto.viam.component.testecho.v1.StopRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { diff --git a/gen/js/google/api/annotations_pb.js b/gen/js/google/api/annotations_pb.js index 58397dcb..53c05ed0 100644 --- a/gen/js/google/api/annotations_pb.js +++ b/gen/js/google/api/annotations_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_api_http_pb = require('../../google/api/http_pb.js'); goog.object.extend(proto, google_api_http_pb); diff --git a/gen/js/google/api/client_pb.js b/gen/js/google/api/client_pb.js index 67cc5960..865bb4b5 100644 --- a/gen/js/google/api/client_pb.js +++ b/gen/js/google/api/client_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_api_launch_stage_pb = require('../../google/api/launch_stage_pb.js'); goog.object.extend(proto, google_api_launch_stage_pb); @@ -396,9 +402,9 @@ proto.google.api.CommonLanguageSettings.prototype.toObject = function(opt_includ */ proto.google.api.CommonLanguageSettings.toObject = function(includeInstance, msg) { var f, obj = { - referenceDocsUri: jspb.Message.getFieldWithDefault(msg, 1, ""), - destinationsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - selectiveGapicGeneration: (f = msg.getSelectiveGapicGeneration()) && proto.google.api.SelectiveGapicGeneration.toObject(includeInstance, f) +referenceDocsUri: jspb.Message.getFieldWithDefault(msg, 1, ""), +destinationsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, +selectiveGapicGeneration: (f = msg.getSelectiveGapicGeneration()) && proto.google.api.SelectiveGapicGeneration.toObject(includeInstance, f) }; if (includeInstance) { @@ -628,17 +634,17 @@ proto.google.api.ClientLibrarySettings.prototype.toObject = function(opt_include */ proto.google.api.ClientLibrarySettings.toObject = function(includeInstance, msg) { var f, obj = { - version: jspb.Message.getFieldWithDefault(msg, 1, ""), - launchStage: jspb.Message.getFieldWithDefault(msg, 2, 0), - restNumericEnums: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - javaSettings: (f = msg.getJavaSettings()) && proto.google.api.JavaSettings.toObject(includeInstance, f), - cppSettings: (f = msg.getCppSettings()) && proto.google.api.CppSettings.toObject(includeInstance, f), - phpSettings: (f = msg.getPhpSettings()) && proto.google.api.PhpSettings.toObject(includeInstance, f), - pythonSettings: (f = msg.getPythonSettings()) && proto.google.api.PythonSettings.toObject(includeInstance, f), - nodeSettings: (f = msg.getNodeSettings()) && proto.google.api.NodeSettings.toObject(includeInstance, f), - dotnetSettings: (f = msg.getDotnetSettings()) && proto.google.api.DotnetSettings.toObject(includeInstance, f), - rubySettings: (f = msg.getRubySettings()) && proto.google.api.RubySettings.toObject(includeInstance, f), - goSettings: (f = msg.getGoSettings()) && proto.google.api.GoSettings.toObject(includeInstance, f) +version: jspb.Message.getFieldWithDefault(msg, 1, ""), +launchStage: jspb.Message.getFieldWithDefault(msg, 2, 0), +restNumericEnums: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), +javaSettings: (f = msg.getJavaSettings()) && proto.google.api.JavaSettings.toObject(includeInstance, f), +cppSettings: (f = msg.getCppSettings()) && proto.google.api.CppSettings.toObject(includeInstance, f), +phpSettings: (f = msg.getPhpSettings()) && proto.google.api.PhpSettings.toObject(includeInstance, f), +pythonSettings: (f = msg.getPythonSettings()) && proto.google.api.PythonSettings.toObject(includeInstance, f), +nodeSettings: (f = msg.getNodeSettings()) && proto.google.api.NodeSettings.toObject(includeInstance, f), +dotnetSettings: (f = msg.getDotnetSettings()) && proto.google.api.DotnetSettings.toObject(includeInstance, f), +rubySettings: (f = msg.getRubySettings()) && proto.google.api.RubySettings.toObject(includeInstance, f), +goSettings: (f = msg.getGoSettings()) && proto.google.api.GoSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -1233,19 +1239,19 @@ proto.google.api.Publishing.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.Publishing.toObject = function(includeInstance, msg) { var f, obj = { - methodSettingsList: jspb.Message.toObjectList(msg.getMethodSettingsList(), +methodSettingsList: jspb.Message.toObjectList(msg.getMethodSettingsList(), proto.google.api.MethodSettings.toObject, includeInstance), - newIssueUri: jspb.Message.getFieldWithDefault(msg, 101, ""), - documentationUri: jspb.Message.getFieldWithDefault(msg, 102, ""), - apiShortName: jspb.Message.getFieldWithDefault(msg, 103, ""), - githubLabel: jspb.Message.getFieldWithDefault(msg, 104, ""), - codeownerGithubTeamsList: (f = jspb.Message.getRepeatedField(msg, 105)) == null ? undefined : f, - docTagPrefix: jspb.Message.getFieldWithDefault(msg, 106, ""), - organization: jspb.Message.getFieldWithDefault(msg, 107, 0), - librarySettingsList: jspb.Message.toObjectList(msg.getLibrarySettingsList(), +newIssueUri: jspb.Message.getFieldWithDefault(msg, 101, ""), +documentationUri: jspb.Message.getFieldWithDefault(msg, 102, ""), +apiShortName: jspb.Message.getFieldWithDefault(msg, 103, ""), +githubLabel: jspb.Message.getFieldWithDefault(msg, 104, ""), +codeownerGithubTeamsList: (f = jspb.Message.getRepeatedField(msg, 105)) == null ? undefined : f, +docTagPrefix: jspb.Message.getFieldWithDefault(msg, 106, ""), +organization: jspb.Message.getFieldWithDefault(msg, 107, 0), +librarySettingsList: jspb.Message.toObjectList(msg.getLibrarySettingsList(), proto.google.api.ClientLibrarySettings.toObject, includeInstance), - protoReferenceDocumentationUri: jspb.Message.getFieldWithDefault(msg, 110, ""), - restReferenceDocumentationUri: jspb.Message.getFieldWithDefault(msg, 111, "") +protoReferenceDocumentationUri: jspb.Message.getFieldWithDefault(msg, 110, ""), +restReferenceDocumentationUri: jspb.Message.getFieldWithDefault(msg, 111, "") }; if (includeInstance) { @@ -1728,9 +1734,9 @@ proto.google.api.JavaSettings.prototype.toObject = function(opt_includeInstance) */ proto.google.api.JavaSettings.toObject = function(includeInstance, msg) { var f, obj = { - libraryPackage: jspb.Message.getFieldWithDefault(msg, 1, ""), - serviceClassNamesMap: (f = msg.getServiceClassNamesMap()) ? f.toObject(includeInstance, undefined) : [], - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) +libraryPackage: jspb.Message.getFieldWithDefault(msg, 1, ""), +serviceClassNamesMap: (f = msg.getServiceClassNamesMap()) ? f.toObject(includeInstance, undefined) : [], +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -1870,7 +1876,8 @@ proto.google.api.JavaSettings.prototype.getServiceClassNamesMap = function(opt_n */ proto.google.api.JavaSettings.prototype.clearServiceClassNamesMap = function() { this.getServiceClassNamesMap().clear(); - return this;}; + return this; +}; /** @@ -1942,7 +1949,7 @@ proto.google.api.CppSettings.prototype.toObject = function(opt_includeInstance) */ proto.google.api.CppSettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -2093,7 +2100,7 @@ proto.google.api.PhpSettings.prototype.toObject = function(opt_includeInstance) */ proto.google.api.PhpSettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -2244,8 +2251,8 @@ proto.google.api.PythonSettings.prototype.toObject = function(opt_includeInstanc */ proto.google.api.PythonSettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f), - experimentalFeatures: (f = msg.getExperimentalFeatures()) && proto.google.api.PythonSettings.ExperimentalFeatures.toObject(includeInstance, f) +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f), +experimentalFeatures: (f = msg.getExperimentalFeatures()) && proto.google.api.PythonSettings.ExperimentalFeatures.toObject(includeInstance, f) }; if (includeInstance) { @@ -2372,8 +2379,8 @@ proto.google.api.PythonSettings.ExperimentalFeatures.prototype.toObject = functi */ proto.google.api.PythonSettings.ExperimentalFeatures.toObject = function(includeInstance, msg) { var f, obj = { - restAsyncIoEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - protobufPythonicTypesEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) +restAsyncIoEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), +protobufPythonicTypesEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -2606,7 +2613,7 @@ proto.google.api.NodeSettings.prototype.toObject = function(opt_includeInstance) */ proto.google.api.NodeSettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -2764,12 +2771,12 @@ proto.google.api.DotnetSettings.prototype.toObject = function(opt_includeInstanc */ proto.google.api.DotnetSettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f), - renamedServicesMap: (f = msg.getRenamedServicesMap()) ? f.toObject(includeInstance, undefined) : [], - renamedResourcesMap: (f = msg.getRenamedResourcesMap()) ? f.toObject(includeInstance, undefined) : [], - ignoredResourcesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, - forcedNamespaceAliasesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, - handwrittenSignaturesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f), +renamedServicesMap: (f = msg.getRenamedServicesMap()) ? f.toObject(includeInstance, undefined) : [], +renamedResourcesMap: (f = msg.getRenamedResourcesMap()) ? f.toObject(includeInstance, undefined) : [], +ignoredResourcesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, +forcedNamespaceAliasesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, +handwrittenSignaturesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f }; if (includeInstance) { @@ -2960,7 +2967,8 @@ proto.google.api.DotnetSettings.prototype.getRenamedServicesMap = function(opt_n */ proto.google.api.DotnetSettings.prototype.clearRenamedServicesMap = function() { this.getRenamedServicesMap().clear(); - return this;}; + return this; +}; /** @@ -2982,7 +2990,8 @@ proto.google.api.DotnetSettings.prototype.getRenamedResourcesMap = function(opt_ */ proto.google.api.DotnetSettings.prototype.clearRenamedResourcesMap = function() { this.getRenamedResourcesMap().clear(); - return this;}; + return this; +}; /** @@ -3128,7 +3137,7 @@ proto.google.api.RubySettings.prototype.toObject = function(opt_includeInstance) */ proto.google.api.RubySettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -3279,7 +3288,7 @@ proto.google.api.GoSettings.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.GoSettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -3437,9 +3446,9 @@ proto.google.api.MethodSettings.prototype.toObject = function(opt_includeInstanc */ proto.google.api.MethodSettings.toObject = function(includeInstance, msg) { var f, obj = { - selector: jspb.Message.getFieldWithDefault(msg, 1, ""), - longRunning: (f = msg.getLongRunning()) && proto.google.api.MethodSettings.LongRunning.toObject(includeInstance, f), - autoPopulatedFieldsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f +selector: jspb.Message.getFieldWithDefault(msg, 1, ""), +longRunning: (f = msg.getLongRunning()) && proto.google.api.MethodSettings.LongRunning.toObject(includeInstance, f), +autoPopulatedFieldsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -3575,10 +3584,10 @@ proto.google.api.MethodSettings.LongRunning.prototype.toObject = function(opt_in */ proto.google.api.MethodSettings.LongRunning.toObject = function(includeInstance, msg) { var f, obj = { - initialPollDelay: (f = msg.getInitialPollDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), - pollDelayMultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - maxPollDelay: (f = msg.getMaxPollDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), - totalPollTimeout: (f = msg.getTotalPollTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) +initialPollDelay: (f = msg.getInitialPollDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), +pollDelayMultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +maxPollDelay: (f = msg.getMaxPollDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), +totalPollTimeout: (f = msg.getTotalPollTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -3957,7 +3966,7 @@ proto.google.api.SelectiveGapicGeneration.prototype.toObject = function(opt_incl */ proto.google.api.SelectiveGapicGeneration.toObject = function(includeInstance, msg) { var f, obj = { - methodsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f +methodsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1alpha1/checked_pb.js b/gen/js/google/api/expr/v1alpha1/checked_pb.js index 370837f2..7292e1eb 100644 --- a/gen/js/google/api/expr/v1alpha1/checked_pb.js +++ b/gen/js/google/api/expr/v1alpha1/checked_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_api_expr_v1alpha1_syntax_pb = require('../../../../google/api/expr/v1alpha1/syntax_pb.js'); goog.object.extend(proto, google_api_expr_v1alpha1_syntax_pb); @@ -299,11 +305,11 @@ proto.google.api.expr.v1alpha1.CheckedExpr.prototype.toObject = function(opt_inc */ proto.google.api.expr.v1alpha1.CheckedExpr.toObject = function(includeInstance, msg) { var f, obj = { - referenceMapMap: (f = msg.getReferenceMapMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Reference.toObject) : [], - typeMapMap: (f = msg.getTypeMapMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Type.toObject) : [], - sourceInfo: (f = msg.getSourceInfo()) && google_api_expr_v1alpha1_syntax_pb.SourceInfo.toObject(includeInstance, f), - exprVersion: jspb.Message.getFieldWithDefault(msg, 6, ""), - expr: (f = msg.getExpr()) && google_api_expr_v1alpha1_syntax_pb.Expr.toObject(includeInstance, f) +referenceMapMap: (f = msg.getReferenceMapMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Reference.toObject) : [], +typeMapMap: (f = msg.getTypeMapMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Type.toObject) : [], +sourceInfo: (f = msg.getSourceInfo()) && google_api_expr_v1alpha1_syntax_pb.SourceInfo.toObject(includeInstance, f), +exprVersion: jspb.Message.getFieldWithDefault(msg, 6, ""), +expr: (f = msg.getExpr()) && google_api_expr_v1alpha1_syntax_pb.Expr.toObject(includeInstance, f) }; if (includeInstance) { @@ -448,7 +454,8 @@ proto.google.api.expr.v1alpha1.CheckedExpr.prototype.getReferenceMapMap = functi */ proto.google.api.expr.v1alpha1.CheckedExpr.prototype.clearReferenceMapMap = function() { this.getReferenceMapMap().clear(); - return this;}; + return this; +}; /** @@ -470,7 +477,8 @@ proto.google.api.expr.v1alpha1.CheckedExpr.prototype.getTypeMapMap = function(op */ proto.google.api.expr.v1alpha1.CheckedExpr.prototype.clearTypeMapMap = function() { this.getTypeMapMap().clear(); - return this;}; + return this; +}; /** @@ -634,19 +642,19 @@ proto.google.api.expr.v1alpha1.Type.prototype.toObject = function(opt_includeIns */ proto.google.api.expr.v1alpha1.Type.toObject = function(includeInstance, msg) { var f, obj = { - dyn: (f = msg.getDyn()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f), - pb_null: jspb.Message.getFieldWithDefault(msg, 2, 0), - primitive: jspb.Message.getFieldWithDefault(msg, 3, 0), - wrapper: jspb.Message.getFieldWithDefault(msg, 4, 0), - wellKnown: jspb.Message.getFieldWithDefault(msg, 5, 0), - listType: (f = msg.getListType()) && proto.google.api.expr.v1alpha1.Type.ListType.toObject(includeInstance, f), - mapType: (f = msg.getMapType()) && proto.google.api.expr.v1alpha1.Type.MapType.toObject(includeInstance, f), - pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1alpha1.Type.FunctionType.toObject(includeInstance, f), - messageType: jspb.Message.getFieldWithDefault(msg, 9, ""), - typeParam: jspb.Message.getFieldWithDefault(msg, 10, ""), - type: (f = msg.getType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), - error: (f = msg.getError()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f), - abstractType: (f = msg.getAbstractType()) && proto.google.api.expr.v1alpha1.Type.AbstractType.toObject(includeInstance, f) +dyn: (f = msg.getDyn()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f), +pb_null: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +primitive: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +wrapper: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +wellKnown: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, +listType: (f = msg.getListType()) && proto.google.api.expr.v1alpha1.Type.ListType.toObject(includeInstance, f), +mapType: (f = msg.getMapType()) && proto.google.api.expr.v1alpha1.Type.MapType.toObject(includeInstance, f), +pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1alpha1.Type.FunctionType.toObject(includeInstance, f), +messageType: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, +typeParam: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, +type: (f = msg.getType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), +error: (f = msg.getError()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f), +abstractType: (f = msg.getAbstractType()) && proto.google.api.expr.v1alpha1.Type.AbstractType.toObject(includeInstance, f) }; if (includeInstance) { @@ -927,7 +935,7 @@ proto.google.api.expr.v1alpha1.Type.ListType.prototype.toObject = function(opt_i */ proto.google.api.expr.v1alpha1.Type.ListType.toObject = function(includeInstance, msg) { var f, obj = { - elemType: (f = msg.getElemType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f) +elemType: (f = msg.getElemType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f) }; if (includeInstance) { @@ -1078,8 +1086,8 @@ proto.google.api.expr.v1alpha1.Type.MapType.prototype.toObject = function(opt_in */ proto.google.api.expr.v1alpha1.Type.MapType.toObject = function(includeInstance, msg) { var f, obj = { - keyType: (f = msg.getKeyType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), - valueType: (f = msg.getValueType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f) +keyType: (f = msg.getKeyType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), +valueType: (f = msg.getValueType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f) }; if (includeInstance) { @@ -1287,8 +1295,8 @@ proto.google.api.expr.v1alpha1.Type.FunctionType.prototype.toObject = function(o */ proto.google.api.expr.v1alpha1.Type.FunctionType.toObject = function(includeInstance, msg) { var f, obj = { - resultType: (f = msg.getResultType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), - argTypesList: jspb.Message.toObjectList(msg.getArgTypesList(), +resultType: (f = msg.getResultType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), +argTypesList: jspb.Message.toObjectList(msg.getArgTypesList(), proto.google.api.expr.v1alpha1.Type.toObject, includeInstance) }; @@ -1498,8 +1506,8 @@ proto.google.api.expr.v1alpha1.Type.AbstractType.prototype.toObject = function(o */ proto.google.api.expr.v1alpha1.Type.AbstractType.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - parameterTypesList: jspb.Message.toObjectList(msg.getParameterTypesList(), +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +parameterTypesList: jspb.Message.toObjectList(msg.getParameterTypesList(), proto.google.api.expr.v1alpha1.Type.toObject, includeInstance) }; @@ -2182,9 +2190,9 @@ proto.google.api.expr.v1alpha1.Decl.prototype.toObject = function(opt_includeIns */ proto.google.api.expr.v1alpha1.Decl.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - ident: (f = msg.getIdent()) && proto.google.api.expr.v1alpha1.Decl.IdentDecl.toObject(includeInstance, f), - pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1alpha1.Decl.FunctionDecl.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +ident: (f = msg.getIdent()) && proto.google.api.expr.v1alpha1.Decl.IdentDecl.toObject(includeInstance, f), +pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1alpha1.Decl.FunctionDecl.toObject(includeInstance, f) }; if (includeInstance) { @@ -2322,9 +2330,9 @@ proto.google.api.expr.v1alpha1.Decl.IdentDecl.prototype.toObject = function(opt_ */ proto.google.api.expr.v1alpha1.Decl.IdentDecl.toObject = function(includeInstance, msg) { var f, obj = { - type: (f = msg.getType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), - value: (f = msg.getValue()) && google_api_expr_v1alpha1_syntax_pb.Constant.toObject(includeInstance, f), - doc: jspb.Message.getFieldWithDefault(msg, 3, "") +type: (f = msg.getType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), +value: (f = msg.getValue()) && google_api_expr_v1alpha1_syntax_pb.Constant.toObject(includeInstance, f), +doc: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -2561,7 +2569,7 @@ proto.google.api.expr.v1alpha1.Decl.FunctionDecl.prototype.toObject = function(o */ proto.google.api.expr.v1alpha1.Decl.FunctionDecl.toObject = function(includeInstance, msg) { var f, obj = { - overloadsList: jspb.Message.toObjectList(msg.getOverloadsList(), +overloadsList: jspb.Message.toObjectList(msg.getOverloadsList(), proto.google.api.expr.v1alpha1.Decl.FunctionDecl.Overload.toObject, includeInstance) }; @@ -2683,13 +2691,13 @@ proto.google.api.expr.v1alpha1.Decl.FunctionDecl.Overload.prototype.toObject = f */ proto.google.api.expr.v1alpha1.Decl.FunctionDecl.Overload.toObject = function(includeInstance, msg) { var f, obj = { - overloadId: jspb.Message.getFieldWithDefault(msg, 1, ""), - paramsList: jspb.Message.toObjectList(msg.getParamsList(), +overloadId: jspb.Message.getFieldWithDefault(msg, 1, ""), +paramsList: jspb.Message.toObjectList(msg.getParamsList(), proto.google.api.expr.v1alpha1.Type.toObject, includeInstance), - typeParamsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, - resultType: (f = msg.getResultType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), - isInstanceFunction: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), - doc: jspb.Message.getFieldWithDefault(msg, 6, "") +typeParamsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, +resultType: (f = msg.getResultType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), +isInstanceFunction: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), +doc: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { @@ -3163,9 +3171,9 @@ proto.google.api.expr.v1alpha1.Reference.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.Reference.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - overloadIdList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, - value: (f = msg.getValue()) && google_api_expr_v1alpha1_syntax_pb.Constant.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +overloadIdList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, +value: (f = msg.getValue()) && google_api_expr_v1alpha1_syntax_pb.Constant.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1alpha1/eval_pb.js b/gen/js/google/api/expr/v1alpha1/eval_pb.js index 9a60c759..b95633e6 100644 --- a/gen/js/google/api/expr/v1alpha1/eval_pb.js +++ b/gen/js/google/api/expr/v1alpha1/eval_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_api_expr_v1alpha1_value_pb = require('../../../../google/api/expr/v1alpha1/value_pb.js'); goog.object.extend(proto, google_api_expr_v1alpha1_value_pb); @@ -169,9 +175,9 @@ proto.google.api.expr.v1alpha1.EvalState.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.EvalState.toObject = function(includeInstance, msg) { var f, obj = { - valuesList: jspb.Message.toObjectList(msg.getValuesList(), +valuesList: jspb.Message.toObjectList(msg.getValuesList(), proto.google.api.expr.v1alpha1.ExprValue.toObject, includeInstance), - resultsList: jspb.Message.toObjectList(msg.getResultsList(), +resultsList: jspb.Message.toObjectList(msg.getResultsList(), proto.google.api.expr.v1alpha1.EvalState.Result.toObject, includeInstance) }; @@ -299,8 +305,8 @@ proto.google.api.expr.v1alpha1.EvalState.Result.prototype.toObject = function(op */ proto.google.api.expr.v1alpha1.EvalState.Result.toObject = function(includeInstance, msg) { var f, obj = { - expr: jspb.Message.getFieldWithDefault(msg, 1, 0), - value: jspb.Message.getFieldWithDefault(msg, 2, 0) +expr: jspb.Message.getFieldWithDefault(msg, 1, 0), +value: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -562,9 +568,9 @@ proto.google.api.expr.v1alpha1.ExprValue.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.ExprValue.toObject = function(includeInstance, msg) { var f, obj = { - value: (f = msg.getValue()) && google_api_expr_v1alpha1_value_pb.Value.toObject(includeInstance, f), - error: (f = msg.getError()) && proto.google.api.expr.v1alpha1.ErrorSet.toObject(includeInstance, f), - unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1alpha1.UnknownSet.toObject(includeInstance, f) +value: (f = msg.getValue()) && google_api_expr_v1alpha1_value_pb.Value.toObject(includeInstance, f), +error: (f = msg.getError()) && proto.google.api.expr.v1alpha1.ErrorSet.toObject(includeInstance, f), +unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1alpha1.UnknownSet.toObject(includeInstance, f) }; if (includeInstance) { @@ -822,7 +828,7 @@ proto.google.api.expr.v1alpha1.ErrorSet.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1alpha1.ErrorSet.toObject = function(includeInstance, msg) { var f, obj = { - errorsList: jspb.Message.toObjectList(msg.getErrorsList(), +errorsList: jspb.Message.toObjectList(msg.getErrorsList(), google_rpc_status_pb.Status.toObject, includeInstance) }; @@ -982,7 +988,7 @@ proto.google.api.expr.v1alpha1.UnknownSet.prototype.toObject = function(opt_incl */ proto.google.api.expr.v1alpha1.UnknownSet.toObject = function(includeInstance, msg) { var f, obj = { - exprsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f +exprsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1alpha1/explain_pb.js b/gen/js/google/api/expr/v1alpha1/explain_pb.js index b8bbc99a..83643744 100644 --- a/gen/js/google/api/expr/v1alpha1/explain_pb.js +++ b/gen/js/google/api/expr/v1alpha1/explain_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_api_expr_v1alpha1_value_pb = require('../../../../google/api/expr/v1alpha1/value_pb.js'); goog.object.extend(proto, google_api_expr_v1alpha1_value_pb); @@ -100,9 +106,9 @@ proto.google.api.expr.v1alpha1.Explain.prototype.toObject = function(opt_include */ proto.google.api.expr.v1alpha1.Explain.toObject = function(includeInstance, msg) { var f, obj = { - valuesList: jspb.Message.toObjectList(msg.getValuesList(), +valuesList: jspb.Message.toObjectList(msg.getValuesList(), google_api_expr_v1alpha1_value_pb.Value.toObject, includeInstance), - exprStepsList: jspb.Message.toObjectList(msg.getExprStepsList(), +exprStepsList: jspb.Message.toObjectList(msg.getExprStepsList(), proto.google.api.expr.v1alpha1.Explain.ExprStep.toObject, includeInstance) }; @@ -230,8 +236,8 @@ proto.google.api.expr.v1alpha1.Explain.ExprStep.prototype.toObject = function(op */ proto.google.api.expr.v1alpha1.Explain.ExprStep.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, 0), - valueIndex: jspb.Message.getFieldWithDefault(msg, 2, 0) +id: jspb.Message.getFieldWithDefault(msg, 1, 0), +valueIndex: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1alpha1/syntax_pb.js b/gen/js/google/api/expr/v1alpha1/syntax_pb.js index 4f90b7b0..2f0347fd 100644 --- a/gen/js/google/api/expr/v1alpha1/syntax_pb.js +++ b/gen/js/google/api/expr/v1alpha1/syntax_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js'); goog.object.extend(proto, google_protobuf_duration_pb); @@ -365,8 +371,8 @@ proto.google.api.expr.v1alpha1.ParsedExpr.prototype.toObject = function(opt_incl */ proto.google.api.expr.v1alpha1.ParsedExpr.toObject = function(includeInstance, msg) { var f, obj = { - expr: (f = msg.getExpr()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - sourceInfo: (f = msg.getSourceInfo()) && proto.google.api.expr.v1alpha1.SourceInfo.toObject(includeInstance, f) +expr: (f = msg.getExpr()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +sourceInfo: (f = msg.getSourceInfo()) && proto.google.api.expr.v1alpha1.SourceInfo.toObject(includeInstance, f) }; if (includeInstance) { @@ -598,14 +604,14 @@ proto.google.api.expr.v1alpha1.Expr.prototype.toObject = function(opt_includeIns */ proto.google.api.expr.v1alpha1.Expr.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 2, 0), - constExpr: (f = msg.getConstExpr()) && proto.google.api.expr.v1alpha1.Constant.toObject(includeInstance, f), - identExpr: (f = msg.getIdentExpr()) && proto.google.api.expr.v1alpha1.Expr.Ident.toObject(includeInstance, f), - selectExpr: (f = msg.getSelectExpr()) && proto.google.api.expr.v1alpha1.Expr.Select.toObject(includeInstance, f), - callExpr: (f = msg.getCallExpr()) && proto.google.api.expr.v1alpha1.Expr.Call.toObject(includeInstance, f), - listExpr: (f = msg.getListExpr()) && proto.google.api.expr.v1alpha1.Expr.CreateList.toObject(includeInstance, f), - structExpr: (f = msg.getStructExpr()) && proto.google.api.expr.v1alpha1.Expr.CreateStruct.toObject(includeInstance, f), - comprehensionExpr: (f = msg.getComprehensionExpr()) && proto.google.api.expr.v1alpha1.Expr.Comprehension.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 2, 0), +constExpr: (f = msg.getConstExpr()) && proto.google.api.expr.v1alpha1.Constant.toObject(includeInstance, f), +identExpr: (f = msg.getIdentExpr()) && proto.google.api.expr.v1alpha1.Expr.Ident.toObject(includeInstance, f), +selectExpr: (f = msg.getSelectExpr()) && proto.google.api.expr.v1alpha1.Expr.Select.toObject(includeInstance, f), +callExpr: (f = msg.getCallExpr()) && proto.google.api.expr.v1alpha1.Expr.Call.toObject(includeInstance, f), +listExpr: (f = msg.getListExpr()) && proto.google.api.expr.v1alpha1.Expr.CreateList.toObject(includeInstance, f), +structExpr: (f = msg.getStructExpr()) && proto.google.api.expr.v1alpha1.Expr.CreateStruct.toObject(includeInstance, f), +comprehensionExpr: (f = msg.getComprehensionExpr()) && proto.google.api.expr.v1alpha1.Expr.Comprehension.toObject(includeInstance, f) }; if (includeInstance) { @@ -808,7 +814,7 @@ proto.google.api.expr.v1alpha1.Expr.Ident.prototype.toObject = function(opt_incl */ proto.google.api.expr.v1alpha1.Expr.Ident.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -938,9 +944,9 @@ proto.google.api.expr.v1alpha1.Expr.Select.prototype.toObject = function(opt_inc */ proto.google.api.expr.v1alpha1.Expr.Select.toObject = function(includeInstance, msg) { var f, obj = { - operand: (f = msg.getOperand()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - field: jspb.Message.getFieldWithDefault(msg, 2, ""), - testOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) +operand: (f = msg.getOperand()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +field: jspb.Message.getFieldWithDefault(msg, 2, ""), +testOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -1156,9 +1162,9 @@ proto.google.api.expr.v1alpha1.Expr.Call.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.Expr.Call.toObject = function(includeInstance, msg) { var f, obj = { - target: (f = msg.getTarget()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - pb_function: jspb.Message.getFieldWithDefault(msg, 2, ""), - argsList: jspb.Message.toObjectList(msg.getArgsList(), +target: (f = msg.getTarget()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +pb_function: jspb.Message.getFieldWithDefault(msg, 2, ""), +argsList: jspb.Message.toObjectList(msg.getArgsList(), proto.google.api.expr.v1alpha1.Expr.toObject, includeInstance) }; @@ -1397,9 +1403,9 @@ proto.google.api.expr.v1alpha1.Expr.CreateList.prototype.toObject = function(opt */ proto.google.api.expr.v1alpha1.Expr.CreateList.toObject = function(includeInstance, msg) { var f, obj = { - elementsList: jspb.Message.toObjectList(msg.getElementsList(), +elementsList: jspb.Message.toObjectList(msg.getElementsList(), proto.google.api.expr.v1alpha1.Expr.toObject, includeInstance), - optionalIndicesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f +optionalIndicesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -1608,8 +1614,8 @@ proto.google.api.expr.v1alpha1.Expr.CreateStruct.prototype.toObject = function(o */ proto.google.api.expr.v1alpha1.Expr.CreateStruct.toObject = function(includeInstance, msg) { var f, obj = { - messageName: jspb.Message.getFieldWithDefault(msg, 1, ""), - entriesList: jspb.Message.toObjectList(msg.getEntriesList(), +messageName: jspb.Message.getFieldWithDefault(msg, 1, ""), +entriesList: jspb.Message.toObjectList(msg.getEntriesList(), proto.google.api.expr.v1alpha1.Expr.CreateStruct.Entry.toObject, includeInstance) }; @@ -1761,11 +1767,11 @@ proto.google.api.expr.v1alpha1.Expr.CreateStruct.Entry.prototype.toObject = func */ proto.google.api.expr.v1alpha1.Expr.CreateStruct.Entry.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, 0), - fieldKey: jspb.Message.getFieldWithDefault(msg, 2, ""), - mapKey: (f = msg.getMapKey()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - value: (f = msg.getValue()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - optionalEntry: jspb.Message.getBooleanFieldWithDefault(msg, 5, false) +id: jspb.Message.getFieldWithDefault(msg, 1, 0), +fieldKey: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +mapKey: (f = msg.getMapKey()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +value: (f = msg.getValue()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +optionalEntry: jspb.Message.getBooleanFieldWithDefault(msg, 5, false) }; if (includeInstance) { @@ -2127,14 +2133,14 @@ proto.google.api.expr.v1alpha1.Expr.Comprehension.prototype.toObject = function( */ proto.google.api.expr.v1alpha1.Expr.Comprehension.toObject = function(includeInstance, msg) { var f, obj = { - iterVar: jspb.Message.getFieldWithDefault(msg, 1, ""), - iterVar2: jspb.Message.getFieldWithDefault(msg, 8, ""), - iterRange: (f = msg.getIterRange()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - accuVar: jspb.Message.getFieldWithDefault(msg, 3, ""), - accuInit: (f = msg.getAccuInit()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - loopCondition: (f = msg.getLoopCondition()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - loopStep: (f = msg.getLoopStep()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - result: (f = msg.getResult()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f) +iterVar: jspb.Message.getFieldWithDefault(msg, 1, ""), +iterVar2: jspb.Message.getFieldWithDefault(msg, 8, ""), +iterRange: (f = msg.getIterRange()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +accuVar: jspb.Message.getFieldWithDefault(msg, 3, ""), +accuInit: (f = msg.getAccuInit()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +loopCondition: (f = msg.getLoopCondition()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +loopStep: (f = msg.getLoopStep()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +result: (f = msg.getResult()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f) }; if (includeInstance) { @@ -2882,15 +2888,15 @@ proto.google.api.expr.v1alpha1.Constant.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1alpha1.Constant.toObject = function(includeInstance, msg) { var f, obj = { - nullValue: jspb.Message.getFieldWithDefault(msg, 1, 0), - boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - int64Value: jspb.Message.getFieldWithDefault(msg, 3, 0), - uint64Value: jspb.Message.getFieldWithDefault(msg, 4, 0), - doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - stringValue: jspb.Message.getFieldWithDefault(msg, 6, ""), - bytesValue: msg.getBytesValue_asB64(), - durationValue: (f = msg.getDurationValue()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), - timestampValue: (f = msg.getTimestampValue()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +nullValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, +boolValue: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, +int64Value: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +uint64Value: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, +stringValue: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, +bytesValue: msg.getBytesValue_asB64(), +durationValue: (f = msg.getDurationValue()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), +timestampValue: (f = msg.getTimestampValue()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -3451,12 +3457,12 @@ proto.google.api.expr.v1alpha1.SourceInfo.prototype.toObject = function(opt_incl */ proto.google.api.expr.v1alpha1.SourceInfo.toObject = function(includeInstance, msg) { var f, obj = { - syntaxVersion: jspb.Message.getFieldWithDefault(msg, 1, ""), - location: jspb.Message.getFieldWithDefault(msg, 2, ""), - lineOffsetsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, - positionsMap: (f = msg.getPositionsMap()) ? f.toObject(includeInstance, undefined) : [], - macroCallsMap: (f = msg.getMacroCallsMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Expr.toObject) : [], - extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), +syntaxVersion: jspb.Message.getFieldWithDefault(msg, 1, ""), +location: jspb.Message.getFieldWithDefault(msg, 2, ""), +lineOffsetsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, +positionsMap: (f = msg.getPositionsMap()) ? f.toObject(includeInstance, undefined) : [], +macroCallsMap: (f = msg.getMacroCallsMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Expr.toObject) : [], +extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), proto.google.api.expr.v1alpha1.SourceInfo.Extension.toObject, includeInstance) }; @@ -3633,9 +3639,9 @@ proto.google.api.expr.v1alpha1.SourceInfo.Extension.prototype.toObject = functio */ proto.google.api.expr.v1alpha1.SourceInfo.Extension.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - affectedComponentsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - version: (f = msg.getVersion()) && proto.google.api.expr.v1alpha1.SourceInfo.Extension.Version.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +affectedComponentsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, +version: (f = msg.getVersion()) && proto.google.api.expr.v1alpha1.SourceInfo.Extension.Version.toObject(includeInstance, f) }; if (includeInstance) { @@ -3783,8 +3789,8 @@ proto.google.api.expr.v1alpha1.SourceInfo.Extension.Version.prototype.toObject = */ proto.google.api.expr.v1alpha1.SourceInfo.Extension.Version.toObject = function(includeInstance, msg) { var f, obj = { - major: jspb.Message.getFieldWithDefault(msg, 1, 0), - minor: jspb.Message.getFieldWithDefault(msg, 2, 0) +major: jspb.Message.getFieldWithDefault(msg, 1, 0), +minor: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -4095,7 +4101,8 @@ proto.google.api.expr.v1alpha1.SourceInfo.prototype.getPositionsMap = function(o */ proto.google.api.expr.v1alpha1.SourceInfo.prototype.clearPositionsMap = function() { this.getPositionsMap().clear(); - return this;}; + return this; +}; /** @@ -4117,7 +4124,8 @@ proto.google.api.expr.v1alpha1.SourceInfo.prototype.getMacroCallsMap = function( */ proto.google.api.expr.v1alpha1.SourceInfo.prototype.clearMacroCallsMap = function() { this.getMacroCallsMap().clear(); - return this;}; + return this; +}; /** @@ -4190,10 +4198,10 @@ proto.google.api.expr.v1alpha1.SourcePosition.prototype.toObject = function(opt_ */ proto.google.api.expr.v1alpha1.SourcePosition.toObject = function(includeInstance, msg) { var f, obj = { - location: jspb.Message.getFieldWithDefault(msg, 1, ""), - offset: jspb.Message.getFieldWithDefault(msg, 2, 0), - line: jspb.Message.getFieldWithDefault(msg, 3, 0), - column: jspb.Message.getFieldWithDefault(msg, 4, 0) +location: jspb.Message.getFieldWithDefault(msg, 1, ""), +offset: jspb.Message.getFieldWithDefault(msg, 2, 0), +line: jspb.Message.getFieldWithDefault(msg, 3, 0), +column: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1alpha1/value_pb.js b/gen/js/google/api/expr/v1alpha1/value_pb.js index e87a48c0..06d48e7c 100644 --- a/gen/js/google/api/expr/v1alpha1/value_pb.js +++ b/gen/js/google/api/expr/v1alpha1/value_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); goog.object.extend(proto, google_protobuf_any_pb); @@ -198,18 +204,18 @@ proto.google.api.expr.v1alpha1.Value.prototype.toObject = function(opt_includeIn */ proto.google.api.expr.v1alpha1.Value.toObject = function(includeInstance, msg) { var f, obj = { - nullValue: jspb.Message.getFieldWithDefault(msg, 1, 0), - boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - int64Value: jspb.Message.getFieldWithDefault(msg, 3, 0), - uint64Value: jspb.Message.getFieldWithDefault(msg, 4, 0), - doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - stringValue: jspb.Message.getFieldWithDefault(msg, 6, ""), - bytesValue: msg.getBytesValue_asB64(), - enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1alpha1.EnumValue.toObject(includeInstance, f), - objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), - mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1alpha1.MapValue.toObject(includeInstance, f), - listValue: (f = msg.getListValue()) && proto.google.api.expr.v1alpha1.ListValue.toObject(includeInstance, f), - typeValue: jspb.Message.getFieldWithDefault(msg, 15, "") +nullValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, +boolValue: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, +int64Value: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +uint64Value: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, +stringValue: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, +bytesValue: msg.getBytesValue_asB64(), +enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1alpha1.EnumValue.toObject(includeInstance, f), +objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), +mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1alpha1.MapValue.toObject(includeInstance, f), +listValue: (f = msg.getListValue()) && proto.google.api.expr.v1alpha1.ListValue.toObject(includeInstance, f), +typeValue: (f = jspb.Message.getField(msg, 15)) == null ? undefined : f }; if (includeInstance) { @@ -910,8 +916,8 @@ proto.google.api.expr.v1alpha1.EnumValue.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.EnumValue.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - value: jspb.Message.getFieldWithDefault(msg, 2, 0) +type: jspb.Message.getFieldWithDefault(msg, 1, ""), +value: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -1077,7 +1083,7 @@ proto.google.api.expr.v1alpha1.ListValue.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.ListValue.toObject = function(includeInstance, msg) { var f, obj = { - valuesList: jspb.Message.toObjectList(msg.getValuesList(), +valuesList: jspb.Message.toObjectList(msg.getValuesList(), proto.google.api.expr.v1alpha1.Value.toObject, includeInstance) }; @@ -1237,7 +1243,7 @@ proto.google.api.expr.v1alpha1.MapValue.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1alpha1.MapValue.toObject = function(includeInstance, msg) { var f, obj = { - entriesList: jspb.Message.toObjectList(msg.getEntriesList(), +entriesList: jspb.Message.toObjectList(msg.getEntriesList(), proto.google.api.expr.v1alpha1.MapValue.Entry.toObject, includeInstance) }; @@ -1352,8 +1358,8 @@ proto.google.api.expr.v1alpha1.MapValue.Entry.prototype.toObject = function(opt_ */ proto.google.api.expr.v1alpha1.MapValue.Entry.toObject = function(includeInstance, msg) { var f, obj = { - key: (f = msg.getKey()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f), - value: (f = msg.getValue()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f) +key: (f = msg.getKey()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f), +value: (f = msg.getValue()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1beta1/decl_pb.js b/gen/js/google/api/expr/v1beta1/decl_pb.js index 4a6e2a1a..4932d3ef 100644 --- a/gen/js/google/api/expr/v1beta1/decl_pb.js +++ b/gen/js/google/api/expr/v1beta1/decl_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_api_expr_v1beta1_expr_pb = require('../../../../google/api/expr/v1beta1/expr_pb.js'); goog.object.extend(proto, google_api_expr_v1beta1_expr_pb); @@ -164,11 +170,11 @@ proto.google.api.expr.v1beta1.Decl.prototype.toObject = function(opt_includeInst */ proto.google.api.expr.v1beta1.Decl.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, 0), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - doc: jspb.Message.getFieldWithDefault(msg, 3, ""), - ident: (f = msg.getIdent()) && proto.google.api.expr.v1beta1.IdentDecl.toObject(includeInstance, f), - pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1beta1.FunctionDecl.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, 0), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +doc: jspb.Message.getFieldWithDefault(msg, 3, ""), +ident: (f = msg.getIdent()) && proto.google.api.expr.v1beta1.IdentDecl.toObject(includeInstance, f), +pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1beta1.FunctionDecl.toObject(includeInstance, f) }; if (includeInstance) { @@ -463,9 +469,9 @@ proto.google.api.expr.v1beta1.DeclType.prototype.toObject = function(opt_include */ proto.google.api.expr.v1beta1.DeclType.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, 0), - type: jspb.Message.getFieldWithDefault(msg, 2, ""), - typeParamsList: jspb.Message.toObjectList(msg.getTypeParamsList(), +id: jspb.Message.getFieldWithDefault(msg, 1, 0), +type: jspb.Message.getFieldWithDefault(msg, 2, ""), +typeParamsList: jspb.Message.toObjectList(msg.getTypeParamsList(), proto.google.api.expr.v1beta1.DeclType.toObject, includeInstance) }; @@ -676,8 +682,8 @@ proto.google.api.expr.v1beta1.IdentDecl.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.IdentDecl.toObject = function(includeInstance, msg) { var f, obj = { - type: (f = msg.getType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), - value: (f = msg.getValue()) && google_api_expr_v1beta1_expr_pb.Expr.toObject(includeInstance, f) +type: (f = msg.getType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), +value: (f = msg.getValue()) && google_api_expr_v1beta1_expr_pb.Expr.toObject(includeInstance, f) }; if (includeInstance) { @@ -885,10 +891,10 @@ proto.google.api.expr.v1beta1.FunctionDecl.prototype.toObject = function(opt_inc */ proto.google.api.expr.v1beta1.FunctionDecl.toObject = function(includeInstance, msg) { var f, obj = { - argsList: jspb.Message.toObjectList(msg.getArgsList(), +argsList: jspb.Message.toObjectList(msg.getArgsList(), proto.google.api.expr.v1beta1.IdentDecl.toObject, includeInstance), - returnType: (f = msg.getReturnType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), - receiverFunction: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) +returnType: (f = msg.getReturnType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), +receiverFunction: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1beta1/eval_pb.js b/gen/js/google/api/expr/v1beta1/eval_pb.js index 6e4a04cc..a8c8315e 100644 --- a/gen/js/google/api/expr/v1beta1/eval_pb.js +++ b/gen/js/google/api/expr/v1beta1/eval_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_api_expr_v1beta1_value_pb = require('../../../../google/api/expr/v1beta1/value_pb.js'); goog.object.extend(proto, google_api_expr_v1beta1_value_pb); @@ -191,9 +197,9 @@ proto.google.api.expr.v1beta1.EvalState.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.EvalState.toObject = function(includeInstance, msg) { var f, obj = { - valuesList: jspb.Message.toObjectList(msg.getValuesList(), +valuesList: jspb.Message.toObjectList(msg.getValuesList(), proto.google.api.expr.v1beta1.ExprValue.toObject, includeInstance), - resultsList: jspb.Message.toObjectList(msg.getResultsList(), +resultsList: jspb.Message.toObjectList(msg.getResultsList(), proto.google.api.expr.v1beta1.EvalState.Result.toObject, includeInstance) }; @@ -321,8 +327,8 @@ proto.google.api.expr.v1beta1.EvalState.Result.prototype.toObject = function(opt */ proto.google.api.expr.v1beta1.EvalState.Result.toObject = function(includeInstance, msg) { var f, obj = { - expr: (f = msg.getExpr()) && proto.google.api.expr.v1beta1.IdRef.toObject(includeInstance, f), - value: jspb.Message.getFieldWithDefault(msg, 2, 0) +expr: (f = msg.getExpr()) && proto.google.api.expr.v1beta1.IdRef.toObject(includeInstance, f), +value: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -605,9 +611,9 @@ proto.google.api.expr.v1beta1.ExprValue.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.ExprValue.toObject = function(includeInstance, msg) { var f, obj = { - value: (f = msg.getValue()) && google_api_expr_v1beta1_value_pb.Value.toObject(includeInstance, f), - error: (f = msg.getError()) && proto.google.api.expr.v1beta1.ErrorSet.toObject(includeInstance, f), - unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1beta1.UnknownSet.toObject(includeInstance, f) +value: (f = msg.getValue()) && google_api_expr_v1beta1_value_pb.Value.toObject(includeInstance, f), +error: (f = msg.getError()) && proto.google.api.expr.v1beta1.ErrorSet.toObject(includeInstance, f), +unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1beta1.UnknownSet.toObject(includeInstance, f) }; if (includeInstance) { @@ -865,7 +871,7 @@ proto.google.api.expr.v1beta1.ErrorSet.prototype.toObject = function(opt_include */ proto.google.api.expr.v1beta1.ErrorSet.toObject = function(includeInstance, msg) { var f, obj = { - errorsList: jspb.Message.toObjectList(msg.getErrorsList(), +errorsList: jspb.Message.toObjectList(msg.getErrorsList(), google_rpc_status_pb.Status.toObject, includeInstance) }; @@ -1025,7 +1031,7 @@ proto.google.api.expr.v1beta1.UnknownSet.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1beta1.UnknownSet.toObject = function(includeInstance, msg) { var f, obj = { - exprsList: jspb.Message.toObjectList(msg.getExprsList(), +exprsList: jspb.Message.toObjectList(msg.getExprsList(), proto.google.api.expr.v1beta1.IdRef.toObject, includeInstance) }; @@ -1178,7 +1184,7 @@ proto.google.api.expr.v1beta1.IdRef.prototype.toObject = function(opt_includeIns */ proto.google.api.expr.v1beta1.IdRef.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, 0) +id: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1beta1/expr_pb.js b/gen/js/google/api/expr/v1beta1/expr_pb.js index fa983797..7035e6ea 100644 --- a/gen/js/google/api/expr/v1beta1/expr_pb.js +++ b/gen/js/google/api/expr/v1beta1/expr_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_api_expr_v1beta1_source_pb = require('../../../../google/api/expr/v1beta1/source_pb.js'); goog.object.extend(proto, google_api_expr_v1beta1_source_pb); @@ -274,9 +280,9 @@ proto.google.api.expr.v1beta1.ParsedExpr.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1beta1.ParsedExpr.toObject = function(includeInstance, msg) { var f, obj = { - expr: (f = msg.getExpr()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - sourceInfo: (f = msg.getSourceInfo()) && google_api_expr_v1beta1_source_pb.SourceInfo.toObject(includeInstance, f), - syntaxVersion: jspb.Message.getFieldWithDefault(msg, 4, "") +expr: (f = msg.getExpr()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +sourceInfo: (f = msg.getSourceInfo()) && google_api_expr_v1beta1_source_pb.SourceInfo.toObject(includeInstance, f), +syntaxVersion: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -537,14 +543,14 @@ proto.google.api.expr.v1beta1.Expr.prototype.toObject = function(opt_includeInst */ proto.google.api.expr.v1beta1.Expr.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 2, 0), - literalExpr: (f = msg.getLiteralExpr()) && proto.google.api.expr.v1beta1.Literal.toObject(includeInstance, f), - identExpr: (f = msg.getIdentExpr()) && proto.google.api.expr.v1beta1.Expr.Ident.toObject(includeInstance, f), - selectExpr: (f = msg.getSelectExpr()) && proto.google.api.expr.v1beta1.Expr.Select.toObject(includeInstance, f), - callExpr: (f = msg.getCallExpr()) && proto.google.api.expr.v1beta1.Expr.Call.toObject(includeInstance, f), - listExpr: (f = msg.getListExpr()) && proto.google.api.expr.v1beta1.Expr.CreateList.toObject(includeInstance, f), - structExpr: (f = msg.getStructExpr()) && proto.google.api.expr.v1beta1.Expr.CreateStruct.toObject(includeInstance, f), - comprehensionExpr: (f = msg.getComprehensionExpr()) && proto.google.api.expr.v1beta1.Expr.Comprehension.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 2, 0), +literalExpr: (f = msg.getLiteralExpr()) && proto.google.api.expr.v1beta1.Literal.toObject(includeInstance, f), +identExpr: (f = msg.getIdentExpr()) && proto.google.api.expr.v1beta1.Expr.Ident.toObject(includeInstance, f), +selectExpr: (f = msg.getSelectExpr()) && proto.google.api.expr.v1beta1.Expr.Select.toObject(includeInstance, f), +callExpr: (f = msg.getCallExpr()) && proto.google.api.expr.v1beta1.Expr.Call.toObject(includeInstance, f), +listExpr: (f = msg.getListExpr()) && proto.google.api.expr.v1beta1.Expr.CreateList.toObject(includeInstance, f), +structExpr: (f = msg.getStructExpr()) && proto.google.api.expr.v1beta1.Expr.CreateStruct.toObject(includeInstance, f), +comprehensionExpr: (f = msg.getComprehensionExpr()) && proto.google.api.expr.v1beta1.Expr.Comprehension.toObject(includeInstance, f) }; if (includeInstance) { @@ -747,7 +753,7 @@ proto.google.api.expr.v1beta1.Expr.Ident.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1beta1.Expr.Ident.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -877,9 +883,9 @@ proto.google.api.expr.v1beta1.Expr.Select.prototype.toObject = function(opt_incl */ proto.google.api.expr.v1beta1.Expr.Select.toObject = function(includeInstance, msg) { var f, obj = { - operand: (f = msg.getOperand()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - field: jspb.Message.getFieldWithDefault(msg, 2, ""), - testOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) +operand: (f = msg.getOperand()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +field: jspb.Message.getFieldWithDefault(msg, 2, ""), +testOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -1095,9 +1101,9 @@ proto.google.api.expr.v1beta1.Expr.Call.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.Expr.Call.toObject = function(includeInstance, msg) { var f, obj = { - target: (f = msg.getTarget()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - pb_function: jspb.Message.getFieldWithDefault(msg, 2, ""), - argsList: jspb.Message.toObjectList(msg.getArgsList(), +target: (f = msg.getTarget()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +pb_function: jspb.Message.getFieldWithDefault(msg, 2, ""), +argsList: jspb.Message.toObjectList(msg.getArgsList(), proto.google.api.expr.v1beta1.Expr.toObject, includeInstance) }; @@ -1336,7 +1342,7 @@ proto.google.api.expr.v1beta1.Expr.CreateList.prototype.toObject = function(opt_ */ proto.google.api.expr.v1beta1.Expr.CreateList.toObject = function(includeInstance, msg) { var f, obj = { - elementsList: jspb.Message.toObjectList(msg.getElementsList(), +elementsList: jspb.Message.toObjectList(msg.getElementsList(), proto.google.api.expr.v1beta1.Expr.toObject, includeInstance) }; @@ -1496,8 +1502,8 @@ proto.google.api.expr.v1beta1.Expr.CreateStruct.prototype.toObject = function(op */ proto.google.api.expr.v1beta1.Expr.CreateStruct.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - entriesList: jspb.Message.toObjectList(msg.getEntriesList(), +type: jspb.Message.getFieldWithDefault(msg, 1, ""), +entriesList: jspb.Message.toObjectList(msg.getEntriesList(), proto.google.api.expr.v1beta1.Expr.CreateStruct.Entry.toObject, includeInstance) }; @@ -1649,10 +1655,10 @@ proto.google.api.expr.v1beta1.Expr.CreateStruct.Entry.prototype.toObject = funct */ proto.google.api.expr.v1beta1.Expr.CreateStruct.Entry.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, 0), - fieldKey: jspb.Message.getFieldWithDefault(msg, 2, ""), - mapKey: (f = msg.getMapKey()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - value: (f = msg.getValue()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, 0), +fieldKey: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +mapKey: (f = msg.getMapKey()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +value: (f = msg.getValue()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f) }; if (includeInstance) { @@ -1985,13 +1991,13 @@ proto.google.api.expr.v1beta1.Expr.Comprehension.prototype.toObject = function(o */ proto.google.api.expr.v1beta1.Expr.Comprehension.toObject = function(includeInstance, msg) { var f, obj = { - iterVar: jspb.Message.getFieldWithDefault(msg, 1, ""), - iterRange: (f = msg.getIterRange()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - accuVar: jspb.Message.getFieldWithDefault(msg, 3, ""), - accuInit: (f = msg.getAccuInit()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - loopCondition: (f = msg.getLoopCondition()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - loopStep: (f = msg.getLoopStep()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - result: (f = msg.getResult()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f) +iterVar: jspb.Message.getFieldWithDefault(msg, 1, ""), +iterRange: (f = msg.getIterRange()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +accuVar: jspb.Message.getFieldWithDefault(msg, 3, ""), +accuInit: (f = msg.getAccuInit()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +loopCondition: (f = msg.getLoopCondition()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +loopStep: (f = msg.getLoopStep()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +result: (f = msg.getResult()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f) }; if (includeInstance) { @@ -2708,13 +2714,13 @@ proto.google.api.expr.v1beta1.Literal.prototype.toObject = function(opt_includeI */ proto.google.api.expr.v1beta1.Literal.toObject = function(includeInstance, msg) { var f, obj = { - nullValue: jspb.Message.getFieldWithDefault(msg, 1, 0), - boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - int64Value: jspb.Message.getFieldWithDefault(msg, 3, 0), - uint64Value: jspb.Message.getFieldWithDefault(msg, 4, 0), - doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - stringValue: jspb.Message.getFieldWithDefault(msg, 6, ""), - bytesValue: msg.getBytesValue_asB64() +nullValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, +boolValue: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, +int64Value: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +uint64Value: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, +stringValue: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, +bytesValue: msg.getBytesValue_asB64() }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1beta1/source_pb.js b/gen/js/google/api/expr/v1beta1/source_pb.js index 10a8bbf7..ce947a43 100644 --- a/gen/js/google/api/expr/v1beta1/source_pb.js +++ b/gen/js/google/api/expr/v1beta1/source_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.api.expr.v1beta1.SourceInfo', null, global); goog.exportSymbol('proto.google.api.expr.v1beta1.SourcePosition', null, global); @@ -98,9 +104,9 @@ proto.google.api.expr.v1beta1.SourceInfo.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1beta1.SourceInfo.toObject = function(includeInstance, msg) { var f, obj = { - location: jspb.Message.getFieldWithDefault(msg, 2, ""), - lineOffsetsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, - positionsMap: (f = msg.getPositionsMap()) ? f.toObject(includeInstance, undefined) : [] +location: jspb.Message.getFieldWithDefault(msg, 2, ""), +lineOffsetsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, +positionsMap: (f = msg.getPositionsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -277,7 +283,8 @@ proto.google.api.expr.v1beta1.SourceInfo.prototype.getPositionsMap = function(op */ proto.google.api.expr.v1beta1.SourceInfo.prototype.clearPositionsMap = function() { this.getPositionsMap().clear(); - return this;}; + return this; +}; @@ -312,10 +319,10 @@ proto.google.api.expr.v1beta1.SourcePosition.prototype.toObject = function(opt_i */ proto.google.api.expr.v1beta1.SourcePosition.toObject = function(includeInstance, msg) { var f, obj = { - location: jspb.Message.getFieldWithDefault(msg, 1, ""), - offset: jspb.Message.getFieldWithDefault(msg, 2, 0), - line: jspb.Message.getFieldWithDefault(msg, 3, 0), - column: jspb.Message.getFieldWithDefault(msg, 4, 0) +location: jspb.Message.getFieldWithDefault(msg, 1, ""), +offset: jspb.Message.getFieldWithDefault(msg, 2, 0), +line: jspb.Message.getFieldWithDefault(msg, 3, 0), +column: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1beta1/value_pb.js b/gen/js/google/api/expr/v1beta1/value_pb.js index faab413a..87dd58a5 100644 --- a/gen/js/google/api/expr/v1beta1/value_pb.js +++ b/gen/js/google/api/expr/v1beta1/value_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); goog.object.extend(proto, google_protobuf_any_pb); @@ -198,18 +204,18 @@ proto.google.api.expr.v1beta1.Value.prototype.toObject = function(opt_includeIns */ proto.google.api.expr.v1beta1.Value.toObject = function(includeInstance, msg) { var f, obj = { - nullValue: jspb.Message.getFieldWithDefault(msg, 1, 0), - boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - int64Value: jspb.Message.getFieldWithDefault(msg, 3, 0), - uint64Value: jspb.Message.getFieldWithDefault(msg, 4, 0), - doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - stringValue: jspb.Message.getFieldWithDefault(msg, 6, ""), - bytesValue: msg.getBytesValue_asB64(), - enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1beta1.EnumValue.toObject(includeInstance, f), - objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), - mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1beta1.MapValue.toObject(includeInstance, f), - listValue: (f = msg.getListValue()) && proto.google.api.expr.v1beta1.ListValue.toObject(includeInstance, f), - typeValue: jspb.Message.getFieldWithDefault(msg, 15, "") +nullValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, +boolValue: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, +int64Value: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +uint64Value: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, +stringValue: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, +bytesValue: msg.getBytesValue_asB64(), +enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1beta1.EnumValue.toObject(includeInstance, f), +objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), +mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1beta1.MapValue.toObject(includeInstance, f), +listValue: (f = msg.getListValue()) && proto.google.api.expr.v1beta1.ListValue.toObject(includeInstance, f), +typeValue: (f = jspb.Message.getField(msg, 15)) == null ? undefined : f }; if (includeInstance) { @@ -910,8 +916,8 @@ proto.google.api.expr.v1beta1.EnumValue.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.EnumValue.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - value: jspb.Message.getFieldWithDefault(msg, 2, 0) +type: jspb.Message.getFieldWithDefault(msg, 1, ""), +value: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -1077,7 +1083,7 @@ proto.google.api.expr.v1beta1.ListValue.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.ListValue.toObject = function(includeInstance, msg) { var f, obj = { - valuesList: jspb.Message.toObjectList(msg.getValuesList(), +valuesList: jspb.Message.toObjectList(msg.getValuesList(), proto.google.api.expr.v1beta1.Value.toObject, includeInstance) }; @@ -1237,7 +1243,7 @@ proto.google.api.expr.v1beta1.MapValue.prototype.toObject = function(opt_include */ proto.google.api.expr.v1beta1.MapValue.toObject = function(includeInstance, msg) { var f, obj = { - entriesList: jspb.Message.toObjectList(msg.getEntriesList(), +entriesList: jspb.Message.toObjectList(msg.getEntriesList(), proto.google.api.expr.v1beta1.MapValue.Entry.toObject, includeInstance) }; @@ -1352,8 +1358,8 @@ proto.google.api.expr.v1beta1.MapValue.Entry.prototype.toObject = function(opt_i */ proto.google.api.expr.v1beta1.MapValue.Entry.toObject = function(includeInstance, msg) { var f, obj = { - key: (f = msg.getKey()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f), - value: (f = msg.getValue()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f) +key: (f = msg.getKey()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f), +value: (f = msg.getValue()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/google/api/field_behavior_pb.js b/gen/js/google/api/field_behavior_pb.js index 200f6462..3e51e31f 100644 --- a/gen/js/google/api/field_behavior_pb.js +++ b/gen/js/google/api/field_behavior_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); goog.object.extend(proto, google_protobuf_descriptor_pb); diff --git a/gen/js/google/api/field_info_pb.js b/gen/js/google/api/field_info_pb.js index cfba6627..d6ed3567 100644 --- a/gen/js/google/api/field_info_pb.js +++ b/gen/js/google/api/field_info_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); goog.object.extend(proto, google_protobuf_descriptor_pb); @@ -102,8 +108,8 @@ proto.google.api.FieldInfo.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.FieldInfo.toObject = function(includeInstance, msg) { var f, obj = { - format: jspb.Message.getFieldWithDefault(msg, 1, 0), - referencedTypesList: jspb.Message.toObjectList(msg.getReferencedTypesList(), +format: jspb.Message.getFieldWithDefault(msg, 1, 0), +referencedTypesList: jspb.Message.toObjectList(msg.getReferencedTypesList(), proto.google.api.TypeReference.toObject, includeInstance) }; @@ -296,7 +302,7 @@ proto.google.api.TypeReference.prototype.toObject = function(opt_includeInstance */ proto.google.api.TypeReference.toObject = function(includeInstance, msg) { var f, obj = { - typeName: jspb.Message.getFieldWithDefault(msg, 1, "") +typeName: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { diff --git a/gen/js/google/api/http_pb.js b/gen/js/google/api/http_pb.js index ea429932..01b39deb 100644 --- a/gen/js/google/api/http_pb.js +++ b/gen/js/google/api/http_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.api.CustomHttpPattern', null, global); goog.exportSymbol('proto.google.api.Http', null, global); @@ -121,9 +127,9 @@ proto.google.api.Http.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.Http.toObject = function(includeInstance, msg) { var f, obj = { - rulesList: jspb.Message.toObjectList(msg.getRulesList(), +rulesList: jspb.Message.toObjectList(msg.getRulesList(), proto.google.api.HttpRule.toObject, includeInstance), - fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) +fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -341,16 +347,16 @@ proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.HttpRule.toObject = function(includeInstance, msg) { var f, obj = { - selector: jspb.Message.getFieldWithDefault(msg, 1, ""), - get: jspb.Message.getFieldWithDefault(msg, 2, ""), - put: jspb.Message.getFieldWithDefault(msg, 3, ""), - post: jspb.Message.getFieldWithDefault(msg, 4, ""), - pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), - patch: jspb.Message.getFieldWithDefault(msg, 6, ""), - custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), - body: jspb.Message.getFieldWithDefault(msg, 7, ""), - responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), - additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), +selector: jspb.Message.getFieldWithDefault(msg, 1, ""), +get: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +put: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +post: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +pb_delete: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, +patch: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, +custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), +body: jspb.Message.getFieldWithDefault(msg, 7, ""), +responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), +additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), proto.google.api.HttpRule.toObject, includeInstance) }; @@ -875,8 +881,8 @@ proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInst */ proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { var f, obj = { - kind: jspb.Message.getFieldWithDefault(msg, 1, ""), - path: jspb.Message.getFieldWithDefault(msg, 2, "") +kind: jspb.Message.getFieldWithDefault(msg, 1, ""), +path: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/api/httpbody_pb.js b/gen/js/google/api/httpbody_pb.js index efaaef4a..76c0171f 100644 --- a/gen/js/google/api/httpbody_pb.js +++ b/gen/js/google/api/httpbody_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); goog.object.extend(proto, google_protobuf_any_pb); @@ -78,9 +84,9 @@ proto.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.HttpBody.toObject = function(includeInstance, msg) { var f, obj = { - contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), - data: msg.getData_asB64(), - extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), +contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), +data: msg.getData_asB64(), +extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), google_protobuf_any_pb.Any.toObject, includeInstance) }; diff --git a/gen/js/google/api/launch_stage_pb.js b/gen/js/google/api/launch_stage_pb.js index d6b19b69..9417b881 100644 --- a/gen/js/google/api/launch_stage_pb.js +++ b/gen/js/google/api/launch_stage_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.api.LaunchStage', null, global); /** diff --git a/gen/js/google/api/resource_pb.js b/gen/js/google/api/resource_pb.js index 82456373..9087d367 100644 --- a/gen/js/google/api/resource_pb.js +++ b/gen/js/google/api/resource_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); goog.object.extend(proto, google_protobuf_descriptor_pb); @@ -105,13 +111,13 @@ proto.google.api.ResourceDescriptor.prototype.toObject = function(opt_includeIns */ proto.google.api.ResourceDescriptor.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - patternList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - nameField: jspb.Message.getFieldWithDefault(msg, 3, ""), - history: jspb.Message.getFieldWithDefault(msg, 4, 0), - plural: jspb.Message.getFieldWithDefault(msg, 5, ""), - singular: jspb.Message.getFieldWithDefault(msg, 6, ""), - styleList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f +type: jspb.Message.getFieldWithDefault(msg, 1, ""), +patternList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, +nameField: jspb.Message.getFieldWithDefault(msg, 3, ""), +history: jspb.Message.getFieldWithDefault(msg, 4, 0), +plural: jspb.Message.getFieldWithDefault(msg, 5, ""), +singular: jspb.Message.getFieldWithDefault(msg, 6, ""), +styleList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f }; if (includeInstance) { @@ -472,8 +478,8 @@ proto.google.api.ResourceReference.prototype.toObject = function(opt_includeInst */ proto.google.api.ResourceReference.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - childType: jspb.Message.getFieldWithDefault(msg, 2, "") +type: jspb.Message.getFieldWithDefault(msg, 1, ""), +childType: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/api/visibility_pb.js b/gen/js/google/api/visibility_pb.js index 84597f74..cbb0106d 100644 --- a/gen/js/google/api/visibility_pb.js +++ b/gen/js/google/api/visibility_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); goog.object.extend(proto, google_protobuf_descriptor_pb); @@ -106,7 +112,7 @@ proto.google.api.Visibility.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.Visibility.toObject = function(includeInstance, msg) { var f, obj = { - rulesList: jspb.Message.toObjectList(msg.getRulesList(), +rulesList: jspb.Message.toObjectList(msg.getRulesList(), proto.google.api.VisibilityRule.toObject, includeInstance) }; @@ -259,8 +265,8 @@ proto.google.api.VisibilityRule.prototype.toObject = function(opt_includeInstanc */ proto.google.api.VisibilityRule.toObject = function(includeInstance, msg) { var f, obj = { - selector: jspb.Message.getFieldWithDefault(msg, 1, ""), - restriction: jspb.Message.getFieldWithDefault(msg, 2, "") +selector: jspb.Message.getFieldWithDefault(msg, 1, ""), +restriction: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/bytestream/bytestream_pb.js b/gen/js/google/bytestream/bytestream_pb.js index bbff6c85..d9a5055f 100644 --- a/gen/js/google/bytestream/bytestream_pb.js +++ b/gen/js/google/bytestream/bytestream_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.bytestream.QueryWriteStatusRequest', null, global); goog.exportSymbol('proto.google.bytestream.QueryWriteStatusResponse', null, global); @@ -179,9 +185,9 @@ proto.google.bytestream.ReadRequest.prototype.toObject = function(opt_includeIns */ proto.google.bytestream.ReadRequest.toObject = function(includeInstance, msg) { var f, obj = { - resourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), - readOffset: jspb.Message.getFieldWithDefault(msg, 2, 0), - readLimit: jspb.Message.getFieldWithDefault(msg, 3, 0) +resourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), +readOffset: jspb.Message.getFieldWithDefault(msg, 2, 0), +readLimit: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -369,7 +375,7 @@ proto.google.bytestream.ReadResponse.prototype.toObject = function(opt_includeIn */ proto.google.bytestream.ReadResponse.toObject = function(includeInstance, msg) { var f, obj = { - data: msg.getData_asB64() +data: msg.getData_asB64() }; if (includeInstance) { @@ -523,10 +529,10 @@ proto.google.bytestream.WriteRequest.prototype.toObject = function(opt_includeIn */ proto.google.bytestream.WriteRequest.toObject = function(includeInstance, msg) { var f, obj = { - resourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), - writeOffset: jspb.Message.getFieldWithDefault(msg, 2, 0), - finishWrite: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - data: msg.getData_asB64() +resourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), +writeOffset: jspb.Message.getFieldWithDefault(msg, 2, 0), +finishWrite: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), +data: msg.getData_asB64() }; if (includeInstance) { @@ -767,7 +773,7 @@ proto.google.bytestream.WriteResponse.prototype.toObject = function(opt_includeI */ proto.google.bytestream.WriteResponse.toObject = function(includeInstance, msg) { var f, obj = { - committedSize: jspb.Message.getFieldWithDefault(msg, 1, 0) +committedSize: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -897,7 +903,7 @@ proto.google.bytestream.QueryWriteStatusRequest.prototype.toObject = function(op */ proto.google.bytestream.QueryWriteStatusRequest.toObject = function(includeInstance, msg) { var f, obj = { - resourceName: jspb.Message.getFieldWithDefault(msg, 1, "") +resourceName: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1027,8 +1033,8 @@ proto.google.bytestream.QueryWriteStatusResponse.prototype.toObject = function(o */ proto.google.bytestream.QueryWriteStatusResponse.toObject = function(includeInstance, msg) { var f, obj = { - committedSize: jspb.Message.getFieldWithDefault(msg, 1, 0), - complete: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) +committedSize: jspb.Message.getFieldWithDefault(msg, 1, 0), +complete: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { diff --git a/gen/js/google/geo/type/viewport_pb.js b/gen/js/google/geo/type/viewport_pb.js index 0f7ff6b5..ef8177f0 100644 --- a/gen/js/google/geo/type/viewport_pb.js +++ b/gen/js/google/geo/type/viewport_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_type_latlng_pb = require('../../../google/type/latlng_pb.js'); goog.object.extend(proto, google_type_latlng_pb); @@ -71,8 +77,8 @@ proto.google.geo.type.Viewport.prototype.toObject = function(opt_includeInstance */ proto.google.geo.type.Viewport.toObject = function(includeInstance, msg) { var f, obj = { - low: (f = msg.getLow()) && google_type_latlng_pb.LatLng.toObject(includeInstance, f), - high: (f = msg.getHigh()) && google_type_latlng_pb.LatLng.toObject(includeInstance, f) +low: (f = msg.getLow()) && google_type_latlng_pb.LatLng.toObject(includeInstance, f), +high: (f = msg.getHigh()) && google_type_latlng_pb.LatLng.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/google/longrunning/operations_pb.js b/gen/js/google/longrunning/operations_pb.js index e59c3ff3..03d9bd8e 100644 --- a/gen/js/google/longrunning/operations_pb.js +++ b/gen/js/google/longrunning/operations_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_api_annotations_pb = require('../../google/api/annotations_pb.js'); goog.object.extend(proto, google_api_annotations_pb); @@ -265,11 +271,11 @@ proto.google.longrunning.Operation.prototype.toObject = function(opt_includeInst */ proto.google.longrunning.Operation.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - metadata: (f = msg.getMetadata()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), - done: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f), - response: (f = msg.getResponse()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +metadata: (f = msg.getMetadata()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), +done: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), +error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f), +response: (f = msg.getResponse()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) }; if (includeInstance) { @@ -578,7 +584,7 @@ proto.google.longrunning.GetOperationRequest.prototype.toObject = function(opt_i */ proto.google.longrunning.GetOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -708,10 +714,10 @@ proto.google.longrunning.ListOperationsRequest.prototype.toObject = function(opt */ proto.google.longrunning.ListOperationsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 4, ""), - filter: jspb.Message.getFieldWithDefault(msg, 1, ""), - pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0), - pageToken: jspb.Message.getFieldWithDefault(msg, 3, "") +name: jspb.Message.getFieldWithDefault(msg, 4, ""), +filter: jspb.Message.getFieldWithDefault(msg, 1, ""), +pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0), +pageToken: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -935,9 +941,9 @@ proto.google.longrunning.ListOperationsResponse.prototype.toObject = function(op */ proto.google.longrunning.ListOperationsResponse.toObject = function(includeInstance, msg) { var f, obj = { - operationsList: jspb.Message.toObjectList(msg.getOperationsList(), +operationsList: jspb.Message.toObjectList(msg.getOperationsList(), proto.google.longrunning.Operation.toObject, includeInstance), - nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") +nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1118,7 +1124,7 @@ proto.google.longrunning.CancelOperationRequest.prototype.toObject = function(op */ proto.google.longrunning.CancelOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1248,7 +1254,7 @@ proto.google.longrunning.DeleteOperationRequest.prototype.toObject = function(op */ proto.google.longrunning.DeleteOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1378,8 +1384,8 @@ proto.google.longrunning.WaitOperationRequest.prototype.toObject = function(opt_ */ proto.google.longrunning.WaitOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - timeout: (f = msg.getTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +timeout: (f = msg.getTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -1559,8 +1565,8 @@ proto.google.longrunning.OperationInfo.prototype.toObject = function(opt_include */ proto.google.longrunning.OperationInfo.toObject = function(includeInstance, msg) { var f, obj = { - responseType: jspb.Message.getFieldWithDefault(msg, 1, ""), - metadataType: jspb.Message.getFieldWithDefault(msg, 2, "") +responseType: jspb.Message.getFieldWithDefault(msg, 1, ""), +metadataType: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/rpc/code_pb.js b/gen/js/google/rpc/code_pb.js index 40132558..7665c327 100644 --- a/gen/js/google/rpc/code_pb.js +++ b/gen/js/google/rpc/code_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.rpc.Code', null, global); /** diff --git a/gen/js/google/rpc/context/attribute_context_pb.js b/gen/js/google/rpc/context/attribute_context_pb.js index 4d041cdb..22493f00 100644 --- a/gen/js/google/rpc/context/attribute_context_pb.js +++ b/gen/js/google/rpc/context/attribute_context_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); goog.object.extend(proto, google_protobuf_any_pb); @@ -216,14 +222,14 @@ proto.google.rpc.context.AttributeContext.prototype.toObject = function(opt_incl */ proto.google.rpc.context.AttributeContext.toObject = function(includeInstance, msg) { var f, obj = { - origin: (f = msg.getOrigin()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), - source: (f = msg.getSource()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), - destination: (f = msg.getDestination()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), - request: (f = msg.getRequest()) && proto.google.rpc.context.AttributeContext.Request.toObject(includeInstance, f), - response: (f = msg.getResponse()) && proto.google.rpc.context.AttributeContext.Response.toObject(includeInstance, f), - resource: (f = msg.getResource()) && proto.google.rpc.context.AttributeContext.Resource.toObject(includeInstance, f), - api: (f = msg.getApi()) && proto.google.rpc.context.AttributeContext.Api.toObject(includeInstance, f), - extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), +origin: (f = msg.getOrigin()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), +source: (f = msg.getSource()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), +destination: (f = msg.getDestination()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), +request: (f = msg.getRequest()) && proto.google.rpc.context.AttributeContext.Request.toObject(includeInstance, f), +response: (f = msg.getResponse()) && proto.google.rpc.context.AttributeContext.Response.toObject(includeInstance, f), +resource: (f = msg.getResource()) && proto.google.rpc.context.AttributeContext.Resource.toObject(includeInstance, f), +api: (f = msg.getApi()) && proto.google.rpc.context.AttributeContext.Api.toObject(includeInstance, f), +extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), google_protobuf_any_pb.Any.toObject, includeInstance) }; @@ -429,11 +435,11 @@ proto.google.rpc.context.AttributeContext.Peer.prototype.toObject = function(opt */ proto.google.rpc.context.AttributeContext.Peer.toObject = function(includeInstance, msg) { var f, obj = { - ip: jspb.Message.getFieldWithDefault(msg, 1, ""), - port: jspb.Message.getFieldWithDefault(msg, 2, 0), - labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [], - principal: jspb.Message.getFieldWithDefault(msg, 7, ""), - regionCode: jspb.Message.getFieldWithDefault(msg, 8, "") +ip: jspb.Message.getFieldWithDefault(msg, 1, ""), +port: jspb.Message.getFieldWithDefault(msg, 2, 0), +labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [], +principal: jspb.Message.getFieldWithDefault(msg, 7, ""), +regionCode: jspb.Message.getFieldWithDefault(msg, 8, "") }; if (includeInstance) { @@ -611,7 +617,8 @@ proto.google.rpc.context.AttributeContext.Peer.prototype.getLabelsMap = function */ proto.google.rpc.context.AttributeContext.Peer.prototype.clearLabelsMap = function() { this.getLabelsMap().clear(); - return this;}; + return this; +}; /** @@ -682,10 +689,10 @@ proto.google.rpc.context.AttributeContext.Api.prototype.toObject = function(opt_ */ proto.google.rpc.context.AttributeContext.Api.toObject = function(includeInstance, msg) { var f, obj = { - service: jspb.Message.getFieldWithDefault(msg, 1, ""), - operation: jspb.Message.getFieldWithDefault(msg, 2, ""), - protocol: jspb.Message.getFieldWithDefault(msg, 3, ""), - version: jspb.Message.getFieldWithDefault(msg, 4, "") +service: jspb.Message.getFieldWithDefault(msg, 1, ""), +operation: jspb.Message.getFieldWithDefault(msg, 2, ""), +protocol: jspb.Message.getFieldWithDefault(msg, 3, ""), +version: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -909,11 +916,11 @@ proto.google.rpc.context.AttributeContext.Auth.prototype.toObject = function(opt */ proto.google.rpc.context.AttributeContext.Auth.toObject = function(includeInstance, msg) { var f, obj = { - principal: jspb.Message.getFieldWithDefault(msg, 1, ""), - audiencesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - presenter: jspb.Message.getFieldWithDefault(msg, 3, ""), - claims: (f = msg.getClaims()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - accessLevelsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f +principal: jspb.Message.getFieldWithDefault(msg, 1, ""), +audiencesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, +presenter: jspb.Message.getFieldWithDefault(msg, 3, ""), +claims: (f = msg.getClaims()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +accessLevelsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -1218,18 +1225,18 @@ proto.google.rpc.context.AttributeContext.Request.prototype.toObject = function( */ proto.google.rpc.context.AttributeContext.Request.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - method: jspb.Message.getFieldWithDefault(msg, 2, ""), - headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : [], - path: jspb.Message.getFieldWithDefault(msg, 4, ""), - host: jspb.Message.getFieldWithDefault(msg, 5, ""), - scheme: jspb.Message.getFieldWithDefault(msg, 6, ""), - query: jspb.Message.getFieldWithDefault(msg, 7, ""), - time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - size: jspb.Message.getFieldWithDefault(msg, 10, 0), - protocol: jspb.Message.getFieldWithDefault(msg, 11, ""), - reason: jspb.Message.getFieldWithDefault(msg, 12, ""), - auth: (f = msg.getAuth()) && proto.google.rpc.context.AttributeContext.Auth.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +method: jspb.Message.getFieldWithDefault(msg, 2, ""), +headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : [], +path: jspb.Message.getFieldWithDefault(msg, 4, ""), +host: jspb.Message.getFieldWithDefault(msg, 5, ""), +scheme: jspb.Message.getFieldWithDefault(msg, 6, ""), +query: jspb.Message.getFieldWithDefault(msg, 7, ""), +time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +size: jspb.Message.getFieldWithDefault(msg, 10, 0), +protocol: jspb.Message.getFieldWithDefault(msg, 11, ""), +reason: jspb.Message.getFieldWithDefault(msg, 12, ""), +auth: (f = msg.getAuth()) && proto.google.rpc.context.AttributeContext.Auth.toObject(includeInstance, f) }; if (includeInstance) { @@ -1488,7 +1495,8 @@ proto.google.rpc.context.AttributeContext.Request.prototype.getHeadersMap = func */ proto.google.rpc.context.AttributeContext.Request.prototype.clearHeadersMap = function() { this.getHeadersMap().clear(); - return this;}; + return this; +}; /** @@ -1723,11 +1731,11 @@ proto.google.rpc.context.AttributeContext.Response.prototype.toObject = function */ proto.google.rpc.context.AttributeContext.Response.toObject = function(includeInstance, msg) { var f, obj = { - code: jspb.Message.getFieldWithDefault(msg, 1, 0), - size: jspb.Message.getFieldWithDefault(msg, 2, 0), - headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : [], - time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - backendLatency: (f = msg.getBackendLatency()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) +code: jspb.Message.getFieldWithDefault(msg, 1, 0), +size: jspb.Message.getFieldWithDefault(msg, 2, 0), +headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : [], +time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +backendLatency: (f = msg.getBackendLatency()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -1909,7 +1917,8 @@ proto.google.rpc.context.AttributeContext.Response.prototype.getHeadersMap = fun */ proto.google.rpc.context.AttributeContext.Response.prototype.clearHeadersMap = function() { this.getHeadersMap().clear(); - return this;}; + return this; +}; /** @@ -2018,18 +2027,18 @@ proto.google.rpc.context.AttributeContext.Resource.prototype.toObject = function */ proto.google.rpc.context.AttributeContext.Resource.toObject = function(includeInstance, msg) { var f, obj = { - service: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - type: jspb.Message.getFieldWithDefault(msg, 3, ""), - labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [], - uid: jspb.Message.getFieldWithDefault(msg, 5, ""), - annotationsMap: (f = msg.getAnnotationsMap()) ? f.toObject(includeInstance, undefined) : [], - displayName: jspb.Message.getFieldWithDefault(msg, 7, ""), - createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - deleteTime: (f = msg.getDeleteTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - etag: jspb.Message.getFieldWithDefault(msg, 11, ""), - location: jspb.Message.getFieldWithDefault(msg, 12, "") +service: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +type: jspb.Message.getFieldWithDefault(msg, 3, ""), +labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [], +uid: jspb.Message.getFieldWithDefault(msg, 5, ""), +annotationsMap: (f = msg.getAnnotationsMap()) ? f.toObject(includeInstance, undefined) : [], +displayName: jspb.Message.getFieldWithDefault(msg, 7, ""), +createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +deleteTime: (f = msg.getDeleteTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +etag: jspb.Message.getFieldWithDefault(msg, 11, ""), +location: jspb.Message.getFieldWithDefault(msg, 12, "") }; if (includeInstance) { @@ -2307,7 +2316,8 @@ proto.google.rpc.context.AttributeContext.Resource.prototype.getLabelsMap = func */ proto.google.rpc.context.AttributeContext.Resource.prototype.clearLabelsMap = function() { this.getLabelsMap().clear(); - return this;}; + return this; +}; /** @@ -2347,7 +2357,8 @@ proto.google.rpc.context.AttributeContext.Resource.prototype.getAnnotationsMap = */ proto.google.rpc.context.AttributeContext.Resource.prototype.clearAnnotationsMap = function() { this.getAnnotationsMap().clear(); - return this;}; + return this; +}; /** diff --git a/gen/js/google/rpc/error_details_pb.js b/gen/js/google/rpc/error_details_pb.js index 86650ffc..3a311649 100644 --- a/gen/js/google/rpc/error_details_pb.js +++ b/gen/js/google/rpc/error_details_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js'); goog.object.extend(proto, google_protobuf_duration_pb); @@ -357,9 +363,9 @@ proto.google.rpc.ErrorInfo.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.ErrorInfo.toObject = function(includeInstance, msg) { var f, obj = { - reason: jspb.Message.getFieldWithDefault(msg, 1, ""), - domain: jspb.Message.getFieldWithDefault(msg, 2, ""), - metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] +reason: jspb.Message.getFieldWithDefault(msg, 1, ""), +domain: jspb.Message.getFieldWithDefault(msg, 2, ""), +metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -515,7 +521,8 @@ proto.google.rpc.ErrorInfo.prototype.getMetadataMap = function(opt_noLazyCreate) */ proto.google.rpc.ErrorInfo.prototype.clearMetadataMap = function() { this.getMetadataMap().clear(); - return this;}; + return this; +}; @@ -550,7 +557,7 @@ proto.google.rpc.RetryInfo.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.RetryInfo.toObject = function(includeInstance, msg) { var f, obj = { - retryDelay: (f = msg.getRetryDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) +retryDelay: (f = msg.getRetryDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -708,8 +715,8 @@ proto.google.rpc.DebugInfo.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.DebugInfo.toObject = function(includeInstance, msg) { var f, obj = { - stackEntriesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, - detail: jspb.Message.getFieldWithDefault(msg, 2, "") +stackEntriesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, +detail: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -894,7 +901,7 @@ proto.google.rpc.QuotaFailure.prototype.toObject = function(opt_includeInstance) */ proto.google.rpc.QuotaFailure.toObject = function(includeInstance, msg) { var f, obj = { - violationsList: jspb.Message.toObjectList(msg.getViolationsList(), +violationsList: jspb.Message.toObjectList(msg.getViolationsList(), proto.google.rpc.QuotaFailure.Violation.toObject, includeInstance) }; @@ -1009,8 +1016,8 @@ proto.google.rpc.QuotaFailure.Violation.prototype.toObject = function(opt_includ */ proto.google.rpc.QuotaFailure.Violation.toObject = function(includeInstance, msg) { var f, obj = { - subject: jspb.Message.getFieldWithDefault(msg, 1, ""), - description: jspb.Message.getFieldWithDefault(msg, 2, "") +subject: jspb.Message.getFieldWithDefault(msg, 1, ""), +description: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1214,7 +1221,7 @@ proto.google.rpc.PreconditionFailure.prototype.toObject = function(opt_includeIn */ proto.google.rpc.PreconditionFailure.toObject = function(includeInstance, msg) { var f, obj = { - violationsList: jspb.Message.toObjectList(msg.getViolationsList(), +violationsList: jspb.Message.toObjectList(msg.getViolationsList(), proto.google.rpc.PreconditionFailure.Violation.toObject, includeInstance) }; @@ -1329,9 +1336,9 @@ proto.google.rpc.PreconditionFailure.Violation.prototype.toObject = function(opt */ proto.google.rpc.PreconditionFailure.Violation.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - subject: jspb.Message.getFieldWithDefault(msg, 2, ""), - description: jspb.Message.getFieldWithDefault(msg, 3, "") +type: jspb.Message.getFieldWithDefault(msg, 1, ""), +subject: jspb.Message.getFieldWithDefault(msg, 2, ""), +description: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1564,7 +1571,7 @@ proto.google.rpc.BadRequest.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.BadRequest.toObject = function(includeInstance, msg) { var f, obj = { - fieldViolationsList: jspb.Message.toObjectList(msg.getFieldViolationsList(), +fieldViolationsList: jspb.Message.toObjectList(msg.getFieldViolationsList(), proto.google.rpc.BadRequest.FieldViolation.toObject, includeInstance) }; @@ -1679,8 +1686,8 @@ proto.google.rpc.BadRequest.FieldViolation.prototype.toObject = function(opt_inc */ proto.google.rpc.BadRequest.FieldViolation.toObject = function(includeInstance, msg) { var f, obj = { - field: jspb.Message.getFieldWithDefault(msg, 1, ""), - description: jspb.Message.getFieldWithDefault(msg, 2, "") +field: jspb.Message.getFieldWithDefault(msg, 1, ""), +description: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1877,8 +1884,8 @@ proto.google.rpc.RequestInfo.prototype.toObject = function(opt_includeInstance) */ proto.google.rpc.RequestInfo.toObject = function(includeInstance, msg) { var f, obj = { - requestId: jspb.Message.getFieldWithDefault(msg, 1, ""), - servingData: jspb.Message.getFieldWithDefault(msg, 2, "") +requestId: jspb.Message.getFieldWithDefault(msg, 1, ""), +servingData: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -2037,10 +2044,10 @@ proto.google.rpc.ResourceInfo.prototype.toObject = function(opt_includeInstance) */ proto.google.rpc.ResourceInfo.toObject = function(includeInstance, msg) { var f, obj = { - resourceType: jspb.Message.getFieldWithDefault(msg, 1, ""), - resourceName: jspb.Message.getFieldWithDefault(msg, 2, ""), - owner: jspb.Message.getFieldWithDefault(msg, 3, ""), - description: jspb.Message.getFieldWithDefault(msg, 4, "") +resourceType: jspb.Message.getFieldWithDefault(msg, 1, ""), +resourceName: jspb.Message.getFieldWithDefault(msg, 2, ""), +owner: jspb.Message.getFieldWithDefault(msg, 3, ""), +description: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -2264,7 +2271,7 @@ proto.google.rpc.Help.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.Help.toObject = function(includeInstance, msg) { var f, obj = { - linksList: jspb.Message.toObjectList(msg.getLinksList(), +linksList: jspb.Message.toObjectList(msg.getLinksList(), proto.google.rpc.Help.Link.toObject, includeInstance) }; @@ -2379,8 +2386,8 @@ proto.google.rpc.Help.Link.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.Help.Link.toObject = function(includeInstance, msg) { var f, obj = { - description: jspb.Message.getFieldWithDefault(msg, 1, ""), - url: jspb.Message.getFieldWithDefault(msg, 2, "") +description: jspb.Message.getFieldWithDefault(msg, 1, ""), +url: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -2577,8 +2584,8 @@ proto.google.rpc.LocalizedMessage.prototype.toObject = function(opt_includeInsta */ proto.google.rpc.LocalizedMessage.toObject = function(includeInstance, msg) { var f, obj = { - locale: jspb.Message.getFieldWithDefault(msg, 1, ""), - message: jspb.Message.getFieldWithDefault(msg, 2, "") +locale: jspb.Message.getFieldWithDefault(msg, 1, ""), +message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/rpc/status_pb.js b/gen/js/google/rpc/status_pb.js index 4f84c8b9..7c654825 100644 --- a/gen/js/google/rpc/status_pb.js +++ b/gen/js/google/rpc/status_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); goog.object.extend(proto, google_protobuf_any_pb); @@ -78,9 +84,9 @@ proto.google.rpc.Status.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.Status.toObject = function(includeInstance, msg) { var f, obj = { - code: jspb.Message.getFieldWithDefault(msg, 1, 0), - message: jspb.Message.getFieldWithDefault(msg, 2, ""), - detailsList: jspb.Message.toObjectList(msg.getDetailsList(), +code: jspb.Message.getFieldWithDefault(msg, 1, 0), +message: jspb.Message.getFieldWithDefault(msg, 2, ""), +detailsList: jspb.Message.toObjectList(msg.getDetailsList(), google_protobuf_any_pb.Any.toObject, includeInstance) }; diff --git a/gen/js/google/type/calendar_period_pb.js b/gen/js/google/type/calendar_period_pb.js index 67eb72c2..21944b7f 100644 --- a/gen/js/google/type/calendar_period_pb.js +++ b/gen/js/google/type/calendar_period_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.type.CalendarPeriod', null, global); /** diff --git a/gen/js/google/type/color_pb.js b/gen/js/google/type/color_pb.js index 5fae3bea..01b8f92d 100644 --- a/gen/js/google/type/color_pb.js +++ b/gen/js/google/type/color_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js'); goog.object.extend(proto, google_protobuf_wrappers_pb); @@ -71,10 +77,10 @@ proto.google.type.Color.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Color.toObject = function(includeInstance, msg) { var f, obj = { - red: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - green: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - blue: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - alpha: (f = msg.getAlpha()) && google_protobuf_wrappers_pb.FloatValue.toObject(includeInstance, f) +red: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +green: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +blue: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +alpha: (f = msg.getAlpha()) && google_protobuf_wrappers_pb.FloatValue.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/google/type/date_pb.js b/gen/js/google/type/date_pb.js index 5a24b75a..99d9b579 100644 --- a/gen/js/google/type/date_pb.js +++ b/gen/js/google/type/date_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.type.Date', null, global); /** @@ -69,9 +75,9 @@ proto.google.type.Date.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Date.toObject = function(includeInstance, msg) { var f, obj = { - year: jspb.Message.getFieldWithDefault(msg, 1, 0), - month: jspb.Message.getFieldWithDefault(msg, 2, 0), - day: jspb.Message.getFieldWithDefault(msg, 3, 0) +year: jspb.Message.getFieldWithDefault(msg, 1, 0), +month: jspb.Message.getFieldWithDefault(msg, 2, 0), +day: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { diff --git a/gen/js/google/type/datetime_pb.js b/gen/js/google/type/datetime_pb.js index cefec9fb..e2e5a33f 100644 --- a/gen/js/google/type/datetime_pb.js +++ b/gen/js/google/type/datetime_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js'); goog.object.extend(proto, google_protobuf_duration_pb); @@ -120,15 +126,15 @@ proto.google.type.DateTime.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.DateTime.toObject = function(includeInstance, msg) { var f, obj = { - year: jspb.Message.getFieldWithDefault(msg, 1, 0), - month: jspb.Message.getFieldWithDefault(msg, 2, 0), - day: jspb.Message.getFieldWithDefault(msg, 3, 0), - hours: jspb.Message.getFieldWithDefault(msg, 4, 0), - minutes: jspb.Message.getFieldWithDefault(msg, 5, 0), - seconds: jspb.Message.getFieldWithDefault(msg, 6, 0), - nanos: jspb.Message.getFieldWithDefault(msg, 7, 0), - utcOffset: (f = msg.getUtcOffset()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), - timeZone: (f = msg.getTimeZone()) && proto.google.type.TimeZone.toObject(includeInstance, f) +year: jspb.Message.getFieldWithDefault(msg, 1, 0), +month: jspb.Message.getFieldWithDefault(msg, 2, 0), +day: jspb.Message.getFieldWithDefault(msg, 3, 0), +hours: jspb.Message.getFieldWithDefault(msg, 4, 0), +minutes: jspb.Message.getFieldWithDefault(msg, 5, 0), +seconds: jspb.Message.getFieldWithDefault(msg, 6, 0), +nanos: jspb.Message.getFieldWithDefault(msg, 7, 0), +utcOffset: (f = msg.getUtcOffset()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), +timeZone: (f = msg.getTimeZone()) && proto.google.type.TimeZone.toObject(includeInstance, f) }; if (includeInstance) { @@ -532,8 +538,8 @@ proto.google.type.TimeZone.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.TimeZone.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - version: jspb.Message.getFieldWithDefault(msg, 2, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +version: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/type/dayofweek_pb.js b/gen/js/google/type/dayofweek_pb.js index af5f4bb8..06daaaff 100644 --- a/gen/js/google/type/dayofweek_pb.js +++ b/gen/js/google/type/dayofweek_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.type.DayOfWeek', null, global); /** diff --git a/gen/js/google/type/decimal_pb.js b/gen/js/google/type/decimal_pb.js index 42845d01..28e2c6e4 100644 --- a/gen/js/google/type/decimal_pb.js +++ b/gen/js/google/type/decimal_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.type.Decimal', null, global); /** @@ -69,7 +75,7 @@ proto.google.type.Decimal.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Decimal.toObject = function(includeInstance, msg) { var f, obj = { - value: jspb.Message.getFieldWithDefault(msg, 1, "") +value: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { diff --git a/gen/js/google/type/expr_pb.js b/gen/js/google/type/expr_pb.js index 9b3493c6..b0073e5e 100644 --- a/gen/js/google/type/expr_pb.js +++ b/gen/js/google/type/expr_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.type.Expr', null, global); /** @@ -69,10 +75,10 @@ proto.google.type.Expr.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Expr.toObject = function(includeInstance, msg) { var f, obj = { - expression: jspb.Message.getFieldWithDefault(msg, 1, ""), - title: jspb.Message.getFieldWithDefault(msg, 2, ""), - description: jspb.Message.getFieldWithDefault(msg, 3, ""), - location: jspb.Message.getFieldWithDefault(msg, 4, "") +expression: jspb.Message.getFieldWithDefault(msg, 1, ""), +title: jspb.Message.getFieldWithDefault(msg, 2, ""), +description: jspb.Message.getFieldWithDefault(msg, 3, ""), +location: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { diff --git a/gen/js/google/type/fraction_pb.js b/gen/js/google/type/fraction_pb.js index 2043dfac..ffd0b121 100644 --- a/gen/js/google/type/fraction_pb.js +++ b/gen/js/google/type/fraction_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.type.Fraction', null, global); /** @@ -69,8 +75,8 @@ proto.google.type.Fraction.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Fraction.toObject = function(includeInstance, msg) { var f, obj = { - numerator: jspb.Message.getFieldWithDefault(msg, 1, 0), - denominator: jspb.Message.getFieldWithDefault(msg, 2, 0) +numerator: jspb.Message.getFieldWithDefault(msg, 1, 0), +denominator: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { diff --git a/gen/js/google/type/interval_pb.js b/gen/js/google/type/interval_pb.js index 6903c1de..20ccb843 100644 --- a/gen/js/google/type/interval_pb.js +++ b/gen/js/google/type/interval_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb); @@ -71,8 +77,8 @@ proto.google.type.Interval.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Interval.toObject = function(includeInstance, msg) { var f, obj = { - startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/google/type/latlng_pb.js b/gen/js/google/type/latlng_pb.js index c2810dd4..1db12e7d 100644 --- a/gen/js/google/type/latlng_pb.js +++ b/gen/js/google/type/latlng_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.type.LatLng', null, global); /** @@ -69,8 +75,8 @@ proto.google.type.LatLng.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.LatLng.toObject = function(includeInstance, msg) { var f, obj = { - latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) +latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { diff --git a/gen/js/google/type/localized_text_pb.js b/gen/js/google/type/localized_text_pb.js index 09be9248..e96f361a 100644 --- a/gen/js/google/type/localized_text_pb.js +++ b/gen/js/google/type/localized_text_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.type.LocalizedText', null, global); /** @@ -69,8 +75,8 @@ proto.google.type.LocalizedText.prototype.toObject = function(opt_includeInstanc */ proto.google.type.LocalizedText.toObject = function(includeInstance, msg) { var f, obj = { - text: jspb.Message.getFieldWithDefault(msg, 1, ""), - languageCode: jspb.Message.getFieldWithDefault(msg, 2, "") +text: jspb.Message.getFieldWithDefault(msg, 1, ""), +languageCode: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/type/money_pb.js b/gen/js/google/type/money_pb.js index b86d055e..e078fa7e 100644 --- a/gen/js/google/type/money_pb.js +++ b/gen/js/google/type/money_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.type.Money', null, global); /** @@ -69,9 +75,9 @@ proto.google.type.Money.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Money.toObject = function(includeInstance, msg) { var f, obj = { - currencyCode: jspb.Message.getFieldWithDefault(msg, 1, ""), - units: jspb.Message.getFieldWithDefault(msg, 2, 0), - nanos: jspb.Message.getFieldWithDefault(msg, 3, 0) +currencyCode: jspb.Message.getFieldWithDefault(msg, 1, ""), +units: jspb.Message.getFieldWithDefault(msg, 2, 0), +nanos: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { diff --git a/gen/js/google/type/month_pb.js b/gen/js/google/type/month_pb.js index 4b8b9167..13e78864 100644 --- a/gen/js/google/type/month_pb.js +++ b/gen/js/google/type/month_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.type.Month', null, global); /** diff --git a/gen/js/google/type/phone_number_pb.js b/gen/js/google/type/phone_number_pb.js index e02aeedc..cc11cbc7 100644 --- a/gen/js/google/type/phone_number_pb.js +++ b/gen/js/google/type/phone_number_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.type.PhoneNumber', null, global); goog.exportSymbol('proto.google.type.PhoneNumber.KindCase', null, global); @@ -118,9 +124,9 @@ proto.google.type.PhoneNumber.prototype.toObject = function(opt_includeInstance) */ proto.google.type.PhoneNumber.toObject = function(includeInstance, msg) { var f, obj = { - e164Number: jspb.Message.getFieldWithDefault(msg, 1, ""), - shortCode: (f = msg.getShortCode()) && proto.google.type.PhoneNumber.ShortCode.toObject(includeInstance, f), - extension: jspb.Message.getFieldWithDefault(msg, 3, "") +e164Number: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, +shortCode: (f = msg.getShortCode()) && proto.google.type.PhoneNumber.ShortCode.toObject(includeInstance, f), +extension: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -256,8 +262,8 @@ proto.google.type.PhoneNumber.ShortCode.prototype.toObject = function(opt_includ */ proto.google.type.PhoneNumber.ShortCode.toObject = function(includeInstance, msg) { var f, obj = { - regionCode: jspb.Message.getFieldWithDefault(msg, 1, ""), - number: jspb.Message.getFieldWithDefault(msg, 2, "") +regionCode: jspb.Message.getFieldWithDefault(msg, 1, ""), +number: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/type/postal_address_pb.js b/gen/js/google/type/postal_address_pb.js index 80d76688..0a6a8f39 100644 --- a/gen/js/google/type/postal_address_pb.js +++ b/gen/js/google/type/postal_address_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.type.PostalAddress', null, global); /** @@ -76,17 +82,17 @@ proto.google.type.PostalAddress.prototype.toObject = function(opt_includeInstanc */ proto.google.type.PostalAddress.toObject = function(includeInstance, msg) { var f, obj = { - revision: jspb.Message.getFieldWithDefault(msg, 1, 0), - regionCode: jspb.Message.getFieldWithDefault(msg, 2, ""), - languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""), - postalCode: jspb.Message.getFieldWithDefault(msg, 4, ""), - sortingCode: jspb.Message.getFieldWithDefault(msg, 5, ""), - administrativeArea: jspb.Message.getFieldWithDefault(msg, 6, ""), - locality: jspb.Message.getFieldWithDefault(msg, 7, ""), - sublocality: jspb.Message.getFieldWithDefault(msg, 8, ""), - addressLinesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f, - recipientsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, - organization: jspb.Message.getFieldWithDefault(msg, 11, "") +revision: jspb.Message.getFieldWithDefault(msg, 1, 0), +regionCode: jspb.Message.getFieldWithDefault(msg, 2, ""), +languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""), +postalCode: jspb.Message.getFieldWithDefault(msg, 4, ""), +sortingCode: jspb.Message.getFieldWithDefault(msg, 5, ""), +administrativeArea: jspb.Message.getFieldWithDefault(msg, 6, ""), +locality: jspb.Message.getFieldWithDefault(msg, 7, ""), +sublocality: jspb.Message.getFieldWithDefault(msg, 8, ""), +addressLinesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f, +recipientsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, +organization: jspb.Message.getFieldWithDefault(msg, 11, "") }; if (includeInstance) { diff --git a/gen/js/google/type/quaternion_pb.js b/gen/js/google/type/quaternion_pb.js index 4b9344bc..6dc208a0 100644 --- a/gen/js/google/type/quaternion_pb.js +++ b/gen/js/google/type/quaternion_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.type.Quaternion', null, global); /** @@ -69,10 +75,10 @@ proto.google.type.Quaternion.prototype.toObject = function(opt_includeInstance) */ proto.google.type.Quaternion.toObject = function(includeInstance, msg) { var f, obj = { - x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - w: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) +x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +w: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { diff --git a/gen/js/google/type/timeofday_pb.js b/gen/js/google/type/timeofday_pb.js index 3f3d7926..7d7470d7 100644 --- a/gen/js/google/type/timeofday_pb.js +++ b/gen/js/google/type/timeofday_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.type.TimeOfDay', null, global); /** @@ -69,10 +75,10 @@ proto.google.type.TimeOfDay.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.TimeOfDay.toObject = function(includeInstance, msg) { var f, obj = { - hours: jspb.Message.getFieldWithDefault(msg, 1, 0), - minutes: jspb.Message.getFieldWithDefault(msg, 2, 0), - seconds: jspb.Message.getFieldWithDefault(msg, 3, 0), - nanos: jspb.Message.getFieldWithDefault(msg, 4, 0) +hours: jspb.Message.getFieldWithDefault(msg, 1, 0), +minutes: jspb.Message.getFieldWithDefault(msg, 2, 0), +seconds: jspb.Message.getFieldWithDefault(msg, 3, 0), +nanos: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { diff --git a/gen/js/module/v1/module_pb.js b/gen/js/module/v1/module_pb.js index 54378223..d6779058 100644 --- a/gen/js/module/v1/module_pb.js +++ b/gen/js/module/v1/module_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 app_v1_robot_pb = require('../../app/v1/robot_pb.js'); goog.object.extend(proto, app_v1_robot_pb); @@ -322,8 +328,8 @@ proto.viam.module.v1.AddResourceRequest.prototype.toObject = function(opt_includ */ proto.viam.module.v1.AddResourceRequest.toObject = function(includeInstance, msg) { var f, obj = { - config: (f = msg.getConfig()) && app_v1_robot_pb.ComponentConfig.toObject(includeInstance, f), - dependenciesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f +config: (f = msg.getConfig()) && app_v1_robot_pb.ComponentConfig.toObject(includeInstance, f), +dependenciesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -630,8 +636,8 @@ proto.viam.module.v1.ReconfigureResourceRequest.prototype.toObject = function(op */ proto.viam.module.v1.ReconfigureResourceRequest.toObject = function(includeInstance, msg) { var f, obj = { - config: (f = msg.getConfig()) && app_v1_robot_pb.ComponentConfig.toObject(includeInstance, f), - dependenciesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f +config: (f = msg.getConfig()) && app_v1_robot_pb.ComponentConfig.toObject(includeInstance, f), +dependenciesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -931,7 +937,7 @@ proto.viam.module.v1.RemoveResourceRequest.prototype.toObject = function(opt_inc */ proto.viam.module.v1.RemoveResourceRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1169,8 +1175,8 @@ proto.viam.module.v1.HandlerDefinition.prototype.toObject = function(opt_include */ proto.viam.module.v1.HandlerDefinition.toObject = function(includeInstance, msg) { var f, obj = { - subtype: (f = msg.getSubtype()) && robot_v1_robot_pb.ResourceRPCSubtype.toObject(includeInstance, f), - modelsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f +subtype: (f = msg.getSubtype()) && robot_v1_robot_pb.ResourceRPCSubtype.toObject(includeInstance, f), +modelsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -1376,7 +1382,7 @@ proto.viam.module.v1.HandlerMap.prototype.toObject = function(opt_includeInstanc */ proto.viam.module.v1.HandlerMap.toObject = function(includeInstance, msg) { var f, obj = { - handlersList: jspb.Message.toObjectList(msg.getHandlersList(), +handlersList: jspb.Message.toObjectList(msg.getHandlersList(), proto.viam.module.v1.HandlerDefinition.toObject, includeInstance) }; @@ -1529,8 +1535,8 @@ proto.viam.module.v1.ReadyRequest.prototype.toObject = function(opt_includeInsta */ proto.viam.module.v1.ReadyRequest.toObject = function(includeInstance, msg) { var f, obj = { - parentAddress: jspb.Message.getFieldWithDefault(msg, 1, ""), - webrtcOffer: jspb.Message.getFieldWithDefault(msg, 2, "") +parentAddress: jspb.Message.getFieldWithDefault(msg, 1, ""), +webrtcOffer: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1689,9 +1695,9 @@ proto.viam.module.v1.ReadyResponse.prototype.toObject = function(opt_includeInst */ proto.viam.module.v1.ReadyResponse.toObject = function(includeInstance, msg) { var f, obj = { - ready: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - handlermap: (f = msg.getHandlermap()) && proto.viam.module.v1.HandlerMap.toObject(includeInstance, f), - webrtcAnswer: jspb.Message.getFieldWithDefault(msg, 3, "") +ready: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), +handlermap: (f = msg.getHandlermap()) && proto.viam.module.v1.HandlerMap.toObject(includeInstance, f), +webrtcAnswer: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1900,7 +1906,7 @@ proto.viam.module.v1.ValidateConfigRequest.prototype.toObject = function(opt_inc */ proto.viam.module.v1.ValidateConfigRequest.toObject = function(includeInstance, msg) { var f, obj = { - config: (f = msg.getConfig()) && app_v1_robot_pb.ComponentConfig.toObject(includeInstance, f) +config: (f = msg.getConfig()) && app_v1_robot_pb.ComponentConfig.toObject(includeInstance, f) }; if (includeInstance) { @@ -2058,7 +2064,7 @@ proto.viam.module.v1.ValidateConfigResponse.prototype.toObject = function(opt_in */ proto.viam.module.v1.ValidateConfigResponse.toObject = function(includeInstance, msg) { var f, obj = { - dependenciesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f +dependenciesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { diff --git a/gen/js/provisioning/v1/provisioning_pb.js b/gen/js/provisioning/v1/provisioning_pb.js index 5f798a8a..c0efed47 100644 --- a/gen/js/provisioning/v1/provisioning_pb.js +++ b/gen/js/provisioning/v1/provisioning_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.viam.provisioning.v1.CloudConfig', null, global); goog.exportSymbol('proto.viam.provisioning.v1.GetNetworkListRequest', null, global); @@ -397,11 +403,11 @@ proto.viam.provisioning.v1.GetSmartMachineStatusResponse.prototype.toObject = fu */ proto.viam.provisioning.v1.GetSmartMachineStatusResponse.toObject = function(includeInstance, msg) { var f, obj = { - provisioningInfo: (f = msg.getProvisioningInfo()) && proto.viam.provisioning.v1.ProvisioningInfo.toObject(includeInstance, f), - hasSmartMachineCredentials: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - isOnline: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - latestConnectionAttempt: (f = msg.getLatestConnectionAttempt()) && proto.viam.provisioning.v1.NetworkInfo.toObject(includeInstance, f), - errorsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f +provisioningInfo: (f = msg.getProvisioningInfo()) && proto.viam.provisioning.v1.ProvisioningInfo.toObject(includeInstance, f), +hasSmartMachineCredentials: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), +isOnline: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), +latestConnectionAttempt: (f = msg.getLatestConnectionAttempt()) && proto.viam.provisioning.v1.NetworkInfo.toObject(includeInstance, f), +errorsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -708,9 +714,9 @@ proto.viam.provisioning.v1.SetNetworkCredentialsRequest.prototype.toObject = fun */ proto.viam.provisioning.v1.SetNetworkCredentialsRequest.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - ssid: jspb.Message.getFieldWithDefault(msg, 2, ""), - psk: jspb.Message.getFieldWithDefault(msg, 3, "") +type: jspb.Message.getFieldWithDefault(msg, 1, ""), +ssid: jspb.Message.getFieldWithDefault(msg, 2, ""), +psk: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -999,7 +1005,7 @@ proto.viam.provisioning.v1.SetSmartMachineCredentialsRequest.prototype.toObject */ proto.viam.provisioning.v1.SetSmartMachineCredentialsRequest.toObject = function(includeInstance, msg) { var f, obj = { - cloud: (f = msg.getCloud()) && proto.viam.provisioning.v1.CloudConfig.toObject(includeInstance, f) +cloud: (f = msg.getCloud()) && proto.viam.provisioning.v1.CloudConfig.toObject(includeInstance, f) }; if (includeInstance) { @@ -1359,7 +1365,7 @@ proto.viam.provisioning.v1.GetNetworkListResponse.prototype.toObject = function( */ proto.viam.provisioning.v1.GetNetworkListResponse.toObject = function(includeInstance, msg) { var f, obj = { - networksList: jspb.Message.toObjectList(msg.getNetworksList(), +networksList: jspb.Message.toObjectList(msg.getNetworksList(), proto.viam.provisioning.v1.NetworkInfo.toObject, includeInstance) }; @@ -1512,9 +1518,9 @@ proto.viam.provisioning.v1.ProvisioningInfo.prototype.toObject = function(opt_in */ proto.viam.provisioning.v1.ProvisioningInfo.toObject = function(includeInstance, msg) { var f, obj = { - fragmentId: jspb.Message.getFieldWithDefault(msg, 1, ""), - model: jspb.Message.getFieldWithDefault(msg, 2, ""), - manufacturer: jspb.Message.getFieldWithDefault(msg, 3, "") +fragmentId: jspb.Message.getFieldWithDefault(msg, 1, ""), +model: jspb.Message.getFieldWithDefault(msg, 2, ""), +manufacturer: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1702,12 +1708,12 @@ proto.viam.provisioning.v1.NetworkInfo.prototype.toObject = function(opt_include */ proto.viam.provisioning.v1.NetworkInfo.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - ssid: jspb.Message.getFieldWithDefault(msg, 2, ""), - security: jspb.Message.getFieldWithDefault(msg, 3, ""), - signal: jspb.Message.getFieldWithDefault(msg, 4, 0), - connected: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), - lastError: jspb.Message.getFieldWithDefault(msg, 6, "") +type: jspb.Message.getFieldWithDefault(msg, 1, ""), +ssid: jspb.Message.getFieldWithDefault(msg, 2, ""), +security: jspb.Message.getFieldWithDefault(msg, 3, ""), +signal: jspb.Message.getFieldWithDefault(msg, 4, 0), +connected: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), +lastError: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { @@ -1982,9 +1988,9 @@ proto.viam.provisioning.v1.CloudConfig.prototype.toObject = function(opt_include */ proto.viam.provisioning.v1.CloudConfig.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - secret: jspb.Message.getFieldWithDefault(msg, 2, ""), - appAddress: jspb.Message.getFieldWithDefault(msg, 3, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +secret: jspb.Message.getFieldWithDefault(msg, 2, ""), +appAddress: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { diff --git a/gen/js/robot/v1/robot_pb.js b/gen/js/robot/v1/robot_pb.js index 966f679d..79ee8483 100644 --- a/gen/js/robot/v1/robot_pb.js +++ b/gen/js/robot/v1/robot_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -1226,8 +1232,8 @@ proto.viam.robot.v1.FrameSystemConfig.prototype.toObject = function(opt_includeI */ proto.viam.robot.v1.FrameSystemConfig.toObject = function(includeInstance, msg) { var f, obj = { - frame: (f = msg.getFrame()) && common_v1_common_pb.Transform.toObject(includeInstance, f), - kinematics: (f = msg.getKinematics()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +frame: (f = msg.getFrame()) && common_v1_common_pb.Transform.toObject(includeInstance, f), +kinematics: (f = msg.getKinematics()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1435,7 +1441,7 @@ proto.viam.robot.v1.FrameSystemConfigRequest.prototype.toObject = function(opt_i */ proto.viam.robot.v1.FrameSystemConfigRequest.toObject = function(includeInstance, msg) { var f, obj = { - supplementalTransformsList: jspb.Message.toObjectList(msg.getSupplementalTransformsList(), +supplementalTransformsList: jspb.Message.toObjectList(msg.getSupplementalTransformsList(), common_v1_common_pb.Transform.toObject, includeInstance) }; @@ -1595,7 +1601,7 @@ proto.viam.robot.v1.FrameSystemConfigResponse.prototype.toObject = function(opt_ */ proto.viam.robot.v1.FrameSystemConfigResponse.toObject = function(includeInstance, msg) { var f, obj = { - frameSystemConfigsList: jspb.Message.toObjectList(msg.getFrameSystemConfigsList(), +frameSystemConfigsList: jspb.Message.toObjectList(msg.getFrameSystemConfigsList(), proto.viam.robot.v1.FrameSystemConfig.toObject, includeInstance) }; @@ -1755,9 +1761,9 @@ proto.viam.robot.v1.TransformPoseRequest.prototype.toObject = function(opt_inclu */ proto.viam.robot.v1.TransformPoseRequest.toObject = function(includeInstance, msg) { var f, obj = { - source: (f = msg.getSource()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f), - destination: jspb.Message.getFieldWithDefault(msg, 2, ""), - supplementalTransformsList: jspb.Message.toObjectList(msg.getSupplementalTransformsList(), +source: (f = msg.getSource()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f), +destination: jspb.Message.getFieldWithDefault(msg, 2, ""), +supplementalTransformsList: jspb.Message.toObjectList(msg.getSupplementalTransformsList(), common_v1_common_pb.Transform.toObject, includeInstance) }; @@ -1989,7 +1995,7 @@ proto.viam.robot.v1.TransformPoseResponse.prototype.toObject = function(opt_incl */ proto.viam.robot.v1.TransformPoseResponse.toObject = function(includeInstance, msg) { var f, obj = { - pose: (f = msg.getPose()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f) +pose: (f = msg.getPose()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f) }; if (includeInstance) { @@ -2140,9 +2146,9 @@ proto.viam.robot.v1.TransformPCDRequest.prototype.toObject = function(opt_includ */ proto.viam.robot.v1.TransformPCDRequest.toObject = function(includeInstance, msg) { var f, obj = { - pointCloudPcd: msg.getPointCloudPcd_asB64(), - source: jspb.Message.getFieldWithDefault(msg, 2, ""), - destination: jspb.Message.getFieldWithDefault(msg, 3, "") +pointCloudPcd: msg.getPointCloudPcd_asB64(), +source: jspb.Message.getFieldWithDefault(msg, 2, ""), +destination: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -2354,7 +2360,7 @@ proto.viam.robot.v1.TransformPCDResponse.prototype.toObject = function(opt_inclu */ proto.viam.robot.v1.TransformPCDResponse.toObject = function(includeInstance, msg) { var f, obj = { - pointCloudPcd: msg.getPointCloudPcd_asB64() +pointCloudPcd: msg.getPointCloudPcd_asB64() }; if (includeInstance) { @@ -2616,7 +2622,7 @@ proto.viam.robot.v1.ResourceNamesResponse.prototype.toObject = function(opt_incl */ proto.viam.robot.v1.ResourceNamesResponse.toObject = function(includeInstance, msg) { var f, obj = { - resourcesList: jspb.Message.toObjectList(msg.getResourcesList(), +resourcesList: jspb.Message.toObjectList(msg.getResourcesList(), common_v1_common_pb.ResourceName.toObject, includeInstance) }; @@ -2769,8 +2775,8 @@ proto.viam.robot.v1.ResourceRPCSubtype.prototype.toObject = function(opt_include */ proto.viam.robot.v1.ResourceRPCSubtype.toObject = function(includeInstance, msg) { var f, obj = { - subtype: (f = msg.getSubtype()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - protoService: jspb.Message.getFieldWithDefault(msg, 2, "") +subtype: (f = msg.getSubtype()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +protoService: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -3058,7 +3064,7 @@ proto.viam.robot.v1.ResourceRPCSubtypesResponse.prototype.toObject = function(op */ proto.viam.robot.v1.ResourceRPCSubtypesResponse.toObject = function(includeInstance, msg) { var f, obj = { - resourceRpcSubtypesList: jspb.Message.toObjectList(msg.getResourceRpcSubtypesList(), +resourceRpcSubtypesList: jspb.Message.toObjectList(msg.getResourceRpcSubtypesList(), proto.viam.robot.v1.ResourceRPCSubtype.toObject, includeInstance) }; @@ -3211,11 +3217,11 @@ proto.viam.robot.v1.Operation.prototype.toObject = function(opt_includeInstance) */ proto.viam.robot.v1.Operation.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - method: jspb.Message.getFieldWithDefault(msg, 2, ""), - arguments: (f = msg.getArguments()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - started: (f = msg.getStarted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - sessionId: jspb.Message.getFieldWithDefault(msg, 5, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +method: jspb.Message.getFieldWithDefault(msg, 2, ""), +arguments: (f = msg.getArguments()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +started: (f = msg.getStarted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +sessionId: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -3629,7 +3635,7 @@ proto.viam.robot.v1.GetOperationsResponse.prototype.toObject = function(opt_incl */ proto.viam.robot.v1.GetOperationsResponse.toObject = function(includeInstance, msg) { var f, obj = { - operationsList: jspb.Message.toObjectList(msg.getOperationsList(), +operationsList: jspb.Message.toObjectList(msg.getOperationsList(), proto.viam.robot.v1.Operation.toObject, includeInstance) }; @@ -3782,7 +3788,7 @@ proto.viam.robot.v1.CancelOperationRequest.prototype.toObject = function(opt_inc */ proto.viam.robot.v1.CancelOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -4013,7 +4019,7 @@ proto.viam.robot.v1.BlockForOperationRequest.prototype.toObject = function(opt_i */ proto.viam.robot.v1.BlockForOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -4244,9 +4250,9 @@ proto.viam.robot.v1.PeerConnectionInfo.prototype.toObject = function(opt_include */ proto.viam.robot.v1.PeerConnectionInfo.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, 0), - remoteAddress: jspb.Message.getFieldWithDefault(msg, 2, ""), - localAddress: jspb.Message.getFieldWithDefault(msg, 3, "") +type: jspb.Message.getFieldWithDefault(msg, 1, 0), +remoteAddress: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +localAddress: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -4470,8 +4476,8 @@ proto.viam.robot.v1.Session.prototype.toObject = function(opt_includeInstance) { */ proto.viam.robot.v1.Session.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - peerConnectionInfo: (f = msg.getPeerConnectionInfo()) && proto.viam.robot.v1.PeerConnectionInfo.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +peerConnectionInfo: (f = msg.getPeerConnectionInfo()) && proto.viam.robot.v1.PeerConnectionInfo.toObject(includeInstance, f) }; if (includeInstance) { @@ -4759,7 +4765,7 @@ proto.viam.robot.v1.GetSessionsResponse.prototype.toObject = function(opt_includ */ proto.viam.robot.v1.GetSessionsResponse.toObject = function(includeInstance, msg) { var f, obj = { - sessionsList: jspb.Message.toObjectList(msg.getSessionsList(), +sessionsList: jspb.Message.toObjectList(msg.getSessionsList(), proto.viam.robot.v1.Session.toObject, includeInstance) }; @@ -4912,9 +4918,9 @@ proto.viam.robot.v1.DiscoveryQuery.prototype.toObject = function(opt_includeInst */ proto.viam.robot.v1.DiscoveryQuery.toObject = function(includeInstance, msg) { var f, obj = { - subtype: jspb.Message.getFieldWithDefault(msg, 1, ""), - model: jspb.Message.getFieldWithDefault(msg, 2, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +subtype: jspb.Message.getFieldWithDefault(msg, 1, ""), +model: jspb.Message.getFieldWithDefault(msg, 2, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -5123,8 +5129,8 @@ proto.viam.robot.v1.Discovery.prototype.toObject = function(opt_includeInstance) */ proto.viam.robot.v1.Discovery.toObject = function(includeInstance, msg) { var f, obj = { - query: (f = msg.getQuery()) && proto.viam.robot.v1.DiscoveryQuery.toObject(includeInstance, f), - results: (f = msg.getResults()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +query: (f = msg.getQuery()) && proto.viam.robot.v1.DiscoveryQuery.toObject(includeInstance, f), +results: (f = msg.getResults()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -5332,7 +5338,7 @@ proto.viam.robot.v1.DiscoverComponentsRequest.prototype.toObject = function(opt_ */ proto.viam.robot.v1.DiscoverComponentsRequest.toObject = function(includeInstance, msg) { var f, obj = { - queriesList: jspb.Message.toObjectList(msg.getQueriesList(), +queriesList: jspb.Message.toObjectList(msg.getQueriesList(), proto.viam.robot.v1.DiscoveryQuery.toObject, includeInstance) }; @@ -5492,7 +5498,7 @@ proto.viam.robot.v1.DiscoverComponentsResponse.prototype.toObject = function(opt */ proto.viam.robot.v1.DiscoverComponentsResponse.toObject = function(includeInstance, msg) { var f, obj = { - discoveryList: jspb.Message.toObjectList(msg.getDiscoveryList(), +discoveryList: jspb.Message.toObjectList(msg.getDiscoveryList(), proto.viam.robot.v1.Discovery.toObject, includeInstance) }; @@ -5645,9 +5651,9 @@ proto.viam.robot.v1.Status.prototype.toObject = function(opt_includeInstance) { */ proto.viam.robot.v1.Status.toObject = function(includeInstance, msg) { var f, obj = { - name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - status: (f = msg.getStatus()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - lastReconfigured: (f = msg.getLastReconfigured()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +status: (f = msg.getStatus()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +lastReconfigured: (f = msg.getLastReconfigured()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -5905,7 +5911,7 @@ proto.viam.robot.v1.GetStatusRequest.prototype.toObject = function(opt_includeIn */ proto.viam.robot.v1.GetStatusRequest.toObject = function(includeInstance, msg) { var f, obj = { - resourceNamesList: jspb.Message.toObjectList(msg.getResourceNamesList(), +resourceNamesList: jspb.Message.toObjectList(msg.getResourceNamesList(), common_v1_common_pb.ResourceName.toObject, includeInstance) }; @@ -6065,7 +6071,7 @@ proto.viam.robot.v1.GetStatusResponse.prototype.toObject = function(opt_includeI */ proto.viam.robot.v1.GetStatusResponse.toObject = function(includeInstance, msg) { var f, obj = { - statusList: jspb.Message.toObjectList(msg.getStatusList(), +statusList: jspb.Message.toObjectList(msg.getStatusList(), proto.viam.robot.v1.Status.toObject, includeInstance) }; @@ -6225,9 +6231,9 @@ proto.viam.robot.v1.StreamStatusRequest.prototype.toObject = function(opt_includ */ proto.viam.robot.v1.StreamStatusRequest.toObject = function(includeInstance, msg) { var f, obj = { - resourceNamesList: jspb.Message.toObjectList(msg.getResourceNamesList(), +resourceNamesList: jspb.Message.toObjectList(msg.getResourceNamesList(), common_v1_common_pb.ResourceName.toObject, includeInstance), - every: (f = msg.getEvery()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) +every: (f = msg.getEvery()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -6436,7 +6442,7 @@ proto.viam.robot.v1.StreamStatusResponse.prototype.toObject = function(opt_inclu */ proto.viam.robot.v1.StreamStatusResponse.toObject = function(includeInstance, msg) { var f, obj = { - statusList: jspb.Message.toObjectList(msg.getStatusList(), +statusList: jspb.Message.toObjectList(msg.getStatusList(), proto.viam.robot.v1.Status.toObject, includeInstance) }; @@ -6589,8 +6595,8 @@ proto.viam.robot.v1.StopExtraParameters.prototype.toObject = function(opt_includ */ proto.viam.robot.v1.StopExtraParameters.toObject = function(includeInstance, msg) { var f, obj = { - name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - params: (f = msg.getParams()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +params: (f = msg.getParams()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -6798,7 +6804,7 @@ proto.viam.robot.v1.StopAllRequest.prototype.toObject = function(opt_includeInst */ proto.viam.robot.v1.StopAllRequest.toObject = function(includeInstance, msg) { var f, obj = { - extraList: jspb.Message.toObjectList(msg.getExtraList(), +extraList: jspb.Message.toObjectList(msg.getExtraList(), proto.viam.robot.v1.StopExtraParameters.toObject, includeInstance) }; @@ -7052,7 +7058,7 @@ proto.viam.robot.v1.StartSessionRequest.prototype.toObject = function(opt_includ */ proto.viam.robot.v1.StartSessionRequest.toObject = function(includeInstance, msg) { var f, obj = { - resume: jspb.Message.getFieldWithDefault(msg, 1, "") +resume: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -7182,8 +7188,8 @@ proto.viam.robot.v1.StartSessionResponse.prototype.toObject = function(opt_inclu */ proto.viam.robot.v1.StartSessionResponse.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - heartbeatWindow: (f = msg.getHeartbeatWindow()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +heartbeatWindow: (f = msg.getHeartbeatWindow()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -7363,7 +7369,7 @@ proto.viam.robot.v1.SendSessionHeartbeatRequest.prototype.toObject = function(op */ proto.viam.robot.v1.SendSessionHeartbeatRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, "") +id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -7601,7 +7607,7 @@ proto.viam.robot.v1.LogRequest.prototype.toObject = function(opt_includeInstance */ proto.viam.robot.v1.LogRequest.toObject = function(includeInstance, msg) { var f, obj = { - logsList: jspb.Message.toObjectList(msg.getLogsList(), +logsList: jspb.Message.toObjectList(msg.getLogsList(), common_v1_common_pb.LogEntry.toObject, includeInstance) }; @@ -7956,11 +7962,11 @@ proto.viam.robot.v1.GetCloudMetadataResponse.prototype.toObject = function(opt_i */ proto.viam.robot.v1.GetCloudMetadataResponse.toObject = function(includeInstance, msg) { var f, obj = { - robotPartId: jspb.Message.getFieldWithDefault(msg, 1, ""), - primaryOrgId: jspb.Message.getFieldWithDefault(msg, 2, ""), - locationId: jspb.Message.getFieldWithDefault(msg, 3, ""), - machineId: jspb.Message.getFieldWithDefault(msg, 4, ""), - machinePartId: jspb.Message.getFieldWithDefault(msg, 5, "") +robotPartId: jspb.Message.getFieldWithDefault(msg, 1, ""), +primaryOrgId: jspb.Message.getFieldWithDefault(msg, 2, ""), +locationId: jspb.Message.getFieldWithDefault(msg, 3, ""), +machineId: jspb.Message.getFieldWithDefault(msg, 4, ""), +machinePartId: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -8232,8 +8238,8 @@ proto.viam.robot.v1.RestartModuleRequest.prototype.toObject = function(opt_inclu */ proto.viam.robot.v1.RestartModuleRequest.toObject = function(includeInstance, msg) { var f, obj = { - moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), - moduleName: jspb.Message.getFieldWithDefault(msg, 2, "") +moduleId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, +moduleName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -8839,9 +8845,9 @@ proto.viam.robot.v1.GetMachineStatusResponse.prototype.toObject = function(opt_i */ proto.viam.robot.v1.GetMachineStatusResponse.toObject = function(includeInstance, msg) { var f, obj = { - resourcesList: jspb.Message.toObjectList(msg.getResourcesList(), +resourcesList: jspb.Message.toObjectList(msg.getResourcesList(), proto.viam.robot.v1.ResourceStatus.toObject, includeInstance), - config: (f = msg.getConfig()) && proto.viam.robot.v1.ConfigStatus.toObject(includeInstance, f) +config: (f = msg.getConfig()) && proto.viam.robot.v1.ConfigStatus.toObject(includeInstance, f) }; if (includeInstance) { @@ -9043,11 +9049,11 @@ proto.viam.robot.v1.ResourceStatus.prototype.toObject = function(opt_includeInst */ proto.viam.robot.v1.ResourceStatus.toObject = function(includeInstance, msg) { var f, obj = { - name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - state: jspb.Message.getFieldWithDefault(msg, 2, 0), - lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - revision: jspb.Message.getFieldWithDefault(msg, 4, ""), - error: jspb.Message.getFieldWithDefault(msg, 5, "") +name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +state: jspb.Message.getFieldWithDefault(msg, 2, 0), +lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +revision: jspb.Message.getFieldWithDefault(msg, 4, ""), +error: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -9347,8 +9353,8 @@ proto.viam.robot.v1.ConfigStatus.prototype.toObject = function(opt_includeInstan */ proto.viam.robot.v1.ConfigStatus.toObject = function(includeInstance, msg) { var f, obj = { - revision: jspb.Message.getFieldWithDefault(msg, 1, ""), - lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +revision: jspb.Message.getFieldWithDefault(msg, 1, ""), +lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -9629,9 +9635,9 @@ proto.viam.robot.v1.GetVersionResponse.prototype.toObject = function(opt_include */ proto.viam.robot.v1.GetVersionResponse.toObject = function(includeInstance, msg) { var f, obj = { - platform: jspb.Message.getFieldWithDefault(msg, 1, ""), - version: jspb.Message.getFieldWithDefault(msg, 2, ""), - apiVersion: jspb.Message.getFieldWithDefault(msg, 3, "") +platform: jspb.Message.getFieldWithDefault(msg, 1, ""), +version: jspb.Message.getFieldWithDefault(msg, 2, ""), +apiVersion: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { diff --git a/gen/js/service/datamanager/v1/data_manager_pb.js b/gen/js/service/datamanager/v1/data_manager_pb.js index e8e36208..fac0d2be 100644 --- a/gen/js/service/datamanager/v1/data_manager_pb.js +++ b/gen/js/service/datamanager/v1/data_manager_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -97,8 +103,8 @@ proto.viam.service.datamanager.v1.SyncRequest.prototype.toObject = function(opt_ */ proto.viam.service.datamanager.v1.SyncRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/service/generic/v1/generic_pb.js b/gen/js/service/generic/v1/generic_pb.js index 1134802a..de0f4583 100644 --- a/gen/js/service/generic/v1/generic_pb.js +++ b/gen/js/service/generic/v1/generic_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); diff --git a/gen/js/service/mlmodel/v1/mlmodel_pb.js b/gen/js/service/mlmodel/v1/mlmodel_pb.js index a518f9e0..b54c90d9 100644 --- a/gen/js/service/mlmodel/v1/mlmodel_pb.js +++ b/gen/js/service/mlmodel/v1/mlmodel_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_api_annotations_pb = require('../../../google/api/annotations_pb.js'); goog.object.extend(proto, google_api_annotations_pb); @@ -471,9 +477,9 @@ proto.viam.service.mlmodel.v1.InferRequest.prototype.toObject = function(opt_inc */ proto.viam.service.mlmodel.v1.InferRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - inputTensors: (f = msg.getInputTensors()) && proto.viam.service.mlmodel.v1.FlatTensors.toObject(includeInstance, f), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +inputTensors: (f = msg.getInputTensors()) && proto.viam.service.mlmodel.v1.FlatTensors.toObject(includeInstance, f), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -703,7 +709,7 @@ proto.viam.service.mlmodel.v1.InferResponse.prototype.toObject = function(opt_in */ proto.viam.service.mlmodel.v1.InferResponse.toObject = function(includeInstance, msg) { var f, obj = { - outputTensors: (f = msg.getOutputTensors()) && proto.viam.service.mlmodel.v1.FlatTensors.toObject(includeInstance, f) +outputTensors: (f = msg.getOutputTensors()) && proto.viam.service.mlmodel.v1.FlatTensors.toObject(includeInstance, f) }; if (includeInstance) { @@ -854,8 +860,8 @@ proto.viam.service.mlmodel.v1.MetadataRequest.prototype.toObject = function(opt_ */ proto.viam.service.mlmodel.v1.MetadataRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1035,7 +1041,7 @@ proto.viam.service.mlmodel.v1.MetadataResponse.prototype.toObject = function(opt */ proto.viam.service.mlmodel.v1.MetadataResponse.toObject = function(includeInstance, msg) { var f, obj = { - metadata: (f = msg.getMetadata()) && proto.viam.service.mlmodel.v1.Metadata.toObject(includeInstance, f) +metadata: (f = msg.getMetadata()) && proto.viam.service.mlmodel.v1.Metadata.toObject(includeInstance, f) }; if (includeInstance) { @@ -1193,12 +1199,12 @@ proto.viam.service.mlmodel.v1.Metadata.prototype.toObject = function(opt_include */ proto.viam.service.mlmodel.v1.Metadata.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - type: jspb.Message.getFieldWithDefault(msg, 2, ""), - description: jspb.Message.getFieldWithDefault(msg, 3, ""), - inputInfoList: jspb.Message.toObjectList(msg.getInputInfoList(), +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +type: jspb.Message.getFieldWithDefault(msg, 2, ""), +description: jspb.Message.getFieldWithDefault(msg, 3, ""), +inputInfoList: jspb.Message.toObjectList(msg.getInputInfoList(), proto.viam.service.mlmodel.v1.TensorInfo.toObject, includeInstance), - outputInfoList: jspb.Message.toObjectList(msg.getOutputInfoList(), +outputInfoList: jspb.Message.toObjectList(msg.getOutputInfoList(), proto.viam.service.mlmodel.v1.TensorInfo.toObject, includeInstance) }; @@ -1496,13 +1502,13 @@ proto.viam.service.mlmodel.v1.TensorInfo.prototype.toObject = function(opt_inclu */ proto.viam.service.mlmodel.v1.TensorInfo.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - description: jspb.Message.getFieldWithDefault(msg, 2, ""), - dataType: jspb.Message.getFieldWithDefault(msg, 3, ""), - shapeList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, - associatedFilesList: jspb.Message.toObjectList(msg.getAssociatedFilesList(), +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +description: jspb.Message.getFieldWithDefault(msg, 2, ""), +dataType: jspb.Message.getFieldWithDefault(msg, 3, ""), +shapeList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, +associatedFilesList: jspb.Message.toObjectList(msg.getAssociatedFilesList(), proto.viam.service.mlmodel.v1.File.toObject, includeInstance), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1841,9 +1847,9 @@ proto.viam.service.mlmodel.v1.File.prototype.toObject = function(opt_includeInst */ proto.viam.service.mlmodel.v1.File.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - description: jspb.Message.getFieldWithDefault(msg, 2, ""), - labelType: jspb.Message.getFieldWithDefault(msg, 3, 0) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +description: jspb.Message.getFieldWithDefault(msg, 2, ""), +labelType: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -2031,7 +2037,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataInt8.prototype.toObject = function(o */ proto.viam.service.mlmodel.v1.FlatTensorDataInt8.toObject = function(includeInstance, msg) { var f, obj = { - data: msg.getData_asB64() +data: msg.getData_asB64() }; if (includeInstance) { @@ -2185,7 +2191,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataUInt8.prototype.toObject = function( */ proto.viam.service.mlmodel.v1.FlatTensorDataUInt8.toObject = function(includeInstance, msg) { var f, obj = { - data: msg.getData_asB64() +data: msg.getData_asB64() }; if (includeInstance) { @@ -2346,7 +2352,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataInt16.prototype.toObject = function( */ proto.viam.service.mlmodel.v1.FlatTensorDataInt16.toObject = function(includeInstance, msg) { var f, obj = { - dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f +dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -2504,7 +2510,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataUInt16.prototype.toObject = function */ proto.viam.service.mlmodel.v1.FlatTensorDataUInt16.toObject = function(includeInstance, msg) { var f, obj = { - dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f +dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -2662,7 +2668,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataInt32.prototype.toObject = function( */ proto.viam.service.mlmodel.v1.FlatTensorDataInt32.toObject = function(includeInstance, msg) { var f, obj = { - dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f +dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -2820,7 +2826,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataUInt32.prototype.toObject = function */ proto.viam.service.mlmodel.v1.FlatTensorDataUInt32.toObject = function(includeInstance, msg) { var f, obj = { - dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f +dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -2978,7 +2984,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataInt64.prototype.toObject = function( */ proto.viam.service.mlmodel.v1.FlatTensorDataInt64.toObject = function(includeInstance, msg) { var f, obj = { - dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f +dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -3136,7 +3142,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataUInt64.prototype.toObject = function */ proto.viam.service.mlmodel.v1.FlatTensorDataUInt64.toObject = function(includeInstance, msg) { var f, obj = { - dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f +dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -3294,7 +3300,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataFloat.prototype.toObject = function( */ proto.viam.service.mlmodel.v1.FlatTensorDataFloat.toObject = function(includeInstance, msg) { var f, obj = { - dataList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f +dataList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -3452,7 +3458,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataDouble.prototype.toObject = function */ proto.viam.service.mlmodel.v1.FlatTensorDataDouble.toObject = function(includeInstance, msg) { var f, obj = { - dataList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f +dataList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -3644,17 +3650,17 @@ proto.viam.service.mlmodel.v1.FlatTensor.prototype.toObject = function(opt_inclu */ proto.viam.service.mlmodel.v1.FlatTensor.toObject = function(includeInstance, msg) { var f, obj = { - shapeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, - int8Tensor: (f = msg.getInt8Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt8.toObject(includeInstance, f), - uint8Tensor: (f = msg.getUint8Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt8.toObject(includeInstance, f), - int16Tensor: (f = msg.getInt16Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt16.toObject(includeInstance, f), - uint16Tensor: (f = msg.getUint16Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt16.toObject(includeInstance, f), - int32Tensor: (f = msg.getInt32Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt32.toObject(includeInstance, f), - uint32Tensor: (f = msg.getUint32Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt32.toObject(includeInstance, f), - int64Tensor: (f = msg.getInt64Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt64.toObject(includeInstance, f), - uint64Tensor: (f = msg.getUint64Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt64.toObject(includeInstance, f), - floatTensor: (f = msg.getFloatTensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataFloat.toObject(includeInstance, f), - doubleTensor: (f = msg.getDoubleTensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataDouble.toObject(includeInstance, f) +shapeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, +int8Tensor: (f = msg.getInt8Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt8.toObject(includeInstance, f), +uint8Tensor: (f = msg.getUint8Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt8.toObject(includeInstance, f), +int16Tensor: (f = msg.getInt16Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt16.toObject(includeInstance, f), +uint16Tensor: (f = msg.getUint16Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt16.toObject(includeInstance, f), +int32Tensor: (f = msg.getInt32Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt32.toObject(includeInstance, f), +uint32Tensor: (f = msg.getUint32Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt32.toObject(includeInstance, f), +int64Tensor: (f = msg.getInt64Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt64.toObject(includeInstance, f), +uint64Tensor: (f = msg.getUint64Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt64.toObject(includeInstance, f), +floatTensor: (f = msg.getFloatTensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataFloat.toObject(includeInstance, f), +doubleTensor: (f = msg.getDoubleTensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataDouble.toObject(includeInstance, f) }; if (includeInstance) { @@ -4305,7 +4311,7 @@ proto.viam.service.mlmodel.v1.FlatTensors.prototype.toObject = function(opt_incl */ proto.viam.service.mlmodel.v1.FlatTensors.toObject = function(includeInstance, msg) { var f, obj = { - tensorsMap: (f = msg.getTensorsMap()) ? f.toObject(includeInstance, proto.viam.service.mlmodel.v1.FlatTensor.toObject) : [] +tensorsMap: (f = msg.getTensorsMap()) ? f.toObject(includeInstance, proto.viam.service.mlmodel.v1.FlatTensor.toObject) : [] }; if (includeInstance) { @@ -4403,7 +4409,8 @@ proto.viam.service.mlmodel.v1.FlatTensors.prototype.getTensorsMap = function(opt */ proto.viam.service.mlmodel.v1.FlatTensors.prototype.clearTensorsMap = function() { this.getTensorsMap().clear(); - return this;}; + return this; +}; /** diff --git a/gen/js/service/motion/v1/motion_pb.js b/gen/js/service/motion/v1/motion_pb.js index bc5adc89..c03013ef 100644 --- a/gen/js/service/motion/v1/motion_pb.js +++ b/gen/js/service/motion/v1/motion_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -650,12 +656,12 @@ proto.viam.service.motion.v1.MoveRequest.prototype.toObject = function(opt_inclu */ proto.viam.service.motion.v1.MoveRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - destination: (f = msg.getDestination()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f), - componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - worldState: (f = msg.getWorldState()) && common_v1_common_pb.WorldState.toObject(includeInstance, f), - constraints: (f = msg.getConstraints()) && proto.viam.service.motion.v1.Constraints.toObject(includeInstance, f), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +destination: (f = msg.getDestination()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f), +componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +worldState: (f = msg.getWorldState()) && common_v1_common_pb.WorldState.toObject(includeInstance, f), +constraints: (f = msg.getConstraints()) && proto.viam.service.motion.v1.Constraints.toObject(includeInstance, f), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1035,7 +1041,7 @@ proto.viam.service.motion.v1.MoveResponse.prototype.toObject = function(opt_incl */ proto.viam.service.motion.v1.MoveResponse.toObject = function(includeInstance, msg) { var f, obj = { - success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) +success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -1172,14 +1178,14 @@ proto.viam.service.motion.v1.MoveOnMapRequest.prototype.toObject = function(opt_ */ proto.viam.service.motion.v1.MoveOnMapRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - destination: (f = msg.getDestination()) && common_v1_common_pb.Pose.toObject(includeInstance, f), - componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - slamServiceName: (f = msg.getSlamServiceName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - motionConfiguration: (f = msg.getMotionConfiguration()) && proto.viam.service.motion.v1.MotionConfiguration.toObject(includeInstance, f), - obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +destination: (f = msg.getDestination()) && common_v1_common_pb.Pose.toObject(includeInstance, f), +componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +slamServiceName: (f = msg.getSlamServiceName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +motionConfiguration: (f = msg.getMotionConfiguration()) && proto.viam.service.motion.v1.MotionConfiguration.toObject(includeInstance, f), +obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), common_v1_common_pb.Geometry.toObject, includeInstance), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1610,7 +1616,7 @@ proto.viam.service.motion.v1.MoveOnMapResponse.prototype.toObject = function(opt */ proto.viam.service.motion.v1.MoveOnMapResponse.toObject = function(includeInstance, msg) { var f, obj = { - executionId: jspb.Message.getFieldWithDefault(msg, 1, "") +executionId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1740,8 +1746,8 @@ proto.viam.service.motion.v1.ObstacleDetector.prototype.toObject = function(opt_ */ proto.viam.service.motion.v1.ObstacleDetector.toObject = function(includeInstance, msg) { var f, obj = { - visionService: (f = msg.getVisionService()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - camera: (f = msg.getCamera()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f) +visionService: (f = msg.getVisionService()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +camera: (f = msg.getCamera()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f) }; if (includeInstance) { @@ -1949,13 +1955,13 @@ proto.viam.service.motion.v1.MotionConfiguration.prototype.toObject = function(o */ proto.viam.service.motion.v1.MotionConfiguration.toObject = function(includeInstance, msg) { var f, obj = { - obstacleDetectorsList: jspb.Message.toObjectList(msg.getObstacleDetectorsList(), +obstacleDetectorsList: jspb.Message.toObjectList(msg.getObstacleDetectorsList(), proto.viam.service.motion.v1.ObstacleDetector.toObject, includeInstance), - positionPollingFrequencyHz: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - obstaclePollingFrequencyHz: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - planDeviationM: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), - linearMPerSec: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - angularDegsPerSec: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0) +positionPollingFrequencyHz: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f, +obstaclePollingFrequencyHz: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f, +planDeviationM: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f, +linearMPerSec: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, +angularDegsPerSec: (f = jspb.Message.getOptionalFloatingPointField(msg, 6)) == null ? undefined : f }; if (includeInstance) { @@ -2349,17 +2355,17 @@ proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.toObject = function(op */ proto.viam.service.motion.v1.MoveOnGlobeRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - destination: (f = msg.getDestination()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), - heading: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - movementSensorName: (f = msg.getMovementSensorName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +destination: (f = msg.getDestination()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), +heading: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f, +componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +movementSensorName: (f = msg.getMovementSensorName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), common_v1_common_pb.GeoGeometry.toObject, includeInstance), - motionConfiguration: (f = msg.getMotionConfiguration()) && proto.viam.service.motion.v1.MotionConfiguration.toObject(includeInstance, f), - boundingRegionsList: jspb.Message.toObjectList(msg.getBoundingRegionsList(), +motionConfiguration: (f = msg.getMotionConfiguration()) && proto.viam.service.motion.v1.MotionConfiguration.toObject(includeInstance, f), +boundingRegionsList: jspb.Message.toObjectList(msg.getBoundingRegionsList(), common_v1_common_pb.GeoGeometry.toObject, includeInstance), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2888,7 +2894,7 @@ proto.viam.service.motion.v1.MoveOnGlobeResponse.prototype.toObject = function(o */ proto.viam.service.motion.v1.MoveOnGlobeResponse.toObject = function(includeInstance, msg) { var f, obj = { - executionId: jspb.Message.getFieldWithDefault(msg, 1, "") +executionId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -3025,12 +3031,12 @@ proto.viam.service.motion.v1.GetPoseRequest.prototype.toObject = function(opt_in */ proto.viam.service.motion.v1.GetPoseRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - destinationFrame: jspb.Message.getFieldWithDefault(msg, 3, ""), - supplementalTransformsList: jspb.Message.toObjectList(msg.getSupplementalTransformsList(), +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +destinationFrame: jspb.Message.getFieldWithDefault(msg, 3, ""), +supplementalTransformsList: jspb.Message.toObjectList(msg.getSupplementalTransformsList(), common_v1_common_pb.Transform.toObject, includeInstance), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3340,7 +3346,7 @@ proto.viam.service.motion.v1.GetPoseResponse.prototype.toObject = function(opt_i */ proto.viam.service.motion.v1.GetPoseResponse.toObject = function(includeInstance, msg) { var f, obj = { - pose: (f = msg.getPose()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f) +pose: (f = msg.getPose()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f) }; if (includeInstance) { @@ -3491,9 +3497,9 @@ proto.viam.service.motion.v1.StopPlanRequest.prototype.toObject = function(opt_i */ proto.viam.service.motion.v1.StopPlanRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3824,9 +3830,9 @@ proto.viam.service.motion.v1.ListPlanStatusesRequest.prototype.toObject = functi */ proto.viam.service.motion.v1.ListPlanStatusesRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - onlyActivePlans: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +onlyActivePlans: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -4042,7 +4048,7 @@ proto.viam.service.motion.v1.ListPlanStatusesResponse.prototype.toObject = funct */ proto.viam.service.motion.v1.ListPlanStatusesResponse.toObject = function(includeInstance, msg) { var f, obj = { - planStatusesWithIdsList: jspb.Message.toObjectList(msg.getPlanStatusesWithIdsList(), +planStatusesWithIdsList: jspb.Message.toObjectList(msg.getPlanStatusesWithIdsList(), proto.viam.service.motion.v1.PlanStatusWithID.toObject, includeInstance) }; @@ -4195,11 +4201,11 @@ proto.viam.service.motion.v1.GetPlanRequest.prototype.toObject = function(opt_in */ proto.viam.service.motion.v1.GetPlanRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - lastPlanOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - executionId: jspb.Message.getFieldWithDefault(msg, 4, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +lastPlanOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), +executionId: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -4512,8 +4518,8 @@ proto.viam.service.motion.v1.GetPlanResponse.prototype.toObject = function(opt_i */ proto.viam.service.motion.v1.GetPlanResponse.toObject = function(includeInstance, msg) { var f, obj = { - currentPlanWithStatus: (f = msg.getCurrentPlanWithStatus()) && proto.viam.service.motion.v1.PlanWithStatus.toObject(includeInstance, f), - replanHistoryList: jspb.Message.toObjectList(msg.getReplanHistoryList(), +currentPlanWithStatus: (f = msg.getCurrentPlanWithStatus()) && proto.viam.service.motion.v1.PlanWithStatus.toObject(includeInstance, f), +replanHistoryList: jspb.Message.toObjectList(msg.getReplanHistoryList(), proto.viam.service.motion.v1.PlanWithStatus.toObject, includeInstance) }; @@ -4723,11 +4729,11 @@ proto.viam.service.motion.v1.Constraints.prototype.toObject = function(opt_inclu */ proto.viam.service.motion.v1.Constraints.toObject = function(includeInstance, msg) { var f, obj = { - linearConstraintList: jspb.Message.toObjectList(msg.getLinearConstraintList(), +linearConstraintList: jspb.Message.toObjectList(msg.getLinearConstraintList(), proto.viam.service.motion.v1.LinearConstraint.toObject, includeInstance), - orientationConstraintList: jspb.Message.toObjectList(msg.getOrientationConstraintList(), +orientationConstraintList: jspb.Message.toObjectList(msg.getOrientationConstraintList(), proto.viam.service.motion.v1.OrientationConstraint.toObject, includeInstance), - collisionSpecificationList: jspb.Message.toObjectList(msg.getCollisionSpecificationList(), +collisionSpecificationList: jspb.Message.toObjectList(msg.getCollisionSpecificationList(), proto.viam.service.motion.v1.CollisionSpecification.toObject, includeInstance) }; @@ -4982,8 +4988,8 @@ proto.viam.service.motion.v1.LinearConstraint.prototype.toObject = function(opt_ */ proto.viam.service.motion.v1.LinearConstraint.toObject = function(includeInstance, msg) { var f, obj = { - lineToleranceMm: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - orientationToleranceDegs: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) +lineToleranceMm: (f = jspb.Message.getOptionalFloatingPointField(msg, 1)) == null ? undefined : f, +orientationToleranceDegs: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -5178,7 +5184,7 @@ proto.viam.service.motion.v1.OrientationConstraint.prototype.toObject = function */ proto.viam.service.motion.v1.OrientationConstraint.toObject = function(includeInstance, msg) { var f, obj = { - orientationToleranceDegs: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) +orientationToleranceDegs: (f = jspb.Message.getOptionalFloatingPointField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -5333,7 +5339,7 @@ proto.viam.service.motion.v1.CollisionSpecification.prototype.toObject = functio */ proto.viam.service.motion.v1.CollisionSpecification.toObject = function(includeInstance, msg) { var f, obj = { - allowsList: jspb.Message.toObjectList(msg.getAllowsList(), +allowsList: jspb.Message.toObjectList(msg.getAllowsList(), proto.viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions.toObject, includeInstance) }; @@ -5448,8 +5454,8 @@ proto.viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions.proto */ proto.viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions.toObject = function(includeInstance, msg) { var f, obj = { - frame1: jspb.Message.getFieldWithDefault(msg, 1, ""), - frame2: jspb.Message.getFieldWithDefault(msg, 2, "") +frame1: jspb.Message.getFieldWithDefault(msg, 1, ""), +frame2: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -5653,9 +5659,9 @@ proto.viam.service.motion.v1.PlanWithStatus.prototype.toObject = function(opt_in */ proto.viam.service.motion.v1.PlanWithStatus.toObject = function(includeInstance, msg) { var f, obj = { - plan: (f = msg.getPlan()) && proto.viam.service.motion.v1.Plan.toObject(includeInstance, f), - status: (f = msg.getStatus()) && proto.viam.service.motion.v1.PlanStatus.toObject(includeInstance, f), - statusHistoryList: jspb.Message.toObjectList(msg.getStatusHistoryList(), +plan: (f = msg.getPlan()) && proto.viam.service.motion.v1.Plan.toObject(includeInstance, f), +status: (f = msg.getStatus()) && proto.viam.service.motion.v1.PlanStatus.toObject(includeInstance, f), +statusHistoryList: jspb.Message.toObjectList(msg.getStatusHistoryList(), proto.viam.service.motion.v1.PlanStatus.toObject, includeInstance) }; @@ -5908,10 +5914,10 @@ proto.viam.service.motion.v1.PlanStatusWithID.prototype.toObject = function(opt_ */ proto.viam.service.motion.v1.PlanStatusWithID.toObject = function(includeInstance, msg) { var f, obj = { - planId: jspb.Message.getFieldWithDefault(msg, 1, ""), - componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - executionId: jspb.Message.getFieldWithDefault(msg, 3, ""), - status: (f = msg.getStatus()) && proto.viam.service.motion.v1.PlanStatus.toObject(includeInstance, f) +planId: jspb.Message.getFieldWithDefault(msg, 1, ""), +componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +executionId: jspb.Message.getFieldWithDefault(msg, 3, ""), +status: (f = msg.getStatus()) && proto.viam.service.motion.v1.PlanStatus.toObject(includeInstance, f) }; if (includeInstance) { @@ -6170,9 +6176,9 @@ proto.viam.service.motion.v1.PlanStatus.prototype.toObject = function(opt_includ */ proto.viam.service.motion.v1.PlanStatus.toObject = function(includeInstance, msg) { var f, obj = { - state: jspb.Message.getFieldWithDefault(msg, 1, 0), - timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - reason: jspb.Message.getFieldWithDefault(msg, 3, "") +state: jspb.Message.getFieldWithDefault(msg, 1, 0), +timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +reason: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -6406,10 +6412,10 @@ proto.viam.service.motion.v1.Plan.prototype.toObject = function(opt_includeInsta */ proto.viam.service.motion.v1.Plan.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - executionId: jspb.Message.getFieldWithDefault(msg, 3, ""), - stepsList: jspb.Message.toObjectList(msg.getStepsList(), +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +executionId: jspb.Message.getFieldWithDefault(msg, 3, ""), +stepsList: jspb.Message.toObjectList(msg.getStepsList(), proto.viam.service.motion.v1.PlanStep.toObject, includeInstance) }; @@ -6670,7 +6676,7 @@ proto.viam.service.motion.v1.PlanStep.prototype.toObject = function(opt_includeI */ proto.viam.service.motion.v1.PlanStep.toObject = function(includeInstance, msg) { var f, obj = { - stepMap: (f = msg.getStepMap()) ? f.toObject(includeInstance, proto.viam.service.motion.v1.ComponentState.toObject) : [] +stepMap: (f = msg.getStepMap()) ? f.toObject(includeInstance, proto.viam.service.motion.v1.ComponentState.toObject) : [] }; if (includeInstance) { @@ -6768,7 +6774,8 @@ proto.viam.service.motion.v1.PlanStep.prototype.getStepMap = function(opt_noLazy */ proto.viam.service.motion.v1.PlanStep.prototype.clearStepMap = function() { this.getStepMap().clear(); - return this;}; + return this; +}; @@ -6803,7 +6810,7 @@ proto.viam.service.motion.v1.ComponentState.prototype.toObject = function(opt_in */ proto.viam.service.motion.v1.ComponentState.toObject = function(includeInstance, msg) { var f, obj = { - pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) +pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/service/navigation/v1/navigation_pb.js b/gen/js/service/navigation/v1/navigation_pb.js index b7f4dcc8..a3cb8ed5 100644 --- a/gen/js/service/navigation/v1/navigation_pb.js +++ b/gen/js/service/navigation/v1/navigation_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -495,8 +501,8 @@ proto.viam.service.navigation.v1.GetModeRequest.prototype.toObject = function(op */ proto.viam.service.navigation.v1.GetModeRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -676,7 +682,7 @@ proto.viam.service.navigation.v1.GetModeResponse.prototype.toObject = function(o */ proto.viam.service.navigation.v1.GetModeResponse.toObject = function(includeInstance, msg) { var f, obj = { - mode: jspb.Message.getFieldWithDefault(msg, 1, 0) +mode: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -806,9 +812,9 @@ proto.viam.service.navigation.v1.SetModeRequest.prototype.toObject = function(op */ proto.viam.service.navigation.v1.SetModeRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - mode: jspb.Message.getFieldWithDefault(msg, 2, 0), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +mode: jspb.Message.getFieldWithDefault(msg, 2, 0), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1118,8 +1124,8 @@ proto.viam.service.navigation.v1.Waypoint.prototype.toObject = function(opt_incl */ proto.viam.service.navigation.v1.Waypoint.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - location: (f = msg.getLocation()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +location: (f = msg.getLocation()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f) }; if (includeInstance) { @@ -1299,8 +1305,8 @@ proto.viam.service.navigation.v1.GetLocationRequest.prototype.toObject = functio */ proto.viam.service.navigation.v1.GetLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1480,8 +1486,8 @@ proto.viam.service.navigation.v1.GetLocationResponse.prototype.toObject = functi */ proto.viam.service.navigation.v1.GetLocationResponse.toObject = function(includeInstance, msg) { var f, obj = { - location: (f = msg.getLocation()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), - compassHeading: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) +location: (f = msg.getLocation()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), +compassHeading: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -1661,8 +1667,8 @@ proto.viam.service.navigation.v1.GetWaypointsRequest.prototype.toObject = functi */ proto.viam.service.navigation.v1.GetWaypointsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1849,7 +1855,7 @@ proto.viam.service.navigation.v1.GetWaypointsResponse.prototype.toObject = funct */ proto.viam.service.navigation.v1.GetWaypointsResponse.toObject = function(includeInstance, msg) { var f, obj = { - waypointsList: jspb.Message.toObjectList(msg.getWaypointsList(), +waypointsList: jspb.Message.toObjectList(msg.getWaypointsList(), proto.viam.service.navigation.v1.Waypoint.toObject, includeInstance) }; @@ -2002,9 +2008,9 @@ proto.viam.service.navigation.v1.AddWaypointRequest.prototype.toObject = functio */ proto.viam.service.navigation.v1.AddWaypointRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - location: (f = msg.getLocation()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +location: (f = msg.getLocation()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2335,9 +2341,9 @@ proto.viam.service.navigation.v1.RemoveWaypointRequest.prototype.toObject = func */ proto.viam.service.navigation.v1.RemoveWaypointRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - id: jspb.Message.getFieldWithDefault(msg, 2, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +id: jspb.Message.getFieldWithDefault(msg, 2, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2647,8 +2653,8 @@ proto.viam.service.navigation.v1.GetObstaclesRequest.prototype.toObject = functi */ proto.viam.service.navigation.v1.GetObstaclesRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2835,7 +2841,7 @@ proto.viam.service.navigation.v1.GetObstaclesResponse.prototype.toObject = funct */ proto.viam.service.navigation.v1.GetObstaclesResponse.toObject = function(includeInstance, msg) { var f, obj = { - obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), +obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), common_v1_common_pb.GeoGeometry.toObject, includeInstance) }; @@ -2995,8 +3001,8 @@ proto.viam.service.navigation.v1.Path.prototype.toObject = function(opt_includeI */ proto.viam.service.navigation.v1.Path.toObject = function(includeInstance, msg) { var f, obj = { - destinationWaypointId: jspb.Message.getFieldWithDefault(msg, 1, ""), - geopointsList: jspb.Message.toObjectList(msg.getGeopointsList(), +destinationWaypointId: jspb.Message.getFieldWithDefault(msg, 1, ""), +geopointsList: jspb.Message.toObjectList(msg.getGeopointsList(), common_v1_common_pb.GeoPoint.toObject, includeInstance) }; @@ -3178,8 +3184,8 @@ proto.viam.service.navigation.v1.GetPathsRequest.prototype.toObject = function(o */ proto.viam.service.navigation.v1.GetPathsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3366,7 +3372,7 @@ proto.viam.service.navigation.v1.GetPathsResponse.prototype.toObject = function( */ proto.viam.service.navigation.v1.GetPathsResponse.toObject = function(includeInstance, msg) { var f, obj = { - pathsList: jspb.Message.toObjectList(msg.getPathsList(), +pathsList: jspb.Message.toObjectList(msg.getPathsList(), proto.viam.service.navigation.v1.Path.toObject, includeInstance) }; @@ -3519,7 +3525,7 @@ proto.viam.service.navigation.v1.GetPropertiesRequest.prototype.toObject = funct */ proto.viam.service.navigation.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -3649,7 +3655,7 @@ proto.viam.service.navigation.v1.GetPropertiesResponse.prototype.toObject = func */ proto.viam.service.navigation.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { - mapType: jspb.Message.getFieldWithDefault(msg, 1, 0) +mapType: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { diff --git a/gen/js/service/sensors/v1/sensors_pb.js b/gen/js/service/sensors/v1/sensors_pb.js index 0177437b..d0362b9b 100644 --- a/gen/js/service/sensors/v1/sensors_pb.js +++ b/gen/js/service/sensors/v1/sensors_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -163,8 +169,8 @@ proto.viam.service.sensors.v1.GetSensorsRequest.prototype.toObject = function(op */ proto.viam.service.sensors.v1.GetSensorsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -351,7 +357,7 @@ proto.viam.service.sensors.v1.GetSensorsResponse.prototype.toObject = function(o */ proto.viam.service.sensors.v1.GetSensorsResponse.toObject = function(includeInstance, msg) { var f, obj = { - sensorNamesList: jspb.Message.toObjectList(msg.getSensorNamesList(), +sensorNamesList: jspb.Message.toObjectList(msg.getSensorNamesList(), common_v1_common_pb.ResourceName.toObject, includeInstance) }; @@ -511,10 +517,10 @@ proto.viam.service.sensors.v1.GetReadingsRequest.prototype.toObject = function(o */ proto.viam.service.sensors.v1.GetReadingsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - sensorNamesList: jspb.Message.toObjectList(msg.getSensorNamesList(), +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +sensorNamesList: jspb.Message.toObjectList(msg.getSensorNamesList(), common_v1_common_pb.ResourceName.toObject, includeInstance), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -745,8 +751,8 @@ proto.viam.service.sensors.v1.Readings.prototype.toObject = function(opt_include */ proto.viam.service.sensors.v1.Readings.toObject = function(includeInstance, msg) { var f, obj = { - name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), - readingsMap: (f = msg.getReadingsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] +name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), +readingsMap: (f = msg.getReadingsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] }; if (includeInstance) { @@ -894,7 +900,8 @@ proto.viam.service.sensors.v1.Readings.prototype.getReadingsMap = function(opt_n */ proto.viam.service.sensors.v1.Readings.prototype.clearReadingsMap = function() { this.getReadingsMap().clear(); - return this;}; + return this; +}; @@ -936,7 +943,7 @@ proto.viam.service.sensors.v1.GetReadingsResponse.prototype.toObject = function( */ proto.viam.service.sensors.v1.GetReadingsResponse.toObject = function(includeInstance, msg) { var f, obj = { - readingsList: jspb.Message.toObjectList(msg.getReadingsList(), +readingsList: jspb.Message.toObjectList(msg.getReadingsList(), proto.viam.service.sensors.v1.Readings.toObject, includeInstance) }; diff --git a/gen/js/service/shell/v1/shell_pb.js b/gen/js/service/shell/v1/shell_pb.js index 940f08a7..5cc15e1d 100644 --- a/gen/js/service/shell/v1/shell_pb.js +++ b/gen/js/service/shell/v1/shell_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -279,9 +285,9 @@ proto.viam.service.shell.v1.ShellRequest.prototype.toObject = function(opt_inclu */ proto.viam.service.shell.v1.ShellRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - dataIn: jspb.Message.getFieldWithDefault(msg, 2, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +dataIn: jspb.Message.getFieldWithDefault(msg, 2, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -490,9 +496,9 @@ proto.viam.service.shell.v1.ShellResponse.prototype.toObject = function(opt_incl */ proto.viam.service.shell.v1.ShellResponse.toObject = function(includeInstance, msg) { var f, obj = { - dataOut: jspb.Message.getFieldWithDefault(msg, 1, ""), - dataErr: jspb.Message.getFieldWithDefault(msg, 2, ""), - eof: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) +dataOut: jspb.Message.getFieldWithDefault(msg, 1, ""), +dataErr: jspb.Message.getFieldWithDefault(msg, 2, ""), +eof: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -680,13 +686,13 @@ proto.viam.service.shell.v1.FileData.prototype.toObject = function(opt_includeIn */ proto.viam.service.shell.v1.FileData.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - size: jspb.Message.getFieldWithDefault(msg, 2, 0), - isDir: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - data: msg.getData_asB64(), - eof: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), - modTime: (f = msg.getModTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - mode: jspb.Message.getFieldWithDefault(msg, 7, 0) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +size: jspb.Message.getFieldWithDefault(msg, 2, 0), +isDir: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), +data: msg.getData_asB64(), +eof: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), +modTime: (f = msg.getModTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +mode: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f }; if (includeInstance) { @@ -1053,11 +1059,11 @@ proto.viam.service.shell.v1.CopyFilesToMachineRequestMetadata.prototype.toObject */ proto.viam.service.shell.v1.CopyFilesToMachineRequestMetadata.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - sourceType: jspb.Message.getFieldWithDefault(msg, 2, 0), - destination: jspb.Message.getFieldWithDefault(msg, 3, ""), - preserve: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +sourceType: jspb.Message.getFieldWithDefault(msg, 2, 0), +destination: jspb.Message.getFieldWithDefault(msg, 3, ""), +preserve: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1350,8 +1356,8 @@ proto.viam.service.shell.v1.CopyFilesToMachineRequest.prototype.toObject = funct */ proto.viam.service.shell.v1.CopyFilesToMachineRequest.toObject = function(includeInstance, msg) { var f, obj = { - metadata: (f = msg.getMetadata()) && proto.viam.service.shell.v1.CopyFilesToMachineRequestMetadata.toObject(includeInstance, f), - fileData: (f = msg.getFileData()) && proto.viam.service.shell.v1.FileData.toObject(includeInstance, f) +metadata: (f = msg.getMetadata()) && proto.viam.service.shell.v1.CopyFilesToMachineRequestMetadata.toObject(includeInstance, f), +fileData: (f = msg.getFileData()) && proto.viam.service.shell.v1.FileData.toObject(includeInstance, f) }; if (includeInstance) { @@ -1552,7 +1558,7 @@ proto.viam.service.shell.v1.CopyFilesToMachineResponse.prototype.toObject = func */ proto.viam.service.shell.v1.CopyFilesToMachineResponse.toObject = function(includeInstance, msg) { var f, obj = { - ackLastFile: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) +ackLastFile: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -1689,11 +1695,11 @@ proto.viam.service.shell.v1.CopyFilesFromMachineRequestMetadata.prototype.toObje */ proto.viam.service.shell.v1.CopyFilesFromMachineRequestMetadata.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - pathsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - allowRecursion: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - preserve: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +pathsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, +allowRecursion: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), +preserve: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2005,8 +2011,8 @@ proto.viam.service.shell.v1.CopyFilesFromMachineRequest.prototype.toObject = fun */ proto.viam.service.shell.v1.CopyFilesFromMachineRequest.toObject = function(includeInstance, msg) { var f, obj = { - metadata: (f = msg.getMetadata()) && proto.viam.service.shell.v1.CopyFilesFromMachineRequestMetadata.toObject(includeInstance, f), - ackLastFile: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) +metadata: (f = msg.getMetadata()) && proto.viam.service.shell.v1.CopyFilesFromMachineRequestMetadata.toObject(includeInstance, f), +ackLastFile: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -2204,7 +2210,7 @@ proto.viam.service.shell.v1.CopyFilesFromMachineResponseMetadata.prototype.toObj */ proto.viam.service.shell.v1.CopyFilesFromMachineResponseMetadata.toObject = function(includeInstance, msg) { var f, obj = { - sourceType: jspb.Message.getFieldWithDefault(msg, 1, 0) +sourceType: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -2360,8 +2366,8 @@ proto.viam.service.shell.v1.CopyFilesFromMachineResponse.prototype.toObject = fu */ proto.viam.service.shell.v1.CopyFilesFromMachineResponse.toObject = function(includeInstance, msg) { var f, obj = { - metadata: (f = msg.getMetadata()) && proto.viam.service.shell.v1.CopyFilesFromMachineResponseMetadata.toObject(includeInstance, f), - fileData: (f = msg.getFileData()) && proto.viam.service.shell.v1.FileData.toObject(includeInstance, f) +metadata: (f = msg.getMetadata()) && proto.viam.service.shell.v1.CopyFilesFromMachineResponseMetadata.toObject(includeInstance, f), +fileData: (f = msg.getFileData()) && proto.viam.service.shell.v1.FileData.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/service/slam/v1/slam_pb.js b/gen/js/service/slam/v1/slam_pb.js index b45f46f8..b8be210b 100644 --- a/gen/js/service/slam/v1/slam_pb.js +++ b/gen/js/service/slam/v1/slam_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -251,7 +257,7 @@ proto.viam.service.slam.v1.GetPositionRequest.prototype.toObject = function(opt_ */ proto.viam.service.slam.v1.GetPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -381,7 +387,7 @@ proto.viam.service.slam.v1.GetPositionResponse.prototype.toObject = function(opt */ proto.viam.service.slam.v1.GetPositionResponse.toObject = function(includeInstance, msg) { var f, obj = { - pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) +pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) }; if (includeInstance) { @@ -532,8 +538,8 @@ proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.toObject = function */ proto.viam.service.slam.v1.GetPointCloudMapRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - returnEditedMap: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +returnEditedMap: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -710,7 +716,7 @@ proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.toObject = functio */ proto.viam.service.slam.v1.GetPointCloudMapResponse.toObject = function(includeInstance, msg) { var f, obj = { - pointCloudPcdChunk: msg.getPointCloudPcdChunk_asB64() +pointCloudPcdChunk: msg.getPointCloudPcdChunk_asB64() }; if (includeInstance) { @@ -864,7 +870,7 @@ proto.viam.service.slam.v1.GetInternalStateRequest.prototype.toObject = function */ proto.viam.service.slam.v1.GetInternalStateRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -994,7 +1000,7 @@ proto.viam.service.slam.v1.GetInternalStateResponse.prototype.toObject = functio */ proto.viam.service.slam.v1.GetInternalStateResponse.toObject = function(includeInstance, msg) { var f, obj = { - internalStateChunk: msg.getInternalStateChunk_asB64() +internalStateChunk: msg.getInternalStateChunk_asB64() }; if (includeInstance) { @@ -1148,7 +1154,7 @@ proto.viam.service.slam.v1.GetPropertiesRequest.prototype.toObject = function(op */ proto.viam.service.slam.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1285,10 +1291,10 @@ proto.viam.service.slam.v1.GetPropertiesResponse.prototype.toObject = function(o */ proto.viam.service.slam.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { - cloudSlam: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - mappingMode: jspb.Message.getFieldWithDefault(msg, 2, 0), - internalStateFileType: jspb.Message.getFieldWithDefault(msg, 3, ""), - sensorInfoList: jspb.Message.toObjectList(msg.getSensorInfoList(), +cloudSlam: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), +mappingMode: jspb.Message.getFieldWithDefault(msg, 2, 0), +internalStateFileType: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +sensorInfoList: jspb.Message.toObjectList(msg.getSensorInfoList(), proto.viam.service.slam.v1.SensorInfo.toObject, includeInstance) }; @@ -1546,8 +1552,8 @@ proto.viam.service.slam.v1.SensorInfo.prototype.toObject = function(opt_includeI */ proto.viam.service.slam.v1.SensorInfo.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - type: jspb.Message.getFieldWithDefault(msg, 2, 0) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +type: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { diff --git a/gen/js/service/vision/v1/vision_pb.js b/gen/js/service/vision/v1/vision_pb.js index b98d60f1..dc001bbc 100644 --- a/gen/js/service/vision/v1/vision_pb.js +++ b/gen/js/service/vision/v1/vision_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -407,12 +413,12 @@ proto.viam.service.vision.v1.GetDetectionsRequest.prototype.toObject = function( */ proto.viam.service.vision.v1.GetDetectionsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - image: msg.getImage_asB64(), - width: jspb.Message.getFieldWithDefault(msg, 3, 0), - height: jspb.Message.getFieldWithDefault(msg, 4, 0), - mimeType: jspb.Message.getFieldWithDefault(msg, 5, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +image: msg.getImage_asB64(), +width: jspb.Message.getFieldWithDefault(msg, 3, 0), +height: jspb.Message.getFieldWithDefault(msg, 4, 0), +mimeType: jspb.Message.getFieldWithDefault(msg, 5, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -739,7 +745,7 @@ proto.viam.service.vision.v1.GetDetectionsResponse.prototype.toObject = function */ proto.viam.service.vision.v1.GetDetectionsResponse.toObject = function(includeInstance, msg) { var f, obj = { - detectionsList: jspb.Message.toObjectList(msg.getDetectionsList(), +detectionsList: jspb.Message.toObjectList(msg.getDetectionsList(), proto.viam.service.vision.v1.Detection.toObject, includeInstance) }; @@ -892,9 +898,9 @@ proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.toObject = */ proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1110,7 +1116,7 @@ proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.prototype.toObject */ proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.toObject = function(includeInstance, msg) { var f, obj = { - detectionsList: jspb.Message.toObjectList(msg.getDetectionsList(), +detectionsList: jspb.Message.toObjectList(msg.getDetectionsList(), proto.viam.service.vision.v1.Detection.toObject, includeInstance) }; @@ -1263,12 +1269,12 @@ proto.viam.service.vision.v1.Detection.prototype.toObject = function(opt_include */ proto.viam.service.vision.v1.Detection.toObject = function(includeInstance, msg) { var f, obj = { - xMin: jspb.Message.getFieldWithDefault(msg, 1, 0), - yMin: jspb.Message.getFieldWithDefault(msg, 2, 0), - xMax: jspb.Message.getFieldWithDefault(msg, 3, 0), - yMax: jspb.Message.getFieldWithDefault(msg, 4, 0), - confidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - className: jspb.Message.getFieldWithDefault(msg, 6, "") +xMin: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, +yMin: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +xMax: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +yMax: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +confidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), +className: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { @@ -1615,13 +1621,13 @@ proto.viam.service.vision.v1.GetClassificationsRequest.prototype.toObject = func */ proto.viam.service.vision.v1.GetClassificationsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - image: msg.getImage_asB64(), - width: jspb.Message.getFieldWithDefault(msg, 3, 0), - height: jspb.Message.getFieldWithDefault(msg, 4, 0), - mimeType: jspb.Message.getFieldWithDefault(msg, 5, ""), - n: jspb.Message.getFieldWithDefault(msg, 6, 0), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +image: msg.getImage_asB64(), +width: jspb.Message.getFieldWithDefault(msg, 3, 0), +height: jspb.Message.getFieldWithDefault(msg, 4, 0), +mimeType: jspb.Message.getFieldWithDefault(msg, 5, ""), +n: jspb.Message.getFieldWithDefault(msg, 6, 0), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1977,7 +1983,7 @@ proto.viam.service.vision.v1.GetClassificationsResponse.prototype.toObject = fun */ proto.viam.service.vision.v1.GetClassificationsResponse.toObject = function(includeInstance, msg) { var f, obj = { - classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), +classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), proto.viam.service.vision.v1.Classification.toObject, includeInstance) }; @@ -2130,10 +2136,10 @@ proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.toObj */ proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), - n: jspb.Message.getFieldWithDefault(msg, 3, 0), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), +n: jspb.Message.getFieldWithDefault(msg, 3, 0), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2378,7 +2384,7 @@ proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.prototype.toOb */ proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.toObject = function(includeInstance, msg) { var f, obj = { - classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), +classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), proto.viam.service.vision.v1.Classification.toObject, includeInstance) }; @@ -2531,8 +2537,8 @@ proto.viam.service.vision.v1.Classification.prototype.toObject = function(opt_in */ proto.viam.service.vision.v1.Classification.toObject = function(includeInstance, msg) { var f, obj = { - className: jspb.Message.getFieldWithDefault(msg, 1, ""), - confidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) +className: jspb.Message.getFieldWithDefault(msg, 1, ""), +confidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -2691,10 +2697,10 @@ proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.toObject = fu */ proto.viam.service.vision.v1.GetObjectPointCloudsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), - mimeType: jspb.Message.getFieldWithDefault(msg, 3, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), +mimeType: jspb.Message.getFieldWithDefault(msg, 3, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2939,8 +2945,8 @@ proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.toObject = f */ proto.viam.service.vision.v1.GetObjectPointCloudsResponse.toObject = function(includeInstance, msg) { var f, obj = { - mimeType: jspb.Message.getFieldWithDefault(msg, 1, ""), - objectsList: jspb.Message.toObjectList(msg.getObjectsList(), +mimeType: jspb.Message.getFieldWithDefault(msg, 1, ""), +objectsList: jspb.Message.toObjectList(msg.getObjectsList(), common_v1_common_pb.PointCloudObject.toObject, includeInstance) }; @@ -3122,8 +3128,8 @@ proto.viam.service.vision.v1.GetPropertiesRequest.prototype.toObject = function( */ proto.viam.service.vision.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3303,13 +3309,13 @@ proto.viam.service.vision.v1.CaptureAllFromCameraRequest.prototype.toObject = fu */ proto.viam.service.vision.v1.CaptureAllFromCameraRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), - returnImage: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - returnClassifications: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), - returnDetections: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), - returnObjectPointClouds: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), +returnImage: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), +returnClassifications: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), +returnDetections: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), +returnObjectPointClouds: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3641,14 +3647,14 @@ proto.viam.service.vision.v1.CaptureAllFromCameraResponse.prototype.toObject = f */ proto.viam.service.vision.v1.CaptureAllFromCameraResponse.toObject = function(includeInstance, msg) { var f, obj = { - image: (f = msg.getImage()) && component_camera_v1_camera_pb.Image.toObject(includeInstance, f), - detectionsList: jspb.Message.toObjectList(msg.getDetectionsList(), +image: (f = msg.getImage()) && component_camera_v1_camera_pb.Image.toObject(includeInstance, f), +detectionsList: jspb.Message.toObjectList(msg.getDetectionsList(), proto.viam.service.vision.v1.Detection.toObject, includeInstance), - classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), +classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), proto.viam.service.vision.v1.Classification.toObject, includeInstance), - objectsList: jspb.Message.toObjectList(msg.getObjectsList(), +objectsList: jspb.Message.toObjectList(msg.getObjectsList(), common_v1_common_pb.PointCloudObject.toObject, includeInstance), - extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) +extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -4002,9 +4008,9 @@ proto.viam.service.vision.v1.GetPropertiesResponse.prototype.toObject = function */ proto.viam.service.vision.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { - classificationsSupported: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - detectionsSupported: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - objectPointCloudsSupported: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) +classificationsSupported: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), +detectionsSupported: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), +objectPointCloudsSupported: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { diff --git a/gen/js/stream/v1/stream_pb.js b/gen/js/stream/v1/stream_pb.js index bf225e5d..0d16510e 100644 --- a/gen/js/stream/v1/stream_pb.js +++ b/gen/js/stream/v1/stream_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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.proto.stream.v1.AddStreamRequest', null, global); goog.exportSymbol('proto.proto.stream.v1.AddStreamResponse', null, global); @@ -397,7 +403,7 @@ proto.proto.stream.v1.ListStreamsResponse.prototype.toObject = function(opt_incl */ proto.proto.stream.v1.ListStreamsResponse.toObject = function(includeInstance, msg) { var f, obj = { - namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f +namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -546,7 +552,7 @@ proto.proto.stream.v1.AddStreamRequest.prototype.toObject = function(opt_include */ proto.proto.stream.v1.AddStreamRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -777,7 +783,7 @@ proto.proto.stream.v1.RemoveStreamRequest.prototype.toObject = function(opt_incl */ proto.proto.stream.v1.RemoveStreamRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1008,8 +1014,8 @@ proto.proto.stream.v1.Resolution.prototype.toObject = function(opt_includeInstan */ proto.proto.stream.v1.Resolution.toObject = function(includeInstance, msg) { var f, obj = { - width: jspb.Message.getFieldWithDefault(msg, 1, 0), - height: jspb.Message.getFieldWithDefault(msg, 2, 0) +width: jspb.Message.getFieldWithDefault(msg, 1, 0), +height: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -1168,7 +1174,7 @@ proto.proto.stream.v1.GetStreamOptionsRequest.prototype.toObject = function(opt_ */ proto.proto.stream.v1.GetStreamOptionsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1305,7 +1311,7 @@ proto.proto.stream.v1.GetStreamOptionsResponse.prototype.toObject = function(opt */ proto.proto.stream.v1.GetStreamOptionsResponse.toObject = function(includeInstance, msg) { var f, obj = { - resolutionsList: jspb.Message.toObjectList(msg.getResolutionsList(), +resolutionsList: jspb.Message.toObjectList(msg.getResolutionsList(), proto.proto.stream.v1.Resolution.toObject, includeInstance) }; @@ -1458,8 +1464,8 @@ proto.proto.stream.v1.SetStreamOptionsRequest.prototype.toObject = function(opt_ */ proto.proto.stream.v1.SetStreamOptionsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - resolution: (f = msg.getResolution()) && proto.proto.stream.v1.Resolution.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +resolution: (f = msg.getResolution()) && proto.proto.stream.v1.Resolution.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/tagger/v1/tagger_pb.js b/gen/js/tagger/v1/tagger_pb.js index 9a67134a..7573e5a1 100644 --- a/gen/js/tagger/v1/tagger_pb.js +++ b/gen/js/tagger/v1/tagger_pb.js @@ -13,7 +13,13 @@ var jspb = require('google-protobuf'); var goog = jspb; -var global = (function() { return this || window || global || self || Function('return this')(); }).call(null); +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 google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); goog.object.extend(proto, google_protobuf_descriptor_pb); diff --git a/module/v1/module.pb.go b/module/v1/module.pb.go index 1b85a0c3..37e5b753 100644 --- a/module/v1/module.pb.go +++ b/module/v1/module.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: module/v1/module.proto @@ -33,9 +33,11 @@ type AddResourceRequest struct { func (x *AddResourceRequest) Reset() { *x = AddResourceRequest{} - mi := &file_module_v1_module_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_module_v1_module_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddResourceRequest) String() string { @@ -46,7 +48,7 @@ func (*AddResourceRequest) ProtoMessage() {} func (x *AddResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -83,9 +85,11 @@ type AddResourceResponse struct { func (x *AddResourceResponse) Reset() { *x = AddResourceResponse{} - mi := &file_module_v1_module_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_module_v1_module_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddResourceResponse) String() string { @@ -96,7 +100,7 @@ func (*AddResourceResponse) ProtoMessage() {} func (x *AddResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -122,9 +126,11 @@ type ReconfigureResourceRequest struct { func (x *ReconfigureResourceRequest) Reset() { *x = ReconfigureResourceRequest{} - mi := &file_module_v1_module_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_module_v1_module_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ReconfigureResourceRequest) String() string { @@ -135,7 +141,7 @@ func (*ReconfigureResourceRequest) ProtoMessage() {} func (x *ReconfigureResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -172,9 +178,11 @@ type ReconfigureResourceResponse struct { func (x *ReconfigureResourceResponse) Reset() { *x = ReconfigureResourceResponse{} - mi := &file_module_v1_module_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_module_v1_module_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ReconfigureResourceResponse) String() string { @@ -185,7 +193,7 @@ func (*ReconfigureResourceResponse) ProtoMessage() {} func (x *ReconfigureResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -210,9 +218,11 @@ type RemoveResourceRequest struct { func (x *RemoveResourceRequest) Reset() { *x = RemoveResourceRequest{} - mi := &file_module_v1_module_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_module_v1_module_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveResourceRequest) String() string { @@ -223,7 +233,7 @@ func (*RemoveResourceRequest) ProtoMessage() {} func (x *RemoveResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -253,9 +263,11 @@ type RemoveResourceResponse struct { func (x *RemoveResourceResponse) Reset() { *x = RemoveResourceResponse{} - mi := &file_module_v1_module_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_module_v1_module_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveResourceResponse) String() string { @@ -266,7 +278,7 @@ func (*RemoveResourceResponse) ProtoMessage() {} func (x *RemoveResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -292,9 +304,11 @@ type HandlerDefinition struct { func (x *HandlerDefinition) Reset() { *x = HandlerDefinition{} - mi := &file_module_v1_module_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_module_v1_module_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *HandlerDefinition) String() string { @@ -305,7 +319,7 @@ func (*HandlerDefinition) ProtoMessage() {} func (x *HandlerDefinition) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -344,9 +358,11 @@ type HandlerMap struct { func (x *HandlerMap) Reset() { *x = HandlerMap{} - mi := &file_module_v1_module_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_module_v1_module_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *HandlerMap) String() string { @@ -357,7 +373,7 @@ func (*HandlerMap) ProtoMessage() {} func (x *HandlerMap) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -390,9 +406,11 @@ type ReadyRequest struct { func (x *ReadyRequest) Reset() { *x = ReadyRequest{} - mi := &file_module_v1_module_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_module_v1_module_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ReadyRequest) String() string { @@ -403,7 +421,7 @@ func (*ReadyRequest) ProtoMessage() {} func (x *ReadyRequest) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -444,9 +462,11 @@ type ReadyResponse struct { func (x *ReadyResponse) Reset() { *x = ReadyResponse{} - mi := &file_module_v1_module_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_module_v1_module_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ReadyResponse) String() string { @@ -457,7 +477,7 @@ func (*ReadyResponse) ProtoMessage() {} func (x *ReadyResponse) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -503,9 +523,11 @@ type ValidateConfigRequest struct { func (x *ValidateConfigRequest) Reset() { *x = ValidateConfigRequest{} - mi := &file_module_v1_module_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_module_v1_module_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ValidateConfigRequest) String() string { @@ -516,7 +538,7 @@ func (*ValidateConfigRequest) ProtoMessage() {} func (x *ValidateConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -548,9 +570,11 @@ type ValidateConfigResponse struct { func (x *ValidateConfigResponse) Reset() { *x = ValidateConfigResponse{} - mi := &file_module_v1_module_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_module_v1_module_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ValidateConfigResponse) String() string { @@ -561,7 +585,7 @@ func (*ValidateConfigResponse) ProtoMessage() {} func (x *ValidateConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -696,7 +720,7 @@ func file_module_v1_module_proto_rawDescGZIP() []byte { } var file_module_v1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_module_v1_module_proto_goTypes = []any{ +var file_module_v1_module_proto_goTypes = []interface{}{ (*AddResourceRequest)(nil), // 0: viam.module.v1.AddResourceRequest (*AddResourceResponse)(nil), // 1: viam.module.v1.AddResourceResponse (*ReconfigureResourceRequest)(nil), // 2: viam.module.v1.ReconfigureResourceRequest @@ -741,6 +765,152 @@ func file_module_v1_module_proto_init() { if File_module_v1_module_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_module_v1_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddResourceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_module_v1_module_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddResourceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_module_v1_module_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReconfigureResourceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_module_v1_module_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReconfigureResourceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_module_v1_module_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveResourceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_module_v1_module_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveResourceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_module_v1_module_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HandlerDefinition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_module_v1_module_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HandlerMap); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_module_v1_module_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_module_v1_module_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_module_v1_module_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidateConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_module_v1_module_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidateConfigResponse); 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{ diff --git a/module/v1/module.pb.gw.go b/module/v1/module.pb.gw.go index 5b7431f6..3f2ee92f 100644 --- a/module/v1/module.pb.gw.go +++ b/module/v1/module.pb.gw.go @@ -35,7 +35,11 @@ func request_ModuleService_AddResource_0(ctx context.Context, marshaler runtime. var protoReq AddResourceRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -48,7 +52,11 @@ func local_request_ModuleService_AddResource_0(ctx context.Context, marshaler ru var protoReq AddResourceRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -61,7 +69,11 @@ func request_ModuleService_ReconfigureResource_0(ctx context.Context, marshaler var protoReq ReconfigureResourceRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -74,7 +86,11 @@ func local_request_ModuleService_ReconfigureResource_0(ctx context.Context, mars var protoReq ReconfigureResourceRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -87,7 +103,11 @@ func request_ModuleService_RemoveResource_0(ctx context.Context, marshaler runti var protoReq RemoveResourceRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -100,7 +120,11 @@ func local_request_ModuleService_RemoveResource_0(ctx context.Context, marshaler var protoReq RemoveResourceRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -113,7 +137,11 @@ func request_ModuleService_Ready_0(ctx context.Context, marshaler runtime.Marsha var protoReq ReadyRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -126,7 +154,11 @@ func local_request_ModuleService_Ready_0(ctx context.Context, marshaler runtime. var protoReq ReadyRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -139,7 +171,11 @@ func request_ModuleService_ValidateConfig_0(ctx context.Context, marshaler runti var protoReq ValidateConfigRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -152,7 +188,11 @@ func local_request_ModuleService_ValidateConfig_0(ctx context.Context, marshaler var protoReq ValidateConfigRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -298,21 +338,21 @@ func RegisterModuleServiceHandlerServer(ctx context.Context, mux *runtime.ServeM // RegisterModuleServiceHandlerFromEndpoint is same as RegisterModuleServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterModuleServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/proto/viam/app/datasync/v1/data_sync.proto b/proto/viam/app/datasync/v1/data_sync.proto index 28efc73e..43a56a18 100644 --- a/proto/viam/app/datasync/v1/data_sync.proto +++ b/proto/viam/app/datasync/v1/data_sync.proto @@ -13,17 +13,23 @@ option go_package = "go.viam.com/api/app/datasync/v1"; service DataSyncService { // DataCaptureUpload uploads the contents and metadata for tabular data. rpc DataCaptureUpload(viam.app.datasync.v1.DataCaptureUploadRequest) returns (viam.app.datasync.v1.DataCaptureUploadResponse) { - option (google.api.http) = {post: "/datasync/v1/data_capture_upload"}; + option (google.api.http) = { + post: "/datasync/v1/data_capture_upload" + }; } // FileUpload uploads the contents and metadata for binary (image + file) data, // where the first packet must be the UploadMetadata. rpc FileUpload(stream viam.app.datasync.v1.FileUploadRequest) returns (viam.app.datasync.v1.FileUploadResponse) { - option (google.api.http) = {post: "/datasync/v1/file_upload"}; + option (google.api.http) = { + post: "/datasync/v1/file_upload" + }; } // StreamingDataCaptureUpload uploads the streaming contents and metadata for streaming binary (image + file) data, // where the first packet must be the UploadMetadata. rpc StreamingDataCaptureUpload(stream viam.app.datasync.v1.StreamingDataCaptureUploadRequest) returns (viam.app.datasync.v1.StreamingDataCaptureUploadResponse) { - option (google.api.http) = {post: "/datasync/v1/streaming_data_capture_upload"}; + option (google.api.http) = { + post: "/datasync/v1/streaming_data_capture_upload" + }; } } diff --git a/proto/viam/app/packages/v1/packages.proto b/proto/viam/app/packages/v1/packages.proto index bf167577..8012859c 100644 --- a/proto/viam/app/packages/v1/packages.proto +++ b/proto/viam/app/packages/v1/packages.proto @@ -11,25 +11,33 @@ option go_package = "go.viam.com/api/app/packages/v1"; service PackageService { // CreatePackage uploads a package to the cloud rpc CreatePackage(stream CreatePackageRequest) returns (CreatePackageResponse) { - option (google.api.http) = {post: "/packages/v1/create"}; + option (google.api.http) = { + post: "/packages/v1/create" + }; } // DeletePackage removes the given package versions rpc DeletePackage(DeletePackageRequest) returns (DeletePackageResponse) { - option (google.api.http) = {delete: "/packages/v1/delete"}; + option (google.api.http) = { + delete: "/packages/v1/delete" + }; } // GetPackage returns the metadata for a requested package version. It also returns a URL // for downloading the package if one is requested. rpc GetPackage(GetPackageRequest) returns (GetPackageResponse) { - option (google.api.http) = {get: "/packages/v1/get"}; + option (google.api.http) = { + get: "/packages/v1/get" + }; } // ListPackages gets the metadata for the requested packages. Includes package name, version, and/or // type to filter beyond the required organization_id. ListPackages also returns URLs for // downloading each package if they are requested. rpc ListPackages(ListPackagesRequest) returns (ListPackagesResponse) { - option (google.api.http) = {get: "/packages/v1/list"}; + option (google.api.http) = { + get: "/packages/v1/list" + }; } } diff --git a/proto/viam/app/v1/app.proto b/proto/viam/app/v1/app.proto index ae27ef15..ac05485a 100644 --- a/proto/viam/app/v1/app.proto +++ b/proto/viam/app/v1/app.proto @@ -69,7 +69,7 @@ service AppService { rpc UpdateBillingService(UpdateBillingServiceRequest) returns (UpdateBillingServiceResponse); - rpc GetBillingService(UpdateBillingServiceRequest) returns (UpdateBillingServiceResponse); + rpc GetBillingServiceConfig(GetBillingServiceConfigRequest) returns (GetBillingServiceConfigResponse); rpc OrganizationSetSupportEmail(OrganizationSetSupportEmailRequest) returns (OrganizationSetSupportEmailResponse); @@ -449,12 +449,15 @@ message UpdateBillingServiceRequest { message UpdateBillingServiceResponse {} -message GetBillingServiceRequest { +message GetBillingServiceConfigRequest { string org_id = 1; } -message GetBillingServiceResponse { +message GetBillingServiceConfigResponse { BillingAddress billing_address = 1; + string support_email = 2; + string logo_url = 3; + string billing_dashboard_url = 4; } message DisableBillingServiceRequest { diff --git a/proto/viam/component/arm/v1/arm.proto b/proto/viam/component/arm/v1/arm.proto index 7bf9070c..0d8492d6 100644 --- a/proto/viam/component/arm/v1/arm.proto +++ b/proto/viam/component/arm/v1/arm.proto @@ -13,26 +13,34 @@ option java_package = "com.viam.component.arm.v1"; service ArmService { // GetEndPosition gets the current position the end of the robot's arm expressed as X,Y,Z,ox,oy,oz,theta rpc GetEndPosition(GetEndPositionRequest) returns (GetEndPositionResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/arm/{name}/position"}; + option (google.api.http) = { + get: "/viam/api/v1/component/arm/{name}/position" + }; } // MoveToPosition moves the mount point of the robot's end effector to the requested position. // This will block until done or a new operation cancels this one rpc MoveToPosition(MoveToPositionRequest) returns (MoveToPositionResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = {put: "/viam/api/v1/component/arm/{name}/position"}; + option (google.api.http) = { + put: "/viam/api/v1/component/arm/{name}/position" + }; } // GetJointPositions lists the joint positions (in degrees) of every joint on a robot rpc GetJointPositions(GetJointPositionsRequest) returns (GetJointPositionsResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/arm/{name}/joint_positions"}; + option (google.api.http) = { + get: "/viam/api/v1/component/arm/{name}/joint_positions" + }; } // MoveToJointPositions moves every joint on a robot's arm to specified angles which are expressed in degrees // This will block until done or a new operation cancels this one rpc MoveToJointPositions(MoveToJointPositionsRequest) returns (MoveToJointPositionsResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = {put: "/viam/api/v1/component/arm/{name}/joint_positions"}; + option (google.api.http) = { + put: "/viam/api/v1/component/arm/{name}/joint_positions" + }; } // MoveThroughJointPositions moves every joint on a robot's arm to the specified JointPositions in the order they are specified, @@ -40,32 +48,44 @@ service ArmService { // This will block until done or a new operation cancels this one rpc MoveThroughJointPositions(MoveThroughJointPositionsRequest) returns (MoveThroughJointPositionsResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = {post: "/viam/api/v1/component/arm/{name}/move_through_joint_positions"}; + option (google.api.http) = { + post: "/viam/api/v1/component/arm/{name}/move_through_joint_positions" + }; } // Stop stops a robot's arm rpc Stop(StopRequest) returns (StopResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/arm/{name}/stop"}; + option (google.api.http) = { + post: "/viam/api/v1/component/arm/{name}/stop" + }; } // IsMoving reports if a component is in motion rpc IsMoving(IsMovingRequest) returns (IsMovingResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/arm/{name}/is_moving"}; + option (google.api.http) = { + get: "/viam/api/v1/component/arm/{name}/is_moving" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/arm/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/arm/{name}/do_command" + }; } // GetKinematics returns the kinematics file for the component rpc GetKinematics(common.v1.GetKinematicsRequest) returns (common.v1.GetKinematicsResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/arm/{name}/kinematics"}; + option (google.api.http) = { + get: "/viam/api/v1/component/arm/{name}/kinematics" + }; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/arm/{name}/geometries"}; + option (google.api.http) = { + get: "/viam/api/v1/component/arm/{name}/geometries" + }; } } diff --git a/proto/viam/component/audioinput/v1/audioinput.proto b/proto/viam/component/audioinput/v1/audioinput.proto index 790a745d..780c5484 100644 --- a/proto/viam/component/audioinput/v1/audioinput.proto +++ b/proto/viam/component/audioinput/v1/audioinput.proto @@ -17,24 +17,32 @@ service AudioInputService { // Properties returns properties of an audio input of the underlying robot. rpc Properties(PropertiesRequest) returns (PropertiesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/audioinput/{name}/properties"}; + option (google.api.http) = { + get: "/viam/api/v1/component/audioinput/{name}/properties" + }; } // Record records audio from an audio input of the underlying robot // to an HTTP response. A specific MIME type cannot be requested and may not necessarily // be the same one returned each time. rpc Record(RecordRequest) returns (google.api.HttpBody) { - option (google.api.http) = {get: "/viam/api/v1/component/audioinput/{name}/record"}; + option (google.api.http) = { + get: "/viam/api/v1/component/audioinput/{name}/record" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/audioinput/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/audioinput/{name}/do_command" + }; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/audioinput/{name}/geometries"}; + option (google.api.http) = { + get: "/viam/api/v1/component/audioinput/{name}/geometries" + }; } } diff --git a/proto/viam/component/base/v1/base.proto b/proto/viam/component/base/v1/base.proto index 33cf6056..1a3f56bf 100644 --- a/proto/viam/component/base/v1/base.proto +++ b/proto/viam/component/base/v1/base.proto @@ -15,7 +15,9 @@ service BaseService { // This method blocks until completed or cancelled rpc MoveStraight(MoveStraightRequest) returns (MoveStraightResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = {post: "/viam/api/v1/component/base/{name}/move_straight"}; + option (google.api.http) = { + post: "/viam/api/v1/component/base/{name}/move_straight" + }; } // Spin spins a robot's base by an given angle, expressed in degrees, and a given @@ -23,45 +25,61 @@ service BaseService { // This method blocks until completed or cancelled rpc Spin(SpinRequest) returns (SpinResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = {post: "/viam/api/v1/component/base/{name}/spin"}; + option (google.api.http) = { + post: "/viam/api/v1/component/base/{name}/spin" + }; } // SetPower sets the linear and angular power of a base // -1 -> 1 in terms of power for each direction rpc SetPower(SetPowerRequest) returns (SetPowerResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = {post: "/viam/api/v1/component/base/{name}/set_power"}; + option (google.api.http) = { + post: "/viam/api/v1/component/base/{name}/set_power" + }; } // SetVelocity sets the linear and angular velocity of a base rpc SetVelocity(SetVelocityRequest) returns (SetVelocityResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = {post: "/viam/api/v1/component/base/{name}/set_velocity"}; + option (google.api.http) = { + post: "/viam/api/v1/component/base/{name}/set_velocity" + }; } // Stop stops a robot's base rpc Stop(StopRequest) returns (StopResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/base/{name}/stop"}; + option (google.api.http) = { + post: "/viam/api/v1/component/base/{name}/stop" + }; } // IsMoving reports if a component is in motion rpc IsMoving(IsMovingRequest) returns (IsMovingResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/base/{name}/is_moving"}; + option (google.api.http) = { + get: "/viam/api/v1/component/base/{name}/is_moving" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/base/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/base/{name}/do_command" + }; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/base/{name}/geometries"}; + option (google.api.http) = { + get: "/viam/api/v1/component/base/{name}/geometries" + }; } // GetProperties returns the properties of a base in its current configuration rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/base/{name}/properties"}; + option (google.api.http) = { + get: "/viam/api/v1/component/base/{name}/properties" + }; } } diff --git a/proto/viam/component/board/v1/board.proto b/proto/viam/component/board/v1/board.proto index 6c2fabb8..01afcb3b 100644 --- a/proto/viam/component/board/v1/board.proto +++ b/proto/viam/component/board/v1/board.proto @@ -13,75 +13,101 @@ option java_package = "com.viam.component.board.v1"; // BoardService services all Boards associated with a robot service BoardService { rpc SetGPIO(SetGPIORequest) returns (SetGPIOResponse) { - option (google.api.http) = {put: "/viam/api/v1/component/board/{name}/gpio"}; + option (google.api.http) = { + put: "/viam/api/v1/component/board/{name}/gpio" + }; } // GetGPIO gets the high/low state of the given pin of a board of the underlying robot. rpc GetGPIO(GetGPIORequest) returns (GetGPIOResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/board/{name}/gpio"}; + option (google.api.http) = { + get: "/viam/api/v1/component/board/{name}/gpio" + }; } // PWM gets the duty cycle of the given pin of a board of the underlying robot. rpc PWM(PWMRequest) returns (PWMResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/board/{name}/pwm"}; + option (google.api.http) = { + get: "/viam/api/v1/component/board/{name}/pwm" + }; } // SetPWM sets the given pin of a board of the underlying robot to the given duty cycle. rpc SetPWM(SetPWMRequest) returns (SetPWMResponse) { - option (google.api.http) = {put: "/viam/api/v1/component/board/{name}/pwm"}; + option (google.api.http) = { + put: "/viam/api/v1/component/board/{name}/pwm" + }; } // PWMFrequency gets the PWM frequency of the given pin of a board of the underlying robot. rpc PWMFrequency(PWMFrequencyRequest) returns (PWMFrequencyResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/board/{name}/pwm_freq"}; + option (google.api.http) = { + get: "/viam/api/v1/component/board/{name}/pwm_freq" + }; } // SetPWMFrequency sets the given pin of a board of the underlying robot to the given PWM frequency. 0 will use the board's default PWM frequency. rpc SetPWMFrequency(SetPWMFrequencyRequest) returns (SetPWMFrequencyResponse) { - option (google.api.http) = {put: "/viam/api/v1/component/board/{name}/pwm_freq"}; + option (google.api.http) = { + put: "/viam/api/v1/component/board/{name}/pwm_freq" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/board/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/board/{name}/do_command" + }; } // Analog Reader // ReadAnalogReader reads off the current value of an analog reader of a board of the underlying robot. rpc ReadAnalogReader(ReadAnalogReaderRequest) returns (ReadAnalogReaderResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/board/{board_name}/analog_reader/{analog_reader_name}/read"}; + option (google.api.http) = { + get: "/viam/api/v1/component/board/{board_name}/analog_reader/{analog_reader_name}/read" + }; } //Analog Writer // WriteAnalog writes the value to the analog writer of the board. rpc WriteAnalog(WriteAnalogRequest) returns (WriteAnalogResponse) { - option (google.api.http) = {put: "/viam/api/v1/component/board/{name}/analog_write"}; + option (google.api.http) = { + put: "/viam/api/v1/component/board/{name}/analog_write" + }; } // Digital Interrupt // GetDigitalInterruptValue returns the current value of the interrupt which is based on the type of interrupt. rpc GetDigitalInterruptValue(GetDigitalInterruptValueRequest) returns (GetDigitalInterruptValueResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/board/{board_name}/digital_interrupt/{digital_interrupt_name}/value"}; + option (google.api.http) = { + get: "/viam/api/v1/component/board/{board_name}/digital_interrupt/{digital_interrupt_name}/value" + }; } // StreamTicks starts a stream of ticks for the given digital interrupts. rpc StreamTicks(StreamTicksRequest) returns (stream StreamTicksResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/board/{name}/tick_stream"}; + option (google.api.http) = { + get: "/viam/api/v1/component/board/{name}/tick_stream" + }; } // Power Management // `SetPowerMode` sets the power consumption mode of the board to the requested setting for the given duration. rpc SetPowerMode(SetPowerModeRequest) returns (SetPowerModeResponse) { - option (google.api.http) = {put: "/viam/api/v1/component/board/{name}/power_mode"}; + option (google.api.http) = { + put: "/viam/api/v1/component/board/{name}/power_mode" + }; } // GetGeometries returns the geometries of the component in their current configuration. rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/board/{name}/geometries"}; + option (google.api.http) = { + get: "/viam/api/v1/component/board/{name}/geometries" + }; } } diff --git a/proto/viam/component/camera/v1/camera.proto b/proto/viam/component/camera/v1/camera.proto index 7229cf48..fa702a88 100644 --- a/proto/viam/component/camera/v1/camera.proto +++ b/proto/viam/component/camera/v1/camera.proto @@ -15,38 +15,52 @@ service CameraService { // GetImage returns a frame from a camera of the underlying robot. A specific MIME type // can be requested but may not necessarily be the same one returned. rpc GetImage(GetImageRequest) returns (GetImageResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/camera/{name}/image"}; + option (google.api.http) = { + get: "/viam/api/v1/component/camera/{name}/image" + }; } rpc GetImages(GetImagesRequest) returns (GetImagesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/camera/{name}/images"}; + option (google.api.http) = { + get: "/viam/api/v1/component/camera/{name}/images" + }; } // RenderFrame renders a frame from a camera of the underlying robot to an HTTP response. A specific MIME type // can be requested but may not necessarily be the same one returned. rpc RenderFrame(RenderFrameRequest) returns (google.api.HttpBody) { - option (google.api.http) = {get: "/viam/api/v1/component/camera/{name}/render_frame"}; + option (google.api.http) = { + get: "/viam/api/v1/component/camera/{name}/render_frame" + }; } // GetPointCloud returns a point cloud from a camera of the underlying robot. A specific MIME type // can be requested but may not necessarily be the same one returned. rpc GetPointCloud(GetPointCloudRequest) returns (GetPointCloudResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/camera/{name}/point_cloud"}; + option (google.api.http) = { + get: "/viam/api/v1/component/camera/{name}/point_cloud" + }; } // GetProperties returns the camera intrinsic parameters and camera distortion parameters from a camera of the underlying robot, if available. rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/camera/{name}/properties"}; + option (google.api.http) = { + get: "/viam/api/v1/component/camera/{name}/properties" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/camera/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/camera/{name}/do_command" + }; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/camera/{name}/geometries"}; + option (google.api.http) = { + get: "/viam/api/v1/component/camera/{name}/geometries" + }; } } diff --git a/proto/viam/component/encoder/v1/encoder.proto b/proto/viam/component/encoder/v1/encoder.proto index 32cf6923..6f10c43b 100644 --- a/proto/viam/component/encoder/v1/encoder.proto +++ b/proto/viam/component/encoder/v1/encoder.proto @@ -13,26 +13,36 @@ service EncoderService { // Returns position of the encoder which can either be ticks since last // zeroing for an incremental encoder or degrees for an absolute encoder. rpc GetPosition(GetPositionRequest) returns (GetPositionResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/encoder/{name}/get_position"}; + option (google.api.http) = { + get: "/viam/api/v1/component/encoder/{name}/get_position" + }; } rpc ResetPosition(ResetPositionRequest) returns (ResetPositionResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/encoder/{name}/reset_position"}; + option (google.api.http) = { + get: "/viam/api/v1/component/encoder/{name}/reset_position" + }; } // Returns a list of all the methods that are // supported by a given robot. rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/encoder/{name}/get_properties"}; + option (google.api.http) = { + post: "/viam/api/v1/component/encoder/{name}/get_properties" + }; } rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/encoder/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/encoder/{name}/do_command" + }; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/encoder/{name}/geometries"}; + option (google.api.http) = { + get: "/viam/api/v1/component/encoder/{name}/geometries" + }; } } diff --git a/proto/viam/component/gantry/v1/gantry.proto b/proto/viam/component/gantry/v1/gantry.proto index bceeef12..d9a7d1a1 100644 --- a/proto/viam/component/gantry/v1/gantry.proto +++ b/proto/viam/component/gantry/v1/gantry.proto @@ -13,43 +13,59 @@ option java_package = "com.viam.component.gantry.v1"; service GantryService { // GetPosition gets the current position of a gantry of the underlying robot. rpc GetPosition(GetPositionRequest) returns (GetPositionResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/gantry/{name}/position"}; + option (google.api.http) = { + get: "/viam/api/v1/component/gantry/{name}/position" + }; } // MoveToPosition moves a gantry of the underlying robot to the requested position. rpc MoveToPosition(MoveToPositionRequest) returns (MoveToPositionResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = {put: "/viam/api/v1/component/gantry/{name}/position"}; + option (google.api.http) = { + put: "/viam/api/v1/component/gantry/{name}/position" + }; } // Home runs the homing sequence of a gantry and returns true once it's completed. rpc Home(HomeRequest) returns (HomeResponse) { - option (google.api.http) = {put: "/viam/api/v1/component/gantry/{name}/home"}; + option (google.api.http) = { + put: "/viam/api/v1/component/gantry/{name}/home" + }; } // GetLengths gets the lengths of a gantry of the underlying robot. rpc GetLengths(GetLengthsRequest) returns (GetLengthsResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/gantry/{name}/lengths"}; + option (google.api.http) = { + get: "/viam/api/v1/component/gantry/{name}/lengths" + }; } // Stop stops a robot's gantry rpc Stop(StopRequest) returns (StopResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/gantry/{name}/stop"}; + option (google.api.http) = { + post: "/viam/api/v1/component/gantry/{name}/stop" + }; } // IsMoving reports if a component is in motion rpc IsMoving(IsMovingRequest) returns (IsMovingResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/gantry/{name}/is_moving"}; + option (google.api.http) = { + get: "/viam/api/v1/component/gantry/{name}/is_moving" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/gantry/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/gantry/{name}/do_command" + }; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/gantry/{name}/geometries"}; + option (google.api.http) = { + get: "/viam/api/v1/component/gantry/{name}/geometries" + }; } } diff --git a/proto/viam/component/generic/v1/generic.proto b/proto/viam/component/generic/v1/generic.proto index ad34daca..f27d97a7 100644 --- a/proto/viam/component/generic/v1/generic.proto +++ b/proto/viam/component/generic/v1/generic.proto @@ -12,11 +12,15 @@ option java_package = "com.viam.component.generic.v1"; service GenericService { // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/generic/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/generic/{name}/do_command" + }; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/generic/{name}/geometries"}; + option (google.api.http) = { + get: "/viam/api/v1/component/generic/{name}/geometries" + }; } } diff --git a/proto/viam/component/gripper/v1/gripper.proto b/proto/viam/component/gripper/v1/gripper.proto index 3f87affc..e3fa4981 100644 --- a/proto/viam/component/gripper/v1/gripper.proto +++ b/proto/viam/component/gripper/v1/gripper.proto @@ -14,33 +14,45 @@ service GripperService { // Open opens a gripper of the underlying robot. rpc Open(OpenRequest) returns (OpenResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = {put: "/viam/api/v1/component/gripper/{name}/open"}; + option (google.api.http) = { + put: "/viam/api/v1/component/gripper/{name}/open" + }; } // Grab requests a gripper of the underlying robot to grab. rpc Grab(GrabRequest) returns (GrabResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = {put: "/viam/api/v1/component/gripper/{name}/grab"}; + option (google.api.http) = { + put: "/viam/api/v1/component/gripper/{name}/grab" + }; } // Stop stops a robot's gripper rpc Stop(StopRequest) returns (StopResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/gripper/{name}/stop"}; + option (google.api.http) = { + post: "/viam/api/v1/component/gripper/{name}/stop" + }; } // IsMoving reports if a component is in motion rpc IsMoving(IsMovingRequest) returns (IsMovingResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/gripper/{name}/is_moving"}; + option (google.api.http) = { + get: "/viam/api/v1/component/gripper/{name}/is_moving" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/gripper/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/gripper/{name}/do_command" + }; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/gripper/{name}/geometries"}; + option (google.api.http) = { + get: "/viam/api/v1/component/gripper/{name}/geometries" + }; } } diff --git a/proto/viam/component/inputcontroller/v1/input_controller.proto b/proto/viam/component/inputcontroller/v1/input_controller.proto index 2260c7cb..f0848126 100644 --- a/proto/viam/component/inputcontroller/v1/input_controller.proto +++ b/proto/viam/component/inputcontroller/v1/input_controller.proto @@ -14,33 +14,45 @@ option java_package = "com.viam.component.inputcontroller.v1"; service InputControllerService { // GetControls returns a list of GetControls provided by the Controller rpc GetControls(GetControlsRequest) returns (GetControlsResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/input/{controller}/controls"}; + option (google.api.http) = { + get: "/viam/api/v1/component/input/{controller}/controls" + }; } // GetEvents returns a list of events representing the last event on each control of a give Input Controller rpc GetEvents(GetEventsRequest) returns (GetEventsResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/input/{controller}/events"}; + option (google.api.http) = { + get: "/viam/api/v1/component/input/{controller}/events" + }; } // StreamEvents starts a stream of InputControllerEvents for the given controls (buttons/axes) on a robot's input controller rpc StreamEvents(StreamEventsRequest) returns (stream StreamEventsResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/input/{controller}/event_stream"}; + option (google.api.http) = { + get: "/viam/api/v1/component/input/{controller}/event_stream" + }; } // TriggerEvent, where supported, injects an InputControllerEvent into an input controller to (virtually) generate events // like button presses or axis movements rpc TriggerEvent(TriggerEventRequest) returns (TriggerEventResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/input/{controller}/event"}; + option (google.api.http) = { + post: "/viam/api/v1/component/input/{controller}/event" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/input/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/input/{name}/do_command" + }; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/input/{name}/geometries"}; + option (google.api.http) = { + get: "/viam/api/v1/component/input/{name}/geometries" + }; } } diff --git a/proto/viam/component/motor/v1/motor.proto b/proto/viam/component/motor/v1/motor.proto index 8adad93b..4ece9327 100644 --- a/proto/viam/component/motor/v1/motor.proto +++ b/proto/viam/component/motor/v1/motor.proto @@ -16,7 +16,9 @@ service MotorService { // direction and positive values a forward direction rpc SetPower(SetPowerRequest) returns (SetPowerResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = {put: "/viam/api/v1/component/motor/{name}/power"}; + option (google.api.http) = { + put: "/viam/api/v1/component/motor/{name}/power" + }; } // GoFor instructs the motor to turn at a specified speed, which is expressed in RPM, @@ -26,7 +28,9 @@ service MotorService { // Deprecated: If revolutions is 0, this will run the motor at rpm indefinitely. rpc GoFor(GoForRequest) returns (GoForResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = {put: "/viam/api/v1/component/motor/{name}/go_for"}; + option (google.api.http) = { + put: "/viam/api/v1/component/motor/{name}/go_for" + }; } // GoTo requests the robot's motor to move to a specific position that @@ -34,55 +38,75 @@ service MotorService { // This method will return an error if position reporting is not supported rpc GoTo(GoToRequest) returns (GoToResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = {put: "/viam/api/v1/component/motor/{name}/go_to"}; + option (google.api.http) = { + put: "/viam/api/v1/component/motor/{name}/go_to" + }; } // SetRPM instructs the motor to move at the specified RPM indefinitely. rpc SetRPM(SetRPMRequest) returns (SetRPMResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = {put: "/viam/api/v1/component/motor/{name}/set_rpm"}; + option (google.api.http) = { + put: "/viam/api/v1/component/motor/{name}/set_rpm" + }; } // ResetZeroPosition sets the current position of the motor as the new zero position // This method will return an error if position reporting is not supported rpc ResetZeroPosition(ResetZeroPositionRequest) returns (ResetZeroPositionResponse) { - option (google.api.http) = {put: "/viam/api/v1/component/motor/{name}/zero"}; + option (google.api.http) = { + put: "/viam/api/v1/component/motor/{name}/zero" + }; } // Position reports the position of the robot's motor relative to its zero position // This method will return an error if position reporting is not supported rpc GetPosition(GetPositionRequest) returns (GetPositionResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/motor/{name}/position"}; + option (google.api.http) = { + get: "/viam/api/v1/component/motor/{name}/position" + }; } // GetProperties returns a message of booleans indicating which optional features the robot's motor supports rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/motor/{name}/features"}; + option (google.api.http) = { + get: "/viam/api/v1/component/motor/{name}/features" + }; } // Stop turns the robot's motor off rpc Stop(StopRequest) returns (StopResponse) { - option (google.api.http) = {put: "/viam/api/v1/component/motor/{name}/stop"}; + option (google.api.http) = { + put: "/viam/api/v1/component/motor/{name}/stop" + }; } // IsPowered returns true if the robot's motor is on rpc IsPowered(IsPoweredRequest) returns (IsPoweredResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/motor/{name}/powered"}; + option (google.api.http) = { + get: "/viam/api/v1/component/motor/{name}/powered" + }; } // IsMoving reports if a component is in motion rpc IsMoving(IsMovingRequest) returns (IsMovingResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/motor/{name}/is_moving"}; + option (google.api.http) = { + get: "/viam/api/v1/component/motor/{name}/is_moving" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/motor/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/motor/{name}/do_command" + }; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/motor/{name}/geometries"}; + option (google.api.http) = { + get: "/viam/api/v1/component/motor/{name}/geometries" + }; } } diff --git a/proto/viam/component/movementsensor/v1/movementsensor.proto b/proto/viam/component/movementsensor/v1/movementsensor.proto index 998c5282..eb1fba0d 100644 --- a/proto/viam/component/movementsensor/v1/movementsensor.proto +++ b/proto/viam/component/movementsensor/v1/movementsensor.proto @@ -11,49 +11,71 @@ option java_package = "com.viam.component.movementsensor.v1"; service MovementSensorService { rpc GetLinearVelocity(GetLinearVelocityRequest) returns (GetLinearVelocityResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/linear_velocity"}; + option (google.api.http) = { + get: "/viam/api/v1/component/movementsensor/{name}/linear_velocity" + }; } rpc GetAngularVelocity(GetAngularVelocityRequest) returns (GetAngularVelocityResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/angular_velocity"}; + option (google.api.http) = { + get: "/viam/api/v1/component/movementsensor/{name}/angular_velocity" + }; } rpc GetCompassHeading(GetCompassHeadingRequest) returns (GetCompassHeadingResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/compass_heading"}; + option (google.api.http) = { + get: "/viam/api/v1/component/movementsensor/{name}/compass_heading" + }; } rpc GetOrientation(GetOrientationRequest) returns (GetOrientationResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/orientation"}; + option (google.api.http) = { + get: "/viam/api/v1/component/movementsensor/{name}/orientation" + }; } rpc GetPosition(GetPositionRequest) returns (GetPositionResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/position"}; + option (google.api.http) = { + get: "/viam/api/v1/component/movementsensor/{name}/position" + }; } rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/properties"}; + option (google.api.http) = { + get: "/viam/api/v1/component/movementsensor/{name}/properties" + }; } rpc GetAccuracy(GetAccuracyRequest) returns (GetAccuracyResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/accuracy"}; + option (google.api.http) = { + get: "/viam/api/v1/component/movementsensor/{name}/accuracy" + }; } rpc GetLinearAcceleration(GetLinearAccelerationRequest) returns (GetLinearAccelerationResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/linear_acceleration"}; + option (google.api.http) = { + get: "/viam/api/v1/component/movementsensor/{name}/linear_acceleration" + }; } rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/movementsensor/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/movementsensor/{name}/do_command" + }; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/geometries"}; + option (google.api.http) = { + get: "/viam/api/v1/component/movementsensor/{name}/geometries" + }; } // GetReadings returns the readings of a sensor of the underlying robot. rpc GetReadings(common.v1.GetReadingsRequest) returns (common.v1.GetReadingsResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/readings"}; + option (google.api.http) = { + get: "/viam/api/v1/component/movementsensor/{name}/readings" + }; } } diff --git a/proto/viam/component/posetracker/v1/pose_tracker.proto b/proto/viam/component/posetracker/v1/pose_tracker.proto index 424e463b..eebfb9f8 100644 --- a/proto/viam/component/posetracker/v1/pose_tracker.proto +++ b/proto/viam/component/posetracker/v1/pose_tracker.proto @@ -13,17 +13,23 @@ option java_package = "com.viam.component.v1"; service PoseTrackerService { // GetPoses returns the current pose of each body tracked by the pose tracker rpc GetPoses(GetPosesRequest) returns (GetPosesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/pose_tracker/{name}/poses"}; + option (google.api.http) = { + get: "/viam/api/v1/component/pose_tracker/{name}/poses" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/pose_tracker/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/pose_tracker/{name}/do_command" + }; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/pose_tracker/{name}/geometries"}; + option (google.api.http) = { + get: "/viam/api/v1/component/pose_tracker/{name}/geometries" + }; } } diff --git a/proto/viam/component/powersensor/v1/powersensor.proto b/proto/viam/component/powersensor/v1/powersensor.proto index fcd29fe8..d0143205 100644 --- a/proto/viam/component/powersensor/v1/powersensor.proto +++ b/proto/viam/component/powersensor/v1/powersensor.proto @@ -13,27 +13,37 @@ option java_package = "com.viam.component.powersensor.v1"; service PowerSensorService { // GetVoltage returns the voltage reading of a power sensor in volts rpc GetVoltage(GetVoltageRequest) returns (GetVoltageResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/power_sensor/{name}/voltage"}; + option (google.api.http) = { + get: "/viam/api/v1/component/power_sensor/{name}/voltage" + }; } // GetCurrent returns the current reading of a power sensor in amperes rpc GetCurrent(GetCurrentRequest) returns (GetCurrentResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/power_sensor/{name}/current"}; + option (google.api.http) = { + get: "/viam/api/v1/component/power_sensor/{name}/current" + }; } // GetPower returns the power reading of a power sensor in watts rpc GetPower(GetPowerRequest) returns (GetPowerResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/power_sensor/{name}/power"}; + option (google.api.http) = { + get: "/viam/api/v1/component/power_sensor/{name}/power" + }; } // GetReadings returns the readings of a sensor of the underlying robot. rpc GetReadings(common.v1.GetReadingsRequest) returns (common.v1.GetReadingsResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/power_sensor/{name}/readings"}; + option (google.api.http) = { + get: "/viam/api/v1/component/power_sensor/{name}/readings" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/power_sensor/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/power_sensor/{name}/do_command" + }; } } diff --git a/proto/viam/component/sensor/v1/sensor.proto b/proto/viam/component/sensor/v1/sensor.proto index ba598e24..acc9eaab 100644 --- a/proto/viam/component/sensor/v1/sensor.proto +++ b/proto/viam/component/sensor/v1/sensor.proto @@ -12,16 +12,22 @@ option java_package = "com.viam.component.sensor.v1"; service SensorService { // GetReadings returns the readings of a sensor of the underlying robot. rpc GetReadings(common.v1.GetReadingsRequest) returns (common.v1.GetReadingsResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/sensor/{name}/readings"}; + option (google.api.http) = { + get: "/viam/api/v1/component/sensor/{name}/readings" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/sensor/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/sensor/{name}/do_command" + }; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/sensor/{name}/geometries"}; + option (google.api.http) = { + get: "/viam/api/v1/component/sensor/{name}/geometries" + }; } } diff --git a/proto/viam/component/servo/v1/servo.proto b/proto/viam/component/servo/v1/servo.proto index fafdfc32..5d851aa2 100644 --- a/proto/viam/component/servo/v1/servo.proto +++ b/proto/viam/component/servo/v1/servo.proto @@ -15,32 +15,44 @@ service ServoService { // This will block until done or a new operation cancels this one rpc Move(MoveRequest) returns (MoveResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = {put: "/viam/api/v1/component/servo/{name}/move"}; + option (google.api.http) = { + put: "/viam/api/v1/component/servo/{name}/move" + }; } // GetPosition returns the current set angle (degrees) of the servo of the underlying robot. rpc GetPosition(GetPositionRequest) returns (GetPositionResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/servo/{name}/position"}; + option (google.api.http) = { + get: "/viam/api/v1/component/servo/{name}/position" + }; } // Stop stops a robot's servo rpc Stop(StopRequest) returns (StopResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/servo/{name}/stop"}; + option (google.api.http) = { + post: "/viam/api/v1/component/servo/{name}/stop" + }; } // IsMoving reports if a component is in motion rpc IsMoving(IsMovingRequest) returns (IsMovingResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/servo/{name}/is_moving"}; + option (google.api.http) = { + get: "/viam/api/v1/component/servo/{name}/is_moving" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/component/servo/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/component/servo/{name}/do_command" + }; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = {get: "/viam/api/v1/component/servo/{name}/geometries"}; + option (google.api.http) = { + get: "/viam/api/v1/component/servo/{name}/geometries" + }; } } diff --git a/proto/viam/robot/v1/robot.proto b/proto/viam/robot/v1/robot.proto index d35bb850..92c2f221 100644 --- a/proto/viam/robot/v1/robot.proto +++ b/proto/viam/robot/v1/robot.proto @@ -14,105 +14,147 @@ option java_package = "com.viam.robot.v1"; // A RobotService encompasses all functionality of some robot comprised of parts, local and remote. service RobotService { rpc GetOperations(GetOperationsRequest) returns (GetOperationsResponse) { - option (google.api.http) = {get: "/viam/api/v1/operations/list"}; + option (google.api.http) = { + get: "/viam/api/v1/operations/list" + }; } rpc GetSessions(GetSessionsRequest) returns (GetSessionsResponse) { - option (google.api.http) = {get: "/viam/api/v1/sessions/list"}; + option (google.api.http) = { + get: "/viam/api/v1/sessions/list" + }; } // ResourceNames returns the list of all resources. rpc ResourceNames(ResourceNamesRequest) returns (ResourceNamesResponse) { - option (google.api.http) = {get: "/viam/api/v1/resources/list"}; + option (google.api.http) = { + get: "/viam/api/v1/resources/list" + }; } // ResourceRPCSubtypes returns the list of all resource types. rpc ResourceRPCSubtypes(ResourceRPCSubtypesRequest) returns (ResourceRPCSubtypesResponse) { - option (google.api.http) = {get: "/viam/api/v1/resource_rpc_subtypes/list"}; + option (google.api.http) = { + get: "/viam/api/v1/resource_rpc_subtypes/list" + }; } rpc CancelOperation(CancelOperationRequest) returns (CancelOperationResponse) { - option (google.api.http) = {post: "/viam/api/v1/operations/cancel"}; + option (google.api.http) = { + post: "/viam/api/v1/operations/cancel" + }; } rpc BlockForOperation(BlockForOperationRequest) returns (BlockForOperationResponse) { - option (google.api.http) = {post: "/viam/api/v1/operations/block"}; + option (google.api.http) = { + post: "/viam/api/v1/operations/block" + }; } // DiscoverComponents returns the list of discovered component configurations. rpc DiscoverComponents(DiscoverComponentsRequest) returns (DiscoverComponentsResponse) { - option (google.api.http) = {get: "/viam/api/v1/discovery/components"}; + option (google.api.http) = { + get: "/viam/api/v1/discovery/components" + }; } rpc FrameSystemConfig(FrameSystemConfigRequest) returns (FrameSystemConfigResponse) { - option (google.api.http) = {get: "/viam/api/v1/frame_system/config"}; + option (google.api.http) = { + get: "/viam/api/v1/frame_system/config" + }; } rpc TransformPose(TransformPoseRequest) returns (TransformPoseResponse) { - option (google.api.http) = {get: "/viam/api/v1/frame_system/transform_pose"}; + option (google.api.http) = { + get: "/viam/api/v1/frame_system/transform_pose" + }; } rpc TransformPCD(TransformPCDRequest) returns (TransformPCDResponse) { - option (google.api.http) = {get: "/viam/api/v1/frame_system/transform_pcd"}; + option (google.api.http) = { + get: "/viam/api/v1/frame_system/transform_pcd" + }; } // GetStatus returns the list of all statuses requested. An empty request signifies all resources. rpc GetStatus(GetStatusRequest) returns (GetStatusResponse) { - option (google.api.http) = {get: "/viam/api/v1/status"}; + option (google.api.http) = { + get: "/viam/api/v1/status" + }; option deprecated = true; } // StreamStatus periodically sends the status of all statuses requested. An empty request signifies all resources. rpc StreamStatus(StreamStatusRequest) returns (stream StreamStatusResponse) { - option (google.api.http) = {get: "/viam/api/v1/status/stream"}; + option (google.api.http) = { + get: "/viam/api/v1/status/stream" + }; option deprecated = true; } // StopAll will stop all current and outstanding operations for the robot and stops all actuators and movement rpc StopAll(StopAllRequest) returns (StopAllResponse) { - option (google.api.http) = {get: "/viam/api/v1/stop_all"}; + option (google.api.http) = { + get: "/viam/api/v1/stop_all" + }; } // StartSession creates a new session that expects at least one heartbeat within the returned window. // If the window lapses, any resources that have safety heart monitored methods, where this session was // the last caller on the resource, will be stopped. rpc StartSession(StartSessionRequest) returns (StartSessionResponse) { - option (google.api.http) = {post: "/viam/api/v1/sessions"}; + option (google.api.http) = { + post: "/viam/api/v1/sessions" + }; } // SendSessionHeartbeat sends a heartbeat to the given session. If the session has expired, a // SESSION_EXPIRED error will be returned. rpc SendSessionHeartbeat(SendSessionHeartbeatRequest) returns (SendSessionHeartbeatResponse) { - option (google.api.http) = {post: "/viam/api/v1/sessions/{id}/heartbeat"}; + option (google.api.http) = { + post: "/viam/api/v1/sessions/{id}/heartbeat" + }; } // Log sends logs to be logged by this robot. Currently used for module logging. rpc Log(LogRequest) returns (LogResponse) { - option (google.api.http) = {post: "/viam/api/v1/log"}; + option (google.api.http) = { + post: "/viam/api/v1/log" + }; } // GetCloudMetadata returns app-related information about the robot. rpc GetCloudMetadata(GetCloudMetadataRequest) returns (GetCloudMetadataResponse) { - option (google.api.http) = {get: "/viam/api/v1/cloud_metadata"}; + option (google.api.http) = { + get: "/viam/api/v1/cloud_metadata" + }; } rpc RestartModule(RestartModuleRequest) returns (RestartModuleResponse) { - option (google.api.http) = {post: "/viam/api/v1/restart_module"}; + option (google.api.http) = { + post: "/viam/api/v1/restart_module" + }; } // Shutdown shuts down the robot. rpc Shutdown(ShutdownRequest) returns (ShutdownResponse) { - option (google.api.http) = {post: "/viam/api/v1/shutdown"}; + option (google.api.http) = { + post: "/viam/api/v1/shutdown" + }; } // GetMachineStatus returns the current status of the robot. rpc GetMachineStatus(GetMachineStatusRequest) returns (GetMachineStatusResponse) { - option (google.api.http) = {get: "/viam/api/v1/machine_status"}; + option (google.api.http) = { + get: "/viam/api/v1/machine_status" + }; } // GetVersion returns version information about the robot. rpc GetVersion(GetVersionRequest) returns (GetVersionResponse) { - option (google.api.http) = {get: "/viam/api/v1/version"}; + option (google.api.http) = { + get: "/viam/api/v1/version" + }; } } diff --git a/proto/viam/service/datamanager/v1/data_manager.proto b/proto/viam/service/datamanager/v1/data_manager.proto index f357120a..d8384f9d 100644 --- a/proto/viam/service/datamanager/v1/data_manager.proto +++ b/proto/viam/service/datamanager/v1/data_manager.proto @@ -13,12 +13,16 @@ option java_package = "com.viam.service.datamanager.v1"; service DataManagerService { // Sync performs a sync of the non-synced files for the specified service name, rpc Sync(SyncRequest) returns (SyncResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/datamanager/{name}/datasync"}; + option (google.api.http) = { + post: "/viam/api/v1/service/datamanager/{name}/datasync" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/datamanager/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/service/datamanager/{name}/do_command" + }; } } diff --git a/proto/viam/service/generic/v1/generic.proto b/proto/viam/service/generic/v1/generic.proto index 1b7903c6..1afdf910 100644 --- a/proto/viam/service/generic/v1/generic.proto +++ b/proto/viam/service/generic/v1/generic.proto @@ -12,6 +12,8 @@ option java_package = "com.viam.service.generic.v1"; service GenericService { // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/generic/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/service/generic/{name}/do_command" + }; } } diff --git a/proto/viam/service/mlmodel/v1/mlmodel.proto b/proto/viam/service/mlmodel/v1/mlmodel.proto index 60e3cf98..dbeade85 100644 --- a/proto/viam/service/mlmodel/v1/mlmodel.proto +++ b/proto/viam/service/mlmodel/v1/mlmodel.proto @@ -13,11 +13,15 @@ option java_package = "com.viam.service.mlmodel.v1"; service MLModelService { // Infer takes an already ordered input tensor as a map, makes an inference on the model, and returns an output data map. rpc Infer(InferRequest) returns (InferResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/mlmodel/{name}/infer"}; + option (google.api.http) = { + post: "/viam/api/v1/service/mlmodel/{name}/infer" + }; } // Metadata returns the metadata associated with the ML model. rpc Metadata(MetadataRequest) returns (MetadataResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/mlmodel/{name}/metadata"}; + option (google.api.http) = { + get: "/viam/api/v1/service/mlmodel/{name}/metadata" + }; } } diff --git a/proto/viam/service/motion/v1/motion.proto b/proto/viam/service/motion/v1/motion.proto index 45fb86c7..8d5a7b32 100644 --- a/proto/viam/service/motion/v1/motion.proto +++ b/proto/viam/service/motion/v1/motion.proto @@ -13,14 +13,18 @@ option java_package = "com.viam.service.motion.v1"; // A MotionService declares the gRPC contract for a motion service service MotionService { rpc Move(MoveRequest) returns (MoveResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/motion/{name}/move"}; + option (google.api.http) = { + post: "/viam/api/v1/service/motion/{name}/move" + }; } // Generate a plan and move a component to a specific pose // with respect to the SLAM map's origin. // May replan to avoid obstacles rpc MoveOnMap(MoveOnMapRequest) returns (MoveOnMapResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/motion/{name}/move_on_map"}; + option (google.api.http) = { + post: "/viam/api/v1/service/motion/{name}/move_on_map" + }; } // Generate and begin executing an execution to move a component @@ -28,16 +32,22 @@ service MotionService { // May replan to avoid obstacles & account for location drift. // Creates a new plan upon replanning. rpc MoveOnGlobe(MoveOnGlobeRequest) returns (MoveOnGlobeResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/motion/{name}/move_on_globe"}; + option (google.api.http) = { + post: "/viam/api/v1/service/motion/{name}/move_on_globe" + }; } rpc GetPose(GetPoseRequest) returns (GetPoseResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/motion/{name}/pose"}; + option (google.api.http) = { + get: "/viam/api/v1/service/motion/{name}/pose" + }; } // Stops a Plan rpc StopPlan(StopPlanRequest) returns (StopPlanResponse) { - option (google.api.http) = {put: "/viam/api/v1/service/motion/{name}/stop_plan"}; + option (google.api.http) = { + put: "/viam/api/v1/service/motion/{name}/stop_plan" + }; } // Returns the status of plans created by requests to move components @@ -45,7 +55,9 @@ service MotionService { // within the a 24HR TTL OR until the robot reinitializes. // This currently only returns plans for MoveOnGlobe and MoveOnMap. rpc ListPlanStatuses(ListPlanStatusesRequest) returns (ListPlanStatusesResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/motion/{name}/list_plan_statuses"}; + option (google.api.http) = { + get: "/viam/api/v1/service/motion/{name}/list_plan_statuses" + }; } // Returns the plan(s) & state history of the most recent execution to move a @@ -56,12 +68,16 @@ service MotionService { // Replans share the execution_id of the previously executing plan. // This currently only returns plans for MoveOnGlobe and MoveOnMap. rpc GetPlan(GetPlanRequest) returns (GetPlanResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/motion/{name}/get_plan"}; + option (google.api.http) = { + get: "/viam/api/v1/service/motion/{name}/get_plan" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/motion/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/service/motion/{name}/do_command" + }; } } diff --git a/proto/viam/service/navigation/v1/navigation.proto b/proto/viam/service/navigation/v1/navigation.proto index e57c3246..42cb7003 100644 --- a/proto/viam/service/navigation/v1/navigation.proto +++ b/proto/viam/service/navigation/v1/navigation.proto @@ -12,46 +12,66 @@ option java_package = "com.viam.service.navigation.v1"; // A NavigationService declares the gRPC contract for a Navigation service service NavigationService { rpc GetMode(GetModeRequest) returns (GetModeResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/navigation/{name}/mode"}; + option (google.api.http) = { + get: "/viam/api/v1/service/navigation/{name}/mode" + }; } rpc SetMode(SetModeRequest) returns (SetModeResponse) { - option (google.api.http) = {put: "/viam/api/v1/service/navigation/{name}/mode"}; + option (google.api.http) = { + put: "/viam/api/v1/service/navigation/{name}/mode" + }; } rpc GetLocation(GetLocationRequest) returns (GetLocationResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/navigation/{name}/location"}; + option (google.api.http) = { + get: "/viam/api/v1/service/navigation/{name}/location" + }; } rpc GetWaypoints(GetWaypointsRequest) returns (GetWaypointsResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/navigation/{name}/waypoints"}; + option (google.api.http) = { + get: "/viam/api/v1/service/navigation/{name}/waypoints" + }; } rpc AddWaypoint(AddWaypointRequest) returns (AddWaypointResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/navigation/{name}/waypoints"}; + option (google.api.http) = { + post: "/viam/api/v1/service/navigation/{name}/waypoints" + }; } rpc RemoveWaypoint(RemoveWaypointRequest) returns (RemoveWaypointResponse) { - option (google.api.http) = {delete: "/viam/api/v1/service/navigation/{name}/waypoints/{id}"}; + option (google.api.http) = { + delete: "/viam/api/v1/service/navigation/{name}/waypoints/{id}" + }; } rpc GetObstacles(GetObstaclesRequest) returns (GetObstaclesResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/navigation/{name}/get_obstacles"}; + option (google.api.http) = { + get: "/viam/api/v1/service/navigation/{name}/get_obstacles" + }; } rpc GetPaths(GetPathsRequest) returns (GetPathsResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/navigation/{name}/get_paths"}; + option (google.api.http) = { + get: "/viam/api/v1/service/navigation/{name}/get_paths" + }; } // GetProperties returns properties of the current navigation service, including the // map_type being operated on. rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/navigation/{name}/properties"}; + option (google.api.http) = { + get: "/viam/api/v1/service/navigation/{name}/properties" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/navigation/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/service/navigation/{name}/do_command" + }; } } diff --git a/proto/viam/service/sensors/v1/sensors.proto b/proto/viam/service/sensors/v1/sensors.proto index af33f00c..7cf3e7b0 100644 --- a/proto/viam/service/sensors/v1/sensors.proto +++ b/proto/viam/service/sensors/v1/sensors.proto @@ -15,19 +15,25 @@ option java_package = "com.viam.service.sensors.v1"; service SensorsService { // GetSensors returns the list of all sensors. rpc GetSensors(GetSensorsRequest) returns (GetSensorsResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/{name}/sensors"}; + option (google.api.http) = { + get: "/viam/api/v1/service/{name}/sensors" + }; option deprecated = true; } // GetReadings returns the list of readings for all sensors specified. rpc GetReadings(GetReadingsRequest) returns (GetReadingsResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/sensors/{name}/readings"}; + option (google.api.http) = { + get: "/viam/api/v1/service/sensors/{name}/readings" + }; option deprecated = true; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/sensors/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/service/sensors/{name}/do_command" + }; option deprecated = true; } } diff --git a/proto/viam/service/shell/v1/shell.proto b/proto/viam/service/shell/v1/shell.proto index 0fe732f3..63d75e6c 100644 --- a/proto/viam/service/shell/v1/shell.proto +++ b/proto/viam/service/shell/v1/shell.proto @@ -37,7 +37,9 @@ service ShellService { // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/shell/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/service/shell/{name}/do_command" + }; } } diff --git a/proto/viam/service/slam/v1/slam.proto b/proto/viam/service/slam/v1/slam.proto index 5c2afe46..6e5a7f47 100644 --- a/proto/viam/service/slam/v1/slam.proto +++ b/proto/viam/service/slam/v1/slam.proto @@ -13,32 +13,42 @@ service SLAMService { // GetPosition returns the current estimated position of the robot with // respect to a returned component reference. rpc GetPosition(GetPositionRequest) returns (GetPositionResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/slam/{name}/position"}; + option (google.api.http) = { + get: "/viam/api/v1/service/slam/{name}/position" + }; } // GetPointCloudMap returns the latest pointcloud map available where XY is the ground // plane and positive Z is up, following the Right Hand Rule. rpc GetPointCloudMap(GetPointCloudMapRequest) returns (stream GetPointCloudMapResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/slam/{name}/point_cloud_map"}; + option (google.api.http) = { + get: "/viam/api/v1/service/slam/{name}/point_cloud_map" + }; } // GetInternalState returns the internal map as defined by the specified slam // algorithm required to continue mapping/localizing. // This endpoint is not intended for end users. rpc GetInternalState(GetInternalStateRequest) returns (stream GetInternalStateResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/slam/{name}/internal_state"}; + option (google.api.http) = { + get: "/viam/api/v1/service/slam/{name}/internal_state" + }; } // GetProperties returns properties of the current slam service including mapping_mode // and cloud_slam, where mapping_mode is the type of mapping/localizing being performed // and cloud_slam is a boolean representing if this SLAM service is being run in the cloud. rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = {get: "/viam/api/v1/service/slam/{name}/properties"}; + option (google.api.http) = { + get: "/viam/api/v1/service/slam/{name}/properties" + }; } // DoCommand sends/receives arbitrary commands. rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/slam/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/service/slam/{name}/do_command" + }; } } diff --git a/proto/viam/service/vision/v1/vision.proto b/proto/viam/service/vision/v1/vision.proto index d7cf1277..98951171 100644 --- a/proto/viam/service/vision/v1/vision.proto +++ b/proto/viam/service/vision/v1/vision.proto @@ -14,43 +14,59 @@ option java_package = "com.viam.service.vision.v1"; service VisionService { // GetDetectionsFromCamera will return a list of detections in the next image given a camera and a detector rpc GetDetectionsFromCamera(GetDetectionsFromCameraRequest) returns (GetDetectionsFromCameraResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/camera_detections"}; + option (google.api.http) = { + post: "/viam/api/v1/service/vision/{name}/camera_detections" + }; } // GetDetections will return a list of detections in the next image given the image bytes and a detector rpc GetDetections(GetDetectionsRequest) returns (GetDetectionsResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/detections"}; + option (google.api.http) = { + post: "/viam/api/v1/service/vision/{name}/detections" + }; } // GetClassificationsFromCamera will return a list of classifications in the next image given a camera and a classifier rpc GetClassificationsFromCamera(GetClassificationsFromCameraRequest) returns (GetClassificationsFromCameraResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/camera_classifications"}; + option (google.api.http) = { + post: "/viam/api/v1/service/vision/{name}/camera_classifications" + }; } // GetClassifications will return a list of classifications in the next image given the image bytes and a classifier rpc GetClassifications(GetClassificationsRequest) returns (GetClassificationsResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/classifications"}; + option (google.api.http) = { + post: "/viam/api/v1/service/vision/{name}/classifications" + }; } // GetObjectPointClouds returns all the found objects in a pointcloud from a camera of the underlying robot, // as well as the 3-vector center of each of the found objects. // A specific MIME type can be requested but may not necessarily be the same one returned. rpc GetObjectPointClouds(GetObjectPointCloudsRequest) returns (GetObjectPointCloudsResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/object_point_clouds"}; + option (google.api.http) = { + post: "/viam/api/v1/service/vision/{name}/object_point_clouds" + }; } // GetProperties will return the properties as booleans given the name of the vision service rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/get_properties"}; + option (google.api.http) = { + post: "/viam/api/v1/service/vision/{name}/get_properties" + }; } rpc CaptureAllFromCamera(CaptureAllFromCameraRequest) returns (CaptureAllFromCameraResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/capture_all"}; + option (google.api.http) = { + post: "/viam/api/v1/service/vision/{name}/capture_all" + }; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/do_command"}; + option (google.api.http) = { + post: "/viam/api/v1/service/vision/{name}/do_command" + }; } } diff --git a/provisioning/v1/provisioning.pb.go b/provisioning/v1/provisioning.pb.go index 927a629a..74918940 100644 --- a/provisioning/v1/provisioning.pb.go +++ b/provisioning/v1/provisioning.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: provisioning/v1/provisioning.proto @@ -28,9 +28,11 @@ type GetSmartMachineStatusRequest struct { func (x *GetSmartMachineStatusRequest) Reset() { *x = GetSmartMachineStatusRequest{} - mi := &file_provisioning_v1_provisioning_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_provisioning_v1_provisioning_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSmartMachineStatusRequest) String() string { @@ -41,7 +43,7 @@ func (*GetSmartMachineStatusRequest) ProtoMessage() {} func (x *GetSmartMachineStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -70,9 +72,11 @@ type GetSmartMachineStatusResponse struct { func (x *GetSmartMachineStatusResponse) Reset() { *x = GetSmartMachineStatusResponse{} - mi := &file_provisioning_v1_provisioning_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_provisioning_v1_provisioning_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSmartMachineStatusResponse) String() string { @@ -83,7 +87,7 @@ func (*GetSmartMachineStatusResponse) ProtoMessage() {} func (x *GetSmartMachineStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -145,9 +149,11 @@ type SetNetworkCredentialsRequest struct { func (x *SetNetworkCredentialsRequest) Reset() { *x = SetNetworkCredentialsRequest{} - mi := &file_provisioning_v1_provisioning_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_provisioning_v1_provisioning_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetNetworkCredentialsRequest) String() string { @@ -158,7 +164,7 @@ func (*SetNetworkCredentialsRequest) ProtoMessage() {} func (x *SetNetworkCredentialsRequest) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -202,9 +208,11 @@ type SetNetworkCredentialsResponse struct { func (x *SetNetworkCredentialsResponse) Reset() { *x = SetNetworkCredentialsResponse{} - mi := &file_provisioning_v1_provisioning_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_provisioning_v1_provisioning_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetNetworkCredentialsResponse) String() string { @@ -215,7 +223,7 @@ func (*SetNetworkCredentialsResponse) ProtoMessage() {} func (x *SetNetworkCredentialsResponse) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -240,9 +248,11 @@ type SetSmartMachineCredentialsRequest struct { func (x *SetSmartMachineCredentialsRequest) Reset() { *x = SetSmartMachineCredentialsRequest{} - mi := &file_provisioning_v1_provisioning_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_provisioning_v1_provisioning_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetSmartMachineCredentialsRequest) String() string { @@ -253,7 +263,7 @@ func (*SetSmartMachineCredentialsRequest) ProtoMessage() {} func (x *SetSmartMachineCredentialsRequest) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -283,9 +293,11 @@ type SetSmartMachineCredentialsResponse struct { func (x *SetSmartMachineCredentialsResponse) Reset() { *x = SetSmartMachineCredentialsResponse{} - mi := &file_provisioning_v1_provisioning_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_provisioning_v1_provisioning_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetSmartMachineCredentialsResponse) String() string { @@ -296,7 +308,7 @@ func (*SetSmartMachineCredentialsResponse) ProtoMessage() {} func (x *SetSmartMachineCredentialsResponse) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -319,9 +331,11 @@ type GetNetworkListRequest struct { func (x *GetNetworkListRequest) Reset() { *x = GetNetworkListRequest{} - mi := &file_provisioning_v1_provisioning_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_provisioning_v1_provisioning_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetNetworkListRequest) String() string { @@ -332,7 +346,7 @@ func (*GetNetworkListRequest) ProtoMessage() {} func (x *GetNetworkListRequest) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -357,9 +371,11 @@ type GetNetworkListResponse struct { func (x *GetNetworkListResponse) Reset() { *x = GetNetworkListResponse{} - mi := &file_provisioning_v1_provisioning_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_provisioning_v1_provisioning_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetNetworkListResponse) String() string { @@ -370,7 +386,7 @@ func (*GetNetworkListResponse) ProtoMessage() {} func (x *GetNetworkListResponse) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -404,9 +420,11 @@ type ProvisioningInfo struct { func (x *ProvisioningInfo) Reset() { *x = ProvisioningInfo{} - mi := &file_provisioning_v1_provisioning_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_provisioning_v1_provisioning_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ProvisioningInfo) String() string { @@ -417,7 +435,7 @@ func (*ProvisioningInfo) ProtoMessage() {} func (x *ProvisioningInfo) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -468,9 +486,11 @@ type NetworkInfo struct { func (x *NetworkInfo) Reset() { *x = NetworkInfo{} - mi := &file_provisioning_v1_provisioning_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_provisioning_v1_provisioning_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *NetworkInfo) String() string { @@ -481,7 +501,7 @@ func (*NetworkInfo) ProtoMessage() {} func (x *NetworkInfo) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -553,9 +573,11 @@ type CloudConfig struct { func (x *CloudConfig) Reset() { *x = CloudConfig{} - mi := &file_provisioning_v1_provisioning_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_provisioning_v1_provisioning_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CloudConfig) String() string { @@ -566,7 +588,7 @@ func (*CloudConfig) ProtoMessage() {} func (x *CloudConfig) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -730,7 +752,7 @@ func file_provisioning_v1_provisioning_proto_rawDescGZIP() []byte { } var file_provisioning_v1_provisioning_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_provisioning_v1_provisioning_proto_goTypes = []any{ +var file_provisioning_v1_provisioning_proto_goTypes = []interface{}{ (*GetSmartMachineStatusRequest)(nil), // 0: viam.provisioning.v1.GetSmartMachineStatusRequest (*GetSmartMachineStatusResponse)(nil), // 1: viam.provisioning.v1.GetSmartMachineStatusResponse (*SetNetworkCredentialsRequest)(nil), // 2: viam.provisioning.v1.SetNetworkCredentialsRequest @@ -768,6 +790,140 @@ func file_provisioning_v1_provisioning_proto_init() { if File_provisioning_v1_provisioning_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_provisioning_v1_provisioning_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSmartMachineStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_provisioning_v1_provisioning_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSmartMachineStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_provisioning_v1_provisioning_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetNetworkCredentialsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_provisioning_v1_provisioning_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetNetworkCredentialsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_provisioning_v1_provisioning_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetSmartMachineCredentialsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_provisioning_v1_provisioning_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetSmartMachineCredentialsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_provisioning_v1_provisioning_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNetworkListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_provisioning_v1_provisioning_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNetworkListResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_provisioning_v1_provisioning_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProvisioningInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_provisioning_v1_provisioning_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NetworkInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_provisioning_v1_provisioning_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloudConfig); 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{ diff --git a/provisioning/v1/provisioning.pb.gw.go b/provisioning/v1/provisioning.pb.gw.go index 95852bfd..5f30d6ba 100644 --- a/provisioning/v1/provisioning.pb.gw.go +++ b/provisioning/v1/provisioning.pb.gw.go @@ -35,7 +35,11 @@ func request_ProvisioningService_GetSmartMachineStatus_0(ctx context.Context, ma var protoReq GetSmartMachineStatusRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -48,7 +52,11 @@ func local_request_ProvisioningService_GetSmartMachineStatus_0(ctx context.Conte var protoReq GetSmartMachineStatusRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -61,7 +69,11 @@ func request_ProvisioningService_SetNetworkCredentials_0(ctx context.Context, ma var protoReq SetNetworkCredentialsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -74,7 +86,11 @@ func local_request_ProvisioningService_SetNetworkCredentials_0(ctx context.Conte var protoReq SetNetworkCredentialsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -87,7 +103,11 @@ func request_ProvisioningService_SetSmartMachineCredentials_0(ctx context.Contex var protoReq SetSmartMachineCredentialsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -100,7 +120,11 @@ func local_request_ProvisioningService_SetSmartMachineCredentials_0(ctx context. var protoReq SetSmartMachineCredentialsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -113,7 +137,11 @@ func request_ProvisioningService_GetNetworkList_0(ctx context.Context, marshaler var protoReq GetNetworkListRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -126,7 +154,11 @@ func local_request_ProvisioningService_GetNetworkList_0(ctx context.Context, mar var protoReq GetNetworkListRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -247,21 +279,21 @@ func RegisterProvisioningServiceHandlerServer(ctx context.Context, mux *runtime. // RegisterProvisioningServiceHandlerFromEndpoint is same as RegisterProvisioningServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterProvisioningServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/robot/v1/robot.pb.go b/robot/v1/robot.pb.go index d35e1786..971f0258 100644 --- a/robot/v1/robot.pb.go +++ b/robot/v1/robot.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: robot/v1/robot.proto @@ -149,9 +149,11 @@ type FrameSystemConfig struct { func (x *FrameSystemConfig) Reset() { *x = FrameSystemConfig{} - mi := &file_robot_v1_robot_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FrameSystemConfig) String() string { @@ -162,7 +164,7 @@ func (*FrameSystemConfig) ProtoMessage() {} func (x *FrameSystemConfig) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -203,9 +205,11 @@ type FrameSystemConfigRequest struct { func (x *FrameSystemConfigRequest) Reset() { *x = FrameSystemConfigRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FrameSystemConfigRequest) String() string { @@ -216,7 +220,7 @@ func (*FrameSystemConfigRequest) ProtoMessage() {} func (x *FrameSystemConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -248,9 +252,11 @@ type FrameSystemConfigResponse struct { func (x *FrameSystemConfigResponse) Reset() { *x = FrameSystemConfigResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FrameSystemConfigResponse) String() string { @@ -261,7 +267,7 @@ func (*FrameSystemConfigResponse) ProtoMessage() {} func (x *FrameSystemConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -301,9 +307,11 @@ type TransformPoseRequest struct { func (x *TransformPoseRequest) Reset() { *x = TransformPoseRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TransformPoseRequest) String() string { @@ -314,7 +322,7 @@ func (*TransformPoseRequest) ProtoMessage() {} func (x *TransformPoseRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -360,9 +368,11 @@ type TransformPoseResponse struct { func (x *TransformPoseResponse) Reset() { *x = TransformPoseResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TransformPoseResponse) String() string { @@ -373,7 +383,7 @@ func (*TransformPoseResponse) ProtoMessage() {} func (x *TransformPoseResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -413,9 +423,11 @@ type TransformPCDRequest struct { func (x *TransformPCDRequest) Reset() { *x = TransformPCDRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TransformPCDRequest) String() string { @@ -426,7 +438,7 @@ func (*TransformPCDRequest) ProtoMessage() {} func (x *TransformPCDRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -472,9 +484,11 @@ type TransformPCDResponse struct { func (x *TransformPCDResponse) Reset() { *x = TransformPCDResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TransformPCDResponse) String() string { @@ -485,7 +499,7 @@ func (*TransformPCDResponse) ProtoMessage() {} func (x *TransformPCDResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -515,9 +529,11 @@ type ResourceNamesRequest struct { func (x *ResourceNamesRequest) Reset() { *x = ResourceNamesRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResourceNamesRequest) String() string { @@ -528,7 +544,7 @@ func (*ResourceNamesRequest) ProtoMessage() {} func (x *ResourceNamesRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -553,9 +569,11 @@ type ResourceNamesResponse struct { func (x *ResourceNamesResponse) Reset() { *x = ResourceNamesResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResourceNamesResponse) String() string { @@ -566,7 +584,7 @@ func (*ResourceNamesResponse) ProtoMessage() {} func (x *ResourceNamesResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -599,9 +617,11 @@ type ResourceRPCSubtype struct { func (x *ResourceRPCSubtype) Reset() { *x = ResourceRPCSubtype{} - mi := &file_robot_v1_robot_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResourceRPCSubtype) String() string { @@ -612,7 +632,7 @@ func (*ResourceRPCSubtype) ProtoMessage() {} func (x *ResourceRPCSubtype) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -649,9 +669,11 @@ type ResourceRPCSubtypesRequest struct { func (x *ResourceRPCSubtypesRequest) Reset() { *x = ResourceRPCSubtypesRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResourceRPCSubtypesRequest) String() string { @@ -662,7 +684,7 @@ func (*ResourceRPCSubtypesRequest) ProtoMessage() {} func (x *ResourceRPCSubtypesRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -687,9 +709,11 @@ type ResourceRPCSubtypesResponse struct { func (x *ResourceRPCSubtypesResponse) Reset() { *x = ResourceRPCSubtypesResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResourceRPCSubtypesResponse) String() string { @@ -700,7 +724,7 @@ func (*ResourceRPCSubtypesResponse) ProtoMessage() {} func (x *ResourceRPCSubtypesResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -736,9 +760,11 @@ type Operation struct { func (x *Operation) Reset() { *x = Operation{} - mi := &file_robot_v1_robot_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Operation) String() string { @@ -749,7 +775,7 @@ func (*Operation) ProtoMessage() {} func (x *Operation) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -807,9 +833,11 @@ type GetOperationsRequest struct { func (x *GetOperationsRequest) Reset() { *x = GetOperationsRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetOperationsRequest) String() string { @@ -820,7 +848,7 @@ func (*GetOperationsRequest) ProtoMessage() {} func (x *GetOperationsRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -845,9 +873,11 @@ type GetOperationsResponse struct { func (x *GetOperationsResponse) Reset() { *x = GetOperationsResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetOperationsResponse) String() string { @@ -858,7 +888,7 @@ func (*GetOperationsResponse) ProtoMessage() {} func (x *GetOperationsResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -890,9 +920,11 @@ type CancelOperationRequest struct { func (x *CancelOperationRequest) Reset() { *x = CancelOperationRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CancelOperationRequest) String() string { @@ -903,7 +935,7 @@ func (*CancelOperationRequest) ProtoMessage() {} func (x *CancelOperationRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -933,9 +965,11 @@ type CancelOperationResponse struct { func (x *CancelOperationResponse) Reset() { *x = CancelOperationResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CancelOperationResponse) String() string { @@ -946,7 +980,7 @@ func (*CancelOperationResponse) ProtoMessage() {} func (x *CancelOperationResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -971,9 +1005,11 @@ type BlockForOperationRequest struct { func (x *BlockForOperationRequest) Reset() { *x = BlockForOperationRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *BlockForOperationRequest) String() string { @@ -984,7 +1020,7 @@ func (*BlockForOperationRequest) ProtoMessage() {} func (x *BlockForOperationRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1014,9 +1050,11 @@ type BlockForOperationResponse struct { func (x *BlockForOperationResponse) Reset() { *x = BlockForOperationResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *BlockForOperationResponse) String() string { @@ -1027,7 +1065,7 @@ func (*BlockForOperationResponse) ProtoMessage() {} func (x *BlockForOperationResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1054,9 +1092,11 @@ type PeerConnectionInfo struct { func (x *PeerConnectionInfo) Reset() { *x = PeerConnectionInfo{} - mi := &file_robot_v1_robot_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PeerConnectionInfo) String() string { @@ -1067,7 +1107,7 @@ func (*PeerConnectionInfo) ProtoMessage() {} func (x *PeerConnectionInfo) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1114,9 +1154,11 @@ type Session struct { func (x *Session) Reset() { *x = Session{} - mi := &file_robot_v1_robot_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Session) String() string { @@ -1127,7 +1169,7 @@ func (*Session) ProtoMessage() {} func (x *Session) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1164,9 +1206,11 @@ type GetSessionsRequest struct { func (x *GetSessionsRequest) Reset() { *x = GetSessionsRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSessionsRequest) String() string { @@ -1177,7 +1221,7 @@ func (*GetSessionsRequest) ProtoMessage() {} func (x *GetSessionsRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1202,9 +1246,11 @@ type GetSessionsResponse struct { func (x *GetSessionsResponse) Reset() { *x = GetSessionsResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSessionsResponse) String() string { @@ -1215,7 +1261,7 @@ func (*GetSessionsResponse) ProtoMessage() {} func (x *GetSessionsResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1249,9 +1295,11 @@ type DiscoveryQuery struct { func (x *DiscoveryQuery) Reset() { *x = DiscoveryQuery{} - mi := &file_robot_v1_robot_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DiscoveryQuery) String() string { @@ -1262,7 +1310,7 @@ func (*DiscoveryQuery) ProtoMessage() {} func (x *DiscoveryQuery) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1309,9 +1357,11 @@ type Discovery struct { func (x *Discovery) Reset() { *x = Discovery{} - mi := &file_robot_v1_robot_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Discovery) String() string { @@ -1322,7 +1372,7 @@ func (*Discovery) ProtoMessage() {} func (x *Discovery) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1361,9 +1411,11 @@ type DiscoverComponentsRequest struct { func (x *DiscoverComponentsRequest) Reset() { *x = DiscoverComponentsRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DiscoverComponentsRequest) String() string { @@ -1374,7 +1426,7 @@ func (*DiscoverComponentsRequest) ProtoMessage() {} func (x *DiscoverComponentsRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1406,9 +1458,11 @@ type DiscoverComponentsResponse struct { func (x *DiscoverComponentsResponse) Reset() { *x = DiscoverComponentsResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *DiscoverComponentsResponse) String() string { @@ -1419,7 +1473,7 @@ func (*DiscoverComponentsResponse) ProtoMessage() {} func (x *DiscoverComponentsResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1453,9 +1507,11 @@ type Status struct { func (x *Status) Reset() { *x = Status{} - mi := &file_robot_v1_robot_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Status) String() string { @@ -1466,7 +1522,7 @@ func (*Status) ProtoMessage() {} func (x *Status) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[27] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1512,9 +1568,11 @@ type GetStatusRequest struct { func (x *GetStatusRequest) Reset() { *x = GetStatusRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetStatusRequest) String() string { @@ -1525,7 +1583,7 @@ func (*GetStatusRequest) ProtoMessage() {} func (x *GetStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[28] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1557,9 +1615,11 @@ type GetStatusResponse struct { func (x *GetStatusResponse) Reset() { *x = GetStatusResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetStatusResponse) String() string { @@ -1570,7 +1630,7 @@ func (*GetStatusResponse) ProtoMessage() {} func (x *GetStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[29] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1603,9 +1663,11 @@ type StreamStatusRequest struct { func (x *StreamStatusRequest) Reset() { *x = StreamStatusRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamStatusRequest) String() string { @@ -1616,7 +1678,7 @@ func (*StreamStatusRequest) ProtoMessage() {} func (x *StreamStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[30] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1655,9 +1717,11 @@ type StreamStatusResponse struct { func (x *StreamStatusResponse) Reset() { *x = StreamStatusResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StreamStatusResponse) String() string { @@ -1668,7 +1732,7 @@ func (*StreamStatusResponse) ProtoMessage() {} func (x *StreamStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[31] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1701,9 +1765,11 @@ type StopExtraParameters struct { func (x *StopExtraParameters) Reset() { *x = StopExtraParameters{} - mi := &file_robot_v1_robot_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopExtraParameters) String() string { @@ -1714,7 +1780,7 @@ func (*StopExtraParameters) ProtoMessage() {} func (x *StopExtraParameters) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[32] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1753,9 +1819,11 @@ type StopAllRequest struct { func (x *StopAllRequest) Reset() { *x = StopAllRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopAllRequest) String() string { @@ -1766,7 +1834,7 @@ func (*StopAllRequest) ProtoMessage() {} func (x *StopAllRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[33] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1796,9 +1864,11 @@ type StopAllResponse struct { func (x *StopAllResponse) Reset() { *x = StopAllResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopAllResponse) String() string { @@ -1809,7 +1879,7 @@ func (*StopAllResponse) ProtoMessage() {} func (x *StopAllResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[34] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1836,9 +1906,11 @@ type StartSessionRequest struct { func (x *StartSessionRequest) Reset() { *x = StartSessionRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StartSessionRequest) String() string { @@ -1849,7 +1921,7 @@ func (*StartSessionRequest) ProtoMessage() {} func (x *StartSessionRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[35] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1882,9 +1954,11 @@ type StartSessionResponse struct { func (x *StartSessionResponse) Reset() { *x = StartSessionResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StartSessionResponse) String() string { @@ -1895,7 +1969,7 @@ func (*StartSessionResponse) ProtoMessage() {} func (x *StartSessionResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[36] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1934,9 +2008,11 @@ type SendSessionHeartbeatRequest struct { func (x *SendSessionHeartbeatRequest) Reset() { *x = SendSessionHeartbeatRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SendSessionHeartbeatRequest) String() string { @@ -1947,7 +2023,7 @@ func (*SendSessionHeartbeatRequest) ProtoMessage() {} func (x *SendSessionHeartbeatRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[37] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1977,9 +2053,11 @@ type SendSessionHeartbeatResponse struct { func (x *SendSessionHeartbeatResponse) Reset() { *x = SendSessionHeartbeatResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SendSessionHeartbeatResponse) String() string { @@ -1990,7 +2068,7 @@ func (*SendSessionHeartbeatResponse) ProtoMessage() {} func (x *SendSessionHeartbeatResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[38] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2015,9 +2093,11 @@ type LogRequest struct { func (x *LogRequest) Reset() { *x = LogRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LogRequest) String() string { @@ -2028,7 +2108,7 @@ func (*LogRequest) ProtoMessage() {} func (x *LogRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[39] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2058,9 +2138,11 @@ type LogResponse struct { func (x *LogResponse) Reset() { *x = LogResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LogResponse) String() string { @@ -2071,7 +2153,7 @@ func (*LogResponse) ProtoMessage() {} func (x *LogResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[40] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2094,9 +2176,11 @@ type GetCloudMetadataRequest struct { func (x *GetCloudMetadataRequest) Reset() { *x = GetCloudMetadataRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetCloudMetadataRequest) String() string { @@ -2107,7 +2191,7 @@ func (*GetCloudMetadataRequest) ProtoMessage() {} func (x *GetCloudMetadataRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[41] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2129,7 +2213,7 @@ type GetCloudMetadataResponse struct { // Deprecated: use machine_part_id field. // - // Deprecated: Marked as deprecated in robot/v1/robot.proto. + // Deprecated: Do not use. RobotPartId string `protobuf:"bytes,1,opt,name=robot_part_id,json=robotPartId,proto3" json:"robot_part_id,omitempty"` PrimaryOrgId string `protobuf:"bytes,2,opt,name=primary_org_id,json=primaryOrgId,proto3" json:"primary_org_id,omitempty"` LocationId string `protobuf:"bytes,3,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` @@ -2139,9 +2223,11 @@ type GetCloudMetadataResponse struct { func (x *GetCloudMetadataResponse) Reset() { *x = GetCloudMetadataResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetCloudMetadataResponse) String() string { @@ -2152,7 +2238,7 @@ func (*GetCloudMetadataResponse) ProtoMessage() {} func (x *GetCloudMetadataResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[42] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2167,7 +2253,7 @@ func (*GetCloudMetadataResponse) Descriptor() ([]byte, []int) { return file_robot_v1_robot_proto_rawDescGZIP(), []int{42} } -// Deprecated: Marked as deprecated in robot/v1/robot.proto. +// Deprecated: Do not use. func (x *GetCloudMetadataResponse) GetRobotPartId() string { if x != nil { return x.RobotPartId @@ -2217,9 +2303,11 @@ type RestartModuleRequest struct { func (x *RestartModuleRequest) Reset() { *x = RestartModuleRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RestartModuleRequest) String() string { @@ -2230,7 +2318,7 @@ func (*RestartModuleRequest) ProtoMessage() {} func (x *RestartModuleRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[43] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2291,9 +2379,11 @@ type RestartModuleResponse struct { func (x *RestartModuleResponse) Reset() { *x = RestartModuleResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RestartModuleResponse) String() string { @@ -2304,7 +2394,7 @@ func (*RestartModuleResponse) ProtoMessage() {} func (x *RestartModuleResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[44] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2327,9 +2417,11 @@ type ShutdownRequest struct { func (x *ShutdownRequest) Reset() { *x = ShutdownRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ShutdownRequest) String() string { @@ -2340,7 +2432,7 @@ func (*ShutdownRequest) ProtoMessage() {} func (x *ShutdownRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[45] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2363,9 +2455,11 @@ type ShutdownResponse struct { func (x *ShutdownResponse) Reset() { *x = ShutdownResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ShutdownResponse) String() string { @@ -2376,7 +2470,7 @@ func (*ShutdownResponse) ProtoMessage() {} func (x *ShutdownResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[46] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2399,9 +2493,11 @@ type GetMachineStatusRequest struct { func (x *GetMachineStatusRequest) Reset() { *x = GetMachineStatusRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetMachineStatusRequest) String() string { @@ -2412,7 +2508,7 @@ func (*GetMachineStatusRequest) ProtoMessage() {} func (x *GetMachineStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[47] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2438,9 +2534,11 @@ type GetMachineStatusResponse struct { func (x *GetMachineStatusResponse) Reset() { *x = GetMachineStatusResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetMachineStatusResponse) String() string { @@ -2451,7 +2549,7 @@ func (*GetMachineStatusResponse) ProtoMessage() {} func (x *GetMachineStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[48] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2500,9 +2598,11 @@ type ResourceStatus struct { func (x *ResourceStatus) Reset() { *x = ResourceStatus{} - mi := &file_robot_v1_robot_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ResourceStatus) String() string { @@ -2513,7 +2613,7 @@ func (*ResourceStatus) ProtoMessage() {} func (x *ResourceStatus) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[49] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2576,9 +2676,11 @@ type ConfigStatus struct { func (x *ConfigStatus) Reset() { *x = ConfigStatus{} - mi := &file_robot_v1_robot_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ConfigStatus) String() string { @@ -2589,7 +2691,7 @@ func (*ConfigStatus) ProtoMessage() {} func (x *ConfigStatus) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[50] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2626,9 +2728,11 @@ type GetVersionRequest struct { func (x *GetVersionRequest) Reset() { *x = GetVersionRequest{} - mi := &file_robot_v1_robot_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetVersionRequest) String() string { @@ -2639,7 +2743,7 @@ func (*GetVersionRequest) ProtoMessage() {} func (x *GetVersionRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[51] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2668,9 +2772,11 @@ type GetVersionResponse struct { func (x *GetVersionResponse) Reset() { *x = GetVersionResponse{} - mi := &file_robot_v1_robot_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetVersionResponse) String() string { @@ -2681,7 +2787,7 @@ func (*GetVersionResponse) ProtoMessage() {} func (x *GetVersionResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[52] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3130,17 +3236,17 @@ var file_robot_v1_robot_proto_rawDesc = []byte{ 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, - 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x02, 0x01, 0x12, 0x80, 0x01, 0x0a, 0x0c, 0x53, + 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x88, 0x02, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x76, - 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x88, 0x02, 0x01, 0x30, 0x01, 0x12, 0x67, 0x0a, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x88, 0x02, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, + 0x1a, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, 0x67, 0x0a, 0x07, 0x53, 0x74, 0x6f, 0x70, 0x41, 0x6c, 0x6c, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, @@ -3230,7 +3336,7 @@ func file_robot_v1_robot_proto_rawDescGZIP() []byte { var file_robot_v1_robot_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_robot_v1_robot_proto_msgTypes = make([]protoimpl.MessageInfo, 53) -var file_robot_v1_robot_proto_goTypes = []any{ +var file_robot_v1_robot_proto_goTypes = []interface{}{ (PeerConnectionType)(0), // 0: viam.robot.v1.PeerConnectionType (ResourceStatus_State)(0), // 1: viam.robot.v1.ResourceStatus.State (*FrameSystemConfig)(nil), // 2: viam.robot.v1.FrameSystemConfig @@ -3389,10 +3495,648 @@ func file_robot_v1_robot_proto_init() { if File_robot_v1_robot_proto != nil { return } - file_robot_v1_robot_proto_msgTypes[12].OneofWrappers = []any{} - file_robot_v1_robot_proto_msgTypes[19].OneofWrappers = []any{} - file_robot_v1_robot_proto_msgTypes[20].OneofWrappers = []any{} - file_robot_v1_robot_proto_msgTypes[43].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_robot_v1_robot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FrameSystemConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FrameSystemConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FrameSystemConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransformPoseRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransformPoseResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransformPCDRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransformPCDResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceNamesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceNamesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceRPCSubtype); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceRPCSubtypesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceRPCSubtypesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Operation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOperationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOperationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelOperationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelOperationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockForOperationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockForOperationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerConnectionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Session); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSessionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSessionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiscoveryQuery); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Discovery); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiscoverComponentsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiscoverComponentsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Status); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopExtraParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopAllRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopAllResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartSessionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartSessionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendSessionHeartbeatRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendSessionHeartbeatResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LogRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LogResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCloudMetadataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCloudMetadataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestartModuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestartModuleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShutdownRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShutdownResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMachineStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMachineStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetVersionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetVersionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_robot_v1_robot_proto_msgTypes[12].OneofWrappers = []interface{}{} + file_robot_v1_robot_proto_msgTypes[19].OneofWrappers = []interface{}{} + file_robot_v1_robot_proto_msgTypes[20].OneofWrappers = []interface{}{} + file_robot_v1_robot_proto_msgTypes[43].OneofWrappers = []interface{}{ (*RestartModuleRequest_ModuleId)(nil), (*RestartModuleRequest_ModuleName)(nil), } diff --git a/robot/v1/robot.pb.gw.go b/robot/v1/robot.pb.gw.go index 3059b36d..762780d0 100644 --- a/robot/v1/robot.pb.gw.go +++ b/robot/v1/robot.pb.gw.go @@ -1170,21 +1170,21 @@ func RegisterRobotServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu // RegisterRobotServiceHandlerFromEndpoint is same as RegisterRobotServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterRobotServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/datamanager/v1/data_manager.pb.go b/service/datamanager/v1/data_manager.pb.go index af8e5bda..2803313f 100644 --- a/service/datamanager/v1/data_manager.pb.go +++ b/service/datamanager/v1/data_manager.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: service/datamanager/v1/data_manager.proto @@ -35,9 +35,11 @@ type SyncRequest struct { func (x *SyncRequest) Reset() { *x = SyncRequest{} - mi := &file_service_datamanager_v1_data_manager_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_datamanager_v1_data_manager_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SyncRequest) String() string { @@ -48,7 +50,7 @@ func (*SyncRequest) ProtoMessage() {} func (x *SyncRequest) ProtoReflect() protoreflect.Message { mi := &file_service_datamanager_v1_data_manager_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -85,9 +87,11 @@ type SyncResponse struct { func (x *SyncResponse) Reset() { *x = SyncResponse{} - mi := &file_service_datamanager_v1_data_manager_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_datamanager_v1_data_manager_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SyncResponse) String() string { @@ -98,7 +102,7 @@ func (*SyncResponse) ProtoMessage() {} func (x *SyncResponse) ProtoReflect() protoreflect.Message { mi := &file_service_datamanager_v1_data_manager_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -172,7 +176,7 @@ func file_service_datamanager_v1_data_manager_proto_rawDescGZIP() []byte { } var file_service_datamanager_v1_data_manager_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_service_datamanager_v1_data_manager_proto_goTypes = []any{ +var file_service_datamanager_v1_data_manager_proto_goTypes = []interface{}{ (*SyncRequest)(nil), // 0: viam.service.datamanager.v1.SyncRequest (*SyncResponse)(nil), // 1: viam.service.datamanager.v1.SyncResponse (*structpb.Struct)(nil), // 2: google.protobuf.Struct @@ -197,6 +201,32 @@ func file_service_datamanager_v1_data_manager_proto_init() { if File_service_datamanager_v1_data_manager_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_service_datamanager_v1_data_manager_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_datamanager_v1_data_manager_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncResponse); 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{ diff --git a/service/datamanager/v1/data_manager.pb.gw.go b/service/datamanager/v1/data_manager.pb.gw.go index a3065013..5a7e61ab 100644 --- a/service/datamanager/v1/data_manager.pb.gw.go +++ b/service/datamanager/v1/data_manager.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -107,7 +107,7 @@ var ( ) func request_DataManagerService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client DataManagerServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -140,7 +140,7 @@ func request_DataManagerService_DoCommand_0(ctx context.Context, marshaler runti } func local_request_DataManagerService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server DataManagerServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -234,21 +234,21 @@ func RegisterDataManagerServiceHandlerServer(ctx context.Context, mux *runtime.S // RegisterDataManagerServiceHandlerFromEndpoint is same as RegisterDataManagerServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterDataManagerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/generic/v1/generic.pb.go b/service/generic/v1/generic.pb.go index ce76e04a..bd1fe496 100644 --- a/service/generic/v1/generic.pb.go +++ b/service/generic/v1/generic.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: service/generic/v1/generic.proto @@ -48,7 +48,7 @@ var file_service_generic_v1_generic_proto_rawDesc = []byte{ 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_service_generic_v1_generic_proto_goTypes = []any{ +var file_service_generic_v1_generic_proto_goTypes = []interface{}{ (*v1.DoCommandRequest)(nil), // 0: viam.common.v1.DoCommandRequest (*v1.DoCommandResponse)(nil), // 1: viam.common.v1.DoCommandResponse } diff --git a/service/generic/v1/generic.pb.gw.go b/service/generic/v1/generic.pb.gw.go index b7719337..3c74de8b 100644 --- a/service/generic/v1/generic.pb.gw.go +++ b/service/generic/v1/generic.pb.gw.go @@ -139,21 +139,21 @@ func RegisterGenericServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterGenericServiceHandlerFromEndpoint is same as RegisterGenericServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterGenericServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/mlmodel/v1/mlmodel.pb.go b/service/mlmodel/v1/mlmodel.pb.go index ae7c2aa1..f2c7d713 100644 --- a/service/mlmodel/v1/mlmodel.pb.go +++ b/service/mlmodel/v1/mlmodel.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: service/mlmodel/v1/mlmodel.proto @@ -88,9 +88,11 @@ type InferRequest struct { func (x *InferRequest) Reset() { *x = InferRequest{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InferRequest) String() string { @@ -101,7 +103,7 @@ func (*InferRequest) ProtoMessage() {} func (x *InferRequest) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -148,9 +150,11 @@ type InferResponse struct { func (x *InferResponse) Reset() { *x = InferResponse{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *InferResponse) String() string { @@ -161,7 +165,7 @@ func (*InferResponse) ProtoMessage() {} func (x *InferResponse) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -196,9 +200,11 @@ type MetadataRequest struct { func (x *MetadataRequest) Reset() { *x = MetadataRequest{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MetadataRequest) String() string { @@ -209,7 +215,7 @@ func (*MetadataRequest) ProtoMessage() {} func (x *MetadataRequest) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -249,9 +255,11 @@ type MetadataResponse struct { func (x *MetadataResponse) Reset() { *x = MetadataResponse{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MetadataResponse) String() string { @@ -262,7 +270,7 @@ func (*MetadataResponse) ProtoMessage() {} func (x *MetadataResponse) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -303,9 +311,11 @@ type Metadata struct { func (x *Metadata) Reset() { *x = Metadata{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Metadata) String() string { @@ -316,7 +326,7 @@ func (*Metadata) ProtoMessage() {} func (x *Metadata) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -387,9 +397,11 @@ type TensorInfo struct { func (x *TensorInfo) Reset() { *x = TensorInfo{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *TensorInfo) String() string { @@ -400,7 +412,7 @@ func (*TensorInfo) ProtoMessage() {} func (x *TensorInfo) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -472,9 +484,11 @@ type File struct { func (x *File) Reset() { *x = File{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *File) String() string { @@ -485,7 +499,7 @@ func (*File) ProtoMessage() {} func (x *File) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -531,9 +545,11 @@ type FlatTensorDataInt8 struct { func (x *FlatTensorDataInt8) Reset() { *x = FlatTensorDataInt8{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FlatTensorDataInt8) String() string { @@ -544,7 +560,7 @@ func (*FlatTensorDataInt8) ProtoMessage() {} func (x *FlatTensorDataInt8) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -576,9 +592,11 @@ type FlatTensorDataUInt8 struct { func (x *FlatTensorDataUInt8) Reset() { *x = FlatTensorDataUInt8{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FlatTensorDataUInt8) String() string { @@ -589,7 +607,7 @@ func (*FlatTensorDataUInt8) ProtoMessage() {} func (x *FlatTensorDataUInt8) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -623,9 +641,11 @@ type FlatTensorDataInt16 struct { func (x *FlatTensorDataInt16) Reset() { *x = FlatTensorDataInt16{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FlatTensorDataInt16) String() string { @@ -636,7 +656,7 @@ func (*FlatTensorDataInt16) ProtoMessage() {} func (x *FlatTensorDataInt16) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -670,9 +690,11 @@ type FlatTensorDataUInt16 struct { func (x *FlatTensorDataUInt16) Reset() { *x = FlatTensorDataUInt16{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FlatTensorDataUInt16) String() string { @@ -683,7 +705,7 @@ func (*FlatTensorDataUInt16) ProtoMessage() {} func (x *FlatTensorDataUInt16) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -715,9 +737,11 @@ type FlatTensorDataInt32 struct { func (x *FlatTensorDataInt32) Reset() { *x = FlatTensorDataInt32{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FlatTensorDataInt32) String() string { @@ -728,7 +752,7 @@ func (*FlatTensorDataInt32) ProtoMessage() {} func (x *FlatTensorDataInt32) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -760,9 +784,11 @@ type FlatTensorDataUInt32 struct { func (x *FlatTensorDataUInt32) Reset() { *x = FlatTensorDataUInt32{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FlatTensorDataUInt32) String() string { @@ -773,7 +799,7 @@ func (*FlatTensorDataUInt32) ProtoMessage() {} func (x *FlatTensorDataUInt32) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -805,9 +831,11 @@ type FlatTensorDataInt64 struct { func (x *FlatTensorDataInt64) Reset() { *x = FlatTensorDataInt64{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FlatTensorDataInt64) String() string { @@ -818,7 +846,7 @@ func (*FlatTensorDataInt64) ProtoMessage() {} func (x *FlatTensorDataInt64) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -850,9 +878,11 @@ type FlatTensorDataUInt64 struct { func (x *FlatTensorDataUInt64) Reset() { *x = FlatTensorDataUInt64{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FlatTensorDataUInt64) String() string { @@ -863,7 +893,7 @@ func (*FlatTensorDataUInt64) ProtoMessage() {} func (x *FlatTensorDataUInt64) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -895,9 +925,11 @@ type FlatTensorDataFloat struct { func (x *FlatTensorDataFloat) Reset() { *x = FlatTensorDataFloat{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FlatTensorDataFloat) String() string { @@ -908,7 +940,7 @@ func (*FlatTensorDataFloat) ProtoMessage() {} func (x *FlatTensorDataFloat) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -940,9 +972,11 @@ type FlatTensorDataDouble struct { func (x *FlatTensorDataDouble) Reset() { *x = FlatTensorDataDouble{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FlatTensorDataDouble) String() string { @@ -953,7 +987,7 @@ func (*FlatTensorDataDouble) ProtoMessage() {} func (x *FlatTensorDataDouble) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1001,9 +1035,11 @@ type FlatTensor struct { func (x *FlatTensor) Reset() { *x = FlatTensor{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FlatTensor) String() string { @@ -1014,7 +1050,7 @@ func (*FlatTensor) ProtoMessage() {} func (x *FlatTensor) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1188,9 +1224,11 @@ type FlatTensors struct { func (x *FlatTensors) Reset() { *x = FlatTensors{} - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FlatTensors) String() string { @@ -1201,7 +1239,7 @@ func (*FlatTensors) ProtoMessage() {} func (x *FlatTensors) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1443,7 +1481,7 @@ func file_service_mlmodel_v1_mlmodel_proto_rawDescGZIP() []byte { var file_service_mlmodel_v1_mlmodel_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_service_mlmodel_v1_mlmodel_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_service_mlmodel_v1_mlmodel_proto_goTypes = []any{ +var file_service_mlmodel_v1_mlmodel_proto_goTypes = []interface{}{ (LabelType)(0), // 0: viam.service.mlmodel.v1.LabelType (*InferRequest)(nil), // 1: viam.service.mlmodel.v1.InferRequest (*InferResponse)(nil), // 2: viam.service.mlmodel.v1.InferResponse @@ -1506,7 +1544,237 @@ func file_service_mlmodel_v1_mlmodel_proto_init() { if File_service_mlmodel_v1_mlmodel_proto != nil { return } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[17].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_service_mlmodel_v1_mlmodel_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InferRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InferResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetadataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetadataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Metadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TensorInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*File); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlatTensorDataInt8); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlatTensorDataUInt8); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlatTensorDataInt16); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlatTensorDataUInt16); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlatTensorDataInt32); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlatTensorDataUInt32); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlatTensorDataInt64); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlatTensorDataUInt64); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlatTensorDataFloat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlatTensorDataDouble); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlatTensor); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlatTensors); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_service_mlmodel_v1_mlmodel_proto_msgTypes[17].OneofWrappers = []interface{}{ (*FlatTensor_Int8Tensor)(nil), (*FlatTensor_Uint8Tensor)(nil), (*FlatTensor_Int16Tensor)(nil), diff --git a/service/mlmodel/v1/mlmodel.pb.gw.go b/service/mlmodel/v1/mlmodel.pb.gw.go index 73adc0a0..f8b0d6f1 100644 --- a/service/mlmodel/v1/mlmodel.pb.gw.go +++ b/service/mlmodel/v1/mlmodel.pb.gw.go @@ -233,21 +233,21 @@ func RegisterMLModelServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterMLModelServiceHandlerFromEndpoint is same as RegisterMLModelServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterMLModelServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/motion/v1/motion.pb.go b/service/motion/v1/motion.pb.go index a992aae6..f7aca50f 100644 --- a/service/motion/v1/motion.pb.go +++ b/service/motion/v1/motion.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: service/motion/v1/motion.proto @@ -107,9 +107,11 @@ type MoveRequest struct { func (x *MoveRequest) Reset() { *x = MoveRequest{} - mi := &file_service_motion_v1_motion_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveRequest) String() string { @@ -120,7 +122,7 @@ func (*MoveRequest) ProtoMessage() {} func (x *MoveRequest) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -187,9 +189,11 @@ type MoveResponse struct { func (x *MoveResponse) Reset() { *x = MoveResponse{} - mi := &file_service_motion_v1_motion_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveResponse) String() string { @@ -200,7 +204,7 @@ func (*MoveResponse) ProtoMessage() {} func (x *MoveResponse) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -245,9 +249,11 @@ type MoveOnMapRequest struct { func (x *MoveOnMapRequest) Reset() { *x = MoveOnMapRequest{} - mi := &file_service_motion_v1_motion_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveOnMapRequest) String() string { @@ -258,7 +264,7 @@ func (*MoveOnMapRequest) ProtoMessage() {} func (x *MoveOnMapRequest) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -335,9 +341,11 @@ type MoveOnMapResponse struct { func (x *MoveOnMapResponse) Reset() { *x = MoveOnMapResponse{} - mi := &file_service_motion_v1_motion_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveOnMapResponse) String() string { @@ -348,7 +356,7 @@ func (*MoveOnMapResponse) ProtoMessage() {} func (x *MoveOnMapResponse) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -382,9 +390,11 @@ type ObstacleDetector struct { func (x *ObstacleDetector) Reset() { *x = ObstacleDetector{} - mi := &file_service_motion_v1_motion_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ObstacleDetector) String() string { @@ -395,7 +405,7 @@ func (*ObstacleDetector) ProtoMessage() {} func (x *ObstacleDetector) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -445,9 +455,11 @@ type MotionConfiguration struct { func (x *MotionConfiguration) Reset() { *x = MotionConfiguration{} - mi := &file_service_motion_v1_motion_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MotionConfiguration) String() string { @@ -458,7 +470,7 @@ func (*MotionConfiguration) ProtoMessage() {} func (x *MotionConfiguration) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -542,9 +554,11 @@ type MoveOnGlobeRequest struct { func (x *MoveOnGlobeRequest) Reset() { *x = MoveOnGlobeRequest{} - mi := &file_service_motion_v1_motion_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveOnGlobeRequest) String() string { @@ -555,7 +569,7 @@ func (*MoveOnGlobeRequest) ProtoMessage() {} func (x *MoveOnGlobeRequest) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -646,9 +660,11 @@ type MoveOnGlobeResponse struct { func (x *MoveOnGlobeResponse) Reset() { *x = MoveOnGlobeResponse{} - mi := &file_service_motion_v1_motion_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *MoveOnGlobeResponse) String() string { @@ -659,7 +675,7 @@ func (*MoveOnGlobeResponse) ProtoMessage() {} func (x *MoveOnGlobeResponse) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -702,9 +718,11 @@ type GetPoseRequest struct { func (x *GetPoseRequest) Reset() { *x = GetPoseRequest{} - mi := &file_service_motion_v1_motion_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPoseRequest) String() string { @@ -715,7 +733,7 @@ func (*GetPoseRequest) ProtoMessage() {} func (x *GetPoseRequest) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -775,9 +793,11 @@ type GetPoseResponse struct { func (x *GetPoseResponse) Reset() { *x = GetPoseResponse{} - mi := &file_service_motion_v1_motion_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPoseResponse) String() string { @@ -788,7 +808,7 @@ func (*GetPoseResponse) ProtoMessage() {} func (x *GetPoseResponse) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -825,9 +845,11 @@ type StopPlanRequest struct { func (x *StopPlanRequest) Reset() { *x = StopPlanRequest{} - mi := &file_service_motion_v1_motion_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopPlanRequest) String() string { @@ -838,7 +860,7 @@ func (*StopPlanRequest) ProtoMessage() {} func (x *StopPlanRequest) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -882,9 +904,11 @@ type StopPlanResponse struct { func (x *StopPlanResponse) Reset() { *x = StopPlanResponse{} - mi := &file_service_motion_v1_motion_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *StopPlanResponse) String() string { @@ -895,7 +919,7 @@ func (*StopPlanResponse) ProtoMessage() {} func (x *StopPlanResponse) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -926,9 +950,11 @@ type ListPlanStatusesRequest struct { func (x *ListPlanStatusesRequest) Reset() { *x = ListPlanStatusesRequest{} - mi := &file_service_motion_v1_motion_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListPlanStatusesRequest) String() string { @@ -939,7 +965,7 @@ func (*ListPlanStatusesRequest) ProtoMessage() {} func (x *ListPlanStatusesRequest) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -988,9 +1014,11 @@ type ListPlanStatusesResponse struct { func (x *ListPlanStatusesResponse) Reset() { *x = ListPlanStatusesResponse{} - mi := &file_service_motion_v1_motion_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListPlanStatusesResponse) String() string { @@ -1001,7 +1029,7 @@ func (*ListPlanStatusesResponse) ProtoMessage() {} func (x *ListPlanStatusesResponse) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1043,9 +1071,11 @@ type GetPlanRequest struct { func (x *GetPlanRequest) Reset() { *x = GetPlanRequest{} - mi := &file_service_motion_v1_motion_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPlanRequest) String() string { @@ -1056,7 +1086,7 @@ func (*GetPlanRequest) ProtoMessage() {} func (x *GetPlanRequest) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1122,9 +1152,11 @@ type GetPlanResponse struct { func (x *GetPlanResponse) Reset() { *x = GetPlanResponse{} - mi := &file_service_motion_v1_motion_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPlanResponse) String() string { @@ -1135,7 +1167,7 @@ func (*GetPlanResponse) ProtoMessage() {} func (x *GetPlanResponse) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1178,9 +1210,11 @@ type Constraints struct { func (x *Constraints) Reset() { *x = Constraints{} - mi := &file_service_motion_v1_motion_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Constraints) String() string { @@ -1191,7 +1225,7 @@ func (*Constraints) ProtoMessage() {} func (x *Constraints) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1241,9 +1275,11 @@ type LinearConstraint struct { func (x *LinearConstraint) Reset() { *x = LinearConstraint{} - mi := &file_service_motion_v1_motion_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *LinearConstraint) String() string { @@ -1254,7 +1290,7 @@ func (*LinearConstraint) ProtoMessage() {} func (x *LinearConstraint) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1296,9 +1332,11 @@ type OrientationConstraint struct { func (x *OrientationConstraint) Reset() { *x = OrientationConstraint{} - mi := &file_service_motion_v1_motion_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *OrientationConstraint) String() string { @@ -1309,7 +1347,7 @@ func (*OrientationConstraint) ProtoMessage() {} func (x *OrientationConstraint) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1343,9 +1381,11 @@ type CollisionSpecification struct { func (x *CollisionSpecification) Reset() { *x = CollisionSpecification{} - mi := &file_service_motion_v1_motion_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CollisionSpecification) String() string { @@ -1356,7 +1396,7 @@ func (*CollisionSpecification) ProtoMessage() {} func (x *CollisionSpecification) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1395,9 +1435,11 @@ type PlanWithStatus struct { func (x *PlanWithStatus) Reset() { *x = PlanWithStatus{} - mi := &file_service_motion_v1_motion_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PlanWithStatus) String() string { @@ -1408,7 +1450,7 @@ func (*PlanWithStatus) ProtoMessage() {} func (x *PlanWithStatus) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[20] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1468,9 +1510,11 @@ type PlanStatusWithID struct { func (x *PlanStatusWithID) Reset() { *x = PlanStatusWithID{} - mi := &file_service_motion_v1_motion_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PlanStatusWithID) String() string { @@ -1481,7 +1525,7 @@ func (*PlanStatusWithID) ProtoMessage() {} func (x *PlanStatusWithID) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[21] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1544,9 +1588,11 @@ type PlanStatus struct { func (x *PlanStatus) Reset() { *x = PlanStatus{} - mi := &file_service_motion_v1_motion_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PlanStatus) String() string { @@ -1557,7 +1603,7 @@ func (*PlanStatus) ProtoMessage() {} func (x *PlanStatus) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[22] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1616,9 +1662,11 @@ type Plan struct { func (x *Plan) Reset() { *x = Plan{} - mi := &file_service_motion_v1_motion_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Plan) String() string { @@ -1629,7 +1677,7 @@ func (*Plan) ProtoMessage() {} func (x *Plan) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[23] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1686,9 +1734,11 @@ type PlanStep struct { func (x *PlanStep) Reset() { *x = PlanStep{} - mi := &file_service_motion_v1_motion_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *PlanStep) String() string { @@ -1699,7 +1749,7 @@ func (*PlanStep) ProtoMessage() {} func (x *PlanStep) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[24] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1732,9 +1782,11 @@ type ComponentState struct { func (x *ComponentState) Reset() { *x = ComponentState{} - mi := &file_service_motion_v1_motion_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ComponentState) String() string { @@ -1745,7 +1797,7 @@ func (*ComponentState) ProtoMessage() {} func (x *ComponentState) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[25] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1778,9 +1830,11 @@ type CollisionSpecification_AllowedFrameCollisions struct { func (x *CollisionSpecification_AllowedFrameCollisions) Reset() { *x = CollisionSpecification_AllowedFrameCollisions{} - mi := &file_service_motion_v1_motion_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_motion_v1_motion_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CollisionSpecification_AllowedFrameCollisions) String() string { @@ -1791,7 +1845,7 @@ func (*CollisionSpecification_AllowedFrameCollisions) ProtoMessage() {} func (x *CollisionSpecification_AllowedFrameCollisions) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[26] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2275,7 +2329,7 @@ func file_service_motion_v1_motion_proto_rawDescGZIP() []byte { var file_service_motion_v1_motion_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_service_motion_v1_motion_proto_msgTypes = make([]protoimpl.MessageInfo, 28) -var file_service_motion_v1_motion_proto_goTypes = []any{ +var file_service_motion_v1_motion_proto_goTypes = []interface{}{ (PlanState)(0), // 0: viam.service.motion.v1.PlanState (*MoveRequest)(nil), // 1: viam.service.motion.v1.MoveRequest (*MoveResponse)(nil), // 2: viam.service.motion.v1.MoveResponse @@ -2396,14 +2450,340 @@ func file_service_motion_v1_motion_proto_init() { if File_service_motion_v1_motion_proto != nil { return } - file_service_motion_v1_motion_proto_msgTypes[0].OneofWrappers = []any{} - file_service_motion_v1_motion_proto_msgTypes[2].OneofWrappers = []any{} - file_service_motion_v1_motion_proto_msgTypes[5].OneofWrappers = []any{} - file_service_motion_v1_motion_proto_msgTypes[6].OneofWrappers = []any{} - file_service_motion_v1_motion_proto_msgTypes[14].OneofWrappers = []any{} - file_service_motion_v1_motion_proto_msgTypes[17].OneofWrappers = []any{} - file_service_motion_v1_motion_proto_msgTypes[18].OneofWrappers = []any{} - file_service_motion_v1_motion_proto_msgTypes[22].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_service_motion_v1_motion_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveOnMapRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveOnMapResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ObstacleDetector); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MotionConfiguration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveOnGlobeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MoveOnGlobeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPoseRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPoseResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopPlanRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopPlanResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListPlanStatusesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListPlanStatusesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPlanRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPlanResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Constraints); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinearConstraint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OrientationConstraint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollisionSpecification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlanWithStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlanStatusWithID); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlanStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Plan); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlanStep); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ComponentState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_motion_v1_motion_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CollisionSpecification_AllowedFrameCollisions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_service_motion_v1_motion_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_service_motion_v1_motion_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_service_motion_v1_motion_proto_msgTypes[5].OneofWrappers = []interface{}{} + file_service_motion_v1_motion_proto_msgTypes[6].OneofWrappers = []interface{}{} + file_service_motion_v1_motion_proto_msgTypes[14].OneofWrappers = []interface{}{} + file_service_motion_v1_motion_proto_msgTypes[17].OneofWrappers = []interface{}{} + file_service_motion_v1_motion_proto_msgTypes[18].OneofWrappers = []interface{}{} + file_service_motion_v1_motion_proto_msgTypes[22].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/service/motion/v1/motion.pb.gw.go b/service/motion/v1/motion.pb.gw.go index 6ddcb824..1b1262ce 100644 --- a/service/motion/v1/motion.pb.gw.go +++ b/service/motion/v1/motion.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -527,7 +527,7 @@ var ( ) func request_MotionService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client MotionServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -560,7 +560,7 @@ func request_MotionService_DoCommand_0(ctx context.Context, marshaler runtime.Ma } func local_request_MotionService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server MotionServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -804,21 +804,21 @@ func RegisterMotionServiceHandlerServer(ctx context.Context, mux *runtime.ServeM // RegisterMotionServiceHandlerFromEndpoint is same as RegisterMotionServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterMotionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/navigation/v1/navigation.pb.go b/service/navigation/v1/navigation.pb.go index 2472e1e2..ab3ba392 100644 --- a/service/navigation/v1/navigation.pb.go +++ b/service/navigation/v1/navigation.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: service/navigation/v1/navigation.proto @@ -137,9 +137,11 @@ type GetModeRequest struct { func (x *GetModeRequest) Reset() { *x = GetModeRequest{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetModeRequest) String() string { @@ -150,7 +152,7 @@ func (*GetModeRequest) ProtoMessage() {} func (x *GetModeRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -189,9 +191,11 @@ type GetModeResponse struct { func (x *GetModeResponse) Reset() { *x = GetModeResponse{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetModeResponse) String() string { @@ -202,7 +206,7 @@ func (*GetModeResponse) ProtoMessage() {} func (x *GetModeResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -237,9 +241,11 @@ type SetModeRequest struct { func (x *SetModeRequest) Reset() { *x = SetModeRequest{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetModeRequest) String() string { @@ -250,7 +256,7 @@ func (*SetModeRequest) ProtoMessage() {} func (x *SetModeRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -294,9 +300,11 @@ type SetModeResponse struct { func (x *SetModeResponse) Reset() { *x = SetModeResponse{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetModeResponse) String() string { @@ -307,7 +315,7 @@ func (*SetModeResponse) ProtoMessage() {} func (x *SetModeResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -333,9 +341,11 @@ type Waypoint struct { func (x *Waypoint) Reset() { *x = Waypoint{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Waypoint) String() string { @@ -346,7 +356,7 @@ func (*Waypoint) ProtoMessage() {} func (x *Waypoint) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -387,9 +397,11 @@ type GetLocationRequest struct { func (x *GetLocationRequest) Reset() { *x = GetLocationRequest{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetLocationRequest) String() string { @@ -400,7 +412,7 @@ func (*GetLocationRequest) ProtoMessage() {} func (x *GetLocationRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -442,9 +454,11 @@ type GetLocationResponse struct { func (x *GetLocationResponse) Reset() { *x = GetLocationResponse{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetLocationResponse) String() string { @@ -455,7 +469,7 @@ func (*GetLocationResponse) ProtoMessage() {} func (x *GetLocationResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -496,9 +510,11 @@ type GetWaypointsRequest struct { func (x *GetWaypointsRequest) Reset() { *x = GetWaypointsRequest{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetWaypointsRequest) String() string { @@ -509,7 +525,7 @@ func (*GetWaypointsRequest) ProtoMessage() {} func (x *GetWaypointsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -548,9 +564,11 @@ type GetWaypointsResponse struct { func (x *GetWaypointsResponse) Reset() { *x = GetWaypointsResponse{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetWaypointsResponse) String() string { @@ -561,7 +579,7 @@ func (*GetWaypointsResponse) ProtoMessage() {} func (x *GetWaypointsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -596,9 +614,11 @@ type AddWaypointRequest struct { func (x *AddWaypointRequest) Reset() { *x = AddWaypointRequest{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddWaypointRequest) String() string { @@ -609,7 +629,7 @@ func (*AddWaypointRequest) ProtoMessage() {} func (x *AddWaypointRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -653,9 +673,11 @@ type AddWaypointResponse struct { func (x *AddWaypointResponse) Reset() { *x = AddWaypointResponse{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddWaypointResponse) String() string { @@ -666,7 +688,7 @@ func (*AddWaypointResponse) ProtoMessage() {} func (x *AddWaypointResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -694,9 +716,11 @@ type RemoveWaypointRequest struct { func (x *RemoveWaypointRequest) Reset() { *x = RemoveWaypointRequest{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveWaypointRequest) String() string { @@ -707,7 +731,7 @@ func (*RemoveWaypointRequest) ProtoMessage() {} func (x *RemoveWaypointRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -751,9 +775,11 @@ type RemoveWaypointResponse struct { func (x *RemoveWaypointResponse) Reset() { *x = RemoveWaypointResponse{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveWaypointResponse) String() string { @@ -764,7 +790,7 @@ func (*RemoveWaypointResponse) ProtoMessage() {} func (x *RemoveWaypointResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -795,9 +821,11 @@ type GetObstaclesRequest struct { func (x *GetObstaclesRequest) Reset() { *x = GetObstaclesRequest{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetObstaclesRequest) String() string { @@ -808,7 +836,7 @@ func (*GetObstaclesRequest) ProtoMessage() {} func (x *GetObstaclesRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -848,9 +876,11 @@ type GetObstaclesResponse struct { func (x *GetObstaclesResponse) Reset() { *x = GetObstaclesResponse{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetObstaclesResponse) String() string { @@ -861,7 +891,7 @@ func (*GetObstaclesResponse) ProtoMessage() {} func (x *GetObstaclesResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -899,9 +929,11 @@ type Path struct { func (x *Path) Reset() { *x = Path{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Path) String() string { @@ -912,7 +944,7 @@ func (*Path) ProtoMessage() {} func (x *Path) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -954,9 +986,11 @@ type GetPathsRequest struct { func (x *GetPathsRequest) Reset() { *x = GetPathsRequest{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPathsRequest) String() string { @@ -967,7 +1001,7 @@ func (*GetPathsRequest) ProtoMessage() {} func (x *GetPathsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[16] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1006,9 +1040,11 @@ type GetPathsResponse struct { func (x *GetPathsResponse) Reset() { *x = GetPathsResponse{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPathsResponse) String() string { @@ -1019,7 +1055,7 @@ func (*GetPathsResponse) ProtoMessage() {} func (x *GetPathsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[17] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1052,9 +1088,11 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesRequest) String() string { @@ -1065,7 +1103,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[18] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1098,9 +1136,11 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - mi := &file_service_navigation_v1_navigation_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_navigation_v1_navigation_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesResponse) String() string { @@ -1111,7 +1151,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[19] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1387,7 +1427,7 @@ func file_service_navigation_v1_navigation_proto_rawDescGZIP() []byte { var file_service_navigation_v1_navigation_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_service_navigation_v1_navigation_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_service_navigation_v1_navigation_proto_goTypes = []any{ +var file_service_navigation_v1_navigation_proto_goTypes = []interface{}{ (MapType)(0), // 0: viam.service.navigation.v1.MapType (Mode)(0), // 1: viam.service.navigation.v1.Mode (*GetModeRequest)(nil), // 2: viam.service.navigation.v1.GetModeRequest @@ -1467,6 +1507,248 @@ func file_service_navigation_v1_navigation_proto_init() { if File_service_navigation_v1_navigation_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_service_navigation_v1_navigation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetModeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetModeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetModeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetModeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Waypoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLocationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLocationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWaypointsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWaypointsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddWaypointRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddWaypointResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveWaypointRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveWaypointResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetObstaclesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetObstaclesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Path); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPathsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPathsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_navigation_v1_navigation_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesResponse); 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{ diff --git a/service/navigation/v1/navigation.pb.gw.go b/service/navigation/v1/navigation.pb.gw.go index 7c54c601..40f687bd 100644 --- a/service/navigation/v1/navigation.pb.gw.go +++ b/service/navigation/v1/navigation.pb.gw.go @@ -996,21 +996,21 @@ func RegisterNavigationServiceHandlerServer(ctx context.Context, mux *runtime.Se // RegisterNavigationServiceHandlerFromEndpoint is same as RegisterNavigationServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterNavigationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/sensors/v1/sensors.pb.go b/service/sensors/v1/sensors.pb.go index fe7a02e0..3b97e12a 100644 --- a/service/sensors/v1/sensors.pb.go +++ b/service/sensors/v1/sensors.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // service/sensors/v1/sensors.proto is a deprecated file. @@ -25,25 +25,27 @@ const ( // The sensors service messages are deprecated // -// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. +// Deprecated: Do not use. type GetSensorsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. + // Deprecated: Do not use. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Additional arguments to the method // - // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. + // Deprecated: Do not use. Extra *structpb.Struct `protobuf:"bytes,99,opt,name=extra,proto3" json:"extra,omitempty"` } func (x *GetSensorsRequest) Reset() { *x = GetSensorsRequest{} - mi := &file_service_sensors_v1_sensors_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_sensors_v1_sensors_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSensorsRequest) String() string { @@ -54,7 +56,7 @@ func (*GetSensorsRequest) ProtoMessage() {} func (x *GetSensorsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_sensors_v1_sensors_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,7 +71,7 @@ func (*GetSensorsRequest) Descriptor() ([]byte, []int) { return file_service_sensors_v1_sensors_proto_rawDescGZIP(), []int{0} } -// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. +// Deprecated: Do not use. func (x *GetSensorsRequest) GetName() string { if x != nil { return x.Name @@ -77,7 +79,7 @@ func (x *GetSensorsRequest) GetName() string { return "" } -// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. +// Deprecated: Do not use. func (x *GetSensorsRequest) GetExtra() *structpb.Struct { if x != nil { return x.Extra @@ -85,21 +87,23 @@ func (x *GetSensorsRequest) GetExtra() *structpb.Struct { return nil } -// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. +// Deprecated: Do not use. type GetSensorsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. + // Deprecated: Do not use. SensorNames []*v1.ResourceName `protobuf:"bytes,1,rep,name=sensor_names,json=sensorNames,proto3" json:"sensor_names,omitempty"` } func (x *GetSensorsResponse) Reset() { *x = GetSensorsResponse{} - mi := &file_service_sensors_v1_sensors_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_sensors_v1_sensors_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetSensorsResponse) String() string { @@ -110,7 +114,7 @@ func (*GetSensorsResponse) ProtoMessage() {} func (x *GetSensorsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_sensors_v1_sensors_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -125,7 +129,7 @@ func (*GetSensorsResponse) Descriptor() ([]byte, []int) { return file_service_sensors_v1_sensors_proto_rawDescGZIP(), []int{1} } -// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. +// Deprecated: Do not use. func (x *GetSensorsResponse) GetSensorNames() []*v1.ResourceName { if x != nil { return x.SensorNames @@ -133,27 +137,29 @@ func (x *GetSensorsResponse) GetSensorNames() []*v1.ResourceName { return nil } -// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. +// Deprecated: Do not use. type GetReadingsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. + // Deprecated: Do not use. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. + // Deprecated: Do not use. SensorNames []*v1.ResourceName `protobuf:"bytes,2,rep,name=sensor_names,json=sensorNames,proto3" json:"sensor_names,omitempty"` // Additional arguments to the method // - // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. + // Deprecated: Do not use. Extra *structpb.Struct `protobuf:"bytes,99,opt,name=extra,proto3" json:"extra,omitempty"` } func (x *GetReadingsRequest) Reset() { *x = GetReadingsRequest{} - mi := &file_service_sensors_v1_sensors_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_sensors_v1_sensors_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetReadingsRequest) String() string { @@ -164,7 +170,7 @@ func (*GetReadingsRequest) ProtoMessage() {} func (x *GetReadingsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_sensors_v1_sensors_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -179,7 +185,7 @@ func (*GetReadingsRequest) Descriptor() ([]byte, []int) { return file_service_sensors_v1_sensors_proto_rawDescGZIP(), []int{2} } -// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. +// Deprecated: Do not use. func (x *GetReadingsRequest) GetName() string { if x != nil { return x.Name @@ -187,7 +193,7 @@ func (x *GetReadingsRequest) GetName() string { return "" } -// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. +// Deprecated: Do not use. func (x *GetReadingsRequest) GetSensorNames() []*v1.ResourceName { if x != nil { return x.SensorNames @@ -195,7 +201,7 @@ func (x *GetReadingsRequest) GetSensorNames() []*v1.ResourceName { return nil } -// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. +// Deprecated: Do not use. func (x *GetReadingsRequest) GetExtra() *structpb.Struct { if x != nil { return x.Extra @@ -203,23 +209,25 @@ func (x *GetReadingsRequest) GetExtra() *structpb.Struct { return nil } -// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. +// Deprecated: Do not use. type Readings struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. + // Deprecated: Do not use. Name *v1.ResourceName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. + // Deprecated: Do not use. Readings map[string]*structpb.Value `protobuf:"bytes,2,rep,name=readings,proto3" json:"readings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *Readings) Reset() { *x = Readings{} - mi := &file_service_sensors_v1_sensors_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_sensors_v1_sensors_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Readings) String() string { @@ -230,7 +238,7 @@ func (*Readings) ProtoMessage() {} func (x *Readings) ProtoReflect() protoreflect.Message { mi := &file_service_sensors_v1_sensors_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -245,7 +253,7 @@ func (*Readings) Descriptor() ([]byte, []int) { return file_service_sensors_v1_sensors_proto_rawDescGZIP(), []int{3} } -// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. +// Deprecated: Do not use. func (x *Readings) GetName() *v1.ResourceName { if x != nil { return x.Name @@ -253,7 +261,7 @@ func (x *Readings) GetName() *v1.ResourceName { return nil } -// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. +// Deprecated: Do not use. func (x *Readings) GetReadings() map[string]*structpb.Value { if x != nil { return x.Readings @@ -261,21 +269,23 @@ func (x *Readings) GetReadings() map[string]*structpb.Value { return nil } -// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. +// Deprecated: Do not use. type GetReadingsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. + // Deprecated: Do not use. Readings []*Readings `protobuf:"bytes,1,rep,name=readings,proto3" json:"readings,omitempty"` } func (x *GetReadingsResponse) Reset() { *x = GetReadingsResponse{} - mi := &file_service_sensors_v1_sensors_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_sensors_v1_sensors_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetReadingsResponse) String() string { @@ -286,7 +296,7 @@ func (*GetReadingsResponse) ProtoMessage() {} func (x *GetReadingsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_sensors_v1_sensors_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -301,7 +311,7 @@ func (*GetReadingsResponse) Descriptor() ([]byte, []int) { return file_service_sensors_v1_sensors_proto_rawDescGZIP(), []int{4} } -// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. +// Deprecated: Do not use. func (x *GetReadingsResponse) GetReadings() []*Readings { if x != nil { return x.Readings @@ -372,29 +382,29 @@ var file_service_sensors_v1_sensors_proto_rawDesc = []byte{ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x69, - 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, - 0x88, 0x02, 0x01, 0x12, 0xa1, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x69, + 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x88, 0x02, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, + 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x73, 0x65, 0x6e, 0x73, + 0x6f, 0x72, 0x73, 0x12, 0xa1, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x73, 0x65, 0x6e, - 0x73, 0x6f, 0x72, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x72, 0x65, 0x61, 0x64, - 0x69, 0x6e, 0x67, 0x73, 0x88, 0x02, 0x01, 0x12, 0x8b, 0x01, 0x0a, 0x09, 0x44, 0x6f, 0x43, 0x6f, + 0x88, 0x02, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x76, 0x69, 0x61, 0x6d, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, + 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x72, + 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x8b, 0x01, 0x0a, 0x09, 0x44, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x30, 0x22, 0x2e, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, - 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, - 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x64, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x88, 0x02, 0x01, 0x42, 0x44, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x69, 0x61, + 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x88, 0x02, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x22, 0x2e, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x73, 0x65, 0x6e, 0x73, + 0x6f, 0x72, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x64, 0x6f, 0x5f, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x42, 0x44, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x5a, 0x22, 0x67, 0x6f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x73, 0x65, @@ -415,7 +425,7 @@ func file_service_sensors_v1_sensors_proto_rawDescGZIP() []byte { } var file_service_sensors_v1_sensors_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_service_sensors_v1_sensors_proto_goTypes = []any{ +var file_service_sensors_v1_sensors_proto_goTypes = []interface{}{ (*GetSensorsRequest)(nil), // 0: viam.service.sensors.v1.GetSensorsRequest (*GetSensorsResponse)(nil), // 1: viam.service.sensors.v1.GetSensorsResponse (*GetReadingsRequest)(nil), // 2: viam.service.sensors.v1.GetReadingsRequest @@ -455,6 +465,68 @@ func file_service_sensors_v1_sensors_proto_init() { if File_service_sensors_v1_sensors_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_service_sensors_v1_sensors_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSensorsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_sensors_v1_sensors_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSensorsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_sensors_v1_sensors_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReadingsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_sensors_v1_sensors_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Readings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_sensors_v1_sensors_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetReadingsResponse); 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{ diff --git a/service/sensors/v1/sensors.pb.gw.go b/service/sensors/v1/sensors.pb.gw.go index ef72102e..b0c69d02 100644 --- a/service/sensors/v1/sensors.pb.gw.go +++ b/service/sensors/v1/sensors.pb.gw.go @@ -329,21 +329,21 @@ func RegisterSensorsServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterSensorsServiceHandlerFromEndpoint is same as RegisterSensorsServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterSensorsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/shell/v1/shell.pb.go b/service/shell/v1/shell.pb.go index 109c10c6..842c3634 100644 --- a/service/shell/v1/shell.pb.go +++ b/service/shell/v1/shell.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: service/shell/v1/shell.proto @@ -94,9 +94,11 @@ type ShellRequest struct { func (x *ShellRequest) Reset() { *x = ShellRequest{} - mi := &file_service_shell_v1_shell_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_shell_v1_shell_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ShellRequest) String() string { @@ -107,7 +109,7 @@ func (*ShellRequest) ProtoMessage() {} func (x *ShellRequest) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -155,9 +157,11 @@ type ShellResponse struct { func (x *ShellResponse) Reset() { *x = ShellResponse{} - mi := &file_service_shell_v1_shell_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_shell_v1_shell_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ShellResponse) String() string { @@ -168,7 +172,7 @@ func (*ShellResponse) ProtoMessage() {} func (x *ShellResponse) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -230,9 +234,11 @@ type FileData struct { func (x *FileData) Reset() { *x = FileData{} - mi := &file_service_shell_v1_shell_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_shell_v1_shell_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *FileData) String() string { @@ -243,7 +249,7 @@ func (*FileData) ProtoMessage() {} func (x *FileData) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -328,9 +334,11 @@ type CopyFilesToMachineRequestMetadata struct { func (x *CopyFilesToMachineRequestMetadata) Reset() { *x = CopyFilesToMachineRequestMetadata{} - mi := &file_service_shell_v1_shell_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_shell_v1_shell_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CopyFilesToMachineRequestMetadata) String() string { @@ -341,7 +349,7 @@ func (*CopyFilesToMachineRequestMetadata) ProtoMessage() {} func (x *CopyFilesToMachineRequestMetadata) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -405,9 +413,11 @@ type CopyFilesToMachineRequest struct { func (x *CopyFilesToMachineRequest) Reset() { *x = CopyFilesToMachineRequest{} - mi := &file_service_shell_v1_shell_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_shell_v1_shell_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CopyFilesToMachineRequest) String() string { @@ -418,7 +428,7 @@ func (*CopyFilesToMachineRequest) ProtoMessage() {} func (x *CopyFilesToMachineRequest) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -485,9 +495,11 @@ type CopyFilesToMachineResponse struct { func (x *CopyFilesToMachineResponse) Reset() { *x = CopyFilesToMachineResponse{} - mi := &file_service_shell_v1_shell_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_shell_v1_shell_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CopyFilesToMachineResponse) String() string { @@ -498,7 +510,7 @@ func (*CopyFilesToMachineResponse) ProtoMessage() {} func (x *CopyFilesToMachineResponse) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -541,9 +553,11 @@ type CopyFilesFromMachineRequestMetadata struct { func (x *CopyFilesFromMachineRequestMetadata) Reset() { *x = CopyFilesFromMachineRequestMetadata{} - mi := &file_service_shell_v1_shell_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_shell_v1_shell_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CopyFilesFromMachineRequestMetadata) String() string { @@ -554,7 +568,7 @@ func (*CopyFilesFromMachineRequestMetadata) ProtoMessage() {} func (x *CopyFilesFromMachineRequestMetadata) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -618,9 +632,11 @@ type CopyFilesFromMachineRequest struct { func (x *CopyFilesFromMachineRequest) Reset() { *x = CopyFilesFromMachineRequest{} - mi := &file_service_shell_v1_shell_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_shell_v1_shell_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CopyFilesFromMachineRequest) String() string { @@ -631,7 +647,7 @@ func (*CopyFilesFromMachineRequest) ProtoMessage() {} func (x *CopyFilesFromMachineRequest) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -697,9 +713,11 @@ type CopyFilesFromMachineResponseMetadata struct { func (x *CopyFilesFromMachineResponseMetadata) Reset() { *x = CopyFilesFromMachineResponseMetadata{} - mi := &file_service_shell_v1_shell_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_shell_v1_shell_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CopyFilesFromMachineResponseMetadata) String() string { @@ -710,7 +728,7 @@ func (*CopyFilesFromMachineResponseMetadata) ProtoMessage() {} func (x *CopyFilesFromMachineResponseMetadata) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -746,9 +764,11 @@ type CopyFilesFromMachineResponse struct { func (x *CopyFilesFromMachineResponse) Reset() { *x = CopyFilesFromMachineResponse{} - mi := &file_service_shell_v1_shell_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_shell_v1_shell_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CopyFilesFromMachineResponse) String() string { @@ -759,7 +779,7 @@ func (*CopyFilesFromMachineResponse) ProtoMessage() {} func (x *CopyFilesFromMachineResponse) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -992,7 +1012,7 @@ func file_service_shell_v1_shell_proto_rawDescGZIP() []byte { var file_service_shell_v1_shell_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_service_shell_v1_shell_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_service_shell_v1_shell_proto_goTypes = []any{ +var file_service_shell_v1_shell_proto_goTypes = []interface{}{ (CopyFilesSourceType)(0), // 0: viam.service.shell.v1.CopyFilesSourceType (*ShellRequest)(nil), // 1: viam.service.shell.v1.ShellRequest (*ShellResponse)(nil), // 2: viam.service.shell.v1.ShellResponse @@ -1041,16 +1061,138 @@ func file_service_shell_v1_shell_proto_init() { if File_service_shell_v1_shell_proto != nil { return } - file_service_shell_v1_shell_proto_msgTypes[2].OneofWrappers = []any{} - file_service_shell_v1_shell_proto_msgTypes[4].OneofWrappers = []any{ + if !protoimpl.UnsafeEnabled { + file_service_shell_v1_shell_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShellRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_shell_v1_shell_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShellResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_shell_v1_shell_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_shell_v1_shell_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CopyFilesToMachineRequestMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_shell_v1_shell_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CopyFilesToMachineRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_shell_v1_shell_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CopyFilesToMachineResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_shell_v1_shell_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CopyFilesFromMachineRequestMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_shell_v1_shell_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CopyFilesFromMachineRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_shell_v1_shell_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CopyFilesFromMachineResponseMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_shell_v1_shell_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CopyFilesFromMachineResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_service_shell_v1_shell_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_service_shell_v1_shell_proto_msgTypes[4].OneofWrappers = []interface{}{ (*CopyFilesToMachineRequest_Metadata)(nil), (*CopyFilesToMachineRequest_FileData)(nil), } - file_service_shell_v1_shell_proto_msgTypes[7].OneofWrappers = []any{ + file_service_shell_v1_shell_proto_msgTypes[7].OneofWrappers = []interface{}{ (*CopyFilesFromMachineRequest_Metadata)(nil), (*CopyFilesFromMachineRequest_AckLastFile)(nil), } - file_service_shell_v1_shell_proto_msgTypes[9].OneofWrappers = []any{ + file_service_shell_v1_shell_proto_msgTypes[9].OneofWrappers = []interface{}{ (*CopyFilesFromMachineResponse_Metadata)(nil), (*CopyFilesFromMachineResponse_FileData)(nil), } diff --git a/service/shell/v1/shell.pb.gw.go b/service/shell/v1/shell.pb.gw.go index ef031f86..660e30a8 100644 --- a/service/shell/v1/shell.pb.gw.go +++ b/service/shell/v1/shell.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -36,7 +36,7 @@ func request_ShellService_Shell_0(ctx context.Context, marshaler runtime.Marshal var metadata runtime.ServerMetadata stream, err := client.Shell(ctx) if err != nil { - grpclog.Errorf("Failed to start streaming: %v", err) + grpclog.Infof("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -47,11 +47,11 @@ func request_ShellService_Shell_0(ctx context.Context, marshaler runtime.Marshal return err } if err != nil { - grpclog.Errorf("Failed to decode request: %v", err) + grpclog.Infof("Failed to decode request: %v", err) return err } if err := stream.Send(&protoReq); err != nil { - grpclog.Errorf("Failed to send request: %v", err) + grpclog.Infof("Failed to send request: %v", err) return err } return nil @@ -63,12 +63,12 @@ func request_ShellService_Shell_0(ctx context.Context, marshaler runtime.Marshal } } if err := stream.CloseSend(); err != nil { - grpclog.Errorf("Failed to terminate client stream: %v", err) + grpclog.Infof("Failed to terminate client stream: %v", err) } }() header, err := stream.Header() if err != nil { - grpclog.Errorf("Failed to get header from client: %v", err) + grpclog.Infof("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -79,7 +79,7 @@ func request_ShellService_CopyFilesToMachine_0(ctx context.Context, marshaler ru var metadata runtime.ServerMetadata stream, err := client.CopyFilesToMachine(ctx) if err != nil { - grpclog.Errorf("Failed to start streaming: %v", err) + grpclog.Infof("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -90,11 +90,11 @@ func request_ShellService_CopyFilesToMachine_0(ctx context.Context, marshaler ru return err } if err != nil { - grpclog.Errorf("Failed to decode request: %v", err) + grpclog.Infof("Failed to decode request: %v", err) return err } if err := stream.Send(&protoReq); err != nil { - grpclog.Errorf("Failed to send request: %v", err) + grpclog.Infof("Failed to send request: %v", err) return err } return nil @@ -106,12 +106,12 @@ func request_ShellService_CopyFilesToMachine_0(ctx context.Context, marshaler ru } } if err := stream.CloseSend(); err != nil { - grpclog.Errorf("Failed to terminate client stream: %v", err) + grpclog.Infof("Failed to terminate client stream: %v", err) } }() header, err := stream.Header() if err != nil { - grpclog.Errorf("Failed to get header from client: %v", err) + grpclog.Infof("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -122,7 +122,7 @@ func request_ShellService_CopyFilesFromMachine_0(ctx context.Context, marshaler var metadata runtime.ServerMetadata stream, err := client.CopyFilesFromMachine(ctx) if err != nil { - grpclog.Errorf("Failed to start streaming: %v", err) + grpclog.Infof("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -133,11 +133,11 @@ func request_ShellService_CopyFilesFromMachine_0(ctx context.Context, marshaler return err } if err != nil { - grpclog.Errorf("Failed to decode request: %v", err) + grpclog.Infof("Failed to decode request: %v", err) return err } if err := stream.Send(&protoReq); err != nil { - grpclog.Errorf("Failed to send request: %v", err) + grpclog.Infof("Failed to send request: %v", err) return err } return nil @@ -149,12 +149,12 @@ func request_ShellService_CopyFilesFromMachine_0(ctx context.Context, marshaler } } if err := stream.CloseSend(); err != nil { - grpclog.Errorf("Failed to terminate client stream: %v", err) + grpclog.Infof("Failed to terminate client stream: %v", err) } }() header, err := stream.Header() if err != nil { - grpclog.Errorf("Failed to get header from client: %v", err) + grpclog.Infof("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -166,7 +166,7 @@ var ( ) func request_ShellService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client ShellServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -199,7 +199,7 @@ func request_ShellService_DoCommand_0(ctx context.Context, marshaler runtime.Mar } func local_request_ShellService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server ShellServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -289,21 +289,21 @@ func RegisterShellServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu // RegisterShellServiceHandlerFromEndpoint is same as RegisterShellServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterShellServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/slam/v1/slam.pb.go b/service/slam/v1/slam.pb.go index 3e31453a..8d74c104 100644 --- a/service/slam/v1/slam.pb.go +++ b/service/slam/v1/slam.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: service/slam/v1/slam.proto @@ -137,9 +137,11 @@ type GetPositionRequest struct { func (x *GetPositionRequest) Reset() { *x = GetPositionRequest{} - mi := &file_service_slam_v1_slam_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_slam_v1_slam_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPositionRequest) String() string { @@ -150,7 +152,7 @@ func (*GetPositionRequest) ProtoMessage() {} func (x *GetPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -183,9 +185,11 @@ type GetPositionResponse struct { func (x *GetPositionResponse) Reset() { *x = GetPositionResponse{} - mi := &file_service_slam_v1_slam_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_slam_v1_slam_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPositionResponse) String() string { @@ -196,7 +200,7 @@ func (*GetPositionResponse) ProtoMessage() {} func (x *GetPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -233,9 +237,11 @@ type GetPointCloudMapRequest struct { func (x *GetPointCloudMapRequest) Reset() { *x = GetPointCloudMapRequest{} - mi := &file_service_slam_v1_slam_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_slam_v1_slam_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPointCloudMapRequest) String() string { @@ -246,7 +252,7 @@ func (*GetPointCloudMapRequest) ProtoMessage() {} func (x *GetPointCloudMapRequest) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -303,9 +309,11 @@ type GetPointCloudMapResponse struct { func (x *GetPointCloudMapResponse) Reset() { *x = GetPointCloudMapResponse{} - mi := &file_service_slam_v1_slam_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_slam_v1_slam_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPointCloudMapResponse) String() string { @@ -316,7 +324,7 @@ func (*GetPointCloudMapResponse) ProtoMessage() {} func (x *GetPointCloudMapResponse) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -349,9 +357,11 @@ type GetInternalStateRequest struct { func (x *GetInternalStateRequest) Reset() { *x = GetInternalStateRequest{} - mi := &file_service_slam_v1_slam_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_slam_v1_slam_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetInternalStateRequest) String() string { @@ -362,7 +372,7 @@ func (*GetInternalStateRequest) ProtoMessage() {} func (x *GetInternalStateRequest) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -396,9 +406,11 @@ type GetInternalStateResponse struct { func (x *GetInternalStateResponse) Reset() { *x = GetInternalStateResponse{} - mi := &file_service_slam_v1_slam_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_slam_v1_slam_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetInternalStateResponse) String() string { @@ -409,7 +421,7 @@ func (*GetInternalStateResponse) ProtoMessage() {} func (x *GetInternalStateResponse) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -442,9 +454,11 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - mi := &file_service_slam_v1_slam_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_slam_v1_slam_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesRequest) String() string { @@ -455,7 +469,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -491,9 +505,11 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - mi := &file_service_slam_v1_slam_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_slam_v1_slam_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesResponse) String() string { @@ -504,7 +520,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -558,9 +574,11 @@ type SensorInfo struct { func (x *SensorInfo) Reset() { *x = SensorInfo{} - mi := &file_service_slam_v1_slam_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_slam_v1_slam_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SensorInfo) String() string { @@ -571,7 +589,7 @@ func (*SensorInfo) ProtoMessage() {} func (x *SensorInfo) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -750,7 +768,7 @@ func file_service_slam_v1_slam_proto_rawDescGZIP() []byte { var file_service_slam_v1_slam_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_service_slam_v1_slam_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_service_slam_v1_slam_proto_goTypes = []any{ +var file_service_slam_v1_slam_proto_goTypes = []interface{}{ (MappingMode)(0), // 0: viam.service.slam.v1.MappingMode (SensorType)(0), // 1: viam.service.slam.v1.SensorType (*GetPositionRequest)(nil), // 2: viam.service.slam.v1.GetPositionRequest @@ -793,8 +811,118 @@ func file_service_slam_v1_slam_proto_init() { if File_service_slam_v1_slam_proto != nil { return } - file_service_slam_v1_slam_proto_msgTypes[2].OneofWrappers = []any{} - file_service_slam_v1_slam_proto_msgTypes[7].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_service_slam_v1_slam_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPositionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_slam_v1_slam_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPositionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_slam_v1_slam_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPointCloudMapRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_slam_v1_slam_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPointCloudMapResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_slam_v1_slam_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInternalStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_slam_v1_slam_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInternalStateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_slam_v1_slam_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_slam_v1_slam_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_slam_v1_slam_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SensorInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_service_slam_v1_slam_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_service_slam_v1_slam_proto_msgTypes[7].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/service/slam/v1/slam.pb.gw.go b/service/slam/v1/slam.pb.gw.go index 99090f7e..afa099e2 100644 --- a/service/slam/v1/slam.pb.gw.go +++ b/service/slam/v1/slam.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -220,7 +220,7 @@ var ( ) func request_SLAMService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client SLAMServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -253,7 +253,7 @@ func request_SLAMService_DoCommand_0(ctx context.Context, marshaler runtime.Mars } func local_request_SLAMService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server SLAMServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -386,21 +386,21 @@ func RegisterSLAMServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux // RegisterSLAMServiceHandlerFromEndpoint is same as RegisterSLAMServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterSLAMServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/vision/v1/vision.pb.go b/service/vision/v1/vision.pb.go index 084c47a4..c87f9e3e 100644 --- a/service/vision/v1/vision.pb.go +++ b/service/vision/v1/vision.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: service/vision/v1/vision.proto @@ -45,9 +45,11 @@ type GetDetectionsRequest struct { func (x *GetDetectionsRequest) Reset() { *x = GetDetectionsRequest{} - mi := &file_service_vision_v1_vision_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetDetectionsRequest) String() string { @@ -58,7 +60,7 @@ func (*GetDetectionsRequest) ProtoMessage() {} func (x *GetDetectionsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -126,9 +128,11 @@ type GetDetectionsResponse struct { func (x *GetDetectionsResponse) Reset() { *x = GetDetectionsResponse{} - mi := &file_service_vision_v1_vision_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetDetectionsResponse) String() string { @@ -139,7 +143,7 @@ func (*GetDetectionsResponse) ProtoMessage() {} func (x *GetDetectionsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -175,9 +179,11 @@ type GetDetectionsFromCameraRequest struct { func (x *GetDetectionsFromCameraRequest) Reset() { *x = GetDetectionsFromCameraRequest{} - mi := &file_service_vision_v1_vision_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetDetectionsFromCameraRequest) String() string { @@ -188,7 +194,7 @@ func (*GetDetectionsFromCameraRequest) ProtoMessage() {} func (x *GetDetectionsFromCameraRequest) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -235,9 +241,11 @@ type GetDetectionsFromCameraResponse struct { func (x *GetDetectionsFromCameraResponse) Reset() { *x = GetDetectionsFromCameraResponse{} - mi := &file_service_vision_v1_vision_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetDetectionsFromCameraResponse) String() string { @@ -248,7 +256,7 @@ func (*GetDetectionsFromCameraResponse) ProtoMessage() {} func (x *GetDetectionsFromCameraResponse) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -288,9 +296,11 @@ type Detection struct { func (x *Detection) Reset() { *x = Detection{} - mi := &file_service_vision_v1_vision_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Detection) String() string { @@ -301,7 +311,7 @@ func (*Detection) ProtoMessage() {} func (x *Detection) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -381,9 +391,11 @@ type GetClassificationsRequest struct { func (x *GetClassificationsRequest) Reset() { *x = GetClassificationsRequest{} - mi := &file_service_vision_v1_vision_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetClassificationsRequest) String() string { @@ -394,7 +406,7 @@ func (*GetClassificationsRequest) ProtoMessage() {} func (x *GetClassificationsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -468,9 +480,11 @@ type GetClassificationsResponse struct { func (x *GetClassificationsResponse) Reset() { *x = GetClassificationsResponse{} - mi := &file_service_vision_v1_vision_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetClassificationsResponse) String() string { @@ -481,7 +495,7 @@ func (*GetClassificationsResponse) ProtoMessage() {} func (x *GetClassificationsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -520,9 +534,11 @@ type GetClassificationsFromCameraRequest struct { func (x *GetClassificationsFromCameraRequest) Reset() { *x = GetClassificationsFromCameraRequest{} - mi := &file_service_vision_v1_vision_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetClassificationsFromCameraRequest) String() string { @@ -533,7 +549,7 @@ func (*GetClassificationsFromCameraRequest) ProtoMessage() {} func (x *GetClassificationsFromCameraRequest) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -586,9 +602,11 @@ type GetClassificationsFromCameraResponse struct { func (x *GetClassificationsFromCameraResponse) Reset() { *x = GetClassificationsFromCameraResponse{} - mi := &file_service_vision_v1_vision_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetClassificationsFromCameraResponse) String() string { @@ -599,7 +617,7 @@ func (*GetClassificationsFromCameraResponse) ProtoMessage() {} func (x *GetClassificationsFromCameraResponse) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -635,9 +653,11 @@ type Classification struct { func (x *Classification) Reset() { *x = Classification{} - mi := &file_service_vision_v1_vision_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Classification) String() string { @@ -648,7 +668,7 @@ func (*Classification) ProtoMessage() {} func (x *Classification) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -693,9 +713,11 @@ type GetObjectPointCloudsRequest struct { func (x *GetObjectPointCloudsRequest) Reset() { *x = GetObjectPointCloudsRequest{} - mi := &file_service_vision_v1_vision_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetObjectPointCloudsRequest) String() string { @@ -706,7 +728,7 @@ func (*GetObjectPointCloudsRequest) ProtoMessage() {} func (x *GetObjectPointCloudsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -762,9 +784,11 @@ type GetObjectPointCloudsResponse struct { func (x *GetObjectPointCloudsResponse) Reset() { *x = GetObjectPointCloudsResponse{} - mi := &file_service_vision_v1_vision_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetObjectPointCloudsResponse) String() string { @@ -775,7 +799,7 @@ func (*GetObjectPointCloudsResponse) ProtoMessage() {} func (x *GetObjectPointCloudsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[11] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -817,9 +841,11 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - mi := &file_service_vision_v1_vision_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesRequest) String() string { @@ -830,7 +856,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[12] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -881,9 +907,11 @@ type CaptureAllFromCameraRequest struct { func (x *CaptureAllFromCameraRequest) Reset() { *x = CaptureAllFromCameraRequest{} - mi := &file_service_vision_v1_vision_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CaptureAllFromCameraRequest) String() string { @@ -894,7 +922,7 @@ func (*CaptureAllFromCameraRequest) ProtoMessage() {} func (x *CaptureAllFromCameraRequest) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[13] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -972,9 +1000,11 @@ type CaptureAllFromCameraResponse struct { func (x *CaptureAllFromCameraResponse) Reset() { *x = CaptureAllFromCameraResponse{} - mi := &file_service_vision_v1_vision_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *CaptureAllFromCameraResponse) String() string { @@ -985,7 +1015,7 @@ func (*CaptureAllFromCameraResponse) ProtoMessage() {} func (x *CaptureAllFromCameraResponse) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[14] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1050,9 +1080,11 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - mi := &file_service_vision_v1_vision_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_service_vision_v1_vision_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetPropertiesResponse) String() string { @@ -1063,7 +1095,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[15] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1393,7 +1425,7 @@ func file_service_vision_v1_vision_proto_rawDescGZIP() []byte { } var file_service_vision_v1_vision_proto_msgTypes = make([]protoimpl.MessageInfo, 16) -var file_service_vision_v1_vision_proto_goTypes = []any{ +var file_service_vision_v1_vision_proto_goTypes = []interface{}{ (*GetDetectionsRequest)(nil), // 0: viam.service.vision.v1.GetDetectionsRequest (*GetDetectionsResponse)(nil), // 1: viam.service.vision.v1.GetDetectionsResponse (*GetDetectionsFromCameraRequest)(nil), // 2: viam.service.vision.v1.GetDetectionsFromCameraRequest @@ -1462,7 +1494,201 @@ func file_service_vision_v1_vision_proto_init() { if File_service_vision_v1_vision_proto != nil { return } - file_service_vision_v1_vision_proto_msgTypes[4].OneofWrappers = []any{} + if !protoimpl.UnsafeEnabled { + file_service_vision_v1_vision_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDetectionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_vision_v1_vision_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDetectionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_vision_v1_vision_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDetectionsFromCameraRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_vision_v1_vision_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDetectionsFromCameraResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_vision_v1_vision_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Detection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_vision_v1_vision_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetClassificationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_vision_v1_vision_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetClassificationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_vision_v1_vision_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetClassificationsFromCameraRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_vision_v1_vision_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetClassificationsFromCameraResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_vision_v1_vision_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Classification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_vision_v1_vision_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetObjectPointCloudsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_vision_v1_vision_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetObjectPointCloudsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_vision_v1_vision_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_vision_v1_vision_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CaptureAllFromCameraRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_vision_v1_vision_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CaptureAllFromCameraResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_vision_v1_vision_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPropertiesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_service_vision_v1_vision_proto_msgTypes[4].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/service/vision/v1/vision.pb.gw.go b/service/vision/v1/vision.pb.gw.go index 0fcab91a..ca0af013 100644 --- a/service/vision/v1/vision.pb.gw.go +++ b/service/vision/v1/vision.pb.gw.go @@ -804,21 +804,21 @@ func RegisterVisionServiceHandlerServer(ctx context.Context, mux *runtime.ServeM // RegisterVisionServiceHandlerFromEndpoint is same as RegisterVisionServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterVisionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/stream/v1/stream.pb.go b/stream/v1/stream.pb.go index d2369d7f..024ebb6b 100644 --- a/stream/v1/stream.pb.go +++ b/stream/v1/stream.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: stream/v1/stream.proto @@ -29,9 +29,11 @@ type ListStreamsRequest struct { func (x *ListStreamsRequest) Reset() { *x = ListStreamsRequest{} - mi := &file_stream_v1_stream_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_stream_v1_stream_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListStreamsRequest) String() string { @@ -42,7 +44,7 @@ func (*ListStreamsRequest) ProtoMessage() {} func (x *ListStreamsRequest) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[0] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -68,9 +70,11 @@ type ListStreamsResponse struct { func (x *ListStreamsResponse) Reset() { *x = ListStreamsResponse{} - mi := &file_stream_v1_stream_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_stream_v1_stream_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *ListStreamsResponse) String() string { @@ -81,7 +85,7 @@ func (*ListStreamsResponse) ProtoMessage() {} func (x *ListStreamsResponse) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[1] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -114,9 +118,11 @@ type AddStreamRequest struct { func (x *AddStreamRequest) Reset() { *x = AddStreamRequest{} - mi := &file_stream_v1_stream_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_stream_v1_stream_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddStreamRequest) String() string { @@ -127,7 +133,7 @@ func (*AddStreamRequest) ProtoMessage() {} func (x *AddStreamRequest) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[2] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -158,9 +164,11 @@ type AddStreamResponse struct { func (x *AddStreamResponse) Reset() { *x = AddStreamResponse{} - mi := &file_stream_v1_stream_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_stream_v1_stream_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *AddStreamResponse) String() string { @@ -171,7 +179,7 @@ func (*AddStreamResponse) ProtoMessage() {} func (x *AddStreamResponse) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[3] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -197,9 +205,11 @@ type RemoveStreamRequest struct { func (x *RemoveStreamRequest) Reset() { *x = RemoveStreamRequest{} - mi := &file_stream_v1_stream_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_stream_v1_stream_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveStreamRequest) String() string { @@ -210,7 +220,7 @@ func (*RemoveStreamRequest) ProtoMessage() {} func (x *RemoveStreamRequest) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[4] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -241,9 +251,11 @@ type RemoveStreamResponse struct { func (x *RemoveStreamResponse) Reset() { *x = RemoveStreamResponse{} - mi := &file_stream_v1_stream_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_stream_v1_stream_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *RemoveStreamResponse) String() string { @@ -254,7 +266,7 @@ func (*RemoveStreamResponse) ProtoMessage() {} func (x *RemoveStreamResponse) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[5] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -281,9 +293,11 @@ type Resolution struct { func (x *Resolution) Reset() { *x = Resolution{} - mi := &file_stream_v1_stream_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_stream_v1_stream_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *Resolution) String() string { @@ -294,7 +308,7 @@ func (*Resolution) ProtoMessage() {} func (x *Resolution) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[6] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -334,9 +348,11 @@ type GetStreamOptionsRequest struct { func (x *GetStreamOptionsRequest) Reset() { *x = GetStreamOptionsRequest{} - mi := &file_stream_v1_stream_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_stream_v1_stream_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetStreamOptionsRequest) String() string { @@ -347,7 +363,7 @@ func (*GetStreamOptionsRequest) ProtoMessage() {} func (x *GetStreamOptionsRequest) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[7] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -380,9 +396,11 @@ type GetStreamOptionsResponse struct { func (x *GetStreamOptionsResponse) Reset() { *x = GetStreamOptionsResponse{} - mi := &file_stream_v1_stream_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_stream_v1_stream_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *GetStreamOptionsResponse) String() string { @@ -393,7 +411,7 @@ func (*GetStreamOptionsResponse) ProtoMessage() {} func (x *GetStreamOptionsResponse) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[8] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -427,9 +445,11 @@ type SetStreamOptionsRequest struct { func (x *SetStreamOptionsRequest) Reset() { *x = SetStreamOptionsRequest{} - mi := &file_stream_v1_stream_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_stream_v1_stream_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetStreamOptionsRequest) String() string { @@ -440,7 +460,7 @@ func (*SetStreamOptionsRequest) ProtoMessage() {} func (x *SetStreamOptionsRequest) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[9] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -478,9 +498,11 @@ type SetStreamOptionsResponse struct { func (x *SetStreamOptionsResponse) Reset() { *x = SetStreamOptionsResponse{} - mi := &file_stream_v1_stream_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if protoimpl.UnsafeEnabled { + mi := &file_stream_v1_stream_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } func (x *SetStreamOptionsResponse) String() string { @@ -491,7 +513,7 @@ func (*SetStreamOptionsResponse) ProtoMessage() {} func (x *SetStreamOptionsResponse) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[10] - if x != nil { + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -595,7 +617,7 @@ func file_stream_v1_stream_proto_rawDescGZIP() []byte { } var file_stream_v1_stream_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_stream_v1_stream_proto_goTypes = []any{ +var file_stream_v1_stream_proto_goTypes = []interface{}{ (*ListStreamsRequest)(nil), // 0: proto.stream.v1.ListStreamsRequest (*ListStreamsResponse)(nil), // 1: proto.stream.v1.ListStreamsResponse (*AddStreamRequest)(nil), // 2: proto.stream.v1.AddStreamRequest @@ -633,6 +655,140 @@ func file_stream_v1_stream_proto_init() { if File_stream_v1_stream_proto != nil { return } + if !protoimpl.UnsafeEnabled { + file_stream_v1_stream_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListStreamsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stream_v1_stream_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListStreamsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stream_v1_stream_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stream_v1_stream_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stream_v1_stream_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stream_v1_stream_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stream_v1_stream_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Resolution); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stream_v1_stream_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStreamOptionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stream_v1_stream_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetStreamOptionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stream_v1_stream_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetStreamOptionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stream_v1_stream_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetStreamOptionsResponse); 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{ diff --git a/stream/v1/stream.pb.gw.go b/stream/v1/stream.pb.gw.go index 3cd878df..aa5e3d42 100644 --- a/stream/v1/stream.pb.gw.go +++ b/stream/v1/stream.pb.gw.go @@ -35,7 +35,11 @@ func request_StreamService_ListStreams_0(ctx context.Context, marshaler runtime. var protoReq ListStreamsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -48,7 +52,11 @@ func local_request_StreamService_ListStreams_0(ctx context.Context, marshaler ru var protoReq ListStreamsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -61,7 +69,11 @@ func request_StreamService_AddStream_0(ctx context.Context, marshaler runtime.Ma var protoReq AddStreamRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -74,7 +86,11 @@ func local_request_StreamService_AddStream_0(ctx context.Context, marshaler runt var protoReq AddStreamRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -87,7 +103,11 @@ func request_StreamService_GetStreamOptions_0(ctx context.Context, marshaler run var protoReq GetStreamOptionsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -100,7 +120,11 @@ func local_request_StreamService_GetStreamOptions_0(ctx context.Context, marshal var protoReq GetStreamOptionsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -113,7 +137,11 @@ func request_StreamService_SetStreamOptions_0(ctx context.Context, marshaler run var protoReq SetStreamOptionsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -126,7 +154,11 @@ func local_request_StreamService_SetStreamOptions_0(ctx context.Context, marshal var protoReq SetStreamOptionsRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -139,7 +171,11 @@ func request_StreamService_RemoveStream_0(ctx context.Context, marshaler runtime var protoReq RemoveStreamRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -152,7 +188,11 @@ func local_request_StreamService_RemoveStream_0(ctx context.Context, marshaler r var protoReq RemoveStreamRequest var metadata runtime.ServerMetadata - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -298,21 +338,21 @@ func RegisterStreamServiceHandlerServer(ctx context.Context, mux *runtime.ServeM // RegisterStreamServiceHandlerFromEndpoint is same as RegisterStreamServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterStreamServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.NewClient(endpoint, opts...) + conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/tagger/v1/tagger.pb.go b/tagger/v1/tagger.pb.go index 5a7b9515..ceb92b0e 100644 --- a/tagger/v1/tagger.pb.go +++ b/tagger/v1/tagger.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: tagger/v1/tagger.proto @@ -76,7 +76,7 @@ var file_tagger_v1_tagger_proto_rawDesc = []byte{ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_tagger_v1_tagger_proto_goTypes = []any{ +var file_tagger_v1_tagger_proto_goTypes = []interface{}{ (*descriptorpb.FieldOptions)(nil), // 0: google.protobuf.FieldOptions (*descriptorpb.OneofOptions)(nil), // 1: google.protobuf.OneofOptions } From d365c49dbac36e2ced4eb20680efdd67fb703d48 Mon Sep 17 00:00:00 2001 From: Julia Ruddy Date: Mon, 11 Nov 2024 17:14:22 -0500 Subject: [PATCH 3/6] Revert "roxy comments" This reverts commit 8150276973fcdcf60851346971c34d597f5ff0f1. --- app/agent/v1/agent.pb.go | 116 +- app/agent/v1/agent.pb.gw.go | 18 +- app/build/v1/build.pb.go | 520 +- app/build/v1/build.pb.gw.go | 120 +- app/cloudslam/v1/cloud_slam.pb.go | 358 +- app/cloudslam/v1/cloud_slam.pb.gw.go | 78 +- app/data/v1/data.pb.go | 1200 +-- app/data/v1/data.pb.gw.go | 258 +- app/dataset/v1/dataset.pb.go | 248 +- app/dataset/v1/dataset.pb.gw.go | 66 +- app/datasync/v1/data_sync.pb.go | 298 +- app/datasync/v1/data_sync.pb.gw.go | 26 +- app/mlinference/v1/ml_inference.pb.go | 50 +- app/mlinference/v1/ml_inference.pb.gw.go | 18 +- app/mltraining/v1/ml_training.pb.go | 360 +- app/mltraining/v1/ml_training.pb.gw.go | 90 +- app/packages/v1/packages.pb.go | 258 +- app/packages/v1/packages.pb.gw.go | 16 +- app/v1/app.pb.go | 9012 ++++++----------- app/v1/app.pb.gw.go | 1019 +- app/v1/app_grpc.pb.go | 36 - app/v1/billing.pb.go | 382 +- app/v1/billing.pb.gw.go | 60 +- app/v1/end_user.pb.go | 226 +- app/v1/end_user.pb.gw.go | 66 +- app/v1/robot.pb.go | 900 +- app/v1/robot.pb.gw.go | 54 +- common/v1/common.pb.go | 584 +- component/arm/v1/arm.pb.go | 384 +- component/arm/v1/arm.pb.gw.go | 6 +- component/audioinput/v1/audioinput.pb.go | 162 +- component/audioinput/v1/audioinput.pb.gw.go | 12 +- component/base/v1/base.pb.go | 314 +- component/base/v1/base.pb.gw.go | 16 +- component/board/v1/board.pb.go | 514 +- component/board/v1/board.pb.gw.go | 16 +- component/camera/v1/camera.pb.go | 338 +- component/camera/v1/camera.pb.gw.go | 6 +- component/encoder/v1/encoder.pb.go | 140 +- component/encoder/v1/encoder.pb.gw.go | 6 +- component/gantry/v1/gantry.pb.go | 292 +- component/gantry/v1/gantry.pb.gw.go | 6 +- component/generic/v1/generic.pb.go | 4 +- component/generic/v1/generic.pb.gw.go | 6 +- component/gripper/v1/gripper.pb.go | 182 +- component/gripper/v1/gripper.pb.gw.go | 6 +- .../inputcontroller/v1/input_controller.pb.go | 248 +- .../v1/input_controller.pb.gw.go | 6 +- component/motor/v1/motor.pb.go | 468 +- component/motor/v1/motor.pb.gw.go | 6 +- .../movementsensor/v1/movementsensor.pb.go | 360 +- .../movementsensor/v1/movementsensor.pb.gw.go | 6 +- component/posetracker/v1/pose_tracker.pb.go | 50 +- .../posetracker/v1/pose_tracker.pb.gw.go | 16 +- component/powersensor/v1/powersensor.pb.go | 138 +- component/powersensor/v1/powersensor.pb.gw.go | 16 +- component/sensor/v1/sensor.pb.go | 4 +- component/sensor/v1/sensor.pb.gw.go | 6 +- component/servo/v1/servo.pb.go | 204 +- component/servo/v1/servo.pb.gw.go | 6 +- component/testecho/v1/testecho.pb.go | 182 +- component/testecho/v1/testecho.pb.gw.go | 46 +- gen/js/app/agent/v1/agent_pb.js | 48 +- gen/js/app/build/v1/build_pb.js | 92 +- gen/js/app/cloudslam/v1/cloud_slam_pb.js | 102 +- gen/js/app/data/v1/data_pb.js | 289 +- gen/js/app/dataset/v1/dataset_pb.js | 36 +- gen/js/app/datasync/v1/data_sync_pb.js | 88 +- gen/js/app/mlinference/v1/ml_inference_pb.js | 16 +- gen/js/app/mltraining/v1/ml_training_pb.js | 105 +- gen/js/app/packages/v1/packages_pb.js | 76 +- gen/js/app/v1/app_grpc_web_pb.js | 61 - gen/js/app/v1/app_pb.d.ts | 42 - gen/js/app/v1/app_pb.js | 1127 +-- gen/js/app/v1/app_pb_service.d.ts | 19 - gen/js/app/v1/app_pb_service.js | 40 - gen/js/app/v1/billing_pb.js | 100 +- gen/js/app/v1/end_user_pb.js | 58 +- gen/js/app/v1/robot_pb.js | 332 +- gen/js/common/v1/common_pb.js | 145 +- gen/js/component/arm/v1/arm_pb.js | 60 +- .../component/audioinput/v1/audioinput_pb.js | 46 +- gen/js/component/base/v1/base_pb.js | 58 +- gen/js/component/board/v1/board_pb.js | 116 +- gen/js/component/camera/v1/camera_pb.js | 94 +- gen/js/component/encoder/v1/encoder_pb.js | 30 +- gen/js/component/gantry/v1/gantry_pb.js | 48 +- gen/js/component/generic/v1/generic_pb.js | 8 +- gen/js/component/gripper/v1/gripper_pb.js | 28 +- .../inputcontroller/v1/input_controller_pb.js | 50 +- gen/js/component/motor/v1/motor_pb.js | 76 +- .../movementsensor/v1/movementsensor_pb.js | 79 +- .../posetracker/v1/pose_tracker_pb.js | 19 +- .../powersensor/v1/powersensor_pb.js | 30 +- gen/js/component/sensor/v1/sensor_pb.js | 8 +- gen/js/component/servo/v1/servo_pb.js | 32 +- gen/js/component/testecho/v1/testecho_pb.js | 28 +- gen/js/google/api/annotations_pb.js | 8 +- gen/js/google/api/client_pb.js | 119 +- gen/js/google/api/expr/v1alpha1/checked_pb.js | 96 +- gen/js/google/api/expr/v1alpha1/eval_pb.js | 26 +- gen/js/google/api/expr/v1alpha1/explain_pb.js | 16 +- gen/js/google/api/expr/v1alpha1/syntax_pb.js | 130 +- gen/js/google/api/expr/v1alpha1/value_pb.js | 44 +- gen/js/google/api/expr/v1beta1/decl_pb.js | 34 +- gen/js/google/api/expr/v1beta1/eval_pb.js | 28 +- gen/js/google/api/expr/v1beta1/expr_pb.js | 86 +- gen/js/google/api/expr/v1beta1/source_pb.js | 25 +- gen/js/google/api/expr/v1beta1/value_pb.js | 44 +- gen/js/google/api/field_behavior_pb.js | 8 +- gen/js/google/api/field_info_pb.js | 14 +- gen/js/google/api/http_pb.js | 36 +- gen/js/google/api/httpbody_pb.js | 14 +- gen/js/google/api/launch_stage_pb.js | 8 +- gen/js/google/api/resource_pb.js | 26 +- gen/js/google/api/visibility_pb.js | 14 +- gen/js/google/bytestream/bytestream_pb.js | 32 +- gen/js/google/geo/type/viewport_pb.js | 12 +- gen/js/google/longrunning/operations_pb.js | 44 +- gen/js/google/rpc/code_pb.js | 8 +- .../rpc/context/attribute_context_pb.js | 125 +- gen/js/google/rpc/error_details_pb.js | 65 +- gen/js/google/rpc/status_pb.js | 14 +- gen/js/google/type/calendar_period_pb.js | 8 +- gen/js/google/type/color_pb.js | 16 +- gen/js/google/type/date_pb.js | 14 +- gen/js/google/type/datetime_pb.js | 30 +- gen/js/google/type/dayofweek_pb.js | 8 +- gen/js/google/type/decimal_pb.js | 10 +- gen/js/google/type/expr_pb.js | 16 +- gen/js/google/type/fraction_pb.js | 12 +- gen/js/google/type/interval_pb.js | 12 +- gen/js/google/type/latlng_pb.js | 12 +- gen/js/google/type/localized_text_pb.js | 12 +- gen/js/google/type/money_pb.js | 14 +- gen/js/google/type/month_pb.js | 8 +- gen/js/google/type/phone_number_pb.js | 18 +- gen/js/google/type/postal_address_pb.js | 30 +- gen/js/google/type/quaternion_pb.js | 16 +- gen/js/google/type/timeofday_pb.js | 16 +- gen/js/module/v1/module_pb.js | 38 +- gen/js/provisioning/v1/provisioning_pb.js | 52 +- gen/js/robot/v1/robot_pb.js | 152 +- .../service/datamanager/v1/data_manager_pb.js | 12 +- gen/js/service/generic/v1/generic_pb.js | 8 +- gen/js/service/mlmodel/v1/mlmodel_pb.js | 97 +- gen/js/service/motion/v1/motion_pb.js | 167 +- gen/js/service/navigation/v1/navigation_pb.js | 70 +- gen/js/service/sensors/v1/sensors_pb.js | 29 +- gen/js/service/shell/v1/shell_pb.js | 70 +- gen/js/service/slam/v1/slam_pb.js | 36 +- gen/js/service/vision/v1/vision_pb.js | 118 +- gen/js/stream/v1/stream_pb.js | 26 +- gen/js/tagger/v1/tagger_pb.js | 8 +- module/v1/module.pb.go | 270 +- module/v1/module.pb.gw.go | 66 +- proto/viam/app/datasync/v1/data_sync.proto | 12 +- proto/viam/app/packages/v1/packages.proto | 16 +- proto/viam/app/v1/app.proto | 9 +- proto/viam/component/arm/v1/arm.proto | 40 +- .../component/audioinput/v1/audioinput.proto | 16 +- proto/viam/component/base/v1/base.proto | 36 +- proto/viam/component/board/v1/board.proto | 52 +- proto/viam/component/camera/v1/camera.proto | 28 +- proto/viam/component/encoder/v1/encoder.proto | 20 +- proto/viam/component/gantry/v1/gantry.proto | 32 +- proto/viam/component/generic/v1/generic.proto | 8 +- proto/viam/component/gripper/v1/gripper.proto | 24 +- .../inputcontroller/v1/input_controller.proto | 24 +- proto/viam/component/motor/v1/motor.proto | 48 +- .../movementsensor/v1/movementsensor.proto | 44 +- .../posetracker/v1/pose_tracker.proto | 12 +- .../powersensor/v1/powersensor.proto | 20 +- proto/viam/component/sensor/v1/sensor.proto | 12 +- proto/viam/component/servo/v1/servo.proto | 24 +- proto/viam/robot/v1/robot.proto | 84 +- .../service/datamanager/v1/data_manager.proto | 8 +- proto/viam/service/generic/v1/generic.proto | 4 +- proto/viam/service/mlmodel/v1/mlmodel.proto | 8 +- proto/viam/service/motion/v1/motion.proto | 32 +- .../service/navigation/v1/navigation.proto | 40 +- proto/viam/service/sensors/v1/sensors.proto | 12 +- proto/viam/service/shell/v1/shell.proto | 4 +- proto/viam/service/slam/v1/slam.proto | 20 +- proto/viam/service/vision/v1/vision.proto | 32 +- provisioning/v1/provisioning.pb.go | 248 +- provisioning/v1/provisioning.pb.gw.go | 54 +- robot/v1/robot.pb.go | 1196 +-- robot/v1/robot.pb.gw.go | 6 +- service/datamanager/v1/data_manager.pb.go | 50 +- service/datamanager/v1/data_manager.pb.gw.go | 12 +- service/generic/v1/generic.pb.go | 4 +- service/generic/v1/generic.pb.gw.go | 6 +- service/mlmodel/v1/mlmodel.pb.go | 426 +- service/mlmodel/v1/mlmodel.pb.gw.go | 6 +- service/motion/v1/motion.pb.go | 616 +- service/motion/v1/motion.pb.gw.go | 12 +- service/navigation/v1/navigation.pb.go | 446 +- service/navigation/v1/navigation.pb.gw.go | 6 +- service/sensors/v1/sensors.pb.go | 188 +- service/sensors/v1/sensors.pb.gw.go | 6 +- service/shell/v1/shell.pb.go | 234 +- service/shell/v1/shell.pb.gw.go | 42 +- service/slam/v1/slam.pb.go | 208 +- service/slam/v1/slam.pb.gw.go | 12 +- service/vision/v1/vision.pb.go | 360 +- service/vision/v1/vision.pb.gw.go | 6 +- stream/v1/stream.pb.go | 248 +- stream/v1/stream.pb.gw.go | 66 +- tagger/v1/tagger.pb.go | 4 +- 210 files changed, 8825 insertions(+), 23100 deletions(-) diff --git a/app/agent/v1/agent.pb.go b/app/agent/v1/agent.pb.go index 6d3dadd3..26d91d59 100644 --- a/app/agent/v1/agent.pb.go +++ b/app/agent/v1/agent.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: app/agent/v1/agent.proto @@ -98,11 +98,9 @@ type DeviceAgentConfigRequest struct { func (x *DeviceAgentConfigRequest) Reset() { *x = DeviceAgentConfigRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_agent_v1_agent_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_agent_v1_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeviceAgentConfigRequest) String() string { @@ -113,7 +111,7 @@ func (*DeviceAgentConfigRequest) ProtoMessage() {} func (x *DeviceAgentConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_app_agent_v1_agent_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -163,11 +161,9 @@ type DeviceAgentConfigResponse struct { func (x *DeviceAgentConfigResponse) Reset() { *x = DeviceAgentConfigResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_agent_v1_agent_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_agent_v1_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeviceAgentConfigResponse) String() string { @@ -178,7 +174,7 @@ func (*DeviceAgentConfigResponse) ProtoMessage() {} func (x *DeviceAgentConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_app_agent_v1_agent_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -224,11 +220,9 @@ type DeviceSubsystemConfig struct { func (x *DeviceSubsystemConfig) Reset() { *x = DeviceSubsystemConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_agent_v1_agent_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_agent_v1_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeviceSubsystemConfig) String() string { @@ -239,7 +233,7 @@ func (*DeviceSubsystemConfig) ProtoMessage() {} func (x *DeviceSubsystemConfig) ProtoReflect() protoreflect.Message { mi := &file_app_agent_v1_agent_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -298,11 +292,9 @@ type HostInfo struct { func (x *HostInfo) Reset() { *x = HostInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_app_agent_v1_agent_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_agent_v1_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HostInfo) String() string { @@ -313,7 +305,7 @@ func (*HostInfo) ProtoMessage() {} func (x *HostInfo) ProtoReflect() protoreflect.Message { mi := &file_app_agent_v1_agent_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -368,11 +360,9 @@ type SubsystemUpdateInfo struct { func (x *SubsystemUpdateInfo) Reset() { *x = SubsystemUpdateInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_app_agent_v1_agent_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_agent_v1_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubsystemUpdateInfo) String() string { @@ -383,7 +373,7 @@ func (*SubsystemUpdateInfo) ProtoMessage() {} func (x *SubsystemUpdateInfo) ProtoReflect() protoreflect.Message { mi := &file_app_agent_v1_agent_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -548,7 +538,7 @@ func file_app_agent_v1_agent_proto_rawDescGZIP() []byte { var file_app_agent_v1_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_app_agent_v1_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_app_agent_v1_agent_proto_goTypes = []interface{}{ +var file_app_agent_v1_agent_proto_goTypes = []any{ (PackageFormat)(0), // 0: viam.app.agent.v1.PackageFormat (*DeviceAgentConfigRequest)(nil), // 1: viam.app.agent.v1.DeviceAgentConfigRequest (*DeviceAgentConfigResponse)(nil), // 2: viam.app.agent.v1.DeviceAgentConfigResponse @@ -583,68 +573,6 @@ func file_app_agent_v1_agent_proto_init() { if File_app_agent_v1_agent_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_app_agent_v1_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceAgentConfigRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_agent_v1_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceAgentConfigResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_agent_v1_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceSubsystemConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_agent_v1_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HostInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_agent_v1_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubsystemUpdateInfo); 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{ diff --git a/app/agent/v1/agent.pb.gw.go b/app/agent/v1/agent.pb.gw.go index 4d009a6a..0e9d7260 100644 --- a/app/agent/v1/agent.pb.gw.go +++ b/app/agent/v1/agent.pb.gw.go @@ -35,11 +35,7 @@ func request_AgentDeviceService_DeviceAgentConfig_0(ctx context.Context, marshal var protoReq DeviceAgentConfigRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_AgentDeviceService_DeviceAgentConfig_0(ctx context.Context, m var protoReq DeviceAgentConfigRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -102,21 +94,21 @@ func RegisterAgentDeviceServiceHandlerServer(ctx context.Context, mux *runtime.S // RegisterAgentDeviceServiceHandlerFromEndpoint is same as RegisterAgentDeviceServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterAgentDeviceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/build/v1/build.pb.go b/app/build/v1/build.pb.go index 70b99308..0359b36c 100644 --- a/app/build/v1/build.pb.go +++ b/app/build/v1/build.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: app/build/v1/build.proto @@ -98,11 +98,9 @@ type StartBuildRequest struct { func (x *StartBuildRequest) Reset() { *x = StartBuildRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartBuildRequest) String() string { @@ -113,7 +111,7 @@ func (*StartBuildRequest) ProtoMessage() {} func (x *StartBuildRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -187,11 +185,9 @@ type StartBuildResponse struct { func (x *StartBuildResponse) Reset() { *x = StartBuildResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartBuildResponse) String() string { @@ -202,7 +198,7 @@ func (*StartBuildResponse) ProtoMessage() {} func (x *StartBuildResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -235,11 +231,9 @@ type GetLogsRequest struct { func (x *GetLogsRequest) Reset() { *x = GetLogsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLogsRequest) String() string { @@ -250,7 +244,7 @@ func (*GetLogsRequest) ProtoMessage() {} func (x *GetLogsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -294,11 +288,9 @@ type GetLogsResponse struct { func (x *GetLogsResponse) Reset() { *x = GetLogsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLogsResponse) String() string { @@ -309,7 +301,7 @@ func (*GetLogsResponse) ProtoMessage() {} func (x *GetLogsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -353,11 +345,9 @@ type JobInfo struct { func (x *JobInfo) Reset() { *x = JobInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JobInfo) String() string { @@ -368,7 +358,7 @@ func (*JobInfo) ProtoMessage() {} func (x *JobInfo) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -442,11 +432,9 @@ type ListJobsRequest struct { func (x *ListJobsRequest) Reset() { *x = ListJobsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListJobsRequest) String() string { @@ -457,7 +445,7 @@ func (*ListJobsRequest) ProtoMessage() {} func (x *ListJobsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -504,11 +492,9 @@ type ListJobsResponse struct { func (x *ListJobsResponse) Reset() { *x = ListJobsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListJobsResponse) String() string { @@ -519,7 +505,7 @@ func (*ListJobsResponse) ProtoMessage() {} func (x *ListJobsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -563,11 +549,9 @@ type RepoLink struct { func (x *RepoLink) Reset() { *x = RepoLink{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RepoLink) String() string { @@ -578,7 +562,7 @@ func (*RepoLink) ProtoMessage() {} func (x *RepoLink) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -645,11 +629,9 @@ type LinkRepoRequest struct { func (x *LinkRepoRequest) Reset() { *x = LinkRepoRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LinkRepoRequest) String() string { @@ -660,7 +642,7 @@ func (*LinkRepoRequest) ProtoMessage() {} func (x *LinkRepoRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -692,11 +674,9 @@ type LinkRepoResponse struct { func (x *LinkRepoResponse) Reset() { *x = LinkRepoResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LinkRepoResponse) String() string { @@ -707,7 +687,7 @@ func (*LinkRepoResponse) ProtoMessage() {} func (x *LinkRepoResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -739,11 +719,9 @@ type UnlinkRepoRequest struct { func (x *UnlinkRepoRequest) Reset() { *x = UnlinkRepoRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UnlinkRepoRequest) String() string { @@ -754,7 +732,7 @@ func (*UnlinkRepoRequest) ProtoMessage() {} func (x *UnlinkRepoRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -784,11 +762,9 @@ type UnlinkRepoResponse struct { func (x *UnlinkRepoResponse) Reset() { *x = UnlinkRepoResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UnlinkRepoResponse) String() string { @@ -799,7 +775,7 @@ func (*UnlinkRepoResponse) ProtoMessage() {} func (x *UnlinkRepoResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -822,11 +798,9 @@ type ListRepoLinksRequest struct { func (x *ListRepoLinksRequest) Reset() { *x = ListRepoLinksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRepoLinksRequest) String() string { @@ -837,7 +811,7 @@ func (*ListRepoLinksRequest) ProtoMessage() {} func (x *ListRepoLinksRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -862,11 +836,9 @@ type ListRepoLinksResponse struct { func (x *ListRepoLinksResponse) Reset() { *x = ListRepoLinksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRepoLinksResponse) String() string { @@ -877,7 +849,7 @@ func (*ListRepoLinksResponse) ProtoMessage() {} func (x *ListRepoLinksResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -907,11 +879,9 @@ type ListAppLinksRequest struct { func (x *ListAppLinksRequest) Reset() { *x = ListAppLinksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListAppLinksRequest) String() string { @@ -922,7 +892,7 @@ func (*ListAppLinksRequest) ProtoMessage() {} func (x *ListAppLinksRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -955,11 +925,9 @@ type AppLink struct { func (x *AppLink) Reset() { *x = AppLink{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AppLink) String() string { @@ -970,7 +938,7 @@ func (*AppLink) ProtoMessage() {} func (x *AppLink) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1023,11 +991,9 @@ type ListAppLinksResponse struct { func (x *ListAppLinksResponse) Reset() { *x = ListAppLinksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListAppLinksResponse) String() string { @@ -1038,7 +1004,7 @@ func (*ListAppLinksResponse) ProtoMessage() {} func (x *ListAppLinksResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1071,11 +1037,9 @@ type RemoveAppLinkRequest struct { func (x *RemoveAppLinkRequest) Reset() { *x = RemoveAppLinkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveAppLinkRequest) String() string { @@ -1086,7 +1050,7 @@ func (*RemoveAppLinkRequest) ProtoMessage() {} func (x *RemoveAppLinkRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1116,11 +1080,9 @@ type RemoveAppLinkResponse struct { func (x *RemoveAppLinkResponse) Reset() { *x = RemoveAppLinkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveAppLinkResponse) String() string { @@ -1131,7 +1093,7 @@ func (*RemoveAppLinkResponse) ProtoMessage() {} func (x *RemoveAppLinkResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1158,11 +1120,9 @@ type LinkOrgRequest struct { func (x *LinkOrgRequest) Reset() { *x = LinkOrgRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LinkOrgRequest) String() string { @@ -1173,7 +1133,7 @@ func (*LinkOrgRequest) ProtoMessage() {} func (x *LinkOrgRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1210,11 +1170,9 @@ type LinkOrgResponse struct { func (x *LinkOrgResponse) Reset() { *x = LinkOrgResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LinkOrgResponse) String() string { @@ -1225,7 +1183,7 @@ func (*LinkOrgResponse) ProtoMessage() {} func (x *LinkOrgResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1252,11 +1210,9 @@ type UnlinkOrgRequest struct { func (x *UnlinkOrgRequest) Reset() { *x = UnlinkOrgRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UnlinkOrgRequest) String() string { @@ -1267,7 +1223,7 @@ func (*UnlinkOrgRequest) ProtoMessage() {} func (x *UnlinkOrgRequest) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1304,11 +1260,9 @@ type UnlinkOrgResponse struct { func (x *UnlinkOrgResponse) Reset() { *x = UnlinkOrgResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_build_v1_build_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_build_v1_build_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UnlinkOrgResponse) String() string { @@ -1319,7 +1273,7 @@ func (*UnlinkOrgResponse) ProtoMessage() {} func (x *UnlinkOrgResponse) ProtoReflect() protoreflect.Message { mi := &file_app_build_v1_build_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1551,7 +1505,7 @@ func file_app_build_v1_build_proto_rawDescGZIP() []byte { var file_app_build_v1_build_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_app_build_v1_build_proto_msgTypes = make([]protoimpl.MessageInfo, 23) -var file_app_build_v1_build_proto_goTypes = []interface{}{ +var file_app_build_v1_build_proto_goTypes = []any{ (JobStatus)(0), // 0: viam.app.build.v1.JobStatus (*StartBuildRequest)(nil), // 1: viam.app.build.v1.StartBuildRequest (*StartBuildResponse)(nil), // 2: viam.app.build.v1.StartBuildResponse @@ -1618,288 +1572,10 @@ func file_app_build_v1_build_proto_init() { if File_app_build_v1_build_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_app_build_v1_build_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartBuildRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartBuildResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLogsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLogsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JobInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListJobsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListJobsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepoLink); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LinkRepoRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LinkRepoResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnlinkRepoRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnlinkRepoResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRepoLinksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRepoLinksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAppLinksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppLink); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAppLinksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveAppLinkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveAppLinkResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LinkOrgRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LinkOrgResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnlinkOrgRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_build_v1_build_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnlinkOrgResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_app_build_v1_build_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_app_build_v1_build_proto_msgTypes[4].OneofWrappers = []interface{}{} - file_app_build_v1_build_proto_msgTypes[5].OneofWrappers = []interface{}{} - file_app_build_v1_build_proto_msgTypes[7].OneofWrappers = []interface{}{} + file_app_build_v1_build_proto_msgTypes[0].OneofWrappers = []any{} + file_app_build_v1_build_proto_msgTypes[4].OneofWrappers = []any{} + file_app_build_v1_build_proto_msgTypes[5].OneofWrappers = []any{} + file_app_build_v1_build_proto_msgTypes[7].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/app/build/v1/build.pb.gw.go b/app/build/v1/build.pb.gw.go index 8d6df72a..616bf1e1 100644 --- a/app/build/v1/build.pb.gw.go +++ b/app/build/v1/build.pb.gw.go @@ -35,11 +35,7 @@ func request_BuildService_StartBuild_0(ctx context.Context, marshaler runtime.Ma var protoReq StartBuildRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_BuildService_StartBuild_0(ctx context.Context, marshaler runt var protoReq StartBuildRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -69,11 +61,7 @@ func request_BuildService_GetLogs_0(ctx context.Context, marshaler runtime.Marsh var protoReq GetLogsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -94,11 +82,7 @@ func request_BuildService_ListJobs_0(ctx context.Context, marshaler runtime.Mars var protoReq ListJobsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -111,11 +95,7 @@ func local_request_BuildService_ListJobs_0(ctx context.Context, marshaler runtim var protoReq ListJobsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -128,11 +108,7 @@ func request_BuildService_LinkRepo_0(ctx context.Context, marshaler runtime.Mars var protoReq LinkRepoRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -145,11 +121,7 @@ func local_request_BuildService_LinkRepo_0(ctx context.Context, marshaler runtim var protoReq LinkRepoRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -162,11 +134,7 @@ func request_BuildService_UnlinkRepo_0(ctx context.Context, marshaler runtime.Ma var protoReq UnlinkRepoRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -179,11 +147,7 @@ func local_request_BuildService_UnlinkRepo_0(ctx context.Context, marshaler runt var protoReq UnlinkRepoRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -196,11 +160,7 @@ func request_BuildService_ListRepoLinks_0(ctx context.Context, marshaler runtime var protoReq ListRepoLinksRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -213,11 +173,7 @@ func local_request_BuildService_ListRepoLinks_0(ctx context.Context, marshaler r var protoReq ListRepoLinksRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -230,11 +186,7 @@ func request_BuildService_ListAppLinks_0(ctx context.Context, marshaler runtime. var protoReq ListAppLinksRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -247,11 +199,7 @@ func local_request_BuildService_ListAppLinks_0(ctx context.Context, marshaler ru var protoReq ListAppLinksRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -264,11 +212,7 @@ func request_BuildService_RemoveAppLink_0(ctx context.Context, marshaler runtime var protoReq RemoveAppLinkRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -281,11 +225,7 @@ func local_request_BuildService_RemoveAppLink_0(ctx context.Context, marshaler r var protoReq RemoveAppLinkRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -298,11 +238,7 @@ func request_BuildService_LinkOrg_0(ctx context.Context, marshaler runtime.Marsh var protoReq LinkOrgRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -315,11 +251,7 @@ func local_request_BuildService_LinkOrg_0(ctx context.Context, marshaler runtime var protoReq LinkOrgRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -332,11 +264,7 @@ func request_BuildService_UnlinkOrg_0(ctx context.Context, marshaler runtime.Mar var protoReq UnlinkOrgRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -349,11 +277,7 @@ func local_request_BuildService_UnlinkOrg_0(ctx context.Context, marshaler runti var protoReq UnlinkOrgRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -606,21 +530,21 @@ func RegisterBuildServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu // RegisterBuildServiceHandlerFromEndpoint is same as RegisterBuildServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterBuildServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/cloudslam/v1/cloud_slam.pb.go b/app/cloudslam/v1/cloud_slam.pb.go index 134312c2..4f9d6827 100644 --- a/app/cloudslam/v1/cloud_slam.pb.go +++ b/app/cloudslam/v1/cloud_slam.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: app/cloudslam/v1/cloud_slam.proto @@ -97,11 +97,9 @@ type StartMappingSessionRequest struct { func (x *StartMappingSessionRequest) Reset() { *x = StartMappingSessionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartMappingSessionRequest) String() string { @@ -112,7 +110,7 @@ func (*StartMappingSessionRequest) ProtoMessage() {} func (x *StartMappingSessionRequest) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -216,11 +214,9 @@ type Module struct { func (x *Module) Reset() { *x = Module{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Module) String() string { @@ -231,7 +227,7 @@ func (*Module) ProtoMessage() {} func (x *Module) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -280,11 +276,9 @@ type SensorInfo struct { func (x *SensorInfo) Reset() { *x = SensorInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SensorInfo) String() string { @@ -295,7 +289,7 @@ func (*SensorInfo) ProtoMessage() {} func (x *SensorInfo) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -343,11 +337,9 @@ type CaptureInterval struct { func (x *CaptureInterval) Reset() { *x = CaptureInterval{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CaptureInterval) String() string { @@ -358,7 +350,7 @@ func (*CaptureInterval) ProtoMessage() {} func (x *CaptureInterval) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -397,11 +389,9 @@ type StartMappingSessionResponse struct { func (x *StartMappingSessionResponse) Reset() { *x = StartMappingSessionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartMappingSessionResponse) String() string { @@ -412,7 +402,7 @@ func (*StartMappingSessionResponse) ProtoMessage() {} func (x *StartMappingSessionResponse) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -445,11 +435,9 @@ type GetActiveMappingSessionsForRobotRequest struct { func (x *GetActiveMappingSessionsForRobotRequest) Reset() { *x = GetActiveMappingSessionsForRobotRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetActiveMappingSessionsForRobotRequest) String() string { @@ -460,7 +448,7 @@ func (*GetActiveMappingSessionsForRobotRequest) ProtoMessage() {} func (x *GetActiveMappingSessionsForRobotRequest) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -492,11 +480,9 @@ type GetActiveMappingSessionsForRobotResponse struct { func (x *GetActiveMappingSessionsForRobotResponse) Reset() { *x = GetActiveMappingSessionsForRobotResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetActiveMappingSessionsForRobotResponse) String() string { @@ -507,7 +493,7 @@ func (*GetActiveMappingSessionsForRobotResponse) ProtoMessage() {} func (x *GetActiveMappingSessionsForRobotResponse) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -539,11 +525,9 @@ type GetMappingSessionPointCloudRequest struct { func (x *GetMappingSessionPointCloudRequest) Reset() { *x = GetMappingSessionPointCloudRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetMappingSessionPointCloudRequest) String() string { @@ -554,7 +538,7 @@ func (*GetMappingSessionPointCloudRequest) ProtoMessage() {} func (x *GetMappingSessionPointCloudRequest) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -589,11 +573,9 @@ type GetMappingSessionPointCloudResponse struct { func (x *GetMappingSessionPointCloudResponse) Reset() { *x = GetMappingSessionPointCloudResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetMappingSessionPointCloudResponse) String() string { @@ -604,7 +586,7 @@ func (*GetMappingSessionPointCloudResponse) ProtoMessage() {} func (x *GetMappingSessionPointCloudResponse) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -644,11 +626,9 @@ type ListMappingSessionsRequest struct { func (x *ListMappingSessionsRequest) Reset() { *x = ListMappingSessionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListMappingSessionsRequest) String() string { @@ -659,7 +639,7 @@ func (*ListMappingSessionsRequest) ProtoMessage() {} func (x *ListMappingSessionsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -698,11 +678,9 @@ type ListMappingSessionsResponse struct { func (x *ListMappingSessionsResponse) Reset() { *x = ListMappingSessionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListMappingSessionsResponse) String() string { @@ -713,7 +691,7 @@ func (*ListMappingSessionsResponse) ProtoMessage() {} func (x *ListMappingSessionsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -745,11 +723,9 @@ type StopMappingSessionRequest struct { func (x *StopMappingSessionRequest) Reset() { *x = StopMappingSessionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopMappingSessionRequest) String() string { @@ -760,7 +736,7 @@ func (*StopMappingSessionRequest) ProtoMessage() {} func (x *StopMappingSessionRequest) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -793,11 +769,9 @@ type StopMappingSessionResponse struct { func (x *StopMappingSessionResponse) Reset() { *x = StopMappingSessionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopMappingSessionResponse) String() string { @@ -808,7 +782,7 @@ func (*StopMappingSessionResponse) ProtoMessage() {} func (x *StopMappingSessionResponse) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -847,11 +821,9 @@ type GetMappingSessionMetadataByIDRequest struct { func (x *GetMappingSessionMetadataByIDRequest) Reset() { *x = GetMappingSessionMetadataByIDRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetMappingSessionMetadataByIDRequest) String() string { @@ -862,7 +834,7 @@ func (*GetMappingSessionMetadataByIDRequest) ProtoMessage() {} func (x *GetMappingSessionMetadataByIDRequest) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -894,11 +866,9 @@ type GetMappingSessionMetadataByIDResponse struct { func (x *GetMappingSessionMetadataByIDResponse) Reset() { *x = GetMappingSessionMetadataByIDResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetMappingSessionMetadataByIDResponse) String() string { @@ -909,7 +879,7 @@ func (*GetMappingSessionMetadataByIDResponse) ProtoMessage() {} func (x *GetMappingSessionMetadataByIDResponse) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -954,11 +924,9 @@ type MappingMetadata struct { func (x *MappingMetadata) Reset() { *x = MappingMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MappingMetadata) String() string { @@ -969,7 +937,7 @@ func (*MappingMetadata) ProtoMessage() {} func (x *MappingMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_cloudslam_v1_cloud_slam_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1332,7 +1300,7 @@ func file_app_cloudslam_v1_cloud_slam_proto_rawDescGZIP() []byte { var file_app_cloudslam_v1_cloud_slam_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_app_cloudslam_v1_cloud_slam_proto_msgTypes = make([]protoimpl.MessageInfo, 16) -var file_app_cloudslam_v1_cloud_slam_proto_goTypes = []interface{}{ +var file_app_cloudslam_v1_cloud_slam_proto_goTypes = []any{ (EndStatus)(0), // 0: viam.app.cloudslam.v1.EndStatus (*StartMappingSessionRequest)(nil), // 1: viam.app.cloudslam.v1.StartMappingSessionRequest (*Module)(nil), // 2: viam.app.cloudslam.v1.Module @@ -1393,200 +1361,6 @@ func file_app_cloudslam_v1_cloud_slam_proto_init() { if File_app_cloudslam_v1_cloud_slam_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartMappingSessionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Module); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SensorInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CaptureInterval); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartMappingSessionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetActiveMappingSessionsForRobotRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetActiveMappingSessionsForRobotResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMappingSessionPointCloudRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMappingSessionPointCloudResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMappingSessionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMappingSessionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopMappingSessionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopMappingSessionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMappingSessionMetadataByIDRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMappingSessionMetadataByIDResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_cloudslam_v1_cloud_slam_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MappingMetadata); 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{ diff --git a/app/cloudslam/v1/cloud_slam.pb.gw.go b/app/cloudslam/v1/cloud_slam.pb.gw.go index 8dc1e685..e900a100 100644 --- a/app/cloudslam/v1/cloud_slam.pb.gw.go +++ b/app/cloudslam/v1/cloud_slam.pb.gw.go @@ -35,11 +35,7 @@ func request_CloudSLAMService_StartMappingSession_0(ctx context.Context, marshal var protoReq StartMappingSessionRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_CloudSLAMService_StartMappingSession_0(ctx context.Context, m var protoReq StartMappingSessionRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -69,11 +61,7 @@ func request_CloudSLAMService_GetActiveMappingSessionsForRobot_0(ctx context.Con var protoReq GetActiveMappingSessionsForRobotRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -86,11 +74,7 @@ func local_request_CloudSLAMService_GetActiveMappingSessionsForRobot_0(ctx conte var protoReq GetActiveMappingSessionsForRobotRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -103,11 +87,7 @@ func request_CloudSLAMService_GetMappingSessionPointCloud_0(ctx context.Context, var protoReq GetMappingSessionPointCloudRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -120,11 +100,7 @@ func local_request_CloudSLAMService_GetMappingSessionPointCloud_0(ctx context.Co var protoReq GetMappingSessionPointCloudRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,11 +113,7 @@ func request_CloudSLAMService_ListMappingSessions_0(ctx context.Context, marshal var protoReq ListMappingSessionsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -154,11 +126,7 @@ func local_request_CloudSLAMService_ListMappingSessions_0(ctx context.Context, m var protoReq ListMappingSessionsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -171,11 +139,7 @@ func request_CloudSLAMService_StopMappingSession_0(ctx context.Context, marshale var protoReq StopMappingSessionRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -188,11 +152,7 @@ func local_request_CloudSLAMService_StopMappingSession_0(ctx context.Context, ma var protoReq StopMappingSessionRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -205,11 +165,7 @@ func request_CloudSLAMService_GetMappingSessionMetadataByID_0(ctx context.Contex var protoReq GetMappingSessionMetadataByIDRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -222,11 +178,7 @@ func local_request_CloudSLAMService_GetMappingSessionMetadataByID_0(ctx context. var protoReq GetMappingSessionMetadataByIDRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -397,21 +349,21 @@ func RegisterCloudSLAMServiceHandlerServer(ctx context.Context, mux *runtime.Ser // RegisterCloudSLAMServiceHandlerFromEndpoint is same as RegisterCloudSLAMServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterCloudSLAMServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/data/v1/data.pb.go b/app/data/v1/data.pb.go index 7b055643..e0ec5197 100644 --- a/app/data/v1/data.pb.go +++ b/app/data/v1/data.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: app/data/v1/data.proto @@ -148,11 +148,9 @@ type DataRequest struct { func (x *DataRequest) Reset() { *x = DataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataRequest) String() string { @@ -163,7 +161,7 @@ func (*DataRequest) ProtoMessage() {} func (x *DataRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -235,11 +233,9 @@ type Filter struct { func (x *Filter) Reset() { *x = Filter{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Filter) String() string { @@ -250,7 +246,7 @@ func (*Filter) ProtoMessage() {} func (x *Filter) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -376,11 +372,9 @@ type TagsFilter struct { func (x *TagsFilter) Reset() { *x = TagsFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TagsFilter) String() string { @@ -391,7 +385,7 @@ func (*TagsFilter) ProtoMessage() {} func (x *TagsFilter) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -442,11 +436,9 @@ type CaptureMetadata struct { func (x *CaptureMetadata) Reset() { *x = CaptureMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CaptureMetadata) String() string { @@ -457,7 +449,7 @@ func (*CaptureMetadata) ProtoMessage() {} func (x *CaptureMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -568,11 +560,9 @@ type CaptureInterval struct { func (x *CaptureInterval) Reset() { *x = CaptureInterval{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CaptureInterval) String() string { @@ -583,7 +573,7 @@ func (*CaptureInterval) ProtoMessage() {} func (x *CaptureInterval) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -625,11 +615,9 @@ type TabularDataByFilterRequest struct { func (x *TabularDataByFilterRequest) Reset() { *x = TabularDataByFilterRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TabularDataByFilterRequest) String() string { @@ -640,7 +628,7 @@ func (*TabularDataByFilterRequest) ProtoMessage() {} func (x *TabularDataByFilterRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -691,11 +679,9 @@ type TabularDataByFilterResponse struct { func (x *TabularDataByFilterResponse) Reset() { *x = TabularDataByFilterResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TabularDataByFilterResponse) String() string { @@ -706,7 +692,7 @@ func (*TabularDataByFilterResponse) ProtoMessage() {} func (x *TabularDataByFilterResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -770,11 +756,9 @@ type TabularData struct { func (x *TabularData) Reset() { *x = TabularData{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TabularData) String() string { @@ -785,7 +769,7 @@ func (*TabularData) ProtoMessage() {} func (x *TabularData) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -843,11 +827,9 @@ type TabularDataBySQLRequest struct { func (x *TabularDataBySQLRequest) Reset() { *x = TabularDataBySQLRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TabularDataBySQLRequest) String() string { @@ -858,7 +840,7 @@ func (*TabularDataBySQLRequest) ProtoMessage() {} func (x *TabularDataBySQLRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -899,11 +881,9 @@ type TabularDataBySQLResponse struct { func (x *TabularDataBySQLResponse) Reset() { *x = TabularDataBySQLResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TabularDataBySQLResponse) String() string { @@ -914,7 +894,7 @@ func (*TabularDataBySQLResponse) ProtoMessage() {} func (x *TabularDataBySQLResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -958,11 +938,9 @@ type TabularDataByMQLRequest struct { func (x *TabularDataByMQLRequest) Reset() { *x = TabularDataByMQLRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TabularDataByMQLRequest) String() string { @@ -973,7 +951,7 @@ func (*TabularDataByMQLRequest) ProtoMessage() {} func (x *TabularDataByMQLRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1014,11 +992,9 @@ type TabularDataByMQLResponse struct { func (x *TabularDataByMQLResponse) Reset() { *x = TabularDataByMQLResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TabularDataByMQLResponse) String() string { @@ -1029,7 +1005,7 @@ func (*TabularDataByMQLResponse) ProtoMessage() {} func (x *TabularDataByMQLResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1070,11 +1046,9 @@ type BinaryData struct { func (x *BinaryData) Reset() { *x = BinaryData{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BinaryData) String() string { @@ -1085,7 +1059,7 @@ func (*BinaryData) ProtoMessage() {} func (x *BinaryData) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1128,11 +1102,9 @@ type BinaryDataByFilterRequest struct { func (x *BinaryDataByFilterRequest) Reset() { *x = BinaryDataByFilterRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BinaryDataByFilterRequest) String() string { @@ -1143,7 +1115,7 @@ func (*BinaryDataByFilterRequest) ProtoMessage() {} func (x *BinaryDataByFilterRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1200,11 +1172,9 @@ type BinaryDataByFilterResponse struct { func (x *BinaryDataByFilterResponse) Reset() { *x = BinaryDataByFilterResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BinaryDataByFilterResponse) String() string { @@ -1215,7 +1185,7 @@ func (*BinaryDataByFilterResponse) ProtoMessage() {} func (x *BinaryDataByFilterResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1271,11 +1241,9 @@ type BinaryID struct { func (x *BinaryID) Reset() { *x = BinaryID{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BinaryID) String() string { @@ -1286,7 +1254,7 @@ func (*BinaryID) ProtoMessage() {} func (x *BinaryID) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1334,11 +1302,9 @@ type BinaryDataByIDsRequest struct { func (x *BinaryDataByIDsRequest) Reset() { *x = BinaryDataByIDsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BinaryDataByIDsRequest) String() string { @@ -1349,7 +1315,7 @@ func (*BinaryDataByIDsRequest) ProtoMessage() {} func (x *BinaryDataByIDsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1390,11 +1356,9 @@ type BinaryDataByIDsResponse struct { func (x *BinaryDataByIDsResponse) Reset() { *x = BinaryDataByIDsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BinaryDataByIDsResponse) String() string { @@ -1405,7 +1369,7 @@ func (*BinaryDataByIDsResponse) ProtoMessage() {} func (x *BinaryDataByIDsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1453,11 +1417,9 @@ type BoundingBox struct { func (x *BoundingBox) Reset() { *x = BoundingBox{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BoundingBox) String() string { @@ -1468,7 +1430,7 @@ func (*BoundingBox) ProtoMessage() {} func (x *BoundingBox) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1545,11 +1507,9 @@ type Classification struct { func (x *Classification) Reset() { *x = Classification{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Classification) String() string { @@ -1560,7 +1520,7 @@ func (*Classification) ProtoMessage() {} func (x *Classification) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1601,11 +1561,9 @@ type Annotations struct { func (x *Annotations) Reset() { *x = Annotations{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Annotations) String() string { @@ -1616,7 +1574,7 @@ func (*Annotations) ProtoMessage() {} func (x *Annotations) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1664,11 +1622,9 @@ type BinaryMetadata struct { func (x *BinaryMetadata) Reset() { *x = BinaryMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BinaryMetadata) String() string { @@ -1679,7 +1635,7 @@ func (*BinaryMetadata) ProtoMessage() {} func (x *BinaryMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1774,11 +1730,9 @@ type DeleteTabularDataRequest struct { func (x *DeleteTabularDataRequest) Reset() { *x = DeleteTabularDataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteTabularDataRequest) String() string { @@ -1789,7 +1743,7 @@ func (*DeleteTabularDataRequest) ProtoMessage() {} func (x *DeleteTabularDataRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1829,11 +1783,9 @@ type DeleteTabularDataResponse struct { func (x *DeleteTabularDataResponse) Reset() { *x = DeleteTabularDataResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteTabularDataResponse) String() string { @@ -1844,7 +1796,7 @@ func (*DeleteTabularDataResponse) ProtoMessage() {} func (x *DeleteTabularDataResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1878,11 +1830,9 @@ type DeleteBinaryDataByFilterRequest struct { func (x *DeleteBinaryDataByFilterRequest) Reset() { *x = DeleteBinaryDataByFilterRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteBinaryDataByFilterRequest) String() string { @@ -1893,7 +1843,7 @@ func (*DeleteBinaryDataByFilterRequest) ProtoMessage() {} func (x *DeleteBinaryDataByFilterRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1933,11 +1883,9 @@ type DeleteBinaryDataByFilterResponse struct { func (x *DeleteBinaryDataByFilterResponse) Reset() { *x = DeleteBinaryDataByFilterResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteBinaryDataByFilterResponse) String() string { @@ -1948,7 +1896,7 @@ func (*DeleteBinaryDataByFilterResponse) ProtoMessage() {} func (x *DeleteBinaryDataByFilterResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1981,11 +1929,9 @@ type DeleteBinaryDataByIDsRequest struct { func (x *DeleteBinaryDataByIDsRequest) Reset() { *x = DeleteBinaryDataByIDsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteBinaryDataByIDsRequest) String() string { @@ -1996,7 +1942,7 @@ func (*DeleteBinaryDataByIDsRequest) ProtoMessage() {} func (x *DeleteBinaryDataByIDsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2029,11 +1975,9 @@ type DeleteBinaryDataByIDsResponse struct { func (x *DeleteBinaryDataByIDsResponse) Reset() { *x = DeleteBinaryDataByIDsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteBinaryDataByIDsResponse) String() string { @@ -2044,7 +1988,7 @@ func (*DeleteBinaryDataByIDsResponse) ProtoMessage() {} func (x *DeleteBinaryDataByIDsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2078,11 +2022,9 @@ type AddTagsToBinaryDataByIDsRequest struct { func (x *AddTagsToBinaryDataByIDsRequest) Reset() { *x = AddTagsToBinaryDataByIDsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddTagsToBinaryDataByIDsRequest) String() string { @@ -2093,7 +2035,7 @@ func (*AddTagsToBinaryDataByIDsRequest) ProtoMessage() {} func (x *AddTagsToBinaryDataByIDsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2130,11 +2072,9 @@ type AddTagsToBinaryDataByIDsResponse struct { func (x *AddTagsToBinaryDataByIDsResponse) Reset() { *x = AddTagsToBinaryDataByIDsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddTagsToBinaryDataByIDsResponse) String() string { @@ -2145,7 +2085,7 @@ func (*AddTagsToBinaryDataByIDsResponse) ProtoMessage() {} func (x *AddTagsToBinaryDataByIDsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2172,11 +2112,9 @@ type AddTagsToBinaryDataByFilterRequest struct { func (x *AddTagsToBinaryDataByFilterRequest) Reset() { *x = AddTagsToBinaryDataByFilterRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddTagsToBinaryDataByFilterRequest) String() string { @@ -2187,7 +2125,7 @@ func (*AddTagsToBinaryDataByFilterRequest) ProtoMessage() {} func (x *AddTagsToBinaryDataByFilterRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2224,11 +2162,9 @@ type AddTagsToBinaryDataByFilterResponse struct { func (x *AddTagsToBinaryDataByFilterResponse) Reset() { *x = AddTagsToBinaryDataByFilterResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddTagsToBinaryDataByFilterResponse) String() string { @@ -2239,7 +2175,7 @@ func (*AddTagsToBinaryDataByFilterResponse) ProtoMessage() {} func (x *AddTagsToBinaryDataByFilterResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2266,11 +2202,9 @@ type RemoveTagsFromBinaryDataByIDsRequest struct { func (x *RemoveTagsFromBinaryDataByIDsRequest) Reset() { *x = RemoveTagsFromBinaryDataByIDsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveTagsFromBinaryDataByIDsRequest) String() string { @@ -2281,7 +2215,7 @@ func (*RemoveTagsFromBinaryDataByIDsRequest) ProtoMessage() {} func (x *RemoveTagsFromBinaryDataByIDsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2321,11 +2255,9 @@ type RemoveTagsFromBinaryDataByIDsResponse struct { func (x *RemoveTagsFromBinaryDataByIDsResponse) Reset() { *x = RemoveTagsFromBinaryDataByIDsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveTagsFromBinaryDataByIDsResponse) String() string { @@ -2336,7 +2268,7 @@ func (*RemoveTagsFromBinaryDataByIDsResponse) ProtoMessage() {} func (x *RemoveTagsFromBinaryDataByIDsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2370,11 +2302,9 @@ type RemoveTagsFromBinaryDataByFilterRequest struct { func (x *RemoveTagsFromBinaryDataByFilterRequest) Reset() { *x = RemoveTagsFromBinaryDataByFilterRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveTagsFromBinaryDataByFilterRequest) String() string { @@ -2385,7 +2315,7 @@ func (*RemoveTagsFromBinaryDataByFilterRequest) ProtoMessage() {} func (x *RemoveTagsFromBinaryDataByFilterRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2425,11 +2355,9 @@ type RemoveTagsFromBinaryDataByFilterResponse struct { func (x *RemoveTagsFromBinaryDataByFilterResponse) Reset() { *x = RemoveTagsFromBinaryDataByFilterResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveTagsFromBinaryDataByFilterResponse) String() string { @@ -2440,7 +2368,7 @@ func (*RemoveTagsFromBinaryDataByFilterResponse) ProtoMessage() {} func (x *RemoveTagsFromBinaryDataByFilterResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2473,11 +2401,9 @@ type TagsByFilterRequest struct { func (x *TagsByFilterRequest) Reset() { *x = TagsByFilterRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TagsByFilterRequest) String() string { @@ -2488,7 +2414,7 @@ func (*TagsByFilterRequest) ProtoMessage() {} func (x *TagsByFilterRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2521,11 +2447,9 @@ type TagsByFilterResponse struct { func (x *TagsByFilterResponse) Reset() { *x = TagsByFilterResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TagsByFilterResponse) String() string { @@ -2536,7 +2460,7 @@ func (*TagsByFilterResponse) ProtoMessage() {} func (x *TagsByFilterResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2575,11 +2499,9 @@ type AddBoundingBoxToImageByIDRequest struct { func (x *AddBoundingBoxToImageByIDRequest) Reset() { *x = AddBoundingBoxToImageByIDRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddBoundingBoxToImageByIDRequest) String() string { @@ -2590,7 +2512,7 @@ func (*AddBoundingBoxToImageByIDRequest) ProtoMessage() {} func (x *AddBoundingBoxToImageByIDRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2658,11 +2580,9 @@ type AddBoundingBoxToImageByIDResponse struct { func (x *AddBoundingBoxToImageByIDResponse) Reset() { *x = AddBoundingBoxToImageByIDResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddBoundingBoxToImageByIDResponse) String() string { @@ -2673,7 +2593,7 @@ func (*AddBoundingBoxToImageByIDResponse) ProtoMessage() {} func (x *AddBoundingBoxToImageByIDResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2707,11 +2627,9 @@ type RemoveBoundingBoxFromImageByIDRequest struct { func (x *RemoveBoundingBoxFromImageByIDRequest) Reset() { *x = RemoveBoundingBoxFromImageByIDRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveBoundingBoxFromImageByIDRequest) String() string { @@ -2722,7 +2640,7 @@ func (*RemoveBoundingBoxFromImageByIDRequest) ProtoMessage() {} func (x *RemoveBoundingBoxFromImageByIDRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2759,11 +2677,9 @@ type RemoveBoundingBoxFromImageByIDResponse struct { func (x *RemoveBoundingBoxFromImageByIDResponse) Reset() { *x = RemoveBoundingBoxFromImageByIDResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveBoundingBoxFromImageByIDResponse) String() string { @@ -2774,7 +2690,7 @@ func (*RemoveBoundingBoxFromImageByIDResponse) ProtoMessage() {} func (x *RemoveBoundingBoxFromImageByIDResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2806,11 +2722,9 @@ type UpdateBoundingBoxRequest struct { func (x *UpdateBoundingBoxRequest) Reset() { *x = UpdateBoundingBoxRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateBoundingBoxRequest) String() string { @@ -2821,7 +2735,7 @@ func (*UpdateBoundingBoxRequest) ProtoMessage() {} func (x *UpdateBoundingBoxRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2893,11 +2807,9 @@ type UpdateBoundingBoxResponse struct { func (x *UpdateBoundingBoxResponse) Reset() { *x = UpdateBoundingBoxResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateBoundingBoxResponse) String() string { @@ -2908,7 +2820,7 @@ func (*UpdateBoundingBoxResponse) ProtoMessage() {} func (x *UpdateBoundingBoxResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2934,11 +2846,9 @@ type BoundingBoxLabelsByFilterRequest struct { func (x *BoundingBoxLabelsByFilterRequest) Reset() { *x = BoundingBoxLabelsByFilterRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BoundingBoxLabelsByFilterRequest) String() string { @@ -2949,7 +2859,7 @@ func (*BoundingBoxLabelsByFilterRequest) ProtoMessage() {} func (x *BoundingBoxLabelsByFilterRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2982,11 +2892,9 @@ type BoundingBoxLabelsByFilterResponse struct { func (x *BoundingBoxLabelsByFilterResponse) Reset() { *x = BoundingBoxLabelsByFilterResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BoundingBoxLabelsByFilterResponse) String() string { @@ -2997,7 +2905,7 @@ func (*BoundingBoxLabelsByFilterResponse) ProtoMessage() {} func (x *BoundingBoxLabelsByFilterResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3033,11 +2941,9 @@ type ConfigureDatabaseUserRequest struct { func (x *ConfigureDatabaseUserRequest) Reset() { *x = ConfigureDatabaseUserRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigureDatabaseUserRequest) String() string { @@ -3048,7 +2954,7 @@ func (*ConfigureDatabaseUserRequest) ProtoMessage() {} func (x *ConfigureDatabaseUserRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3085,11 +2991,9 @@ type ConfigureDatabaseUserResponse struct { func (x *ConfigureDatabaseUserResponse) Reset() { *x = ConfigureDatabaseUserResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigureDatabaseUserResponse) String() string { @@ -3100,7 +3004,7 @@ func (*ConfigureDatabaseUserResponse) ProtoMessage() {} func (x *ConfigureDatabaseUserResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3126,11 +3030,9 @@ type GetDatabaseConnectionRequest struct { func (x *GetDatabaseConnectionRequest) Reset() { *x = GetDatabaseConnectionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDatabaseConnectionRequest) String() string { @@ -3141,7 +3043,7 @@ func (*GetDatabaseConnectionRequest) ProtoMessage() {} func (x *GetDatabaseConnectionRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3178,11 +3080,9 @@ type GetDatabaseConnectionResponse struct { func (x *GetDatabaseConnectionResponse) Reset() { *x = GetDatabaseConnectionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDatabaseConnectionResponse) String() string { @@ -3193,7 +3093,7 @@ func (*GetDatabaseConnectionResponse) ProtoMessage() {} func (x *GetDatabaseConnectionResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3241,11 +3141,9 @@ type AddBinaryDataToDatasetByIDsRequest struct { func (x *AddBinaryDataToDatasetByIDsRequest) Reset() { *x = AddBinaryDataToDatasetByIDsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddBinaryDataToDatasetByIDsRequest) String() string { @@ -3256,7 +3154,7 @@ func (*AddBinaryDataToDatasetByIDsRequest) ProtoMessage() {} func (x *AddBinaryDataToDatasetByIDsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3293,11 +3191,9 @@ type AddBinaryDataToDatasetByIDsResponse struct { func (x *AddBinaryDataToDatasetByIDsResponse) Reset() { *x = AddBinaryDataToDatasetByIDsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddBinaryDataToDatasetByIDsResponse) String() string { @@ -3308,7 +3204,7 @@ func (*AddBinaryDataToDatasetByIDsResponse) ProtoMessage() {} func (x *AddBinaryDataToDatasetByIDsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3335,11 +3231,9 @@ type RemoveBinaryDataFromDatasetByIDsRequest struct { func (x *RemoveBinaryDataFromDatasetByIDsRequest) Reset() { *x = RemoveBinaryDataFromDatasetByIDsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveBinaryDataFromDatasetByIDsRequest) String() string { @@ -3350,7 +3244,7 @@ func (*RemoveBinaryDataFromDatasetByIDsRequest) ProtoMessage() {} func (x *RemoveBinaryDataFromDatasetByIDsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3387,11 +3281,9 @@ type RemoveBinaryDataFromDatasetByIDsResponse struct { func (x *RemoveBinaryDataFromDatasetByIDsResponse) Reset() { *x = RemoveBinaryDataFromDatasetByIDsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_data_v1_data_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_data_v1_data_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveBinaryDataFromDatasetByIDsResponse) String() string { @@ -3402,7 +3294,7 @@ func (*RemoveBinaryDataFromDatasetByIDsResponse) ProtoMessage() {} func (x *RemoveBinaryDataFromDatasetByIDsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_data_v1_data_proto_msgTypes[53] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4103,7 +3995,7 @@ func file_app_data_v1_data_proto_rawDescGZIP() []byte { var file_app_data_v1_data_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_app_data_v1_data_proto_msgTypes = make([]protoimpl.MessageInfo, 55) -var file_app_data_v1_data_proto_goTypes = []interface{}{ +var file_app_data_v1_data_proto_goTypes = []any{ (Order)(0), // 0: viam.app.data.v1.Order (TagsFilterType)(0), // 1: viam.app.data.v1.TagsFilterType (*DataRequest)(nil), // 2: viam.app.data.v1.DataRequest @@ -4261,659 +4153,9 @@ func file_app_data_v1_data_proto_init() { if File_app_data_v1_data_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_app_data_v1_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Filter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TagsFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CaptureMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CaptureInterval); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TabularDataByFilterRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TabularDataByFilterResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TabularData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TabularDataBySQLRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TabularDataBySQLResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TabularDataByMQLRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TabularDataByMQLResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BinaryData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BinaryDataByFilterRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BinaryDataByFilterResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BinaryID); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BinaryDataByIDsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BinaryDataByIDsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BoundingBox); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Classification); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Annotations); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BinaryMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTabularDataRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteTabularDataResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteBinaryDataByFilterRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteBinaryDataByFilterResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteBinaryDataByIDsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteBinaryDataByIDsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTagsToBinaryDataByIDsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTagsToBinaryDataByIDsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTagsToBinaryDataByFilterRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddTagsToBinaryDataByFilterResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTagsFromBinaryDataByIDsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTagsFromBinaryDataByIDsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTagsFromBinaryDataByFilterRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveTagsFromBinaryDataByFilterResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TagsByFilterRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TagsByFilterResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddBoundingBoxToImageByIDRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddBoundingBoxToImageByIDResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveBoundingBoxFromImageByIDRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveBoundingBoxFromImageByIDResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateBoundingBoxRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateBoundingBoxResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BoundingBoxLabelsByFilterRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BoundingBoxLabelsByFilterResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureDatabaseUserRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigureDatabaseUserResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDatabaseConnectionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDatabaseConnectionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddBinaryDataToDatasetByIDsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddBinaryDataToDatasetByIDsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveBinaryDataFromDatasetByIDsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_data_v1_data_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveBinaryDataFromDatasetByIDsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_app_data_v1_data_proto_msgTypes[18].OneofWrappers = []interface{}{} - file_app_data_v1_data_proto_msgTypes[19].OneofWrappers = []interface{}{} - file_app_data_v1_data_proto_msgTypes[42].OneofWrappers = []interface{}{} + file_app_data_v1_data_proto_msgTypes[18].OneofWrappers = []any{} + file_app_data_v1_data_proto_msgTypes[19].OneofWrappers = []any{} + file_app_data_v1_data_proto_msgTypes[42].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/app/data/v1/data.pb.gw.go b/app/data/v1/data.pb.gw.go index 9b869bb7..bc73babe 100644 --- a/app/data/v1/data.pb.gw.go +++ b/app/data/v1/data.pb.gw.go @@ -35,11 +35,7 @@ func request_DataService_TabularDataByFilter_0(ctx context.Context, marshaler ru var protoReq TabularDataByFilterRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_DataService_TabularDataByFilter_0(ctx context.Context, marsha var protoReq TabularDataByFilterRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -69,11 +61,7 @@ func request_DataService_TabularDataBySQL_0(ctx context.Context, marshaler runti var protoReq TabularDataBySQLRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -86,11 +74,7 @@ func local_request_DataService_TabularDataBySQL_0(ctx context.Context, marshaler var protoReq TabularDataBySQLRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -103,11 +87,7 @@ func request_DataService_TabularDataByMQL_0(ctx context.Context, marshaler runti var protoReq TabularDataByMQLRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -120,11 +100,7 @@ func local_request_DataService_TabularDataByMQL_0(ctx context.Context, marshaler var protoReq TabularDataByMQLRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,11 +113,7 @@ func request_DataService_BinaryDataByFilter_0(ctx context.Context, marshaler run var protoReq BinaryDataByFilterRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -154,11 +126,7 @@ func local_request_DataService_BinaryDataByFilter_0(ctx context.Context, marshal var protoReq BinaryDataByFilterRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -171,11 +139,7 @@ func request_DataService_BinaryDataByIDs_0(ctx context.Context, marshaler runtim var protoReq BinaryDataByIDsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -188,11 +152,7 @@ func local_request_DataService_BinaryDataByIDs_0(ctx context.Context, marshaler var protoReq BinaryDataByIDsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -205,11 +165,7 @@ func request_DataService_DeleteTabularData_0(ctx context.Context, marshaler runt var protoReq DeleteTabularDataRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -222,11 +178,7 @@ func local_request_DataService_DeleteTabularData_0(ctx context.Context, marshale var protoReq DeleteTabularDataRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -239,11 +191,7 @@ func request_DataService_DeleteBinaryDataByFilter_0(ctx context.Context, marshal var protoReq DeleteBinaryDataByFilterRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -256,11 +204,7 @@ func local_request_DataService_DeleteBinaryDataByFilter_0(ctx context.Context, m var protoReq DeleteBinaryDataByFilterRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -273,11 +217,7 @@ func request_DataService_DeleteBinaryDataByIDs_0(ctx context.Context, marshaler var protoReq DeleteBinaryDataByIDsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -290,11 +230,7 @@ func local_request_DataService_DeleteBinaryDataByIDs_0(ctx context.Context, mars var protoReq DeleteBinaryDataByIDsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -307,11 +243,7 @@ func request_DataService_AddTagsToBinaryDataByIDs_0(ctx context.Context, marshal var protoReq AddTagsToBinaryDataByIDsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -324,11 +256,7 @@ func local_request_DataService_AddTagsToBinaryDataByIDs_0(ctx context.Context, m var protoReq AddTagsToBinaryDataByIDsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -341,11 +269,7 @@ func request_DataService_AddTagsToBinaryDataByFilter_0(ctx context.Context, mars var protoReq AddTagsToBinaryDataByFilterRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -358,11 +282,7 @@ func local_request_DataService_AddTagsToBinaryDataByFilter_0(ctx context.Context var protoReq AddTagsToBinaryDataByFilterRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -375,11 +295,7 @@ func request_DataService_RemoveTagsFromBinaryDataByIDs_0(ctx context.Context, ma var protoReq RemoveTagsFromBinaryDataByIDsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -392,11 +308,7 @@ func local_request_DataService_RemoveTagsFromBinaryDataByIDs_0(ctx context.Conte var protoReq RemoveTagsFromBinaryDataByIDsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -409,11 +321,7 @@ func request_DataService_RemoveTagsFromBinaryDataByFilter_0(ctx context.Context, var protoReq RemoveTagsFromBinaryDataByFilterRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -426,11 +334,7 @@ func local_request_DataService_RemoveTagsFromBinaryDataByFilter_0(ctx context.Co var protoReq RemoveTagsFromBinaryDataByFilterRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -443,11 +347,7 @@ func request_DataService_TagsByFilter_0(ctx context.Context, marshaler runtime.M var protoReq TagsByFilterRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -460,11 +360,7 @@ func local_request_DataService_TagsByFilter_0(ctx context.Context, marshaler run var protoReq TagsByFilterRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -477,11 +373,7 @@ func request_DataService_AddBoundingBoxToImageByID_0(ctx context.Context, marsha var protoReq AddBoundingBoxToImageByIDRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -494,11 +386,7 @@ func local_request_DataService_AddBoundingBoxToImageByID_0(ctx context.Context, var protoReq AddBoundingBoxToImageByIDRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -511,11 +399,7 @@ func request_DataService_RemoveBoundingBoxFromImageByID_0(ctx context.Context, m var protoReq RemoveBoundingBoxFromImageByIDRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -528,11 +412,7 @@ func local_request_DataService_RemoveBoundingBoxFromImageByID_0(ctx context.Cont var protoReq RemoveBoundingBoxFromImageByIDRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -545,11 +425,7 @@ func request_DataService_BoundingBoxLabelsByFilter_0(ctx context.Context, marsha var protoReq BoundingBoxLabelsByFilterRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -562,11 +438,7 @@ func local_request_DataService_BoundingBoxLabelsByFilter_0(ctx context.Context, var protoReq BoundingBoxLabelsByFilterRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -579,11 +451,7 @@ func request_DataService_UpdateBoundingBox_0(ctx context.Context, marshaler runt var protoReq UpdateBoundingBoxRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -596,11 +464,7 @@ func local_request_DataService_UpdateBoundingBox_0(ctx context.Context, marshale var protoReq UpdateBoundingBoxRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -613,11 +477,7 @@ func request_DataService_GetDatabaseConnection_0(ctx context.Context, marshaler var protoReq GetDatabaseConnectionRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -630,11 +490,7 @@ func local_request_DataService_GetDatabaseConnection_0(ctx context.Context, mars var protoReq GetDatabaseConnectionRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -647,11 +503,7 @@ func request_DataService_ConfigureDatabaseUser_0(ctx context.Context, marshaler var protoReq ConfigureDatabaseUserRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -664,11 +516,7 @@ func local_request_DataService_ConfigureDatabaseUser_0(ctx context.Context, mars var protoReq ConfigureDatabaseUserRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -681,11 +529,7 @@ func request_DataService_AddBinaryDataToDatasetByIDs_0(ctx context.Context, mars var protoReq AddBinaryDataToDatasetByIDsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -698,11 +542,7 @@ func local_request_DataService_AddBinaryDataToDatasetByIDs_0(ctx context.Context var protoReq AddBinaryDataToDatasetByIDsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -715,11 +555,7 @@ func request_DataService_RemoveBinaryDataFromDatasetByIDs_0(ctx context.Context, var protoReq RemoveBinaryDataFromDatasetByIDsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -732,11 +568,7 @@ func local_request_DataService_RemoveBinaryDataFromDatasetByIDs_0(ctx context.Co var protoReq RemoveBinaryDataFromDatasetByIDsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1282,21 +1114,21 @@ func RegisterDataServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux // RegisterDataServiceHandlerFromEndpoint is same as RegisterDataServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterDataServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/dataset/v1/dataset.pb.go b/app/dataset/v1/dataset.pb.go index 8b00c80e..ef85e5b6 100644 --- a/app/dataset/v1/dataset.pb.go +++ b/app/dataset/v1/dataset.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: app/dataset/v1/dataset.proto @@ -35,11 +35,9 @@ type Dataset struct { func (x *Dataset) Reset() { *x = Dataset{} - if protoimpl.UnsafeEnabled { - mi := &file_app_dataset_v1_dataset_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_dataset_v1_dataset_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Dataset) String() string { @@ -50,7 +48,7 @@ func (*Dataset) ProtoMessage() {} func (x *Dataset) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -105,11 +103,9 @@ type CreateDatasetRequest struct { func (x *CreateDatasetRequest) Reset() { *x = CreateDatasetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_dataset_v1_dataset_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_dataset_v1_dataset_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDatasetRequest) String() string { @@ -120,7 +116,7 @@ func (*CreateDatasetRequest) ProtoMessage() {} func (x *CreateDatasetRequest) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -160,11 +156,9 @@ type CreateDatasetResponse struct { func (x *CreateDatasetResponse) Reset() { *x = CreateDatasetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_dataset_v1_dataset_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_dataset_v1_dataset_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateDatasetResponse) String() string { @@ -175,7 +169,7 @@ func (*CreateDatasetResponse) ProtoMessage() {} func (x *CreateDatasetResponse) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -208,11 +202,9 @@ type DeleteDatasetRequest struct { func (x *DeleteDatasetRequest) Reset() { *x = DeleteDatasetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_dataset_v1_dataset_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_dataset_v1_dataset_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteDatasetRequest) String() string { @@ -223,7 +215,7 @@ func (*DeleteDatasetRequest) ProtoMessage() {} func (x *DeleteDatasetRequest) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -253,11 +245,9 @@ type DeleteDatasetResponse struct { func (x *DeleteDatasetResponse) Reset() { *x = DeleteDatasetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_dataset_v1_dataset_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_dataset_v1_dataset_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteDatasetResponse) String() string { @@ -268,7 +258,7 @@ func (*DeleteDatasetResponse) ProtoMessage() {} func (x *DeleteDatasetResponse) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -295,11 +285,9 @@ type RenameDatasetRequest struct { func (x *RenameDatasetRequest) Reset() { *x = RenameDatasetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_dataset_v1_dataset_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_dataset_v1_dataset_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RenameDatasetRequest) String() string { @@ -310,7 +298,7 @@ func (*RenameDatasetRequest) ProtoMessage() {} func (x *RenameDatasetRequest) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -347,11 +335,9 @@ type RenameDatasetResponse struct { func (x *RenameDatasetResponse) Reset() { *x = RenameDatasetResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_dataset_v1_dataset_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_dataset_v1_dataset_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RenameDatasetResponse) String() string { @@ -362,7 +348,7 @@ func (*RenameDatasetResponse) ProtoMessage() {} func (x *RenameDatasetResponse) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -388,11 +374,9 @@ type ListDatasetsByOrganizationIDRequest struct { func (x *ListDatasetsByOrganizationIDRequest) Reset() { *x = ListDatasetsByOrganizationIDRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_dataset_v1_dataset_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_dataset_v1_dataset_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListDatasetsByOrganizationIDRequest) String() string { @@ -403,7 +387,7 @@ func (*ListDatasetsByOrganizationIDRequest) ProtoMessage() {} func (x *ListDatasetsByOrganizationIDRequest) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -436,11 +420,9 @@ type ListDatasetsByOrganizationIDResponse struct { func (x *ListDatasetsByOrganizationIDResponse) Reset() { *x = ListDatasetsByOrganizationIDResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_dataset_v1_dataset_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_dataset_v1_dataset_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListDatasetsByOrganizationIDResponse) String() string { @@ -451,7 +433,7 @@ func (*ListDatasetsByOrganizationIDResponse) ProtoMessage() {} func (x *ListDatasetsByOrganizationIDResponse) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -484,11 +466,9 @@ type ListDatasetsByIDsRequest struct { func (x *ListDatasetsByIDsRequest) Reset() { *x = ListDatasetsByIDsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_dataset_v1_dataset_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_dataset_v1_dataset_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListDatasetsByIDsRequest) String() string { @@ -499,7 +479,7 @@ func (*ListDatasetsByIDsRequest) ProtoMessage() {} func (x *ListDatasetsByIDsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -532,11 +512,9 @@ type ListDatasetsByIDsResponse struct { func (x *ListDatasetsByIDsResponse) Reset() { *x = ListDatasetsByIDsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_dataset_v1_dataset_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_dataset_v1_dataset_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListDatasetsByIDsResponse) String() string { @@ -547,7 +525,7 @@ func (*ListDatasetsByIDsResponse) ProtoMessage() {} func (x *ListDatasetsByIDsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_dataset_v1_dataset_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -679,7 +657,7 @@ func file_app_dataset_v1_dataset_proto_rawDescGZIP() []byte { } var file_app_dataset_v1_dataset_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_app_dataset_v1_dataset_proto_goTypes = []interface{}{ +var file_app_dataset_v1_dataset_proto_goTypes = []any{ (*Dataset)(nil), // 0: viam.app.dataset.v1.Dataset (*CreateDatasetRequest)(nil), // 1: viam.app.dataset.v1.CreateDatasetRequest (*CreateDatasetResponse)(nil), // 2: viam.app.dataset.v1.CreateDatasetResponse @@ -719,140 +697,6 @@ func file_app_dataset_v1_dataset_proto_init() { if File_app_dataset_v1_dataset_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_app_dataset_v1_dataset_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Dataset); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_dataset_v1_dataset_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDatasetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_dataset_v1_dataset_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDatasetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_dataset_v1_dataset_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteDatasetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_dataset_v1_dataset_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteDatasetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_dataset_v1_dataset_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameDatasetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_dataset_v1_dataset_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameDatasetResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_dataset_v1_dataset_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDatasetsByOrganizationIDRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_dataset_v1_dataset_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDatasetsByOrganizationIDResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_dataset_v1_dataset_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDatasetsByIDsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_dataset_v1_dataset_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDatasetsByIDsResponse); 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{ diff --git a/app/dataset/v1/dataset.pb.gw.go b/app/dataset/v1/dataset.pb.gw.go index a5693358..1b40e0b2 100644 --- a/app/dataset/v1/dataset.pb.gw.go +++ b/app/dataset/v1/dataset.pb.gw.go @@ -35,11 +35,7 @@ func request_DatasetService_CreateDataset_0(ctx context.Context, marshaler runti var protoReq CreateDatasetRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_DatasetService_CreateDataset_0(ctx context.Context, marshaler var protoReq CreateDatasetRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -69,11 +61,7 @@ func request_DatasetService_DeleteDataset_0(ctx context.Context, marshaler runti var protoReq DeleteDatasetRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -86,11 +74,7 @@ func local_request_DatasetService_DeleteDataset_0(ctx context.Context, marshaler var protoReq DeleteDatasetRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -103,11 +87,7 @@ func request_DatasetService_RenameDataset_0(ctx context.Context, marshaler runti var protoReq RenameDatasetRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -120,11 +100,7 @@ func local_request_DatasetService_RenameDataset_0(ctx context.Context, marshaler var protoReq RenameDatasetRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,11 +113,7 @@ func request_DatasetService_ListDatasetsByOrganizationID_0(ctx context.Context, var protoReq ListDatasetsByOrganizationIDRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -154,11 +126,7 @@ func local_request_DatasetService_ListDatasetsByOrganizationID_0(ctx context.Con var protoReq ListDatasetsByOrganizationIDRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -171,11 +139,7 @@ func request_DatasetService_ListDatasetsByIDs_0(ctx context.Context, marshaler r var protoReq ListDatasetsByIDsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -188,11 +152,7 @@ func local_request_DatasetService_ListDatasetsByIDs_0(ctx context.Context, marsh var protoReq ListDatasetsByIDsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -338,21 +298,21 @@ func RegisterDatasetServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterDatasetServiceHandlerFromEndpoint is same as RegisterDatasetServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterDatasetServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/datasync/v1/data_sync.pb.go b/app/datasync/v1/data_sync.pb.go index 54f6caa2..f9d8e80f 100644 --- a/app/datasync/v1/data_sync.pb.go +++ b/app/datasync/v1/data_sync.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: app/datasync/v1/data_sync.proto @@ -142,11 +142,9 @@ type DataCaptureUploadRequest struct { func (x *DataCaptureUploadRequest) Reset() { *x = DataCaptureUploadRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataCaptureUploadRequest) String() string { @@ -157,7 +155,7 @@ func (*DataCaptureUploadRequest) ProtoMessage() {} func (x *DataCaptureUploadRequest) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -197,11 +195,9 @@ type DataCaptureUploadResponse struct { func (x *DataCaptureUploadResponse) Reset() { *x = DataCaptureUploadResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataCaptureUploadResponse) String() string { @@ -212,7 +208,7 @@ func (*DataCaptureUploadResponse) ProtoMessage() {} func (x *DataCaptureUploadResponse) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -250,11 +246,9 @@ type FileUploadRequest struct { func (x *FileUploadRequest) Reset() { *x = FileUploadRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FileUploadRequest) String() string { @@ -265,7 +259,7 @@ func (*FileUploadRequest) ProtoMessage() {} func (x *FileUploadRequest) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -328,11 +322,9 @@ type FileUploadResponse struct { func (x *FileUploadResponse) Reset() { *x = FileUploadResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FileUploadResponse) String() string { @@ -343,7 +335,7 @@ func (*FileUploadResponse) ProtoMessage() {} func (x *FileUploadResponse) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -381,11 +373,9 @@ type StreamingDataCaptureUploadRequest struct { func (x *StreamingDataCaptureUploadRequest) Reset() { *x = StreamingDataCaptureUploadRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamingDataCaptureUploadRequest) String() string { @@ -396,7 +386,7 @@ func (*StreamingDataCaptureUploadRequest) ProtoMessage() {} func (x *StreamingDataCaptureUploadRequest) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -460,11 +450,9 @@ type StreamingDataCaptureUploadResponse struct { func (x *StreamingDataCaptureUploadResponse) Reset() { *x = StreamingDataCaptureUploadResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamingDataCaptureUploadResponse) String() string { @@ -475,7 +463,7 @@ func (*StreamingDataCaptureUploadResponse) ProtoMessage() {} func (x *StreamingDataCaptureUploadResponse) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -512,11 +500,9 @@ type SensorMetadata struct { func (x *SensorMetadata) Reset() { *x = SensorMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SensorMetadata) String() string { @@ -527,7 +513,7 @@ func (*SensorMetadata) ProtoMessage() {} func (x *SensorMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -586,11 +572,9 @@ type SensorData struct { func (x *SensorData) Reset() { *x = SensorData{} - if protoimpl.UnsafeEnabled { - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SensorData) String() string { @@ -601,7 +585,7 @@ func (*SensorData) ProtoMessage() {} func (x *SensorData) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -671,11 +655,9 @@ type FileData struct { func (x *FileData) Reset() { *x = FileData{} - if protoimpl.UnsafeEnabled { - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FileData) String() string { @@ -686,7 +668,7 @@ func (*FileData) ProtoMessage() {} func (x *FileData) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -727,11 +709,9 @@ type UploadMetadata struct { func (x *UploadMetadata) Reset() { *x = UploadMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UploadMetadata) String() string { @@ -742,7 +722,7 @@ func (*UploadMetadata) ProtoMessage() {} func (x *UploadMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -832,11 +812,9 @@ type CaptureInterval struct { func (x *CaptureInterval) Reset() { *x = CaptureInterval{} - if protoimpl.UnsafeEnabled { - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CaptureInterval) String() string { @@ -847,7 +825,7 @@ func (*CaptureInterval) ProtoMessage() {} func (x *CaptureInterval) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -893,11 +871,9 @@ type DataCaptureMetadata struct { func (x *DataCaptureMetadata) Reset() { *x = DataCaptureMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataCaptureMetadata) String() string { @@ -908,7 +884,7 @@ func (*DataCaptureMetadata) ProtoMessage() {} func (x *DataCaptureMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -984,11 +960,9 @@ type DataCaptureUploadMetadata struct { func (x *DataCaptureUploadMetadata) Reset() { *x = DataCaptureUploadMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_app_datasync_v1_data_sync_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_datasync_v1_data_sync_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DataCaptureUploadMetadata) String() string { @@ -999,7 +973,7 @@ func (*DataCaptureUploadMetadata) ProtoMessage() {} func (x *DataCaptureUploadMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_datasync_v1_data_sync_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1264,7 +1238,7 @@ func file_app_datasync_v1_data_sync_proto_rawDescGZIP() []byte { var file_app_datasync_v1_data_sync_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_app_datasync_v1_data_sync_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_app_datasync_v1_data_sync_proto_goTypes = []interface{}{ +var file_app_datasync_v1_data_sync_proto_goTypes = []any{ (MimeType)(0), // 0: viam.app.datasync.v1.MimeType (DataType)(0), // 1: viam.app.datasync.v1.DataType (*DataCaptureUploadRequest)(nil), // 2: viam.app.datasync.v1.DataCaptureUploadRequest @@ -1327,173 +1301,15 @@ func file_app_datasync_v1_data_sync_proto_init() { if File_app_datasync_v1_data_sync_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_app_datasync_v1_data_sync_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataCaptureUploadRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_datasync_v1_data_sync_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataCaptureUploadResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_datasync_v1_data_sync_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FileUploadRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_datasync_v1_data_sync_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FileUploadResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_datasync_v1_data_sync_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamingDataCaptureUploadRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_datasync_v1_data_sync_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamingDataCaptureUploadResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_datasync_v1_data_sync_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SensorMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_datasync_v1_data_sync_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SensorData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_datasync_v1_data_sync_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FileData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_datasync_v1_data_sync_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_datasync_v1_data_sync_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CaptureInterval); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_datasync_v1_data_sync_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataCaptureMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_datasync_v1_data_sync_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DataCaptureUploadMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_app_datasync_v1_data_sync_proto_msgTypes[2].OneofWrappers = []interface{}{ + file_app_datasync_v1_data_sync_proto_msgTypes[2].OneofWrappers = []any{ (*FileUploadRequest_Metadata)(nil), (*FileUploadRequest_FileContents)(nil), } - file_app_datasync_v1_data_sync_proto_msgTypes[4].OneofWrappers = []interface{}{ + file_app_datasync_v1_data_sync_proto_msgTypes[4].OneofWrappers = []any{ (*StreamingDataCaptureUploadRequest_Metadata)(nil), (*StreamingDataCaptureUploadRequest_Data)(nil), } - file_app_datasync_v1_data_sync_proto_msgTypes[7].OneofWrappers = []interface{}{ + file_app_datasync_v1_data_sync_proto_msgTypes[7].OneofWrappers = []any{ (*SensorData_Struct)(nil), (*SensorData_Binary)(nil), } diff --git a/app/datasync/v1/data_sync.pb.gw.go b/app/datasync/v1/data_sync.pb.gw.go index e566d207..bc811d45 100644 --- a/app/datasync/v1/data_sync.pb.gw.go +++ b/app/datasync/v1/data_sync.pb.gw.go @@ -71,7 +71,7 @@ func request_DataSyncService_FileUpload_0(ctx context.Context, marshaler runtime var metadata runtime.ServerMetadata stream, err := client.FileUpload(ctx) if err != nil { - grpclog.Infof("Failed to start streaming: %v", err) + grpclog.Errorf("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -82,25 +82,25 @@ func request_DataSyncService_FileUpload_0(ctx context.Context, marshaler runtime break } if err != nil { - grpclog.Infof("Failed to decode request: %v", err) + grpclog.Errorf("Failed to decode request: %v", err) return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } if err = stream.Send(&protoReq); err != nil { if err == io.EOF { break } - grpclog.Infof("Failed to send request: %v", err) + grpclog.Errorf("Failed to send request: %v", err) return nil, metadata, err } } if err := stream.CloseSend(); err != nil { - grpclog.Infof("Failed to terminate client stream: %v", err) + grpclog.Errorf("Failed to terminate client stream: %v", err) return nil, metadata, err } header, err := stream.Header() if err != nil { - grpclog.Infof("Failed to get header from client: %v", err) + grpclog.Errorf("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -115,7 +115,7 @@ func request_DataSyncService_StreamingDataCaptureUpload_0(ctx context.Context, m var metadata runtime.ServerMetadata stream, err := client.StreamingDataCaptureUpload(ctx) if err != nil { - grpclog.Infof("Failed to start streaming: %v", err) + grpclog.Errorf("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -126,25 +126,25 @@ func request_DataSyncService_StreamingDataCaptureUpload_0(ctx context.Context, m break } if err != nil { - grpclog.Infof("Failed to decode request: %v", err) + grpclog.Errorf("Failed to decode request: %v", err) return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } if err = stream.Send(&protoReq); err != nil { if err == io.EOF { break } - grpclog.Infof("Failed to send request: %v", err) + grpclog.Errorf("Failed to send request: %v", err) return nil, metadata, err } } if err := stream.CloseSend(); err != nil { - grpclog.Infof("Failed to terminate client stream: %v", err) + grpclog.Errorf("Failed to terminate client stream: %v", err) return nil, metadata, err } header, err := stream.Header() if err != nil { - grpclog.Infof("Failed to get header from client: %v", err) + grpclog.Errorf("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -206,21 +206,21 @@ func RegisterDataSyncServiceHandlerServer(ctx context.Context, mux *runtime.Serv // RegisterDataSyncServiceHandlerFromEndpoint is same as RegisterDataSyncServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterDataSyncServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/mlinference/v1/ml_inference.pb.go b/app/mlinference/v1/ml_inference.pb.go index 8f45f100..fffd00c8 100644 --- a/app/mlinference/v1/ml_inference.pb.go +++ b/app/mlinference/v1/ml_inference.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: app/mlinference/v1/ml_inference.proto @@ -37,11 +37,9 @@ type GetInferenceRequest struct { func (x *GetInferenceRequest) Reset() { *x = GetInferenceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mlinference_v1_ml_inference_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mlinference_v1_ml_inference_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetInferenceRequest) String() string { @@ -52,7 +50,7 @@ func (*GetInferenceRequest) ProtoMessage() {} func (x *GetInferenceRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mlinference_v1_ml_inference_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -103,11 +101,9 @@ type GetInferenceResponse struct { func (x *GetInferenceResponse) Reset() { *x = GetInferenceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mlinference_v1_ml_inference_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mlinference_v1_ml_inference_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetInferenceResponse) String() string { @@ -118,7 +114,7 @@ func (*GetInferenceResponse) ProtoMessage() {} func (x *GetInferenceResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mlinference_v1_ml_inference_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -183,7 +179,7 @@ func file_app_mlinference_v1_ml_inference_proto_rawDescGZIP() []byte { } var file_app_mlinference_v1_ml_inference_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_app_mlinference_v1_ml_inference_proto_goTypes = []interface{}{ +var file_app_mlinference_v1_ml_inference_proto_goTypes = []any{ (*GetInferenceRequest)(nil), // 0: viam.app.mlinference.v1.GetInferenceRequest (*GetInferenceResponse)(nil), // 1: viam.app.mlinference.v1.GetInferenceResponse (*v1.BinaryID)(nil), // 2: viam.app.data.v1.BinaryID @@ -204,32 +200,6 @@ func file_app_mlinference_v1_ml_inference_proto_init() { if File_app_mlinference_v1_ml_inference_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_app_mlinference_v1_ml_inference_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetInferenceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mlinference_v1_ml_inference_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetInferenceResponse); 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{ diff --git a/app/mlinference/v1/ml_inference.pb.gw.go b/app/mlinference/v1/ml_inference.pb.gw.go index 4083095c..e1aa0049 100644 --- a/app/mlinference/v1/ml_inference.pb.gw.go +++ b/app/mlinference/v1/ml_inference.pb.gw.go @@ -35,11 +35,7 @@ func request_MLInferenceService_GetInference_0(ctx context.Context, marshaler ru var protoReq GetInferenceRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_MLInferenceService_GetInference_0(ctx context.Context, marsha var protoReq GetInferenceRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -102,21 +94,21 @@ func RegisterMLInferenceServiceHandlerServer(ctx context.Context, mux *runtime.S // RegisterMLInferenceServiceHandlerFromEndpoint is same as RegisterMLInferenceServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterMLInferenceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/mltraining/v1/ml_training.pb.go b/app/mltraining/v1/ml_training.pb.go index 37756063..d968825b 100644 --- a/app/mltraining/v1/ml_training.pb.go +++ b/app/mltraining/v1/ml_training.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: app/mltraining/v1/ml_training.proto @@ -206,11 +206,9 @@ type SubmitTrainingJobRequest struct { func (x *SubmitTrainingJobRequest) Reset() { *x = SubmitTrainingJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubmitTrainingJobRequest) String() string { @@ -221,7 +219,7 @@ func (*SubmitTrainingJobRequest) ProtoMessage() {} func (x *SubmitTrainingJobRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -288,11 +286,9 @@ type SubmitTrainingJobResponse struct { func (x *SubmitTrainingJobResponse) Reset() { *x = SubmitTrainingJobResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubmitTrainingJobResponse) String() string { @@ -303,7 +299,7 @@ func (*SubmitTrainingJobResponse) ProtoMessage() {} func (x *SubmitTrainingJobResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -341,11 +337,9 @@ type SubmitCustomTrainingJobRequest struct { func (x *SubmitCustomTrainingJobRequest) Reset() { *x = SubmitCustomTrainingJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubmitCustomTrainingJobRequest) String() string { @@ -356,7 +350,7 @@ func (*SubmitCustomTrainingJobRequest) ProtoMessage() {} func (x *SubmitCustomTrainingJobRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -430,11 +424,9 @@ type SubmitCustomTrainingJobResponse struct { func (x *SubmitCustomTrainingJobResponse) Reset() { *x = SubmitCustomTrainingJobResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SubmitCustomTrainingJobResponse) String() string { @@ -445,7 +437,7 @@ func (*SubmitCustomTrainingJobResponse) ProtoMessage() {} func (x *SubmitCustomTrainingJobResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -477,11 +469,9 @@ type GetTrainingJobRequest struct { func (x *GetTrainingJobRequest) Reset() { *x = GetTrainingJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTrainingJobRequest) String() string { @@ -492,7 +482,7 @@ func (*GetTrainingJobRequest) ProtoMessage() {} func (x *GetTrainingJobRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -524,11 +514,9 @@ type GetTrainingJobResponse struct { func (x *GetTrainingJobResponse) Reset() { *x = GetTrainingJobResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTrainingJobResponse) String() string { @@ -539,7 +527,7 @@ func (*GetTrainingJobResponse) ProtoMessage() {} func (x *GetTrainingJobResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -572,11 +560,9 @@ type ListTrainingJobsRequest struct { func (x *ListTrainingJobsRequest) Reset() { *x = ListTrainingJobsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListTrainingJobsRequest) String() string { @@ -587,7 +573,7 @@ func (*ListTrainingJobsRequest) ProtoMessage() {} func (x *ListTrainingJobsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -626,11 +612,9 @@ type ListTrainingJobsResponse struct { func (x *ListTrainingJobsResponse) Reset() { *x = ListTrainingJobsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListTrainingJobsResponse) String() string { @@ -641,7 +625,7 @@ func (*ListTrainingJobsResponse) ProtoMessage() {} func (x *ListTrainingJobsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -690,11 +674,9 @@ type TrainingJobMetadata struct { func (x *TrainingJobMetadata) Reset() { *x = TrainingJobMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrainingJobMetadata) String() string { @@ -705,7 +687,7 @@ func (*TrainingJobMetadata) ProtoMessage() {} func (x *TrainingJobMetadata) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -856,11 +838,9 @@ type CancelTrainingJobRequest struct { func (x *CancelTrainingJobRequest) Reset() { *x = CancelTrainingJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CancelTrainingJobRequest) String() string { @@ -871,7 +851,7 @@ func (*CancelTrainingJobRequest) ProtoMessage() {} func (x *CancelTrainingJobRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -901,11 +881,9 @@ type CancelTrainingJobResponse struct { func (x *CancelTrainingJobResponse) Reset() { *x = CancelTrainingJobResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CancelTrainingJobResponse) String() string { @@ -916,7 +894,7 @@ func (*CancelTrainingJobResponse) ProtoMessage() {} func (x *CancelTrainingJobResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -941,11 +919,9 @@ type DeleteCompletedTrainingJobRequest struct { func (x *DeleteCompletedTrainingJobRequest) Reset() { *x = DeleteCompletedTrainingJobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteCompletedTrainingJobRequest) String() string { @@ -956,7 +932,7 @@ func (*DeleteCompletedTrainingJobRequest) ProtoMessage() {} func (x *DeleteCompletedTrainingJobRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -986,11 +962,9 @@ type DeleteCompletedTrainingJobResponse struct { func (x *DeleteCompletedTrainingJobResponse) Reset() { *x = DeleteCompletedTrainingJobResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteCompletedTrainingJobResponse) String() string { @@ -1001,7 +975,7 @@ func (*DeleteCompletedTrainingJobResponse) ProtoMessage() {} func (x *DeleteCompletedTrainingJobResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1028,11 +1002,9 @@ type TrainingJobLogEntry struct { func (x *TrainingJobLogEntry) Reset() { *x = TrainingJobLogEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TrainingJobLogEntry) String() string { @@ -1043,7 +1015,7 @@ func (*TrainingJobLogEntry) ProtoMessage() {} func (x *TrainingJobLogEntry) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1090,11 +1062,9 @@ type GetTrainingJobLogsRequest struct { func (x *GetTrainingJobLogsRequest) Reset() { *x = GetTrainingJobLogsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTrainingJobLogsRequest) String() string { @@ -1105,7 +1075,7 @@ func (*GetTrainingJobLogsRequest) ProtoMessage() {} func (x *GetTrainingJobLogsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1145,11 +1115,9 @@ type GetTrainingJobLogsResponse struct { func (x *GetTrainingJobLogsResponse) Reset() { *x = GetTrainingJobLogsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetTrainingJobLogsResponse) String() string { @@ -1160,7 +1128,7 @@ func (*GetTrainingJobLogsResponse) ProtoMessage() {} func (x *GetTrainingJobLogsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_mltraining_v1_ml_training_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1563,7 +1531,7 @@ func file_app_mltraining_v1_ml_training_proto_rawDescGZIP() []byte { var file_app_mltraining_v1_ml_training_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_app_mltraining_v1_ml_training_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_app_mltraining_v1_ml_training_proto_goTypes = []interface{}{ +var file_app_mltraining_v1_ml_training_proto_goTypes = []any{ (ModelType)(0), // 0: viam.app.mltraining.v1.ModelType (ModelFramework)(0), // 1: viam.app.mltraining.v1.ModelFramework (TrainingStatus)(0), // 2: viam.app.mltraining.v1.TrainingStatus @@ -1629,201 +1597,7 @@ func file_app_mltraining_v1_ml_training_proto_init() { if File_app_mltraining_v1_ml_training_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_app_mltraining_v1_ml_training_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubmitTrainingJobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubmitTrainingJobResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubmitCustomTrainingJobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubmitCustomTrainingJobResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTrainingJobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTrainingJobResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTrainingJobsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTrainingJobsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrainingJobMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelTrainingJobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelTrainingJobResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteCompletedTrainingJobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteCompletedTrainingJobResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TrainingJobLogEntry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTrainingJobLogsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTrainingJobLogsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_app_mltraining_v1_ml_training_proto_msgTypes[14].OneofWrappers = []interface{}{} + file_app_mltraining_v1_ml_training_proto_msgTypes[14].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/app/mltraining/v1/ml_training.pb.gw.go b/app/mltraining/v1/ml_training.pb.gw.go index c9b86a33..9b0082d6 100644 --- a/app/mltraining/v1/ml_training.pb.gw.go +++ b/app/mltraining/v1/ml_training.pb.gw.go @@ -35,11 +35,7 @@ func request_MLTrainingService_SubmitTrainingJob_0(ctx context.Context, marshale var protoReq SubmitTrainingJobRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_MLTrainingService_SubmitTrainingJob_0(ctx context.Context, ma var protoReq SubmitTrainingJobRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -69,11 +61,7 @@ func request_MLTrainingService_SubmitCustomTrainingJob_0(ctx context.Context, ma var protoReq SubmitCustomTrainingJobRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -86,11 +74,7 @@ func local_request_MLTrainingService_SubmitCustomTrainingJob_0(ctx context.Conte var protoReq SubmitCustomTrainingJobRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -103,11 +87,7 @@ func request_MLTrainingService_GetTrainingJob_0(ctx context.Context, marshaler r var protoReq GetTrainingJobRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -120,11 +100,7 @@ func local_request_MLTrainingService_GetTrainingJob_0(ctx context.Context, marsh var protoReq GetTrainingJobRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,11 +113,7 @@ func request_MLTrainingService_ListTrainingJobs_0(ctx context.Context, marshaler var protoReq ListTrainingJobsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -154,11 +126,7 @@ func local_request_MLTrainingService_ListTrainingJobs_0(ctx context.Context, mar var protoReq ListTrainingJobsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -171,11 +139,7 @@ func request_MLTrainingService_CancelTrainingJob_0(ctx context.Context, marshale var protoReq CancelTrainingJobRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -188,11 +152,7 @@ func local_request_MLTrainingService_CancelTrainingJob_0(ctx context.Context, ma var protoReq CancelTrainingJobRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -205,11 +165,7 @@ func request_MLTrainingService_DeleteCompletedTrainingJob_0(ctx context.Context, var protoReq DeleteCompletedTrainingJobRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -222,11 +178,7 @@ func local_request_MLTrainingService_DeleteCompletedTrainingJob_0(ctx context.Co var protoReq DeleteCompletedTrainingJobRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -239,11 +191,7 @@ func request_MLTrainingService_GetTrainingJobLogs_0(ctx context.Context, marshal var protoReq GetTrainingJobLogsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -256,11 +204,7 @@ func local_request_MLTrainingService_GetTrainingJobLogs_0(ctx context.Context, m var protoReq GetTrainingJobLogsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -456,21 +400,21 @@ func RegisterMLTrainingServiceHandlerServer(ctx context.Context, mux *runtime.Se // RegisterMLTrainingServiceHandlerFromEndpoint is same as RegisterMLTrainingServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterMLTrainingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/packages/v1/packages.pb.go b/app/packages/v1/packages.pb.go index 57b9af4c..7bce27c6 100644 --- a/app/packages/v1/packages.pb.go +++ b/app/packages/v1/packages.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: app/packages/v1/packages.proto @@ -93,11 +93,9 @@ type FileInfo struct { func (x *FileInfo) Reset() { *x = FileInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_app_packages_v1_packages_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_packages_v1_packages_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FileInfo) String() string { @@ -108,7 +106,7 @@ func (*FileInfo) ProtoMessage() {} func (x *FileInfo) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -160,11 +158,9 @@ type PackageInfo struct { func (x *PackageInfo) Reset() { *x = PackageInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_app_packages_v1_packages_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_packages_v1_packages_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PackageInfo) String() string { @@ -175,7 +171,7 @@ func (*PackageInfo) ProtoMessage() {} func (x *PackageInfo) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -253,11 +249,9 @@ type CreatePackageRequest struct { func (x *CreatePackageRequest) Reset() { *x = CreatePackageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_packages_v1_packages_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_packages_v1_packages_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreatePackageRequest) String() string { @@ -268,7 +262,7 @@ func (*CreatePackageRequest) ProtoMessage() {} func (x *CreatePackageRequest) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -334,11 +328,9 @@ type CreatePackageResponse struct { func (x *CreatePackageResponse) Reset() { *x = CreatePackageResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_packages_v1_packages_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_packages_v1_packages_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreatePackageResponse) String() string { @@ -349,7 +341,7 @@ func (*CreatePackageResponse) ProtoMessage() {} func (x *CreatePackageResponse) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -390,11 +382,9 @@ type DeletePackageRequest struct { func (x *DeletePackageRequest) Reset() { *x = DeletePackageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_packages_v1_packages_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_packages_v1_packages_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeletePackageRequest) String() string { @@ -405,7 +395,7 @@ func (*DeletePackageRequest) ProtoMessage() {} func (x *DeletePackageRequest) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -449,11 +439,9 @@ type DeletePackageResponse struct { func (x *DeletePackageResponse) Reset() { *x = DeletePackageResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_packages_v1_packages_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_packages_v1_packages_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeletePackageResponse) String() string { @@ -464,7 +452,7 @@ func (*DeletePackageResponse) ProtoMessage() {} func (x *DeletePackageResponse) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -493,11 +481,9 @@ type Package struct { func (x *Package) Reset() { *x = Package{} - if protoimpl.UnsafeEnabled { - mi := &file_app_packages_v1_packages_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_packages_v1_packages_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Package) String() string { @@ -508,7 +494,7 @@ func (*Package) ProtoMessage() {} func (x *Package) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -572,11 +558,9 @@ type GetPackageRequest struct { func (x *GetPackageRequest) Reset() { *x = GetPackageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_packages_v1_packages_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_packages_v1_packages_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPackageRequest) String() string { @@ -587,7 +571,7 @@ func (*GetPackageRequest) ProtoMessage() {} func (x *GetPackageRequest) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -647,11 +631,9 @@ type GetPackageResponse struct { func (x *GetPackageResponse) Reset() { *x = GetPackageResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_packages_v1_packages_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_packages_v1_packages_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPackageResponse) String() string { @@ -662,7 +644,7 @@ func (*GetPackageResponse) ProtoMessage() {} func (x *GetPackageResponse) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -698,11 +680,9 @@ type ListPackagesRequest struct { func (x *ListPackagesRequest) Reset() { *x = ListPackagesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_packages_v1_packages_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_packages_v1_packages_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListPackagesRequest) String() string { @@ -713,7 +693,7 @@ func (*ListPackagesRequest) ProtoMessage() {} func (x *ListPackagesRequest) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -773,11 +753,9 @@ type ListPackagesResponse struct { func (x *ListPackagesResponse) Reset() { *x = ListPackagesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_packages_v1_packages_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_packages_v1_packages_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListPackagesResponse) String() string { @@ -788,7 +766,7 @@ func (*ListPackagesResponse) ProtoMessage() {} func (x *ListPackagesResponse) ProtoReflect() protoreflect.Message { mi := &file_app_packages_v1_packages_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -987,7 +965,7 @@ func file_app_packages_v1_packages_proto_rawDescGZIP() []byte { var file_app_packages_v1_packages_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_app_packages_v1_packages_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_app_packages_v1_packages_proto_goTypes = []interface{}{ +var file_app_packages_v1_packages_proto_goTypes = []any{ (PackageType)(0), // 0: viam.app.packages.v1.PackageType (*FileInfo)(nil), // 1: viam.app.packages.v1.FileInfo (*PackageInfo)(nil), // 2: viam.app.packages.v1.PackageInfo @@ -1035,148 +1013,14 @@ func file_app_packages_v1_packages_proto_init() { if File_app_packages_v1_packages_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_app_packages_v1_packages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FileInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_packages_v1_packages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PackageInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_packages_v1_packages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreatePackageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_packages_v1_packages_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreatePackageResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_packages_v1_packages_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeletePackageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_packages_v1_packages_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeletePackageResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_packages_v1_packages_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Package); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_packages_v1_packages_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPackageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_packages_v1_packages_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPackageResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_packages_v1_packages_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListPackagesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_packages_v1_packages_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListPackagesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_app_packages_v1_packages_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_app_packages_v1_packages_proto_msgTypes[1].OneofWrappers = []interface{}{} - file_app_packages_v1_packages_proto_msgTypes[2].OneofWrappers = []interface{}{ + file_app_packages_v1_packages_proto_msgTypes[0].OneofWrappers = []any{} + file_app_packages_v1_packages_proto_msgTypes[1].OneofWrappers = []any{} + file_app_packages_v1_packages_proto_msgTypes[2].OneofWrappers = []any{ (*CreatePackageRequest_Info)(nil), (*CreatePackageRequest_Contents)(nil), } - file_app_packages_v1_packages_proto_msgTypes[7].OneofWrappers = []interface{}{} - file_app_packages_v1_packages_proto_msgTypes[9].OneofWrappers = []interface{}{} + file_app_packages_v1_packages_proto_msgTypes[7].OneofWrappers = []any{} + file_app_packages_v1_packages_proto_msgTypes[9].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/app/packages/v1/packages.pb.gw.go b/app/packages/v1/packages.pb.gw.go index e7123448..109f9939 100644 --- a/app/packages/v1/packages.pb.gw.go +++ b/app/packages/v1/packages.pb.gw.go @@ -35,7 +35,7 @@ func request_PackageService_CreatePackage_0(ctx context.Context, marshaler runti var metadata runtime.ServerMetadata stream, err := client.CreatePackage(ctx) if err != nil { - grpclog.Infof("Failed to start streaming: %v", err) + grpclog.Errorf("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -46,25 +46,25 @@ func request_PackageService_CreatePackage_0(ctx context.Context, marshaler runti break } if err != nil { - grpclog.Infof("Failed to decode request: %v", err) + grpclog.Errorf("Failed to decode request: %v", err) return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } if err = stream.Send(&protoReq); err != nil { if err == io.EOF { break } - grpclog.Infof("Failed to send request: %v", err) + grpclog.Errorf("Failed to send request: %v", err) return nil, metadata, err } } if err := stream.CloseSend(); err != nil { - grpclog.Infof("Failed to terminate client stream: %v", err) + grpclog.Errorf("Failed to terminate client stream: %v", err) return nil, metadata, err } header, err := stream.Header() if err != nil { - grpclog.Infof("Failed to get header from client: %v", err) + grpclog.Errorf("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -277,21 +277,21 @@ func RegisterPackageServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterPackageServiceHandlerFromEndpoint is same as RegisterPackageServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterPackageServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/v1/app.pb.go b/app/v1/app.pb.go index f010f3ea..1b3b8043 100644 --- a/app/v1/app.pb.go +++ b/app/v1/app.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: app/v1/app.proto @@ -340,7 +340,7 @@ func (x SharedSecret_State) Number() protoreflect.EnumNumber { // Deprecated: Use SharedSecret_State.Descriptor instead. func (SharedSecret_State) EnumDescriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{49, 0} + return file_app_v1_app_proto_rawDescGZIP(), []int{47, 0} } type Robot struct { @@ -357,11 +357,9 @@ type Robot struct { func (x *Robot) Reset() { *x = Robot{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Robot) String() string { @@ -372,7 +370,7 @@ func (*Robot) ProtoMessage() {} func (x *Robot) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -451,11 +449,9 @@ type RobotPart struct { func (x *RobotPart) Reset() { *x = RobotPart{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RobotPart) String() string { @@ -466,7 +462,7 @@ func (*RobotPart) ProtoMessage() {} func (x *RobotPart) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -600,11 +596,9 @@ type RobotPartHistoryEntry struct { func (x *RobotPartHistoryEntry) Reset() { *x = RobotPartHistoryEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RobotPartHistoryEntry) String() string { @@ -615,7 +609,7 @@ func (*RobotPartHistoryEntry) ProtoMessage() {} func (x *RobotPartHistoryEntry) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -677,11 +671,9 @@ type AuthenticatorInfo struct { func (x *AuthenticatorInfo) Reset() { *x = AuthenticatorInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AuthenticatorInfo) String() string { @@ -692,7 +684,7 @@ func (*AuthenticatorInfo) ProtoMessage() {} func (x *AuthenticatorInfo) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -736,11 +728,9 @@ type ListOrganizationsRequest struct { func (x *ListOrganizationsRequest) Reset() { *x = ListOrganizationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListOrganizationsRequest) String() string { @@ -751,7 +741,7 @@ func (*ListOrganizationsRequest) ProtoMessage() {} func (x *ListOrganizationsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -783,11 +773,9 @@ type Organization struct { func (x *Organization) Reset() { *x = Organization{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Organization) String() string { @@ -798,7 +786,7 @@ func (*Organization) ProtoMessage() {} func (x *Organization) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -868,11 +856,9 @@ type OrganizationMember struct { func (x *OrganizationMember) Reset() { *x = OrganizationMember{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OrganizationMember) String() string { @@ -883,7 +869,7 @@ func (*OrganizationMember) ProtoMessage() {} func (x *OrganizationMember) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -936,11 +922,9 @@ type ListOrganizationsResponse struct { func (x *ListOrganizationsResponse) Reset() { *x = ListOrganizationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListOrganizationsResponse) String() string { @@ -951,7 +935,7 @@ func (*ListOrganizationsResponse) ProtoMessage() {} func (x *ListOrganizationsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -986,11 +970,9 @@ type OrganizationInvite struct { func (x *OrganizationInvite) Reset() { *x = OrganizationInvite{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OrganizationInvite) String() string { @@ -1001,7 +983,7 @@ func (*OrganizationInvite) ProtoMessage() {} func (x *OrganizationInvite) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1054,11 +1036,9 @@ type CreateOrganizationRequest struct { func (x *CreateOrganizationRequest) Reset() { *x = CreateOrganizationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateOrganizationRequest) String() string { @@ -1069,7 +1049,7 @@ func (*CreateOrganizationRequest) ProtoMessage() {} func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1101,11 +1081,9 @@ type CreateOrganizationResponse struct { func (x *CreateOrganizationResponse) Reset() { *x = CreateOrganizationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateOrganizationResponse) String() string { @@ -1116,7 +1094,7 @@ func (*CreateOrganizationResponse) ProtoMessage() {} func (x *CreateOrganizationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1148,11 +1126,9 @@ type GetOrganizationRequest struct { func (x *GetOrganizationRequest) Reset() { *x = GetOrganizationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrganizationRequest) String() string { @@ -1163,7 +1139,7 @@ func (*GetOrganizationRequest) ProtoMessage() {} func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1195,11 +1171,9 @@ type GetOrganizationResponse struct { func (x *GetOrganizationResponse) Reset() { *x = GetOrganizationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrganizationResponse) String() string { @@ -1210,7 +1184,7 @@ func (*GetOrganizationResponse) ProtoMessage() {} func (x *GetOrganizationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1242,11 +1216,9 @@ type GetOrganizationNamespaceAvailabilityRequest struct { func (x *GetOrganizationNamespaceAvailabilityRequest) Reset() { *x = GetOrganizationNamespaceAvailabilityRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrganizationNamespaceAvailabilityRequest) String() string { @@ -1257,7 +1229,7 @@ func (*GetOrganizationNamespaceAvailabilityRequest) ProtoMessage() {} func (x *GetOrganizationNamespaceAvailabilityRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1289,11 +1261,9 @@ type GetOrganizationNamespaceAvailabilityResponse struct { func (x *GetOrganizationNamespaceAvailabilityResponse) Reset() { *x = GetOrganizationNamespaceAvailabilityResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrganizationNamespaceAvailabilityResponse) String() string { @@ -1304,7 +1274,7 @@ func (*GetOrganizationNamespaceAvailabilityResponse) ProtoMessage() {} func (x *GetOrganizationNamespaceAvailabilityResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1341,11 +1311,9 @@ type UpdateOrganizationRequest struct { func (x *UpdateOrganizationRequest) Reset() { *x = UpdateOrganizationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateOrganizationRequest) String() string { @@ -1356,7 +1324,7 @@ func (*UpdateOrganizationRequest) ProtoMessage() {} func (x *UpdateOrganizationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1416,11 +1384,9 @@ type UpdateOrganizationResponse struct { func (x *UpdateOrganizationResponse) Reset() { *x = UpdateOrganizationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateOrganizationResponse) String() string { @@ -1431,7 +1397,7 @@ func (*UpdateOrganizationResponse) ProtoMessage() {} func (x *UpdateOrganizationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1463,11 +1429,9 @@ type DeleteOrganizationRequest struct { func (x *DeleteOrganizationRequest) Reset() { *x = DeleteOrganizationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteOrganizationRequest) String() string { @@ -1478,7 +1442,7 @@ func (*DeleteOrganizationRequest) ProtoMessage() {} func (x *DeleteOrganizationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1508,11 +1472,9 @@ type DeleteOrganizationResponse struct { func (x *DeleteOrganizationResponse) Reset() { *x = DeleteOrganizationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteOrganizationResponse) String() string { @@ -1523,7 +1485,7 @@ func (*DeleteOrganizationResponse) ProtoMessage() {} func (x *DeleteOrganizationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1548,11 +1510,9 @@ type ListOrganizationMembersRequest struct { func (x *ListOrganizationMembersRequest) Reset() { *x = ListOrganizationMembersRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListOrganizationMembersRequest) String() string { @@ -1563,7 +1523,7 @@ func (*ListOrganizationMembersRequest) ProtoMessage() {} func (x *ListOrganizationMembersRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1597,11 +1557,9 @@ type ListOrganizationMembersResponse struct { func (x *ListOrganizationMembersResponse) Reset() { *x = ListOrganizationMembersResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListOrganizationMembersResponse) String() string { @@ -1612,7 +1570,7 @@ func (*ListOrganizationMembersResponse) ProtoMessage() {} func (x *ListOrganizationMembersResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1663,11 +1621,9 @@ type CreateOrganizationInviteRequest struct { func (x *CreateOrganizationInviteRequest) Reset() { *x = CreateOrganizationInviteRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateOrganizationInviteRequest) String() string { @@ -1678,7 +1634,7 @@ func (*CreateOrganizationInviteRequest) ProtoMessage() {} func (x *CreateOrganizationInviteRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1731,11 +1687,9 @@ type CreateOrganizationInviteResponse struct { func (x *CreateOrganizationInviteResponse) Reset() { *x = CreateOrganizationInviteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateOrganizationInviteResponse) String() string { @@ -1746,7 +1700,7 @@ func (*CreateOrganizationInviteResponse) ProtoMessage() {} func (x *CreateOrganizationInviteResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1781,11 +1735,9 @@ type UpdateOrganizationInviteAuthorizationsRequest struct { func (x *UpdateOrganizationInviteAuthorizationsRequest) Reset() { *x = UpdateOrganizationInviteAuthorizationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateOrganizationInviteAuthorizationsRequest) String() string { @@ -1796,7 +1748,7 @@ func (*UpdateOrganizationInviteAuthorizationsRequest) ProtoMessage() {} func (x *UpdateOrganizationInviteAuthorizationsRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1849,11 +1801,9 @@ type UpdateOrganizationInviteAuthorizationsResponse struct { func (x *UpdateOrganizationInviteAuthorizationsResponse) Reset() { *x = UpdateOrganizationInviteAuthorizationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateOrganizationInviteAuthorizationsResponse) String() string { @@ -1864,7 +1814,7 @@ func (*UpdateOrganizationInviteAuthorizationsResponse) ProtoMessage() {} func (x *UpdateOrganizationInviteAuthorizationsResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1897,11 +1847,9 @@ type DeleteOrganizationInviteRequest struct { func (x *DeleteOrganizationInviteRequest) Reset() { *x = DeleteOrganizationInviteRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteOrganizationInviteRequest) String() string { @@ -1912,7 +1860,7 @@ func (*DeleteOrganizationInviteRequest) ProtoMessage() {} func (x *DeleteOrganizationInviteRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1949,11 +1897,9 @@ type DeleteOrganizationInviteResponse struct { func (x *DeleteOrganizationInviteResponse) Reset() { *x = DeleteOrganizationInviteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteOrganizationInviteResponse) String() string { @@ -1964,7 +1910,7 @@ func (*DeleteOrganizationInviteResponse) ProtoMessage() {} func (x *DeleteOrganizationInviteResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1990,11 +1936,9 @@ type ResendOrganizationInviteRequest struct { func (x *ResendOrganizationInviteRequest) Reset() { *x = ResendOrganizationInviteRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResendOrganizationInviteRequest) String() string { @@ -2005,7 +1949,7 @@ func (*ResendOrganizationInviteRequest) ProtoMessage() {} func (x *ResendOrganizationInviteRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2044,11 +1988,9 @@ type ResendOrganizationInviteResponse struct { func (x *ResendOrganizationInviteResponse) Reset() { *x = ResendOrganizationInviteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResendOrganizationInviteResponse) String() string { @@ -2059,7 +2001,7 @@ func (*ResendOrganizationInviteResponse) ProtoMessage() {} func (x *ResendOrganizationInviteResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2092,11 +2034,9 @@ type DeleteOrganizationMemberRequest struct { func (x *DeleteOrganizationMemberRequest) Reset() { *x = DeleteOrganizationMemberRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteOrganizationMemberRequest) String() string { @@ -2107,7 +2047,7 @@ func (*DeleteOrganizationMemberRequest) ProtoMessage() {} func (x *DeleteOrganizationMemberRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2144,11 +2084,9 @@ type DeleteOrganizationMemberResponse struct { func (x *DeleteOrganizationMemberResponse) Reset() { *x = DeleteOrganizationMemberResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteOrganizationMemberResponse) String() string { @@ -2159,7 +2097,7 @@ func (*DeleteOrganizationMemberResponse) ProtoMessage() {} func (x *DeleteOrganizationMemberResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2188,11 +2126,9 @@ type BillingAddress struct { func (x *BillingAddress) Reset() { *x = BillingAddress{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BillingAddress) String() string { @@ -2203,7 +2139,7 @@ func (*BillingAddress) ProtoMessage() {} func (x *BillingAddress) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2264,11 +2200,9 @@ type EnableBillingServiceRequest struct { func (x *EnableBillingServiceRequest) Reset() { *x = EnableBillingServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnableBillingServiceRequest) String() string { @@ -2279,7 +2213,7 @@ func (*EnableBillingServiceRequest) ProtoMessage() {} func (x *EnableBillingServiceRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2316,11 +2250,9 @@ type EnableBillingServiceResponse struct { func (x *EnableBillingServiceResponse) Reset() { *x = EnableBillingServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnableBillingServiceResponse) String() string { @@ -2331,7 +2263,7 @@ func (*EnableBillingServiceResponse) ProtoMessage() {} func (x *EnableBillingServiceResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2357,11 +2289,9 @@ type UpdateBillingServiceRequest struct { func (x *UpdateBillingServiceRequest) Reset() { *x = UpdateBillingServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateBillingServiceRequest) String() string { @@ -2372,7 +2302,7 @@ func (*UpdateBillingServiceRequest) ProtoMessage() {} func (x *UpdateBillingServiceRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2409,11 +2339,9 @@ type UpdateBillingServiceResponse struct { func (x *UpdateBillingServiceResponse) Reset() { *x = UpdateBillingServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateBillingServiceResponse) String() string { @@ -2424,7 +2352,7 @@ func (*UpdateBillingServiceResponse) ProtoMessage() {} func (x *UpdateBillingServiceResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_app_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2439,100 +2367,6 @@ func (*UpdateBillingServiceResponse) Descriptor() ([]byte, []int) { return file_app_v1_app_proto_rawDescGZIP(), []int{35} } -type GetBillingServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` -} - -func (x *GetBillingServiceRequest) Reset() { - *x = GetBillingServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetBillingServiceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBillingServiceRequest) ProtoMessage() {} - -func (x *GetBillingServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[36] - 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 GetBillingServiceRequest.ProtoReflect.Descriptor instead. -func (*GetBillingServiceRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{36} -} - -func (x *GetBillingServiceRequest) GetOrgId() string { - if x != nil { - return x.OrgId - } - return "" -} - -type GetBillingServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BillingAddress *BillingAddress `protobuf:"bytes,1,opt,name=billing_address,json=billingAddress,proto3" json:"billing_address,omitempty"` -} - -func (x *GetBillingServiceResponse) Reset() { - *x = GetBillingServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetBillingServiceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBillingServiceResponse) ProtoMessage() {} - -func (x *GetBillingServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[37] - 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 GetBillingServiceResponse.ProtoReflect.Descriptor instead. -func (*GetBillingServiceResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{37} -} - -func (x *GetBillingServiceResponse) GetBillingAddress() *BillingAddress { - if x != nil { - return x.BillingAddress - } - return nil -} - type DisableBillingServiceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2543,11 +2377,9 @@ type DisableBillingServiceRequest struct { func (x *DisableBillingServiceRequest) Reset() { *x = DisableBillingServiceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DisableBillingServiceRequest) String() string { @@ -2557,8 +2389,8 @@ func (x *DisableBillingServiceRequest) String() string { func (*DisableBillingServiceRequest) ProtoMessage() {} func (x *DisableBillingServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[36] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2570,7 +2402,7 @@ func (x *DisableBillingServiceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DisableBillingServiceRequest.ProtoReflect.Descriptor instead. func (*DisableBillingServiceRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{38} + return file_app_v1_app_proto_rawDescGZIP(), []int{36} } func (x *DisableBillingServiceRequest) GetOrgId() string { @@ -2588,11 +2420,9 @@ type DisableBillingServiceResponse struct { func (x *DisableBillingServiceResponse) Reset() { *x = DisableBillingServiceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DisableBillingServiceResponse) String() string { @@ -2602,8 +2432,8 @@ func (x *DisableBillingServiceResponse) String() string { func (*DisableBillingServiceResponse) ProtoMessage() {} func (x *DisableBillingServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[37] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2615,7 +2445,7 @@ func (x *DisableBillingServiceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DisableBillingServiceResponse.ProtoReflect.Descriptor instead. func (*DisableBillingServiceResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{39} + return file_app_v1_app_proto_rawDescGZIP(), []int{37} } type OrganizationSetSupportEmailRequest struct { @@ -2629,11 +2459,9 @@ type OrganizationSetSupportEmailRequest struct { func (x *OrganizationSetSupportEmailRequest) Reset() { *x = OrganizationSetSupportEmailRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OrganizationSetSupportEmailRequest) String() string { @@ -2643,8 +2471,8 @@ func (x *OrganizationSetSupportEmailRequest) String() string { func (*OrganizationSetSupportEmailRequest) ProtoMessage() {} func (x *OrganizationSetSupportEmailRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[38] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2656,7 +2484,7 @@ func (x *OrganizationSetSupportEmailRequest) ProtoReflect() protoreflect.Message // Deprecated: Use OrganizationSetSupportEmailRequest.ProtoReflect.Descriptor instead. func (*OrganizationSetSupportEmailRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{40} + return file_app_v1_app_proto_rawDescGZIP(), []int{38} } func (x *OrganizationSetSupportEmailRequest) GetOrgId() string { @@ -2681,11 +2509,9 @@ type OrganizationSetSupportEmailResponse struct { func (x *OrganizationSetSupportEmailResponse) Reset() { *x = OrganizationSetSupportEmailResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OrganizationSetSupportEmailResponse) String() string { @@ -2695,8 +2521,8 @@ func (x *OrganizationSetSupportEmailResponse) String() string { func (*OrganizationSetSupportEmailResponse) ProtoMessage() {} func (x *OrganizationSetSupportEmailResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[39] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2708,7 +2534,7 @@ func (x *OrganizationSetSupportEmailResponse) ProtoReflect() protoreflect.Messag // Deprecated: Use OrganizationSetSupportEmailResponse.ProtoReflect.Descriptor instead. func (*OrganizationSetSupportEmailResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{41} + return file_app_v1_app_proto_rawDescGZIP(), []int{39} } type OrganizationGetSupportEmailRequest struct { @@ -2721,11 +2547,9 @@ type OrganizationGetSupportEmailRequest struct { func (x *OrganizationGetSupportEmailRequest) Reset() { *x = OrganizationGetSupportEmailRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OrganizationGetSupportEmailRequest) String() string { @@ -2735,8 +2559,8 @@ func (x *OrganizationGetSupportEmailRequest) String() string { func (*OrganizationGetSupportEmailRequest) ProtoMessage() {} func (x *OrganizationGetSupportEmailRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[40] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2748,7 +2572,7 @@ func (x *OrganizationGetSupportEmailRequest) ProtoReflect() protoreflect.Message // Deprecated: Use OrganizationGetSupportEmailRequest.ProtoReflect.Descriptor instead. func (*OrganizationGetSupportEmailRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{42} + return file_app_v1_app_proto_rawDescGZIP(), []int{40} } func (x *OrganizationGetSupportEmailRequest) GetOrgId() string { @@ -2768,11 +2592,9 @@ type OrganizationGetSupportEmailResponse struct { func (x *OrganizationGetSupportEmailResponse) Reset() { *x = OrganizationGetSupportEmailResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OrganizationGetSupportEmailResponse) String() string { @@ -2782,9 +2604,9 @@ func (x *OrganizationGetSupportEmailResponse) String() string { func (*OrganizationGetSupportEmailResponse) ProtoMessage() {} func (x *OrganizationGetSupportEmailResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + mi := &file_app_v1_app_proto_msgTypes[41] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } @@ -2795,7 +2617,7 @@ func (x *OrganizationGetSupportEmailResponse) ProtoReflect() protoreflect.Messag // Deprecated: Use OrganizationGetSupportEmailResponse.ProtoReflect.Descriptor instead. func (*OrganizationGetSupportEmailResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{43} + return file_app_v1_app_proto_rawDescGZIP(), []int{41} } func (x *OrganizationGetSupportEmailResponse) GetEmail() string { @@ -2820,11 +2642,9 @@ type OrganizationIdentity struct { func (x *OrganizationIdentity) Reset() { *x = OrganizationIdentity{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OrganizationIdentity) String() string { @@ -2834,8 +2654,8 @@ func (x *OrganizationIdentity) String() string { func (*OrganizationIdentity) ProtoMessage() {} func (x *OrganizationIdentity) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[42] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2847,7 +2667,7 @@ func (x *OrganizationIdentity) ProtoReflect() protoreflect.Message { // Deprecated: Use OrganizationIdentity.ProtoReflect.Descriptor instead. func (*OrganizationIdentity) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{44} + return file_app_v1_app_proto_rawDescGZIP(), []int{42} } func (x *OrganizationIdentity) GetId() string { @@ -2877,11 +2697,9 @@ type LocationOrganization struct { func (x *LocationOrganization) Reset() { *x = LocationOrganization{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LocationOrganization) String() string { @@ -2891,8 +2709,8 @@ func (x *LocationOrganization) String() string { func (*LocationOrganization) ProtoMessage() {} func (x *LocationOrganization) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[43] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2904,7 +2722,7 @@ func (x *LocationOrganization) ProtoReflect() protoreflect.Message { // Deprecated: Use LocationOrganization.ProtoReflect.Descriptor instead. func (*LocationOrganization) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{45} + return file_app_v1_app_proto_rawDescGZIP(), []int{43} } func (x *LocationOrganization) GetOrganizationId() string { @@ -2928,7 +2746,7 @@ type LocationAuth struct { // Deprecated: use secrets field. // - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in app/v1/app.proto. Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // Location ID containing this LocationAuth. LocationId string `protobuf:"bytes,2,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` @@ -2938,11 +2756,9 @@ type LocationAuth struct { func (x *LocationAuth) Reset() { *x = LocationAuth{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LocationAuth) String() string { @@ -2952,8 +2768,8 @@ func (x *LocationAuth) String() string { func (*LocationAuth) ProtoMessage() {} func (x *LocationAuth) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[44] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2965,10 +2781,10 @@ func (x *LocationAuth) ProtoReflect() protoreflect.Message { // Deprecated: Use LocationAuth.ProtoReflect.Descriptor instead. func (*LocationAuth) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{46} + return file_app_v1_app_proto_rawDescGZIP(), []int{44} } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in app/v1/app.proto. func (x *LocationAuth) GetSecret() string { if x != nil { return x.Secret @@ -3001,11 +2817,9 @@ type StorageConfig struct { func (x *StorageConfig) Reset() { *x = StorageConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StorageConfig) String() string { @@ -3015,8 +2829,8 @@ func (x *StorageConfig) String() string { func (*StorageConfig) ProtoMessage() {} func (x *StorageConfig) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[45] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3028,7 +2842,7 @@ func (x *StorageConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use StorageConfig.ProtoReflect.Descriptor instead. func (*StorageConfig) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{47} + return file_app_v1_app_proto_rawDescGZIP(), []int{45} } func (x *StorageConfig) GetRegion() string { @@ -3062,11 +2876,9 @@ type Location struct { func (x *Location) Reset() { *x = Location{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Location) String() string { @@ -3076,8 +2888,8 @@ func (x *Location) String() string { func (*Location) ProtoMessage() {} func (x *Location) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[46] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3089,7 +2901,7 @@ func (x *Location) ProtoReflect() protoreflect.Message { // Deprecated: Use Location.ProtoReflect.Descriptor instead. func (*Location) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{48} + return file_app_v1_app_proto_rawDescGZIP(), []int{46} } func (x *Location) GetId() string { @@ -3166,11 +2978,9 @@ type SharedSecret struct { func (x *SharedSecret) Reset() { *x = SharedSecret{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SharedSecret) String() string { @@ -3180,8 +2990,8 @@ func (x *SharedSecret) String() string { func (*SharedSecret) ProtoMessage() {} func (x *SharedSecret) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[47] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3193,7 +3003,7 @@ func (x *SharedSecret) ProtoReflect() protoreflect.Message { // Deprecated: Use SharedSecret.ProtoReflect.Descriptor instead. func (*SharedSecret) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{49} + return file_app_v1_app_proto_rawDescGZIP(), []int{47} } func (x *SharedSecret) GetId() string { @@ -3239,11 +3049,9 @@ type CreateLocationRequest struct { func (x *CreateLocationRequest) Reset() { *x = CreateLocationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateLocationRequest) String() string { @@ -3253,8 +3061,8 @@ func (x *CreateLocationRequest) String() string { func (*CreateLocationRequest) ProtoMessage() {} func (x *CreateLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[48] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3266,7 +3074,7 @@ func (x *CreateLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateLocationRequest.ProtoReflect.Descriptor instead. func (*CreateLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{50} + return file_app_v1_app_proto_rawDescGZIP(), []int{48} } func (x *CreateLocationRequest) GetOrganizationId() string { @@ -3301,11 +3109,9 @@ type CreateLocationResponse struct { func (x *CreateLocationResponse) Reset() { *x = CreateLocationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateLocationResponse) String() string { @@ -3315,8 +3121,8 @@ func (x *CreateLocationResponse) String() string { func (*CreateLocationResponse) ProtoMessage() {} func (x *CreateLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[49] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3328,7 +3134,7 @@ func (x *CreateLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateLocationResponse.ProtoReflect.Descriptor instead. func (*CreateLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{51} + return file_app_v1_app_proto_rawDescGZIP(), []int{49} } func (x *CreateLocationResponse) GetLocation() *Location { @@ -3349,11 +3155,9 @@ type GetLocationRequest struct { func (x *GetLocationRequest) Reset() { *x = GetLocationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLocationRequest) String() string { @@ -3363,8 +3167,8 @@ func (x *GetLocationRequest) String() string { func (*GetLocationRequest) ProtoMessage() {} func (x *GetLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[50] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3376,7 +3180,7 @@ func (x *GetLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetLocationRequest.ProtoReflect.Descriptor instead. func (*GetLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{52} + return file_app_v1_app_proto_rawDescGZIP(), []int{50} } func (x *GetLocationRequest) GetLocationId() string { @@ -3397,11 +3201,9 @@ type GetLocationResponse struct { func (x *GetLocationResponse) Reset() { *x = GetLocationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLocationResponse) String() string { @@ -3411,8 +3213,8 @@ func (x *GetLocationResponse) String() string { func (*GetLocationResponse) ProtoMessage() {} func (x *GetLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[53] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[51] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3424,7 +3226,7 @@ func (x *GetLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetLocationResponse.ProtoReflect.Descriptor instead. func (*GetLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{53} + return file_app_v1_app_proto_rawDescGZIP(), []int{51} } func (x *GetLocationResponse) GetLocation() *Location { @@ -3451,11 +3253,9 @@ type UpdateLocationRequest struct { func (x *UpdateLocationRequest) Reset() { *x = UpdateLocationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateLocationRequest) String() string { @@ -3465,8 +3265,8 @@ func (x *UpdateLocationRequest) String() string { func (*UpdateLocationRequest) ProtoMessage() {} func (x *UpdateLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[54] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[52] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3478,7 +3278,7 @@ func (x *UpdateLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateLocationRequest.ProtoReflect.Descriptor instead. func (*UpdateLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{54} + return file_app_v1_app_proto_rawDescGZIP(), []int{52} } func (x *UpdateLocationRequest) GetLocationId() string { @@ -3520,11 +3320,9 @@ type UpdateLocationResponse struct { func (x *UpdateLocationResponse) Reset() { *x = UpdateLocationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateLocationResponse) String() string { @@ -3534,8 +3332,8 @@ func (x *UpdateLocationResponse) String() string { func (*UpdateLocationResponse) ProtoMessage() {} func (x *UpdateLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[55] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[53] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3547,7 +3345,7 @@ func (x *UpdateLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateLocationResponse.ProtoReflect.Descriptor instead. func (*UpdateLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{55} + return file_app_v1_app_proto_rawDescGZIP(), []int{53} } func (x *UpdateLocationResponse) GetLocation() *Location { @@ -3568,11 +3366,9 @@ type DeleteLocationRequest struct { func (x *DeleteLocationRequest) Reset() { *x = DeleteLocationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteLocationRequest) String() string { @@ -3582,8 +3378,8 @@ func (x *DeleteLocationRequest) String() string { func (*DeleteLocationRequest) ProtoMessage() {} func (x *DeleteLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[56] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[54] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3595,7 +3391,7 @@ func (x *DeleteLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteLocationRequest.ProtoReflect.Descriptor instead. func (*DeleteLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{56} + return file_app_v1_app_proto_rawDescGZIP(), []int{54} } func (x *DeleteLocationRequest) GetLocationId() string { @@ -3613,11 +3409,9 @@ type DeleteLocationResponse struct { func (x *DeleteLocationResponse) Reset() { *x = DeleteLocationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteLocationResponse) String() string { @@ -3627,8 +3421,8 @@ func (x *DeleteLocationResponse) String() string { func (*DeleteLocationResponse) ProtoMessage() {} func (x *DeleteLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[57] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[55] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3640,7 +3434,7 @@ func (x *DeleteLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteLocationResponse.ProtoReflect.Descriptor instead. func (*DeleteLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{57} + return file_app_v1_app_proto_rawDescGZIP(), []int{55} } type GetOrganizationsWithAccessToLocationRequest struct { @@ -3653,11 +3447,9 @@ type GetOrganizationsWithAccessToLocationRequest struct { func (x *GetOrganizationsWithAccessToLocationRequest) Reset() { *x = GetOrganizationsWithAccessToLocationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrganizationsWithAccessToLocationRequest) String() string { @@ -3667,8 +3459,8 @@ func (x *GetOrganizationsWithAccessToLocationRequest) String() string { func (*GetOrganizationsWithAccessToLocationRequest) ProtoMessage() {} func (x *GetOrganizationsWithAccessToLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[58] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[56] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3680,7 +3472,7 @@ func (x *GetOrganizationsWithAccessToLocationRequest) ProtoReflect() protoreflec // Deprecated: Use GetOrganizationsWithAccessToLocationRequest.ProtoReflect.Descriptor instead. func (*GetOrganizationsWithAccessToLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{58} + return file_app_v1_app_proto_rawDescGZIP(), []int{56} } func (x *GetOrganizationsWithAccessToLocationRequest) GetLocationId() string { @@ -3700,11 +3492,9 @@ type GetOrganizationsWithAccessToLocationResponse struct { func (x *GetOrganizationsWithAccessToLocationResponse) Reset() { *x = GetOrganizationsWithAccessToLocationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrganizationsWithAccessToLocationResponse) String() string { @@ -3714,8 +3504,8 @@ func (x *GetOrganizationsWithAccessToLocationResponse) String() string { func (*GetOrganizationsWithAccessToLocationResponse) ProtoMessage() {} func (x *GetOrganizationsWithAccessToLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[59] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[57] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3727,7 +3517,7 @@ func (x *GetOrganizationsWithAccessToLocationResponse) ProtoReflect() protorefle // Deprecated: Use GetOrganizationsWithAccessToLocationResponse.ProtoReflect.Descriptor instead. func (*GetOrganizationsWithAccessToLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{59} + return file_app_v1_app_proto_rawDescGZIP(), []int{57} } func (x *GetOrganizationsWithAccessToLocationResponse) GetOrganizationIdentities() []*OrganizationIdentity { @@ -3748,11 +3538,9 @@ type ListLocationsRequest struct { func (x *ListLocationsRequest) Reset() { *x = ListLocationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListLocationsRequest) String() string { @@ -3762,8 +3550,8 @@ func (x *ListLocationsRequest) String() string { func (*ListLocationsRequest) ProtoMessage() {} func (x *ListLocationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[60] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[58] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3775,7 +3563,7 @@ func (x *ListLocationsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListLocationsRequest.ProtoReflect.Descriptor instead. func (*ListLocationsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{60} + return file_app_v1_app_proto_rawDescGZIP(), []int{58} } func (x *ListLocationsRequest) GetOrganizationId() string { @@ -3798,11 +3586,9 @@ type ShareLocationRequest struct { func (x *ShareLocationRequest) Reset() { *x = ShareLocationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[61] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShareLocationRequest) String() string { @@ -3812,8 +3598,8 @@ func (x *ShareLocationRequest) String() string { func (*ShareLocationRequest) ProtoMessage() {} func (x *ShareLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[61] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[59] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3825,7 +3611,7 @@ func (x *ShareLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ShareLocationRequest.ProtoReflect.Descriptor instead. func (*ShareLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{61} + return file_app_v1_app_proto_rawDescGZIP(), []int{59} } func (x *ShareLocationRequest) GetLocationId() string { @@ -3850,11 +3636,9 @@ type ShareLocationResponse struct { func (x *ShareLocationResponse) Reset() { *x = ShareLocationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShareLocationResponse) String() string { @@ -3864,8 +3648,8 @@ func (x *ShareLocationResponse) String() string { func (*ShareLocationResponse) ProtoMessage() {} func (x *ShareLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[62] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[60] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3877,7 +3661,7 @@ func (x *ShareLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ShareLocationResponse.ProtoReflect.Descriptor instead. func (*ShareLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{62} + return file_app_v1_app_proto_rawDescGZIP(), []int{60} } type UnshareLocationRequest struct { @@ -3893,11 +3677,9 @@ type UnshareLocationRequest struct { func (x *UnshareLocationRequest) Reset() { *x = UnshareLocationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[63] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UnshareLocationRequest) String() string { @@ -3907,8 +3689,8 @@ func (x *UnshareLocationRequest) String() string { func (*UnshareLocationRequest) ProtoMessage() {} func (x *UnshareLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[63] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[61] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3920,7 +3702,7 @@ func (x *UnshareLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UnshareLocationRequest.ProtoReflect.Descriptor instead. func (*UnshareLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{63} + return file_app_v1_app_proto_rawDescGZIP(), []int{61} } func (x *UnshareLocationRequest) GetLocationId() string { @@ -3945,11 +3727,9 @@ type UnshareLocationResponse struct { func (x *UnshareLocationResponse) Reset() { *x = UnshareLocationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UnshareLocationResponse) String() string { @@ -3959,8 +3739,8 @@ func (x *UnshareLocationResponse) String() string { func (*UnshareLocationResponse) ProtoMessage() {} func (x *UnshareLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[64] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[62] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3972,7 +3752,7 @@ func (x *UnshareLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UnshareLocationResponse.ProtoReflect.Descriptor instead. func (*UnshareLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{64} + return file_app_v1_app_proto_rawDescGZIP(), []int{62} } type ListLocationsResponse struct { @@ -3985,11 +3765,9 @@ type ListLocationsResponse struct { func (x *ListLocationsResponse) Reset() { *x = ListLocationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[65] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListLocationsResponse) String() string { @@ -3999,8 +3777,8 @@ func (x *ListLocationsResponse) String() string { func (*ListLocationsResponse) ProtoMessage() {} func (x *ListLocationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[65] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[63] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4012,7 +3790,7 @@ func (x *ListLocationsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListLocationsResponse.ProtoReflect.Descriptor instead. func (*ListLocationsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{65} + return file_app_v1_app_proto_rawDescGZIP(), []int{63} } func (x *ListLocationsResponse) GetLocations() []*Location { @@ -4033,11 +3811,9 @@ type CreateLocationSecretRequest struct { func (x *CreateLocationSecretRequest) Reset() { *x = CreateLocationSecretRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[66] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateLocationSecretRequest) String() string { @@ -4047,8 +3823,8 @@ func (x *CreateLocationSecretRequest) String() string { func (*CreateLocationSecretRequest) ProtoMessage() {} func (x *CreateLocationSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[66] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[64] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4060,7 +3836,7 @@ func (x *CreateLocationSecretRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateLocationSecretRequest.ProtoReflect.Descriptor instead. func (*CreateLocationSecretRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{66} + return file_app_v1_app_proto_rawDescGZIP(), []int{64} } func (x *CreateLocationSecretRequest) GetLocationId() string { @@ -4081,11 +3857,9 @@ type CreateLocationSecretResponse struct { func (x *CreateLocationSecretResponse) Reset() { *x = CreateLocationSecretResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[67] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateLocationSecretResponse) String() string { @@ -4095,8 +3869,8 @@ func (x *CreateLocationSecretResponse) String() string { func (*CreateLocationSecretResponse) ProtoMessage() {} func (x *CreateLocationSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[67] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[65] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4108,7 +3882,7 @@ func (x *CreateLocationSecretResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateLocationSecretResponse.ProtoReflect.Descriptor instead. func (*CreateLocationSecretResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{67} + return file_app_v1_app_proto_rawDescGZIP(), []int{65} } func (x *CreateLocationSecretResponse) GetAuth() *LocationAuth { @@ -4129,11 +3903,9 @@ type DeleteLocationSecretRequest struct { func (x *DeleteLocationSecretRequest) Reset() { *x = DeleteLocationSecretRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[68] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteLocationSecretRequest) String() string { @@ -4143,8 +3915,8 @@ func (x *DeleteLocationSecretRequest) String() string { func (*DeleteLocationSecretRequest) ProtoMessage() {} func (x *DeleteLocationSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[68] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[66] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4156,7 +3928,7 @@ func (x *DeleteLocationSecretRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteLocationSecretRequest.ProtoReflect.Descriptor instead. func (*DeleteLocationSecretRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{68} + return file_app_v1_app_proto_rawDescGZIP(), []int{66} } func (x *DeleteLocationSecretRequest) GetLocationId() string { @@ -4181,11 +3953,9 @@ type DeleteLocationSecretResponse struct { func (x *DeleteLocationSecretResponse) Reset() { *x = DeleteLocationSecretResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[69] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteLocationSecretResponse) String() string { @@ -4195,8 +3965,8 @@ func (x *DeleteLocationSecretResponse) String() string { func (*DeleteLocationSecretResponse) ProtoMessage() {} func (x *DeleteLocationSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[69] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[67] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4208,7 +3978,7 @@ func (x *DeleteLocationSecretResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteLocationSecretResponse.ProtoReflect.Descriptor instead. func (*DeleteLocationSecretResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{69} + return file_app_v1_app_proto_rawDescGZIP(), []int{67} } type LocationAuthRequest struct { @@ -4221,11 +3991,9 @@ type LocationAuthRequest struct { func (x *LocationAuthRequest) Reset() { *x = LocationAuthRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[70] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LocationAuthRequest) String() string { @@ -4235,8 +4003,8 @@ func (x *LocationAuthRequest) String() string { func (*LocationAuthRequest) ProtoMessage() {} func (x *LocationAuthRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[70] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[68] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4248,7 +4016,7 @@ func (x *LocationAuthRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use LocationAuthRequest.ProtoReflect.Descriptor instead. func (*LocationAuthRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{70} + return file_app_v1_app_proto_rawDescGZIP(), []int{68} } func (x *LocationAuthRequest) GetLocationId() string { @@ -4268,11 +4036,9 @@ type LocationAuthResponse struct { func (x *LocationAuthResponse) Reset() { *x = LocationAuthResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[71] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LocationAuthResponse) String() string { @@ -4282,8 +4048,8 @@ func (x *LocationAuthResponse) String() string { func (*LocationAuthResponse) ProtoMessage() {} func (x *LocationAuthResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[71] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[69] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4295,7 +4061,7 @@ func (x *LocationAuthResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use LocationAuthResponse.ProtoReflect.Descriptor instead. func (*LocationAuthResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{71} + return file_app_v1_app_proto_rawDescGZIP(), []int{69} } func (x *LocationAuthResponse) GetAuth() *LocationAuth { @@ -4315,11 +4081,9 @@ type GetRobotRequest struct { func (x *GetRobotRequest) Reset() { *x = GetRobotRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[72] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRobotRequest) String() string { @@ -4329,8 +4093,8 @@ func (x *GetRobotRequest) String() string { func (*GetRobotRequest) ProtoMessage() {} func (x *GetRobotRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[72] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[70] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4342,7 +4106,7 @@ func (x *GetRobotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotRequest.ProtoReflect.Descriptor instead. func (*GetRobotRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{72} + return file_app_v1_app_proto_rawDescGZIP(), []int{70} } func (x *GetRobotRequest) GetId() string { @@ -4362,11 +4126,9 @@ type GetRoverRentalRobotsRequest struct { func (x *GetRoverRentalRobotsRequest) Reset() { *x = GetRoverRentalRobotsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[73] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRoverRentalRobotsRequest) String() string { @@ -4376,8 +4138,8 @@ func (x *GetRoverRentalRobotsRequest) String() string { func (*GetRoverRentalRobotsRequest) ProtoMessage() {} func (x *GetRoverRentalRobotsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[73] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[71] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4389,7 +4151,7 @@ func (x *GetRoverRentalRobotsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoverRentalRobotsRequest.ProtoReflect.Descriptor instead. func (*GetRoverRentalRobotsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{73} + return file_app_v1_app_proto_rawDescGZIP(), []int{71} } func (x *GetRoverRentalRobotsRequest) GetOrgId() string { @@ -4412,11 +4174,9 @@ type RoverRentalRobot struct { func (x *RoverRentalRobot) Reset() { *x = RoverRentalRobot{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[74] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RoverRentalRobot) String() string { @@ -4426,8 +4186,8 @@ func (x *RoverRentalRobot) String() string { func (*RoverRentalRobot) ProtoMessage() {} func (x *RoverRentalRobot) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[74] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[72] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4439,7 +4199,7 @@ func (x *RoverRentalRobot) ProtoReflect() protoreflect.Message { // Deprecated: Use RoverRentalRobot.ProtoReflect.Descriptor instead. func (*RoverRentalRobot) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{74} + return file_app_v1_app_proto_rawDescGZIP(), []int{72} } func (x *RoverRentalRobot) GetRobotId() string { @@ -4480,11 +4240,9 @@ type GetRoverRentalRobotsResponse struct { func (x *GetRoverRentalRobotsResponse) Reset() { *x = GetRoverRentalRobotsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[75] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRoverRentalRobotsResponse) String() string { @@ -4494,8 +4252,8 @@ func (x *GetRoverRentalRobotsResponse) String() string { func (*GetRoverRentalRobotsResponse) ProtoMessage() {} func (x *GetRoverRentalRobotsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[75] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[73] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4507,7 +4265,7 @@ func (x *GetRoverRentalRobotsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoverRentalRobotsResponse.ProtoReflect.Descriptor instead. func (*GetRoverRentalRobotsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{75} + return file_app_v1_app_proto_rawDescGZIP(), []int{73} } func (x *GetRoverRentalRobotsResponse) GetRobots() []*RoverRentalRobot { @@ -4527,11 +4285,9 @@ type GetRobotResponse struct { func (x *GetRobotResponse) Reset() { *x = GetRobotResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[76] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRobotResponse) String() string { @@ -4541,8 +4297,8 @@ func (x *GetRobotResponse) String() string { func (*GetRobotResponse) ProtoMessage() {} func (x *GetRobotResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[76] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[74] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4554,7 +4310,7 @@ func (x *GetRobotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotResponse.ProtoReflect.Descriptor instead. func (*GetRobotResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{76} + return file_app_v1_app_proto_rawDescGZIP(), []int{74} } func (x *GetRobotResponse) GetRobot() *Robot { @@ -4574,11 +4330,9 @@ type GetRobotPartsRequest struct { func (x *GetRobotPartsRequest) Reset() { *x = GetRobotPartsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[77] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRobotPartsRequest) String() string { @@ -4588,8 +4342,8 @@ func (x *GetRobotPartsRequest) String() string { func (*GetRobotPartsRequest) ProtoMessage() {} func (x *GetRobotPartsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[77] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[75] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4601,7 +4355,7 @@ func (x *GetRobotPartsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartsRequest.ProtoReflect.Descriptor instead. func (*GetRobotPartsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{77} + return file_app_v1_app_proto_rawDescGZIP(), []int{75} } func (x *GetRobotPartsRequest) GetRobotId() string { @@ -4621,11 +4375,9 @@ type GetRobotPartsResponse struct { func (x *GetRobotPartsResponse) Reset() { *x = GetRobotPartsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[78] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRobotPartsResponse) String() string { @@ -4635,8 +4387,8 @@ func (x *GetRobotPartsResponse) String() string { func (*GetRobotPartsResponse) ProtoMessage() {} func (x *GetRobotPartsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[78] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[76] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4648,7 +4400,7 @@ func (x *GetRobotPartsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartsResponse.ProtoReflect.Descriptor instead. func (*GetRobotPartsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{78} + return file_app_v1_app_proto_rawDescGZIP(), []int{76} } func (x *GetRobotPartsResponse) GetParts() []*RobotPart { @@ -4668,11 +4420,9 @@ type GetRobotPartRequest struct { func (x *GetRobotPartRequest) Reset() { *x = GetRobotPartRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[79] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRobotPartRequest) String() string { @@ -4682,8 +4432,8 @@ func (x *GetRobotPartRequest) String() string { func (*GetRobotPartRequest) ProtoMessage() {} func (x *GetRobotPartRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[79] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[77] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4695,7 +4445,7 @@ func (x *GetRobotPartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartRequest.ProtoReflect.Descriptor instead. func (*GetRobotPartRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{79} + return file_app_v1_app_proto_rawDescGZIP(), []int{77} } func (x *GetRobotPartRequest) GetId() string { @@ -4716,11 +4466,9 @@ type GetRobotPartResponse struct { func (x *GetRobotPartResponse) Reset() { *x = GetRobotPartResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[80] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRobotPartResponse) String() string { @@ -4730,8 +4478,8 @@ func (x *GetRobotPartResponse) String() string { func (*GetRobotPartResponse) ProtoMessage() {} func (x *GetRobotPartResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[80] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[78] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4743,7 +4491,7 @@ func (x *GetRobotPartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartResponse.ProtoReflect.Descriptor instead. func (*GetRobotPartResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{80} + return file_app_v1_app_proto_rawDescGZIP(), []int{78} } func (x *GetRobotPartResponse) GetPart() *RobotPart { @@ -4768,7 +4516,7 @@ type GetRobotPartLogsRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // TODO(https://viam.atlassian.net/browse/APP-3877): Remove this field // - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in app/v1/app.proto. ErrorsOnly bool `protobuf:"varint,2,opt,name=errors_only,json=errorsOnly,proto3" json:"errors_only,omitempty"` Filter *string `protobuf:"bytes,3,opt,name=filter,proto3,oneof" json:"filter,omitempty"` PageToken *string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3,oneof" json:"page_token,omitempty"` @@ -4782,11 +4530,9 @@ type GetRobotPartLogsRequest struct { func (x *GetRobotPartLogsRequest) Reset() { *x = GetRobotPartLogsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[81] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRobotPartLogsRequest) String() string { @@ -4796,8 +4542,8 @@ func (x *GetRobotPartLogsRequest) String() string { func (*GetRobotPartLogsRequest) ProtoMessage() {} func (x *GetRobotPartLogsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[81] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[79] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4809,7 +4555,7 @@ func (x *GetRobotPartLogsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartLogsRequest.ProtoReflect.Descriptor instead. func (*GetRobotPartLogsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{81} + return file_app_v1_app_proto_rawDescGZIP(), []int{79} } func (x *GetRobotPartLogsRequest) GetId() string { @@ -4819,7 +4565,7 @@ func (x *GetRobotPartLogsRequest) GetId() string { return "" } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in app/v1/app.proto. func (x *GetRobotPartLogsRequest) GetErrorsOnly() bool { if x != nil { return x.ErrorsOnly @@ -4887,11 +4633,9 @@ type GetRobotPartLogsResponse struct { func (x *GetRobotPartLogsResponse) Reset() { *x = GetRobotPartLogsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[82] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRobotPartLogsResponse) String() string { @@ -4901,8 +4645,8 @@ func (x *GetRobotPartLogsResponse) String() string { func (*GetRobotPartLogsResponse) ProtoMessage() {} func (x *GetRobotPartLogsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[82] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[80] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4914,7 +4658,7 @@ func (x *GetRobotPartLogsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartLogsResponse.ProtoReflect.Descriptor instead. func (*GetRobotPartLogsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{82} + return file_app_v1_app_proto_rawDescGZIP(), []int{80} } func (x *GetRobotPartLogsResponse) GetLogs() []*v1.LogEntry { @@ -4943,11 +4687,9 @@ type TailRobotPartLogsRequest struct { func (x *TailRobotPartLogsRequest) Reset() { *x = TailRobotPartLogsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[83] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TailRobotPartLogsRequest) String() string { @@ -4957,8 +4699,8 @@ func (x *TailRobotPartLogsRequest) String() string { func (*TailRobotPartLogsRequest) ProtoMessage() {} func (x *TailRobotPartLogsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[83] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[81] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4970,7 +4712,7 @@ func (x *TailRobotPartLogsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TailRobotPartLogsRequest.ProtoReflect.Descriptor instead. func (*TailRobotPartLogsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{83} + return file_app_v1_app_proto_rawDescGZIP(), []int{81} } func (x *TailRobotPartLogsRequest) GetId() string { @@ -5004,11 +4746,9 @@ type TailRobotPartLogsResponse struct { func (x *TailRobotPartLogsResponse) Reset() { *x = TailRobotPartLogsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[84] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TailRobotPartLogsResponse) String() string { @@ -5018,8 +4758,8 @@ func (x *TailRobotPartLogsResponse) String() string { func (*TailRobotPartLogsResponse) ProtoMessage() {} func (x *TailRobotPartLogsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[84] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[82] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5031,7 +4771,7 @@ func (x *TailRobotPartLogsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TailRobotPartLogsResponse.ProtoReflect.Descriptor instead. func (*TailRobotPartLogsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{84} + return file_app_v1_app_proto_rawDescGZIP(), []int{82} } func (x *TailRobotPartLogsResponse) GetLogs() []*v1.LogEntry { @@ -5051,11 +4791,9 @@ type GetRobotPartHistoryRequest struct { func (x *GetRobotPartHistoryRequest) Reset() { *x = GetRobotPartHistoryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[85] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRobotPartHistoryRequest) String() string { @@ -5065,8 +4803,8 @@ func (x *GetRobotPartHistoryRequest) String() string { func (*GetRobotPartHistoryRequest) ProtoMessage() {} func (x *GetRobotPartHistoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[85] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[83] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5078,7 +4816,7 @@ func (x *GetRobotPartHistoryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartHistoryRequest.ProtoReflect.Descriptor instead. func (*GetRobotPartHistoryRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{85} + return file_app_v1_app_proto_rawDescGZIP(), []int{83} } func (x *GetRobotPartHistoryRequest) GetId() string { @@ -5098,11 +4836,9 @@ type GetRobotPartHistoryResponse struct { func (x *GetRobotPartHistoryResponse) Reset() { *x = GetRobotPartHistoryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[86] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRobotPartHistoryResponse) String() string { @@ -5112,8 +4848,8 @@ func (x *GetRobotPartHistoryResponse) String() string { func (*GetRobotPartHistoryResponse) ProtoMessage() {} func (x *GetRobotPartHistoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[86] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[84] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5125,7 +4861,7 @@ func (x *GetRobotPartHistoryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartHistoryResponse.ProtoReflect.Descriptor instead. func (*GetRobotPartHistoryResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{86} + return file_app_v1_app_proto_rawDescGZIP(), []int{84} } func (x *GetRobotPartHistoryResponse) GetHistory() []*RobotPartHistoryEntry { @@ -5147,11 +4883,9 @@ type UpdateRobotPartRequest struct { func (x *UpdateRobotPartRequest) Reset() { *x = UpdateRobotPartRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[87] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRobotPartRequest) String() string { @@ -5161,8 +4895,8 @@ func (x *UpdateRobotPartRequest) String() string { func (*UpdateRobotPartRequest) ProtoMessage() {} func (x *UpdateRobotPartRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[87] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[85] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5174,7 +4908,7 @@ func (x *UpdateRobotPartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRobotPartRequest.ProtoReflect.Descriptor instead. func (*UpdateRobotPartRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{87} + return file_app_v1_app_proto_rawDescGZIP(), []int{85} } func (x *UpdateRobotPartRequest) GetId() string { @@ -5208,11 +4942,9 @@ type UpdateRobotPartResponse struct { func (x *UpdateRobotPartResponse) Reset() { *x = UpdateRobotPartResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[88] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRobotPartResponse) String() string { @@ -5222,8 +4954,8 @@ func (x *UpdateRobotPartResponse) String() string { func (*UpdateRobotPartResponse) ProtoMessage() {} func (x *UpdateRobotPartResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[88] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[86] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5235,7 +4967,7 @@ func (x *UpdateRobotPartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRobotPartResponse.ProtoReflect.Descriptor instead. func (*UpdateRobotPartResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{88} + return file_app_v1_app_proto_rawDescGZIP(), []int{86} } func (x *UpdateRobotPartResponse) GetPart() *RobotPart { @@ -5256,11 +4988,9 @@ type NewRobotPartRequest struct { func (x *NewRobotPartRequest) Reset() { *x = NewRobotPartRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[89] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[87] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NewRobotPartRequest) String() string { @@ -5270,8 +5000,8 @@ func (x *NewRobotPartRequest) String() string { func (*NewRobotPartRequest) ProtoMessage() {} func (x *NewRobotPartRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[89] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[87] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5283,7 +5013,7 @@ func (x *NewRobotPartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use NewRobotPartRequest.ProtoReflect.Descriptor instead. func (*NewRobotPartRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{89} + return file_app_v1_app_proto_rawDescGZIP(), []int{87} } func (x *NewRobotPartRequest) GetRobotId() string { @@ -5310,11 +5040,9 @@ type NewRobotPartResponse struct { func (x *NewRobotPartResponse) Reset() { *x = NewRobotPartResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[90] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[88] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NewRobotPartResponse) String() string { @@ -5324,8 +5052,8 @@ func (x *NewRobotPartResponse) String() string { func (*NewRobotPartResponse) ProtoMessage() {} func (x *NewRobotPartResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[90] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[88] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5337,7 +5065,7 @@ func (x *NewRobotPartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use NewRobotPartResponse.ProtoReflect.Descriptor instead. func (*NewRobotPartResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{90} + return file_app_v1_app_proto_rawDescGZIP(), []int{88} } func (x *NewRobotPartResponse) GetPartId() string { @@ -5357,11 +5085,9 @@ type DeleteRobotPartRequest struct { func (x *DeleteRobotPartRequest) Reset() { *x = DeleteRobotPartRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[91] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[89] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRobotPartRequest) String() string { @@ -5371,8 +5097,8 @@ func (x *DeleteRobotPartRequest) String() string { func (*DeleteRobotPartRequest) ProtoMessage() {} func (x *DeleteRobotPartRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[91] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[89] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5384,7 +5110,7 @@ func (x *DeleteRobotPartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotPartRequest.ProtoReflect.Descriptor instead. func (*DeleteRobotPartRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{91} + return file_app_v1_app_proto_rawDescGZIP(), []int{89} } func (x *DeleteRobotPartRequest) GetPartId() string { @@ -5404,11 +5130,9 @@ type GetRobotAPIKeysRequest struct { func (x *GetRobotAPIKeysRequest) Reset() { *x = GetRobotAPIKeysRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[92] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[90] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRobotAPIKeysRequest) String() string { @@ -5418,8 +5142,8 @@ func (x *GetRobotAPIKeysRequest) String() string { func (*GetRobotAPIKeysRequest) ProtoMessage() {} func (x *GetRobotAPIKeysRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[92] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[90] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5431,7 +5155,7 @@ func (x *GetRobotAPIKeysRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotAPIKeysRequest.ProtoReflect.Descriptor instead. func (*GetRobotAPIKeysRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{92} + return file_app_v1_app_proto_rawDescGZIP(), []int{90} } func (x *GetRobotAPIKeysRequest) GetRobotId() string { @@ -5454,11 +5178,9 @@ type APIKey struct { func (x *APIKey) Reset() { *x = APIKey{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[93] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[91] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *APIKey) String() string { @@ -5468,8 +5190,8 @@ func (x *APIKey) String() string { func (*APIKey) ProtoMessage() {} func (x *APIKey) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[93] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[91] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5481,7 +5203,7 @@ func (x *APIKey) ProtoReflect() protoreflect.Message { // Deprecated: Use APIKey.ProtoReflect.Descriptor instead. func (*APIKey) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{93} + return file_app_v1_app_proto_rawDescGZIP(), []int{91} } func (x *APIKey) GetId() string { @@ -5522,11 +5244,9 @@ type GetRobotAPIKeysResponse struct { func (x *GetRobotAPIKeysResponse) Reset() { *x = GetRobotAPIKeysResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[94] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[92] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRobotAPIKeysResponse) String() string { @@ -5536,8 +5256,8 @@ func (x *GetRobotAPIKeysResponse) String() string { func (*GetRobotAPIKeysResponse) ProtoMessage() {} func (x *GetRobotAPIKeysResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[94] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[92] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5549,7 +5269,7 @@ func (x *GetRobotAPIKeysResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotAPIKeysResponse.ProtoReflect.Descriptor instead. func (*GetRobotAPIKeysResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{94} + return file_app_v1_app_proto_rawDescGZIP(), []int{92} } func (x *GetRobotAPIKeysResponse) GetApiKeys() []*APIKeyWithAuthorizations { @@ -5567,11 +5287,9 @@ type DeleteRobotPartResponse struct { func (x *DeleteRobotPartResponse) Reset() { *x = DeleteRobotPartResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[95] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRobotPartResponse) String() string { @@ -5581,8 +5299,8 @@ func (x *DeleteRobotPartResponse) String() string { func (*DeleteRobotPartResponse) ProtoMessage() {} func (x *DeleteRobotPartResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[95] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[93] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5594,7 +5312,7 @@ func (x *DeleteRobotPartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotPartResponse.ProtoReflect.Descriptor instead. func (*DeleteRobotPartResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{95} + return file_app_v1_app_proto_rawDescGZIP(), []int{93} } type Fragment struct { @@ -5623,11 +5341,9 @@ type Fragment struct { func (x *Fragment) Reset() { *x = Fragment{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[96] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Fragment) String() string { @@ -5637,8 +5353,8 @@ func (x *Fragment) String() string { func (*Fragment) ProtoMessage() {} func (x *Fragment) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[96] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[94] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5650,7 +5366,7 @@ func (x *Fragment) ProtoReflect() protoreflect.Message { // Deprecated: Use Fragment.ProtoReflect.Descriptor instead. func (*Fragment) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{96} + return file_app_v1_app_proto_rawDescGZIP(), []int{94} } func (x *Fragment) GetId() string { @@ -5750,11 +5466,9 @@ type FragmentHistoryEntry struct { func (x *FragmentHistoryEntry) Reset() { *x = FragmentHistoryEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[97] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FragmentHistoryEntry) String() string { @@ -5764,8 +5478,8 @@ func (x *FragmentHistoryEntry) String() string { func (*FragmentHistoryEntry) ProtoMessage() {} func (x *FragmentHistoryEntry) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[97] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[95] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5777,7 +5491,7 @@ func (x *FragmentHistoryEntry) ProtoReflect() protoreflect.Message { // Deprecated: Use FragmentHistoryEntry.ProtoReflect.Descriptor instead. func (*FragmentHistoryEntry) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{97} + return file_app_v1_app_proto_rawDescGZIP(), []int{95} } func (x *FragmentHistoryEntry) GetFragment() string { @@ -5820,11 +5534,9 @@ type FragmentError struct { func (x *FragmentError) Reset() { *x = FragmentError{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[98] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FragmentError) String() string { @@ -5834,8 +5546,8 @@ func (x *FragmentError) String() string { func (*FragmentError) ProtoMessage() {} func (x *FragmentError) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[98] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[96] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5847,7 +5559,7 @@ func (x *FragmentError) ProtoReflect() protoreflect.Message { // Deprecated: Use FragmentError.ProtoReflect.Descriptor instead. func (*FragmentError) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{98} + return file_app_v1_app_proto_rawDescGZIP(), []int{96} } func (x *FragmentError) GetErrorType() FragmentErrorType { @@ -5883,11 +5595,9 @@ type ResolvedFragment struct { func (x *ResolvedFragment) Reset() { *x = ResolvedFragment{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[99] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResolvedFragment) String() string { @@ -5897,8 +5607,8 @@ func (x *ResolvedFragment) String() string { func (*ResolvedFragment) ProtoMessage() {} func (x *ResolvedFragment) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[99] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[97] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5910,7 +5620,7 @@ func (x *ResolvedFragment) ProtoReflect() protoreflect.Message { // Deprecated: Use ResolvedFragment.ProtoReflect.Descriptor instead. func (*ResolvedFragment) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{99} + return file_app_v1_app_proto_rawDescGZIP(), []int{97} } func (x *ResolvedFragment) GetFragmentId() string { @@ -5946,11 +5656,9 @@ type ListFragmentsRequest struct { func (x *ListFragmentsRequest) Reset() { *x = ListFragmentsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[100] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListFragmentsRequest) String() string { @@ -5960,8 +5668,8 @@ func (x *ListFragmentsRequest) String() string { func (*ListFragmentsRequest) ProtoMessage() {} func (x *ListFragmentsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[100] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[98] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5973,7 +5681,7 @@ func (x *ListFragmentsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListFragmentsRequest.ProtoReflect.Descriptor instead. func (*ListFragmentsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{100} + return file_app_v1_app_proto_rawDescGZIP(), []int{98} } func (x *ListFragmentsRequest) GetOrganizationId() string { @@ -6007,11 +5715,9 @@ type ListFragmentsResponse struct { func (x *ListFragmentsResponse) Reset() { *x = ListFragmentsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[101] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[99] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListFragmentsResponse) String() string { @@ -6021,8 +5727,8 @@ func (x *ListFragmentsResponse) String() string { func (*ListFragmentsResponse) ProtoMessage() {} func (x *ListFragmentsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[101] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[99] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6034,7 +5740,7 @@ func (x *ListFragmentsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListFragmentsResponse.ProtoReflect.Descriptor instead. func (*ListFragmentsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{101} + return file_app_v1_app_proto_rawDescGZIP(), []int{99} } func (x *ListFragmentsResponse) GetFragments() []*Fragment { @@ -6054,11 +5760,9 @@ type GetFragmentRequest struct { func (x *GetFragmentRequest) Reset() { *x = GetFragmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[102] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[100] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetFragmentRequest) String() string { @@ -6068,8 +5772,8 @@ func (x *GetFragmentRequest) String() string { func (*GetFragmentRequest) ProtoMessage() {} func (x *GetFragmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[102] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[100] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6081,7 +5785,7 @@ func (x *GetFragmentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFragmentRequest.ProtoReflect.Descriptor instead. func (*GetFragmentRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{102} + return file_app_v1_app_proto_rawDescGZIP(), []int{100} } func (x *GetFragmentRequest) GetId() string { @@ -6101,11 +5805,9 @@ type GetFragmentResponse struct { func (x *GetFragmentResponse) Reset() { *x = GetFragmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[103] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[101] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetFragmentResponse) String() string { @@ -6115,8 +5817,8 @@ func (x *GetFragmentResponse) String() string { func (*GetFragmentResponse) ProtoMessage() {} func (x *GetFragmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[103] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[101] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6128,7 +5830,7 @@ func (x *GetFragmentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFragmentResponse.ProtoReflect.Descriptor instead. func (*GetFragmentResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{103} + return file_app_v1_app_proto_rawDescGZIP(), []int{101} } func (x *GetFragmentResponse) GetFragment() *Fragment { @@ -6151,11 +5853,9 @@ type CreateFragmentRequest struct { func (x *CreateFragmentRequest) Reset() { *x = CreateFragmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[104] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[102] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateFragmentRequest) String() string { @@ -6165,8 +5865,8 @@ func (x *CreateFragmentRequest) String() string { func (*CreateFragmentRequest) ProtoMessage() {} func (x *CreateFragmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[104] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[102] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6178,7 +5878,7 @@ func (x *CreateFragmentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateFragmentRequest.ProtoReflect.Descriptor instead. func (*CreateFragmentRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{104} + return file_app_v1_app_proto_rawDescGZIP(), []int{102} } func (x *CreateFragmentRequest) GetName() string { @@ -6219,11 +5919,9 @@ type CreateFragmentResponse struct { func (x *CreateFragmentResponse) Reset() { *x = CreateFragmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[105] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateFragmentResponse) String() string { @@ -6233,8 +5931,8 @@ func (x *CreateFragmentResponse) String() string { func (*CreateFragmentResponse) ProtoMessage() {} func (x *CreateFragmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[105] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[103] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6246,7 +5944,7 @@ func (x *CreateFragmentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateFragmentResponse.ProtoReflect.Descriptor instead. func (*CreateFragmentResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{105} + return file_app_v1_app_proto_rawDescGZIP(), []int{103} } func (x *CreateFragmentResponse) GetFragment() *Fragment { @@ -6270,11 +5968,9 @@ type UpdateFragmentRequest struct { func (x *UpdateFragmentRequest) Reset() { *x = UpdateFragmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[106] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[104] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateFragmentRequest) String() string { @@ -6284,8 +5980,8 @@ func (x *UpdateFragmentRequest) String() string { func (*UpdateFragmentRequest) ProtoMessage() {} func (x *UpdateFragmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[106] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[104] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6297,7 +5993,7 @@ func (x *UpdateFragmentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateFragmentRequest.ProtoReflect.Descriptor instead. func (*UpdateFragmentRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{106} + return file_app_v1_app_proto_rawDescGZIP(), []int{104} } func (x *UpdateFragmentRequest) GetId() string { @@ -6345,11 +6041,9 @@ type UpdateFragmentResponse struct { func (x *UpdateFragmentResponse) Reset() { *x = UpdateFragmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[107] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[105] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateFragmentResponse) String() string { @@ -6359,8 +6053,8 @@ func (x *UpdateFragmentResponse) String() string { func (*UpdateFragmentResponse) ProtoMessage() {} func (x *UpdateFragmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[107] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[105] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6372,7 +6066,7 @@ func (x *UpdateFragmentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateFragmentResponse.ProtoReflect.Descriptor instead. func (*UpdateFragmentResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{107} + return file_app_v1_app_proto_rawDescGZIP(), []int{105} } func (x *UpdateFragmentResponse) GetFragment() *Fragment { @@ -6392,11 +6086,9 @@ type DeleteFragmentRequest struct { func (x *DeleteFragmentRequest) Reset() { *x = DeleteFragmentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[108] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[106] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteFragmentRequest) String() string { @@ -6406,8 +6098,8 @@ func (x *DeleteFragmentRequest) String() string { func (*DeleteFragmentRequest) ProtoMessage() {} func (x *DeleteFragmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[108] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[106] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6419,7 +6111,7 @@ func (x *DeleteFragmentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteFragmentRequest.ProtoReflect.Descriptor instead. func (*DeleteFragmentRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{108} + return file_app_v1_app_proto_rawDescGZIP(), []int{106} } func (x *DeleteFragmentRequest) GetId() string { @@ -6437,11 +6129,9 @@ type DeleteFragmentResponse struct { func (x *DeleteFragmentResponse) Reset() { *x = DeleteFragmentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[109] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteFragmentResponse) String() string { @@ -6451,8 +6141,8 @@ func (x *DeleteFragmentResponse) String() string { func (*DeleteFragmentResponse) ProtoMessage() {} func (x *DeleteFragmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[109] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[107] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6464,7 +6154,7 @@ func (x *DeleteFragmentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteFragmentResponse.ProtoReflect.Descriptor instead. func (*DeleteFragmentResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{109} + return file_app_v1_app_proto_rawDescGZIP(), []int{107} } type GetFragmentHistoryRequest struct { @@ -6479,11 +6169,9 @@ type GetFragmentHistoryRequest struct { func (x *GetFragmentHistoryRequest) Reset() { *x = GetFragmentHistoryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[110] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[108] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetFragmentHistoryRequest) String() string { @@ -6493,8 +6181,8 @@ func (x *GetFragmentHistoryRequest) String() string { func (*GetFragmentHistoryRequest) ProtoMessage() {} func (x *GetFragmentHistoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[110] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[108] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6506,7 +6194,7 @@ func (x *GetFragmentHistoryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFragmentHistoryRequest.ProtoReflect.Descriptor instead. func (*GetFragmentHistoryRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{110} + return file_app_v1_app_proto_rawDescGZIP(), []int{108} } func (x *GetFragmentHistoryRequest) GetId() string { @@ -6541,11 +6229,9 @@ type GetFragmentHistoryResponse struct { func (x *GetFragmentHistoryResponse) Reset() { *x = GetFragmentHistoryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[111] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[109] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetFragmentHistoryResponse) String() string { @@ -6555,8 +6241,8 @@ func (x *GetFragmentHistoryResponse) String() string { func (*GetFragmentHistoryResponse) ProtoMessage() {} func (x *GetFragmentHistoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[111] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[109] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6568,7 +6254,7 @@ func (x *GetFragmentHistoryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFragmentHistoryResponse.ProtoReflect.Descriptor instead. func (*GetFragmentHistoryResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{111} + return file_app_v1_app_proto_rawDescGZIP(), []int{109} } func (x *GetFragmentHistoryResponse) GetHistory() []*FragmentHistoryEntry { @@ -6595,11 +6281,9 @@ type ListRobotsRequest struct { func (x *ListRobotsRequest) Reset() { *x = ListRobotsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[112] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[110] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRobotsRequest) String() string { @@ -6609,8 +6293,8 @@ func (x *ListRobotsRequest) String() string { func (*ListRobotsRequest) ProtoMessage() {} func (x *ListRobotsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[112] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[110] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6622,7 +6306,7 @@ func (x *ListRobotsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRobotsRequest.ProtoReflect.Descriptor instead. func (*ListRobotsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{112} + return file_app_v1_app_proto_rawDescGZIP(), []int{110} } func (x *ListRobotsRequest) GetLocationId() string { @@ -6647,11 +6331,9 @@ type ListMachineFragmentsRequest struct { func (x *ListMachineFragmentsRequest) Reset() { *x = ListMachineFragmentsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[113] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[111] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListMachineFragmentsRequest) String() string { @@ -6661,8 +6343,8 @@ func (x *ListMachineFragmentsRequest) String() string { func (*ListMachineFragmentsRequest) ProtoMessage() {} func (x *ListMachineFragmentsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[113] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[111] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6674,7 +6356,7 @@ func (x *ListMachineFragmentsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMachineFragmentsRequest.ProtoReflect.Descriptor instead. func (*ListMachineFragmentsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{113} + return file_app_v1_app_proto_rawDescGZIP(), []int{111} } func (x *ListMachineFragmentsRequest) GetMachineId() string { @@ -6702,11 +6384,9 @@ type ListMachineFragmentsResponse struct { func (x *ListMachineFragmentsResponse) Reset() { *x = ListMachineFragmentsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[114] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[112] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListMachineFragmentsResponse) String() string { @@ -6716,8 +6396,8 @@ func (x *ListMachineFragmentsResponse) String() string { func (*ListMachineFragmentsResponse) ProtoMessage() {} func (x *ListMachineFragmentsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[114] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[112] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6729,7 +6409,7 @@ func (x *ListMachineFragmentsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMachineFragmentsResponse.ProtoReflect.Descriptor instead. func (*ListMachineFragmentsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{114} + return file_app_v1_app_proto_rawDescGZIP(), []int{112} } func (x *ListMachineFragmentsResponse) GetFragments() []*Fragment { @@ -6756,11 +6436,9 @@ type ListRobotsResponse struct { func (x *ListRobotsResponse) Reset() { *x = ListRobotsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[115] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[113] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRobotsResponse) String() string { @@ -6770,8 +6448,8 @@ func (x *ListRobotsResponse) String() string { func (*ListRobotsResponse) ProtoMessage() {} func (x *ListRobotsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[115] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[113] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6783,7 +6461,7 @@ func (x *ListRobotsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRobotsResponse.ProtoReflect.Descriptor instead. func (*ListRobotsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{115} + return file_app_v1_app_proto_rawDescGZIP(), []int{113} } func (x *ListRobotsResponse) GetRobots() []*Robot { @@ -6804,11 +6482,9 @@ type NewRobotRequest struct { func (x *NewRobotRequest) Reset() { *x = NewRobotRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[116] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[114] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NewRobotRequest) String() string { @@ -6818,8 +6494,8 @@ func (x *NewRobotRequest) String() string { func (*NewRobotRequest) ProtoMessage() {} func (x *NewRobotRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[116] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[114] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6831,7 +6507,7 @@ func (x *NewRobotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use NewRobotRequest.ProtoReflect.Descriptor instead. func (*NewRobotRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{116} + return file_app_v1_app_proto_rawDescGZIP(), []int{114} } func (x *NewRobotRequest) GetName() string { @@ -6858,11 +6534,9 @@ type NewRobotResponse struct { func (x *NewRobotResponse) Reset() { *x = NewRobotResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[117] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[115] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NewRobotResponse) String() string { @@ -6872,8 +6546,8 @@ func (x *NewRobotResponse) String() string { func (*NewRobotResponse) ProtoMessage() {} func (x *NewRobotResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[117] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[115] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6885,7 +6559,7 @@ func (x *NewRobotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use NewRobotResponse.ProtoReflect.Descriptor instead. func (*NewRobotResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{117} + return file_app_v1_app_proto_rawDescGZIP(), []int{115} } func (x *NewRobotResponse) GetId() string { @@ -6907,11 +6581,9 @@ type UpdateRobotRequest struct { func (x *UpdateRobotRequest) Reset() { *x = UpdateRobotRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[118] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[116] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRobotRequest) String() string { @@ -6921,8 +6593,8 @@ func (x *UpdateRobotRequest) String() string { func (*UpdateRobotRequest) ProtoMessage() {} func (x *UpdateRobotRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[118] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[116] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6934,7 +6606,7 @@ func (x *UpdateRobotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRobotRequest.ProtoReflect.Descriptor instead. func (*UpdateRobotRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{118} + return file_app_v1_app_proto_rawDescGZIP(), []int{116} } func (x *UpdateRobotRequest) GetId() string { @@ -6968,11 +6640,9 @@ type UpdateRobotResponse struct { func (x *UpdateRobotResponse) Reset() { *x = UpdateRobotResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[119] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[117] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRobotResponse) String() string { @@ -6982,8 +6652,8 @@ func (x *UpdateRobotResponse) String() string { func (*UpdateRobotResponse) ProtoMessage() {} func (x *UpdateRobotResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[119] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[117] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6995,7 +6665,7 @@ func (x *UpdateRobotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRobotResponse.ProtoReflect.Descriptor instead. func (*UpdateRobotResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{119} + return file_app_v1_app_proto_rawDescGZIP(), []int{117} } func (x *UpdateRobotResponse) GetRobot() *Robot { @@ -7015,11 +6685,9 @@ type DeleteRobotRequest struct { func (x *DeleteRobotRequest) Reset() { *x = DeleteRobotRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[120] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[118] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRobotRequest) String() string { @@ -7029,8 +6697,8 @@ func (x *DeleteRobotRequest) String() string { func (*DeleteRobotRequest) ProtoMessage() {} func (x *DeleteRobotRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[120] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[118] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7042,7 +6710,7 @@ func (x *DeleteRobotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotRequest.ProtoReflect.Descriptor instead. func (*DeleteRobotRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{120} + return file_app_v1_app_proto_rawDescGZIP(), []int{118} } func (x *DeleteRobotRequest) GetId() string { @@ -7060,11 +6728,9 @@ type DeleteRobotResponse struct { func (x *DeleteRobotResponse) Reset() { *x = DeleteRobotResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[121] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[119] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRobotResponse) String() string { @@ -7074,8 +6740,8 @@ func (x *DeleteRobotResponse) String() string { func (*DeleteRobotResponse) ProtoMessage() {} func (x *DeleteRobotResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[121] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[119] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7087,7 +6753,7 @@ func (x *DeleteRobotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotResponse.ProtoReflect.Descriptor instead. func (*DeleteRobotResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{121} + return file_app_v1_app_proto_rawDescGZIP(), []int{119} } type MarkPartAsMainRequest struct { @@ -7100,11 +6766,9 @@ type MarkPartAsMainRequest struct { func (x *MarkPartAsMainRequest) Reset() { *x = MarkPartAsMainRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[122] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[120] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarkPartAsMainRequest) String() string { @@ -7114,8 +6778,8 @@ func (x *MarkPartAsMainRequest) String() string { func (*MarkPartAsMainRequest) ProtoMessage() {} func (x *MarkPartAsMainRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[122] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[120] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7127,7 +6791,7 @@ func (x *MarkPartAsMainRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MarkPartAsMainRequest.ProtoReflect.Descriptor instead. func (*MarkPartAsMainRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{122} + return file_app_v1_app_proto_rawDescGZIP(), []int{120} } func (x *MarkPartAsMainRequest) GetPartId() string { @@ -7145,11 +6809,9 @@ type MarkPartAsMainResponse struct { func (x *MarkPartAsMainResponse) Reset() { *x = MarkPartAsMainResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[123] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[121] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarkPartAsMainResponse) String() string { @@ -7159,8 +6821,8 @@ func (x *MarkPartAsMainResponse) String() string { func (*MarkPartAsMainResponse) ProtoMessage() {} func (x *MarkPartAsMainResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[123] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[121] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7172,7 +6834,7 @@ func (x *MarkPartAsMainResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MarkPartAsMainResponse.ProtoReflect.Descriptor instead. func (*MarkPartAsMainResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{123} + return file_app_v1_app_proto_rawDescGZIP(), []int{121} } type MarkPartForRestartRequest struct { @@ -7185,11 +6847,9 @@ type MarkPartForRestartRequest struct { func (x *MarkPartForRestartRequest) Reset() { *x = MarkPartForRestartRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[124] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[122] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarkPartForRestartRequest) String() string { @@ -7199,8 +6859,8 @@ func (x *MarkPartForRestartRequest) String() string { func (*MarkPartForRestartRequest) ProtoMessage() {} func (x *MarkPartForRestartRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[124] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[122] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7212,7 +6872,7 @@ func (x *MarkPartForRestartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MarkPartForRestartRequest.ProtoReflect.Descriptor instead. func (*MarkPartForRestartRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{124} + return file_app_v1_app_proto_rawDescGZIP(), []int{122} } func (x *MarkPartForRestartRequest) GetPartId() string { @@ -7230,11 +6890,9 @@ type MarkPartForRestartResponse struct { func (x *MarkPartForRestartResponse) Reset() { *x = MarkPartForRestartResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[125] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[123] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarkPartForRestartResponse) String() string { @@ -7244,8 +6902,8 @@ func (x *MarkPartForRestartResponse) String() string { func (*MarkPartForRestartResponse) ProtoMessage() {} func (x *MarkPartForRestartResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[125] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[123] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7257,7 +6915,7 @@ func (x *MarkPartForRestartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MarkPartForRestartResponse.ProtoReflect.Descriptor instead. func (*MarkPartForRestartResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{125} + return file_app_v1_app_proto_rawDescGZIP(), []int{123} } type CreateRobotPartSecretRequest struct { @@ -7271,11 +6929,9 @@ type CreateRobotPartSecretRequest struct { func (x *CreateRobotPartSecretRequest) Reset() { *x = CreateRobotPartSecretRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[126] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[124] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRobotPartSecretRequest) String() string { @@ -7285,8 +6941,8 @@ func (x *CreateRobotPartSecretRequest) String() string { func (*CreateRobotPartSecretRequest) ProtoMessage() {} func (x *CreateRobotPartSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[126] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[124] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7298,7 +6954,7 @@ func (x *CreateRobotPartSecretRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateRobotPartSecretRequest.ProtoReflect.Descriptor instead. func (*CreateRobotPartSecretRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{126} + return file_app_v1_app_proto_rawDescGZIP(), []int{124} } func (x *CreateRobotPartSecretRequest) GetPartId() string { @@ -7319,11 +6975,9 @@ type CreateRobotPartSecretResponse struct { func (x *CreateRobotPartSecretResponse) Reset() { *x = CreateRobotPartSecretResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[127] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[125] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRobotPartSecretResponse) String() string { @@ -7333,8 +6987,8 @@ func (x *CreateRobotPartSecretResponse) String() string { func (*CreateRobotPartSecretResponse) ProtoMessage() {} func (x *CreateRobotPartSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[127] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[125] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7346,7 +7000,7 @@ func (x *CreateRobotPartSecretResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateRobotPartSecretResponse.ProtoReflect.Descriptor instead. func (*CreateRobotPartSecretResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{127} + return file_app_v1_app_proto_rawDescGZIP(), []int{125} } func (x *CreateRobotPartSecretResponse) GetPart() *RobotPart { @@ -7367,11 +7021,9 @@ type DeleteRobotPartSecretRequest struct { func (x *DeleteRobotPartSecretRequest) Reset() { *x = DeleteRobotPartSecretRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[128] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[126] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRobotPartSecretRequest) String() string { @@ -7381,8 +7033,8 @@ func (x *DeleteRobotPartSecretRequest) String() string { func (*DeleteRobotPartSecretRequest) ProtoMessage() {} func (x *DeleteRobotPartSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[128] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[126] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7394,7 +7046,7 @@ func (x *DeleteRobotPartSecretRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotPartSecretRequest.ProtoReflect.Descriptor instead. func (*DeleteRobotPartSecretRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{128} + return file_app_v1_app_proto_rawDescGZIP(), []int{126} } func (x *DeleteRobotPartSecretRequest) GetPartId() string { @@ -7419,11 +7071,9 @@ type DeleteRobotPartSecretResponse struct { func (x *DeleteRobotPartSecretResponse) Reset() { *x = DeleteRobotPartSecretResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[129] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[127] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRobotPartSecretResponse) String() string { @@ -7433,8 +7083,8 @@ func (x *DeleteRobotPartSecretResponse) String() string { func (*DeleteRobotPartSecretResponse) ProtoMessage() {} func (x *DeleteRobotPartSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[129] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[127] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7446,7 +7096,7 @@ func (x *DeleteRobotPartSecretResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotPartSecretResponse.ProtoReflect.Descriptor instead. func (*DeleteRobotPartSecretResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{129} + return file_app_v1_app_proto_rawDescGZIP(), []int{127} } type Authorization struct { @@ -7465,11 +7115,9 @@ type Authorization struct { func (x *Authorization) Reset() { *x = Authorization{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[130] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[128] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Authorization) String() string { @@ -7479,8 +7127,8 @@ func (x *Authorization) String() string { func (*Authorization) ProtoMessage() {} func (x *Authorization) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[130] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[128] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7492,7 +7140,7 @@ func (x *Authorization) ProtoReflect() protoreflect.Message { // Deprecated: Use Authorization.ProtoReflect.Descriptor instead. func (*Authorization) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{130} + return file_app_v1_app_proto_rawDescGZIP(), []int{128} } func (x *Authorization) GetAuthorizationType() string { @@ -7554,11 +7202,9 @@ type AddRoleRequest struct { func (x *AddRoleRequest) Reset() { *x = AddRoleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[131] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[129] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddRoleRequest) String() string { @@ -7568,8 +7214,8 @@ func (x *AddRoleRequest) String() string { func (*AddRoleRequest) ProtoMessage() {} func (x *AddRoleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[131] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[129] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7581,7 +7227,7 @@ func (x *AddRoleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AddRoleRequest.ProtoReflect.Descriptor instead. func (*AddRoleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{131} + return file_app_v1_app_proto_rawDescGZIP(), []int{129} } func (x *AddRoleRequest) GetAuthorization() *Authorization { @@ -7599,11 +7245,9 @@ type AddRoleResponse struct { func (x *AddRoleResponse) Reset() { *x = AddRoleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[132] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[130] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddRoleResponse) String() string { @@ -7613,8 +7257,8 @@ func (x *AddRoleResponse) String() string { func (*AddRoleResponse) ProtoMessage() {} func (x *AddRoleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[132] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[130] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7626,7 +7270,7 @@ func (x *AddRoleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AddRoleResponse.ProtoReflect.Descriptor instead. func (*AddRoleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{132} + return file_app_v1_app_proto_rawDescGZIP(), []int{130} } type RemoveRoleRequest struct { @@ -7639,11 +7283,9 @@ type RemoveRoleRequest struct { func (x *RemoveRoleRequest) Reset() { *x = RemoveRoleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[133] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[131] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveRoleRequest) String() string { @@ -7653,8 +7295,8 @@ func (x *RemoveRoleRequest) String() string { func (*RemoveRoleRequest) ProtoMessage() {} func (x *RemoveRoleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[133] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[131] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7666,7 +7308,7 @@ func (x *RemoveRoleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveRoleRequest.ProtoReflect.Descriptor instead. func (*RemoveRoleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{133} + return file_app_v1_app_proto_rawDescGZIP(), []int{131} } func (x *RemoveRoleRequest) GetAuthorization() *Authorization { @@ -7684,11 +7326,9 @@ type RemoveRoleResponse struct { func (x *RemoveRoleResponse) Reset() { *x = RemoveRoleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[134] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[132] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveRoleResponse) String() string { @@ -7698,8 +7338,8 @@ func (x *RemoveRoleResponse) String() string { func (*RemoveRoleResponse) ProtoMessage() {} func (x *RemoveRoleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[134] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[132] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7711,7 +7351,7 @@ func (x *RemoveRoleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveRoleResponse.ProtoReflect.Descriptor instead. func (*RemoveRoleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{134} + return file_app_v1_app_proto_rawDescGZIP(), []int{132} } type ChangeRoleRequest struct { @@ -7725,11 +7365,9 @@ type ChangeRoleRequest struct { func (x *ChangeRoleRequest) Reset() { *x = ChangeRoleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[135] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[133] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChangeRoleRequest) String() string { @@ -7739,8 +7377,8 @@ func (x *ChangeRoleRequest) String() string { func (*ChangeRoleRequest) ProtoMessage() {} func (x *ChangeRoleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[135] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[133] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7752,7 +7390,7 @@ func (x *ChangeRoleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeRoleRequest.ProtoReflect.Descriptor instead. func (*ChangeRoleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{135} + return file_app_v1_app_proto_rawDescGZIP(), []int{133} } func (x *ChangeRoleRequest) GetOldAuthorization() *Authorization { @@ -7777,11 +7415,9 @@ type ChangeRoleResponse struct { func (x *ChangeRoleResponse) Reset() { *x = ChangeRoleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[136] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[134] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChangeRoleResponse) String() string { @@ -7791,8 +7427,8 @@ func (x *ChangeRoleResponse) String() string { func (*ChangeRoleResponse) ProtoMessage() {} func (x *ChangeRoleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[136] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[134] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7804,7 +7440,7 @@ func (x *ChangeRoleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeRoleResponse.ProtoReflect.Descriptor instead. func (*ChangeRoleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{136} + return file_app_v1_app_proto_rawDescGZIP(), []int{134} } type ListAuthorizationsRequest struct { @@ -7818,11 +7454,9 @@ type ListAuthorizationsRequest struct { func (x *ListAuthorizationsRequest) Reset() { *x = ListAuthorizationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[137] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[135] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListAuthorizationsRequest) String() string { @@ -7832,8 +7466,8 @@ func (x *ListAuthorizationsRequest) String() string { func (*ListAuthorizationsRequest) ProtoMessage() {} func (x *ListAuthorizationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[137] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[135] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7845,7 +7479,7 @@ func (x *ListAuthorizationsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListAuthorizationsRequest.ProtoReflect.Descriptor instead. func (*ListAuthorizationsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{137} + return file_app_v1_app_proto_rawDescGZIP(), []int{135} } func (x *ListAuthorizationsRequest) GetOrganizationId() string { @@ -7872,11 +7506,9 @@ type ListAuthorizationsResponse struct { func (x *ListAuthorizationsResponse) Reset() { *x = ListAuthorizationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[138] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[136] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListAuthorizationsResponse) String() string { @@ -7886,8 +7518,8 @@ func (x *ListAuthorizationsResponse) String() string { func (*ListAuthorizationsResponse) ProtoMessage() {} func (x *ListAuthorizationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[138] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[136] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7899,7 +7531,7 @@ func (x *ListAuthorizationsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListAuthorizationsResponse.ProtoReflect.Descriptor instead. func (*ListAuthorizationsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{138} + return file_app_v1_app_proto_rawDescGZIP(), []int{136} } func (x *ListAuthorizationsResponse) GetAuthorizations() []*Authorization { @@ -7919,11 +7551,9 @@ type CheckPermissionsRequest struct { func (x *CheckPermissionsRequest) Reset() { *x = CheckPermissionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[139] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[137] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CheckPermissionsRequest) String() string { @@ -7933,8 +7563,8 @@ func (x *CheckPermissionsRequest) String() string { func (*CheckPermissionsRequest) ProtoMessage() {} func (x *CheckPermissionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[139] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[137] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7946,7 +7576,7 @@ func (x *CheckPermissionsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CheckPermissionsRequest.ProtoReflect.Descriptor instead. func (*CheckPermissionsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{139} + return file_app_v1_app_proto_rawDescGZIP(), []int{137} } func (x *CheckPermissionsRequest) GetPermissions() []*AuthorizedPermissions { @@ -7968,11 +7598,9 @@ type AuthorizedPermissions struct { func (x *AuthorizedPermissions) Reset() { *x = AuthorizedPermissions{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[140] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[138] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AuthorizedPermissions) String() string { @@ -7982,8 +7610,8 @@ func (x *AuthorizedPermissions) String() string { func (*AuthorizedPermissions) ProtoMessage() {} func (x *AuthorizedPermissions) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[140] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[138] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7995,7 +7623,7 @@ func (x *AuthorizedPermissions) ProtoReflect() protoreflect.Message { // Deprecated: Use AuthorizedPermissions.ProtoReflect.Descriptor instead. func (*AuthorizedPermissions) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{140} + return file_app_v1_app_proto_rawDescGZIP(), []int{138} } func (x *AuthorizedPermissions) GetResourceType() string { @@ -8029,11 +7657,9 @@ type CheckPermissionsResponse struct { func (x *CheckPermissionsResponse) Reset() { *x = CheckPermissionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[141] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[139] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CheckPermissionsResponse) String() string { @@ -8043,8 +7669,8 @@ func (x *CheckPermissionsResponse) String() string { func (*CheckPermissionsResponse) ProtoMessage() {} func (x *CheckPermissionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[141] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[139] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8056,7 +7682,7 @@ func (x *CheckPermissionsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CheckPermissionsResponse.ProtoReflect.Descriptor instead. func (*CheckPermissionsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{141} + return file_app_v1_app_proto_rawDescGZIP(), []int{139} } func (x *CheckPermissionsResponse) GetAuthorizedPermissions() []*AuthorizedPermissions { @@ -8085,11 +7711,9 @@ type ModuleVersion struct { func (x *ModuleVersion) Reset() { *x = ModuleVersion{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[142] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[140] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ModuleVersion) String() string { @@ -8099,8 +7723,8 @@ func (x *ModuleVersion) String() string { func (*ModuleVersion) ProtoMessage() {} func (x *ModuleVersion) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[142] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[140] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8112,7 +7736,7 @@ func (x *ModuleVersion) ProtoReflect() protoreflect.Message { // Deprecated: Use ModuleVersion.ProtoReflect.Descriptor instead. func (*ModuleVersion) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{142} + return file_app_v1_app_proto_rawDescGZIP(), []int{140} } func (x *ModuleVersion) GetVersion() string { @@ -8168,11 +7792,9 @@ type ModuleMetadata struct { func (x *ModuleMetadata) Reset() { *x = ModuleMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[143] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[141] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ModuleMetadata) String() string { @@ -8182,8 +7804,8 @@ func (x *ModuleMetadata) String() string { func (*ModuleMetadata) ProtoMessage() {} func (x *ModuleMetadata) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[143] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[141] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8195,7 +7817,7 @@ func (x *ModuleMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use ModuleMetadata.ProtoReflect.Descriptor instead. func (*ModuleMetadata) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{143} + return file_app_v1_app_proto_rawDescGZIP(), []int{141} } func (x *ModuleMetadata) GetModels() []*Model { @@ -8239,11 +7861,9 @@ type MLModelMetadata struct { func (x *MLModelMetadata) Reset() { *x = MLModelMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[144] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[142] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MLModelMetadata) String() string { @@ -8253,8 +7873,8 @@ func (x *MLModelMetadata) String() string { func (*MLModelMetadata) ProtoMessage() {} func (x *MLModelMetadata) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[144] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[142] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8266,7 +7886,7 @@ func (x *MLModelMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use MLModelMetadata.ProtoReflect.Descriptor instead. func (*MLModelMetadata) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{144} + return file_app_v1_app_proto_rawDescGZIP(), []int{142} } func (x *MLModelMetadata) GetVersions() []string { @@ -8301,11 +7921,9 @@ type MLTrainingVersion struct { func (x *MLTrainingVersion) Reset() { *x = MLTrainingVersion{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[145] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[143] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MLTrainingVersion) String() string { @@ -8315,8 +7933,8 @@ func (x *MLTrainingVersion) String() string { func (*MLTrainingVersion) ProtoMessage() {} func (x *MLTrainingVersion) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[145] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[143] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8328,7 +7946,7 @@ func (x *MLTrainingVersion) ProtoReflect() protoreflect.Message { // Deprecated: Use MLTrainingVersion.ProtoReflect.Descriptor instead. func (*MLTrainingVersion) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{145} + return file_app_v1_app_proto_rawDescGZIP(), []int{143} } func (x *MLTrainingVersion) GetVersion() string { @@ -8359,11 +7977,9 @@ type MLTrainingMetadata struct { func (x *MLTrainingMetadata) Reset() { *x = MLTrainingMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[146] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[144] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MLTrainingMetadata) String() string { @@ -8373,8 +7989,8 @@ func (x *MLTrainingMetadata) String() string { func (*MLTrainingMetadata) ProtoMessage() {} func (x *MLTrainingMetadata) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[146] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[144] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8386,7 +8002,7 @@ func (x *MLTrainingMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use MLTrainingMetadata.ProtoReflect.Descriptor instead. func (*MLTrainingMetadata) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{146} + return file_app_v1_app_proto_rawDescGZIP(), []int{144} } func (x *MLTrainingMetadata) GetVersions() []*MLTrainingVersion { @@ -8465,11 +8081,9 @@ type RegistryItem struct { func (x *RegistryItem) Reset() { *x = RegistryItem{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[147] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[145] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegistryItem) String() string { @@ -8479,8 +8093,8 @@ func (x *RegistryItem) String() string { func (*RegistryItem) ProtoMessage() {} func (x *RegistryItem) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[147] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[145] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8492,7 +8106,7 @@ func (x *RegistryItem) ProtoReflect() protoreflect.Message { // Deprecated: Use RegistryItem.ProtoReflect.Descriptor instead. func (*RegistryItem) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{147} + return file_app_v1_app_proto_rawDescGZIP(), []int{145} } func (x *RegistryItem) GetItemId() string { @@ -8653,11 +8267,9 @@ type GetRegistryItemRequest struct { func (x *GetRegistryItemRequest) Reset() { *x = GetRegistryItemRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[148] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[146] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRegistryItemRequest) String() string { @@ -8667,8 +8279,8 @@ func (x *GetRegistryItemRequest) String() string { func (*GetRegistryItemRequest) ProtoMessage() {} func (x *GetRegistryItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[148] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[146] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8680,7 +8292,7 @@ func (x *GetRegistryItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRegistryItemRequest.ProtoReflect.Descriptor instead. func (*GetRegistryItemRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{148} + return file_app_v1_app_proto_rawDescGZIP(), []int{146} } func (x *GetRegistryItemRequest) GetItemId() string { @@ -8700,11 +8312,9 @@ type GetRegistryItemResponse struct { func (x *GetRegistryItemResponse) Reset() { *x = GetRegistryItemResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[149] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[147] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRegistryItemResponse) String() string { @@ -8714,8 +8324,8 @@ func (x *GetRegistryItemResponse) String() string { func (*GetRegistryItemResponse) ProtoMessage() {} func (x *GetRegistryItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[149] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[147] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8727,7 +8337,7 @@ func (x *GetRegistryItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRegistryItemResponse.ProtoReflect.Descriptor instead. func (*GetRegistryItemResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{149} + return file_app_v1_app_proto_rawDescGZIP(), []int{147} } func (x *GetRegistryItemResponse) GetItem() *RegistryItem { @@ -8752,11 +8362,9 @@ type CreateRegistryItemRequest struct { func (x *CreateRegistryItemRequest) Reset() { *x = CreateRegistryItemRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[150] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[148] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRegistryItemRequest) String() string { @@ -8766,8 +8374,8 @@ func (x *CreateRegistryItemRequest) String() string { func (*CreateRegistryItemRequest) ProtoMessage() {} func (x *CreateRegistryItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[150] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[148] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8779,7 +8387,7 @@ func (x *CreateRegistryItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateRegistryItemRequest.ProtoReflect.Descriptor instead. func (*CreateRegistryItemRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{150} + return file_app_v1_app_proto_rawDescGZIP(), []int{148} } func (x *CreateRegistryItemRequest) GetOrganizationId() string { @@ -8811,11 +8419,9 @@ type CreateRegistryItemResponse struct { func (x *CreateRegistryItemResponse) Reset() { *x = CreateRegistryItemResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[151] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[149] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateRegistryItemResponse) String() string { @@ -8825,8 +8431,8 @@ func (x *CreateRegistryItemResponse) String() string { func (*CreateRegistryItemResponse) ProtoMessage() {} func (x *CreateRegistryItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[151] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[149] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8838,7 +8444,7 @@ func (x *CreateRegistryItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateRegistryItemResponse.ProtoReflect.Descriptor instead. func (*CreateRegistryItemResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{151} + return file_app_v1_app_proto_rawDescGZIP(), []int{149} } type UpdateRegistryItemRequest struct { @@ -8855,11 +8461,9 @@ type UpdateRegistryItemRequest struct { func (x *UpdateRegistryItemRequest) Reset() { *x = UpdateRegistryItemRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[152] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[150] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRegistryItemRequest) String() string { @@ -8869,8 +8473,8 @@ func (x *UpdateRegistryItemRequest) String() string { func (*UpdateRegistryItemRequest) ProtoMessage() {} func (x *UpdateRegistryItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[152] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[150] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8882,7 +8486,7 @@ func (x *UpdateRegistryItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRegistryItemRequest.ProtoReflect.Descriptor instead. func (*UpdateRegistryItemRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{152} + return file_app_v1_app_proto_rawDescGZIP(), []int{150} } func (x *UpdateRegistryItemRequest) GetItemId() string { @@ -8928,11 +8532,9 @@ type UpdateRegistryItemResponse struct { func (x *UpdateRegistryItemResponse) Reset() { *x = UpdateRegistryItemResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[153] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[151] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateRegistryItemResponse) String() string { @@ -8942,8 +8544,8 @@ func (x *UpdateRegistryItemResponse) String() string { func (*UpdateRegistryItemResponse) ProtoMessage() {} func (x *UpdateRegistryItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[153] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[151] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -8955,7 +8557,7 @@ func (x *UpdateRegistryItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRegistryItemResponse.ProtoReflect.Descriptor instead. func (*UpdateRegistryItemResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{153} + return file_app_v1_app_proto_rawDescGZIP(), []int{151} } type ListRegistryItemsRequest struct { @@ -8977,11 +8579,9 @@ type ListRegistryItemsRequest struct { func (x *ListRegistryItemsRequest) Reset() { *x = ListRegistryItemsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[154] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[152] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRegistryItemsRequest) String() string { @@ -8991,8 +8591,8 @@ func (x *ListRegistryItemsRequest) String() string { func (*ListRegistryItemsRequest) ProtoMessage() {} func (x *ListRegistryItemsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[154] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[152] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9004,7 +8604,7 @@ func (x *ListRegistryItemsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRegistryItemsRequest.ProtoReflect.Descriptor instead. func (*ListRegistryItemsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{154} + return file_app_v1_app_proto_rawDescGZIP(), []int{152} } func (x *ListRegistryItemsRequest) GetOrganizationId() string { @@ -9073,11 +8673,9 @@ type ListRegistryItemsResponse struct { func (x *ListRegistryItemsResponse) Reset() { *x = ListRegistryItemsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[155] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[153] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListRegistryItemsResponse) String() string { @@ -9087,8 +8685,8 @@ func (x *ListRegistryItemsResponse) String() string { func (*ListRegistryItemsResponse) ProtoMessage() {} func (x *ListRegistryItemsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[155] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[153] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9100,7 +8698,7 @@ func (x *ListRegistryItemsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRegistryItemsResponse.ProtoReflect.Descriptor instead. func (*ListRegistryItemsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{155} + return file_app_v1_app_proto_rawDescGZIP(), []int{153} } func (x *ListRegistryItemsResponse) GetItems() []*RegistryItem { @@ -9121,11 +8719,9 @@ type DeleteRegistryItemRequest struct { func (x *DeleteRegistryItemRequest) Reset() { *x = DeleteRegistryItemRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[156] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[154] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRegistryItemRequest) String() string { @@ -9135,8 +8731,8 @@ func (x *DeleteRegistryItemRequest) String() string { func (*DeleteRegistryItemRequest) ProtoMessage() {} func (x *DeleteRegistryItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[156] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[154] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9148,7 +8744,7 @@ func (x *DeleteRegistryItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRegistryItemRequest.ProtoReflect.Descriptor instead. func (*DeleteRegistryItemRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{156} + return file_app_v1_app_proto_rawDescGZIP(), []int{154} } func (x *DeleteRegistryItemRequest) GetItemId() string { @@ -9166,11 +8762,9 @@ type DeleteRegistryItemResponse struct { func (x *DeleteRegistryItemResponse) Reset() { *x = DeleteRegistryItemResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[157] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[155] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteRegistryItemResponse) String() string { @@ -9180,8 +8774,8 @@ func (x *DeleteRegistryItemResponse) String() string { func (*DeleteRegistryItemResponse) ProtoMessage() {} func (x *DeleteRegistryItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[157] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[155] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9193,7 +8787,7 @@ func (x *DeleteRegistryItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRegistryItemResponse.ProtoReflect.Descriptor instead. func (*DeleteRegistryItemResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{157} + return file_app_v1_app_proto_rawDescGZIP(), []int{155} } type TransferRegistryItemRequest struct { @@ -9207,11 +8801,9 @@ type TransferRegistryItemRequest struct { func (x *TransferRegistryItemRequest) Reset() { *x = TransferRegistryItemRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[158] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[156] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransferRegistryItemRequest) String() string { @@ -9221,8 +8813,8 @@ func (x *TransferRegistryItemRequest) String() string { func (*TransferRegistryItemRequest) ProtoMessage() {} func (x *TransferRegistryItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[158] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[156] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9234,7 +8826,7 @@ func (x *TransferRegistryItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TransferRegistryItemRequest.ProtoReflect.Descriptor instead. func (*TransferRegistryItemRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{158} + return file_app_v1_app_proto_rawDescGZIP(), []int{156} } func (x *TransferRegistryItemRequest) GetItemId() string { @@ -9259,11 +8851,9 @@ type TransferRegistryItemResponse struct { func (x *TransferRegistryItemResponse) Reset() { *x = TransferRegistryItemResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[159] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[157] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransferRegistryItemResponse) String() string { @@ -9273,8 +8863,8 @@ func (x *TransferRegistryItemResponse) String() string { func (*TransferRegistryItemResponse) ProtoMessage() {} func (x *TransferRegistryItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[159] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[157] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9286,7 +8876,7 @@ func (x *TransferRegistryItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TransferRegistryItemResponse.ProtoReflect.Descriptor instead. func (*TransferRegistryItemResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{159} + return file_app_v1_app_proto_rawDescGZIP(), []int{157} } // Modules @@ -9303,11 +8893,9 @@ type CreateModuleRequest struct { func (x *CreateModuleRequest) Reset() { *x = CreateModuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[160] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[158] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateModuleRequest) String() string { @@ -9317,8 +8905,8 @@ func (x *CreateModuleRequest) String() string { func (*CreateModuleRequest) ProtoMessage() {} func (x *CreateModuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[160] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[158] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9330,7 +8918,7 @@ func (x *CreateModuleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateModuleRequest.ProtoReflect.Descriptor instead. func (*CreateModuleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{160} + return file_app_v1_app_proto_rawDescGZIP(), []int{158} } func (x *CreateModuleRequest) GetOrganizationId() string { @@ -9360,11 +8948,9 @@ type CreateModuleResponse struct { func (x *CreateModuleResponse) Reset() { *x = CreateModuleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[161] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[159] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateModuleResponse) String() string { @@ -9374,8 +8960,8 @@ func (x *CreateModuleResponse) String() string { func (*CreateModuleResponse) ProtoMessage() {} func (x *CreateModuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[161] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[159] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9387,7 +8973,7 @@ func (x *CreateModuleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateModuleResponse.ProtoReflect.Descriptor instead. func (*CreateModuleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{161} + return file_app_v1_app_proto_rawDescGZIP(), []int{159} } func (x *CreateModuleResponse) GetModuleId() string { @@ -9427,11 +9013,9 @@ type UpdateModuleRequest struct { func (x *UpdateModuleRequest) Reset() { *x = UpdateModuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[162] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[160] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateModuleRequest) String() string { @@ -9441,8 +9025,8 @@ func (x *UpdateModuleRequest) String() string { func (*UpdateModuleRequest) ProtoMessage() {} func (x *UpdateModuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[162] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[160] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9454,7 +9038,7 @@ func (x *UpdateModuleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateModuleRequest.ProtoReflect.Descriptor instead. func (*UpdateModuleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{162} + return file_app_v1_app_proto_rawDescGZIP(), []int{160} } func (x *UpdateModuleRequest) GetModuleId() string { @@ -9517,11 +9101,9 @@ type UpdateModuleResponse struct { func (x *UpdateModuleResponse) Reset() { *x = UpdateModuleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[163] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[161] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateModuleResponse) String() string { @@ -9531,8 +9113,8 @@ func (x *UpdateModuleResponse) String() string { func (*UpdateModuleResponse) ProtoMessage() {} func (x *UpdateModuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[163] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[161] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9544,7 +9126,7 @@ func (x *UpdateModuleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateModuleResponse.ProtoReflect.Descriptor instead. func (*UpdateModuleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{163} + return file_app_v1_app_proto_rawDescGZIP(), []int{161} } func (x *UpdateModuleResponse) GetUrl() string { @@ -9567,11 +9149,9 @@ type Model struct { func (x *Model) Reset() { *x = Model{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[164] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[162] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Model) String() string { @@ -9581,8 +9161,8 @@ func (x *Model) String() string { func (*Model) ProtoMessage() {} func (x *Model) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[164] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[162] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9594,7 +9174,7 @@ func (x *Model) ProtoReflect() protoreflect.Message { // Deprecated: Use Model.ProtoReflect.Descriptor instead. func (*Model) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{164} + return file_app_v1_app_proto_rawDescGZIP(), []int{162} } func (x *Model) GetApi() string { @@ -9630,11 +9210,9 @@ type ModuleFileInfo struct { func (x *ModuleFileInfo) Reset() { *x = ModuleFileInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[165] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[163] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ModuleFileInfo) String() string { @@ -9644,8 +9222,8 @@ func (x *ModuleFileInfo) String() string { func (*ModuleFileInfo) ProtoMessage() {} func (x *ModuleFileInfo) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[165] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[163] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9657,7 +9235,7 @@ func (x *ModuleFileInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ModuleFileInfo.ProtoReflect.Descriptor instead. func (*ModuleFileInfo) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{165} + return file_app_v1_app_proto_rawDescGZIP(), []int{163} } func (x *ModuleFileInfo) GetModuleId() string { @@ -9702,11 +9280,9 @@ type UploadModuleFileRequest struct { func (x *UploadModuleFileRequest) Reset() { *x = UploadModuleFileRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[166] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[164] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UploadModuleFileRequest) String() string { @@ -9716,8 +9292,8 @@ func (x *UploadModuleFileRequest) String() string { func (*UploadModuleFileRequest) ProtoMessage() {} func (x *UploadModuleFileRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[166] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[164] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9729,7 +9305,7 @@ func (x *UploadModuleFileRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadModuleFileRequest.ProtoReflect.Descriptor instead. func (*UploadModuleFileRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{166} + return file_app_v1_app_proto_rawDescGZIP(), []int{164} } func (m *UploadModuleFileRequest) GetModuleFile() isUploadModuleFileRequest_ModuleFile { @@ -9782,11 +9358,9 @@ type UploadModuleFileResponse struct { func (x *UploadModuleFileResponse) Reset() { *x = UploadModuleFileResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[167] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[165] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UploadModuleFileResponse) String() string { @@ -9796,8 +9370,8 @@ func (x *UploadModuleFileResponse) String() string { func (*UploadModuleFileResponse) ProtoMessage() {} func (x *UploadModuleFileResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[167] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[165] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9809,7 +9383,7 @@ func (x *UploadModuleFileResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadModuleFileResponse.ProtoReflect.Descriptor instead. func (*UploadModuleFileResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{167} + return file_app_v1_app_proto_rawDescGZIP(), []int{165} } func (x *UploadModuleFileResponse) GetUrl() string { @@ -9830,11 +9404,9 @@ type GetModuleRequest struct { func (x *GetModuleRequest) Reset() { *x = GetModuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[168] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[166] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetModuleRequest) String() string { @@ -9844,8 +9416,8 @@ func (x *GetModuleRequest) String() string { func (*GetModuleRequest) ProtoMessage() {} func (x *GetModuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[168] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[166] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9857,7 +9429,7 @@ func (x *GetModuleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModuleRequest.ProtoReflect.Descriptor instead. func (*GetModuleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{168} + return file_app_v1_app_proto_rawDescGZIP(), []int{166} } func (x *GetModuleRequest) GetModuleId() string { @@ -9878,11 +9450,9 @@ type GetModuleResponse struct { func (x *GetModuleResponse) Reset() { *x = GetModuleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[169] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[167] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetModuleResponse) String() string { @@ -9892,8 +9462,8 @@ func (x *GetModuleResponse) String() string { func (*GetModuleResponse) ProtoMessage() {} func (x *GetModuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[169] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[167] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9905,7 +9475,7 @@ func (x *GetModuleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModuleResponse.ProtoReflect.Descriptor instead. func (*GetModuleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{169} + return file_app_v1_app_proto_rawDescGZIP(), []int{167} } func (x *GetModuleResponse) GetModule() *Module { @@ -9952,11 +9522,9 @@ type Module struct { func (x *Module) Reset() { *x = Module{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[170] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[168] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Module) String() string { @@ -9966,8 +9534,8 @@ func (x *Module) String() string { func (*Module) ProtoMessage() {} func (x *Module) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[170] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[168] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -9979,7 +9547,7 @@ func (x *Module) ProtoReflect() protoreflect.Message { // Deprecated: Use Module.ProtoReflect.Descriptor instead. func (*Module) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{170} + return file_app_v1_app_proto_rawDescGZIP(), []int{168} } func (x *Module) GetModuleId() string { @@ -10092,11 +9660,9 @@ type VersionHistory struct { func (x *VersionHistory) Reset() { *x = VersionHistory{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[171] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[169] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VersionHistory) String() string { @@ -10106,8 +9672,8 @@ func (x *VersionHistory) String() string { func (*VersionHistory) ProtoMessage() {} func (x *VersionHistory) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[171] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[169] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10119,7 +9685,7 @@ func (x *VersionHistory) ProtoReflect() protoreflect.Message { // Deprecated: Use VersionHistory.ProtoReflect.Descriptor instead. func (*VersionHistory) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{171} + return file_app_v1_app_proto_rawDescGZIP(), []int{169} } func (x *VersionHistory) GetVersion() string { @@ -10170,11 +9736,9 @@ type Uploads struct { func (x *Uploads) Reset() { *x = Uploads{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[172] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[170] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Uploads) String() string { @@ -10184,8 +9748,8 @@ func (x *Uploads) String() string { func (*Uploads) ProtoMessage() {} func (x *Uploads) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[172] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[170] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10197,7 +9761,7 @@ func (x *Uploads) ProtoReflect() protoreflect.Message { // Deprecated: Use Uploads.ProtoReflect.Descriptor instead. func (*Uploads) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{172} + return file_app_v1_app_proto_rawDescGZIP(), []int{170} } func (x *Uploads) GetPlatform() string { @@ -10225,11 +9789,9 @@ type ListModulesRequest struct { func (x *ListModulesRequest) Reset() { *x = ListModulesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[173] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[171] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListModulesRequest) String() string { @@ -10239,8 +9801,8 @@ func (x *ListModulesRequest) String() string { func (*ListModulesRequest) ProtoMessage() {} func (x *ListModulesRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[173] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[171] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10252,7 +9814,7 @@ func (x *ListModulesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListModulesRequest.ProtoReflect.Descriptor instead. func (*ListModulesRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{173} + return file_app_v1_app_proto_rawDescGZIP(), []int{171} } func (x *ListModulesRequest) GetOrganizationId() string { @@ -10273,11 +9835,9 @@ type ListModulesResponse struct { func (x *ListModulesResponse) Reset() { *x = ListModulesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[174] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[172] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListModulesResponse) String() string { @@ -10287,8 +9847,8 @@ func (x *ListModulesResponse) String() string { func (*ListModulesResponse) ProtoMessage() {} func (x *ListModulesResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[174] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[172] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10300,7 +9860,7 @@ func (x *ListModulesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListModulesResponse.ProtoReflect.Descriptor instead. func (*ListModulesResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{174} + return file_app_v1_app_proto_rawDescGZIP(), []int{172} } func (x *ListModulesResponse) GetModules() []*Module { @@ -10320,11 +9880,9 @@ type GetUserIDByEmailRequest struct { func (x *GetUserIDByEmailRequest) Reset() { *x = GetUserIDByEmailRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[175] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[173] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserIDByEmailRequest) String() string { @@ -10334,8 +9892,8 @@ func (x *GetUserIDByEmailRequest) String() string { func (*GetUserIDByEmailRequest) ProtoMessage() {} func (x *GetUserIDByEmailRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[175] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[173] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10347,7 +9905,7 @@ func (x *GetUserIDByEmailRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetUserIDByEmailRequest.ProtoReflect.Descriptor instead. func (*GetUserIDByEmailRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{175} + return file_app_v1_app_proto_rawDescGZIP(), []int{173} } func (x *GetUserIDByEmailRequest) GetEmail() string { @@ -10367,11 +9925,9 @@ type GetUserIDByEmailResponse struct { func (x *GetUserIDByEmailResponse) Reset() { *x = GetUserIDByEmailResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[176] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[174] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetUserIDByEmailResponse) String() string { @@ -10381,8 +9937,8 @@ func (x *GetUserIDByEmailResponse) String() string { func (*GetUserIDByEmailResponse) ProtoMessage() {} func (x *GetUserIDByEmailResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[176] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[174] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10394,7 +9950,7 @@ func (x *GetUserIDByEmailResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetUserIDByEmailResponse.ProtoReflect.Descriptor instead. func (*GetUserIDByEmailResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{176} + return file_app_v1_app_proto_rawDescGZIP(), []int{174} } func (x *GetUserIDByEmailResponse) GetUserId() string { @@ -10414,11 +9970,9 @@ type ListOrganizationsByUserRequest struct { func (x *ListOrganizationsByUserRequest) Reset() { *x = ListOrganizationsByUserRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[177] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[175] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListOrganizationsByUserRequest) String() string { @@ -10428,8 +9982,8 @@ func (x *ListOrganizationsByUserRequest) String() string { func (*ListOrganizationsByUserRequest) ProtoMessage() {} func (x *ListOrganizationsByUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[177] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[175] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10441,7 +9995,7 @@ func (x *ListOrganizationsByUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListOrganizationsByUserRequest.ProtoReflect.Descriptor instead. func (*ListOrganizationsByUserRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{177} + return file_app_v1_app_proto_rawDescGZIP(), []int{175} } func (x *ListOrganizationsByUserRequest) GetUserId() string { @@ -10462,11 +10016,9 @@ type OrgDetails struct { func (x *OrgDetails) Reset() { *x = OrgDetails{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[178] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[176] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OrgDetails) String() string { @@ -10476,8 +10028,8 @@ func (x *OrgDetails) String() string { func (*OrgDetails) ProtoMessage() {} func (x *OrgDetails) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[178] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[176] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10489,7 +10041,7 @@ func (x *OrgDetails) ProtoReflect() protoreflect.Message { // Deprecated: Use OrgDetails.ProtoReflect.Descriptor instead. func (*OrgDetails) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{178} + return file_app_v1_app_proto_rawDescGZIP(), []int{176} } func (x *OrgDetails) GetOrgId() string { @@ -10516,11 +10068,9 @@ type ListOrganizationsByUserResponse struct { func (x *ListOrganizationsByUserResponse) Reset() { *x = ListOrganizationsByUserResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[179] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[177] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListOrganizationsByUserResponse) String() string { @@ -10530,8 +10080,8 @@ func (x *ListOrganizationsByUserResponse) String() string { func (*ListOrganizationsByUserResponse) ProtoMessage() {} func (x *ListOrganizationsByUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[179] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[177] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10543,7 +10093,7 @@ func (x *ListOrganizationsByUserResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListOrganizationsByUserResponse.ProtoReflect.Descriptor instead. func (*ListOrganizationsByUserResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{179} + return file_app_v1_app_proto_rawDescGZIP(), []int{177} } func (x *ListOrganizationsByUserResponse) GetOrgs() []*OrgDetails { @@ -10564,11 +10114,9 @@ type CreateKeyRequest struct { func (x *CreateKeyRequest) Reset() { *x = CreateKeyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[180] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[178] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateKeyRequest) String() string { @@ -10578,8 +10126,8 @@ func (x *CreateKeyRequest) String() string { func (*CreateKeyRequest) ProtoMessage() {} func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[180] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[178] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10591,7 +10139,7 @@ func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateKeyRequest.ProtoReflect.Descriptor instead. func (*CreateKeyRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{180} + return file_app_v1_app_proto_rawDescGZIP(), []int{178} } func (x *CreateKeyRequest) GetAuthorizations() []*Authorization { @@ -10619,11 +10167,9 @@ type CreateKeyResponse struct { func (x *CreateKeyResponse) Reset() { *x = CreateKeyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[181] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[179] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateKeyResponse) String() string { @@ -10633,8 +10179,8 @@ func (x *CreateKeyResponse) String() string { func (*CreateKeyResponse) ProtoMessage() {} func (x *CreateKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[181] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[179] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10646,7 +10192,7 @@ func (x *CreateKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateKeyResponse.ProtoReflect.Descriptor instead. func (*CreateKeyResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{181} + return file_app_v1_app_proto_rawDescGZIP(), []int{179} } func (x *CreateKeyResponse) GetKey() string { @@ -10673,11 +10219,9 @@ type DeleteKeyRequest struct { func (x *DeleteKeyRequest) Reset() { *x = DeleteKeyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[182] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[180] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteKeyRequest) String() string { @@ -10687,8 +10231,8 @@ func (x *DeleteKeyRequest) String() string { func (*DeleteKeyRequest) ProtoMessage() {} func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[182] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[180] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10700,7 +10244,7 @@ func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteKeyRequest.ProtoReflect.Descriptor instead. func (*DeleteKeyRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{182} + return file_app_v1_app_proto_rawDescGZIP(), []int{180} } func (x *DeleteKeyRequest) GetId() string { @@ -10718,11 +10262,9 @@ type DeleteKeyResponse struct { func (x *DeleteKeyResponse) Reset() { *x = DeleteKeyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[183] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[181] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DeleteKeyResponse) String() string { @@ -10732,8 +10274,8 @@ func (x *DeleteKeyResponse) String() string { func (*DeleteKeyResponse) ProtoMessage() {} func (x *DeleteKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[183] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[181] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10745,7 +10287,7 @@ func (x *DeleteKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteKeyResponse.ProtoReflect.Descriptor instead. func (*DeleteKeyResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{183} + return file_app_v1_app_proto_rawDescGZIP(), []int{181} } type RenameKeyRequest struct { @@ -10759,11 +10301,9 @@ type RenameKeyRequest struct { func (x *RenameKeyRequest) Reset() { *x = RenameKeyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[184] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[182] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RenameKeyRequest) String() string { @@ -10773,8 +10313,8 @@ func (x *RenameKeyRequest) String() string { func (*RenameKeyRequest) ProtoMessage() {} func (x *RenameKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[184] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[182] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10786,7 +10326,7 @@ func (x *RenameKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RenameKeyRequest.ProtoReflect.Descriptor instead. func (*RenameKeyRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{184} + return file_app_v1_app_proto_rawDescGZIP(), []int{182} } func (x *RenameKeyRequest) GetId() string { @@ -10814,11 +10354,9 @@ type RenameKeyResponse struct { func (x *RenameKeyResponse) Reset() { *x = RenameKeyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[185] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[183] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RenameKeyResponse) String() string { @@ -10828,8 +10366,8 @@ func (x *RenameKeyResponse) String() string { func (*RenameKeyResponse) ProtoMessage() {} func (x *RenameKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[185] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[183] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10841,7 +10379,7 @@ func (x *RenameKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RenameKeyResponse.ProtoReflect.Descriptor instead. func (*RenameKeyResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{185} + return file_app_v1_app_proto_rawDescGZIP(), []int{183} } func (x *RenameKeyResponse) GetId() string { @@ -10872,11 +10410,9 @@ type AuthorizationDetails struct { func (x *AuthorizationDetails) Reset() { *x = AuthorizationDetails{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[186] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[184] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AuthorizationDetails) String() string { @@ -10886,8 +10422,8 @@ func (x *AuthorizationDetails) String() string { func (*AuthorizationDetails) ProtoMessage() {} func (x *AuthorizationDetails) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[186] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[184] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10899,7 +10435,7 @@ func (x *AuthorizationDetails) ProtoReflect() protoreflect.Message { // Deprecated: Use AuthorizationDetails.ProtoReflect.Descriptor instead. func (*AuthorizationDetails) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{186} + return file_app_v1_app_proto_rawDescGZIP(), []int{184} } func (x *AuthorizationDetails) GetAuthorizationType() string { @@ -10948,11 +10484,9 @@ type APIKeyWithAuthorizations struct { func (x *APIKeyWithAuthorizations) Reset() { *x = APIKeyWithAuthorizations{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[187] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[185] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *APIKeyWithAuthorizations) String() string { @@ -10962,8 +10496,8 @@ func (x *APIKeyWithAuthorizations) String() string { func (*APIKeyWithAuthorizations) ProtoMessage() {} func (x *APIKeyWithAuthorizations) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[187] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[185] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -10975,7 +10509,7 @@ func (x *APIKeyWithAuthorizations) ProtoReflect() protoreflect.Message { // Deprecated: Use APIKeyWithAuthorizations.ProtoReflect.Descriptor instead. func (*APIKeyWithAuthorizations) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{187} + return file_app_v1_app_proto_rawDescGZIP(), []int{185} } func (x *APIKeyWithAuthorizations) GetApiKey() *APIKey { @@ -11002,11 +10536,9 @@ type ListKeysRequest struct { func (x *ListKeysRequest) Reset() { *x = ListKeysRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[188] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[186] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListKeysRequest) String() string { @@ -11016,8 +10548,8 @@ func (x *ListKeysRequest) String() string { func (*ListKeysRequest) ProtoMessage() {} func (x *ListKeysRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[188] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[186] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -11029,7 +10561,7 @@ func (x *ListKeysRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListKeysRequest.ProtoReflect.Descriptor instead. func (*ListKeysRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{188} + return file_app_v1_app_proto_rawDescGZIP(), []int{186} } func (x *ListKeysRequest) GetOrgId() string { @@ -11049,11 +10581,9 @@ type ListKeysResponse struct { func (x *ListKeysResponse) Reset() { *x = ListKeysResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[189] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[187] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListKeysResponse) String() string { @@ -11063,8 +10593,8 @@ func (x *ListKeysResponse) String() string { func (*ListKeysResponse) ProtoMessage() {} func (x *ListKeysResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[189] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[187] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -11076,7 +10606,7 @@ func (x *ListKeysResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListKeysResponse.ProtoReflect.Descriptor instead. func (*ListKeysResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{189} + return file_app_v1_app_proto_rawDescGZIP(), []int{187} } func (x *ListKeysResponse) GetApiKeys() []*APIKeyWithAuthorizations { @@ -11096,11 +10626,9 @@ type RotateKeyRequest struct { func (x *RotateKeyRequest) Reset() { *x = RotateKeyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[190] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[188] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RotateKeyRequest) String() string { @@ -11110,8 +10638,8 @@ func (x *RotateKeyRequest) String() string { func (*RotateKeyRequest) ProtoMessage() {} func (x *RotateKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[190] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[188] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -11123,7 +10651,7 @@ func (x *RotateKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RotateKeyRequest.ProtoReflect.Descriptor instead. func (*RotateKeyRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{190} + return file_app_v1_app_proto_rawDescGZIP(), []int{188} } func (x *RotateKeyRequest) GetId() string { @@ -11144,11 +10672,9 @@ type RotateKeyResponse struct { func (x *RotateKeyResponse) Reset() { *x = RotateKeyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[191] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[189] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RotateKeyResponse) String() string { @@ -11158,8 +10684,8 @@ func (x *RotateKeyResponse) String() string { func (*RotateKeyResponse) ProtoMessage() {} func (x *RotateKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[191] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[189] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -11171,7 +10697,7 @@ func (x *RotateKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RotateKeyResponse.ProtoReflect.Descriptor instead. func (*RotateKeyResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{191} + return file_app_v1_app_proto_rawDescGZIP(), []int{189} } func (x *RotateKeyResponse) GetId() string { @@ -11198,11 +10724,9 @@ type CreateKeyFromExistingKeyAuthorizationsRequest struct { func (x *CreateKeyFromExistingKeyAuthorizationsRequest) Reset() { *x = CreateKeyFromExistingKeyAuthorizationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[192] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[190] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateKeyFromExistingKeyAuthorizationsRequest) String() string { @@ -11212,8 +10736,8 @@ func (x *CreateKeyFromExistingKeyAuthorizationsRequest) String() string { func (*CreateKeyFromExistingKeyAuthorizationsRequest) ProtoMessage() {} func (x *CreateKeyFromExistingKeyAuthorizationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[192] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[190] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -11225,7 +10749,7 @@ func (x *CreateKeyFromExistingKeyAuthorizationsRequest) ProtoReflect() protorefl // Deprecated: Use CreateKeyFromExistingKeyAuthorizationsRequest.ProtoReflect.Descriptor instead. func (*CreateKeyFromExistingKeyAuthorizationsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{192} + return file_app_v1_app_proto_rawDescGZIP(), []int{190} } func (x *CreateKeyFromExistingKeyAuthorizationsRequest) GetId() string { @@ -11246,11 +10770,9 @@ type CreateKeyFromExistingKeyAuthorizationsResponse struct { func (x *CreateKeyFromExistingKeyAuthorizationsResponse) Reset() { *x = CreateKeyFromExistingKeyAuthorizationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_app_proto_msgTypes[193] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_app_proto_msgTypes[191] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateKeyFromExistingKeyAuthorizationsResponse) String() string { @@ -11260,8 +10782,8 @@ func (x *CreateKeyFromExistingKeyAuthorizationsResponse) String() string { func (*CreateKeyFromExistingKeyAuthorizationsResponse) ProtoMessage() {} func (x *CreateKeyFromExistingKeyAuthorizationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[193] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_app_v1_app_proto_msgTypes[191] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -11273,7 +10795,7 @@ func (x *CreateKeyFromExistingKeyAuthorizationsResponse) ProtoReflect() protoref // Deprecated: Use CreateKeyFromExistingKeyAuthorizationsResponse.ProtoReflect.Descriptor instead. func (*CreateKeyFromExistingKeyAuthorizationsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{193} + return file_app_v1_app_proto_rawDescGZIP(), []int{191} } func (x *CreateKeyFromExistingKeyAuthorizationsResponse) GetId() string { @@ -11654,1622 +11176,1607 @@ var file_app_v1_app_proto_rawDesc = []byte{ 0x72, 0x65, 0x73, 0x73, 0x52, 0x0e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x1e, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, - 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x61, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x42, 0x69, - 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6c, 0x6c, - 0x69, 0x6e, 0x67, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0e, 0x62, 0x69, 0x6c, 0x6c, - 0x69, 0x6e, 0x67, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x35, 0x0a, 0x1c, 0x44, 0x69, - 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, - 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, - 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, - 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x51, 0x0a, 0x22, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, - 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, - 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x25, 0x0a, 0x23, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, - 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x0a, 0x22, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x0a, 0x1c, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, + 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x44, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x51, 0x0a, 0x22, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x23, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, - 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x3a, 0x0a, 0x14, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 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, 0x59, 0x0a, 0x14, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x80, 0x01, - 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x12, 0x1a, - 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, - 0x18, 0x01, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x07, 0x73, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, - 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, - 0x22, 0x27, 0x0a, 0x0d, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0xe4, 0x02, 0x0a, 0x08, 0x4c, 0x6f, - 0x63, 0x61, 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, 0x2c, 0x0a, 0x12, 0x70, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, - 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x12, 0x47, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, - 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x03, - 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, 0x4f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x72, - 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0a, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x06, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x22, 0xd0, 0x02, 0x0a, 0x0c, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, - 0x74, 0x12, 0x1e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0x9a, - 0x84, 0x9e, 0x03, 0x09, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x22, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x12, 0x9a, 0x84, 0x9e, 0x03, 0x0d, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x22, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x63, 0x0a, - 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x03, 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, 0x42, 0x28, 0x9a, - 0x84, 0x9e, 0x03, 0x23, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x4f, 0x6e, 0x12, 0x48, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x42, 0x11, 0x9a, 0x84, 0x9e, 0x03, 0x0c, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, - 0x74, 0x61, 0x74, 0x65, 0x22, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x45, 0x0a, 0x05, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, - 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, - 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, - 0x44, 0x10, 0x02, 0x22, 0x9e, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, - 0x63, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x12, 0x70, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x15, 0x0a, - 0x13, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, - 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x35, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x31, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0xcc, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x12, 0x31, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x48, 0x01, 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x72, 0x65, 0x67, - 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x06, 0x72, 0x65, 0x67, - 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, - 0x15, 0x0a, 0x13, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, - 0x6e, 0x22, 0x4b, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x38, - 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x4e, 0x0a, 0x2b, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, - 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x22, 0x8a, 0x01, 0x0a, 0x2c, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x16, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, - 0x3f, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, + 0x25, 0x0a, 0x23, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x0a, 0x22, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, + 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, + 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, + 0x67, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x23, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, + 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, + 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, + 0x22, 0x3a, 0x0a, 0x14, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 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, 0x59, 0x0a, 0x14, + 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 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, 0x18, 0x0a, + 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, + 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x80, 0x01, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x22, 0x27, 0x0a, 0x0d, 0x53, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x22, 0xe4, 0x02, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 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, 0x2c, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, + 0x68, 0x12, 0x47, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x03, 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, 0x4f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x6f, 0x62, 0x6f, + 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xd0, 0x02, 0x0a, 0x0c, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0x9a, 0x84, 0x9e, 0x03, 0x09, 0x62, 0x73, + 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x22, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x73, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x12, 0x9a, 0x84, 0x9e, + 0x03, 0x0d, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x52, + 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x63, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x03, 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, 0x42, 0x28, 0x9a, 0x84, 0x9e, 0x03, 0x23, 0x62, 0x73, + 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x20, + 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, + 0x22, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x48, 0x0a, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, + 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x11, 0x9a, 0x84, + 0x9e, 0x03, 0x0c, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x45, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, + 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0x9e, 0x01, + 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 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, - 0x22, 0x60, 0x0a, 0x14, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x62, 0x0a, 0x16, 0x55, - 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, - 0x19, 0x0a, 0x17, 0x55, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0x0a, 0x15, 0x4c, 0x69, - 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3e, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, - 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x22, 0x5b, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x22, 0x4b, + 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x35, 0x0a, 0x12, 0x47, + 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x22, 0x48, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xcc, 0x01, 0x0a, + 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, - 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x49, 0x64, 0x22, 0x1e, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x13, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, + 0x12, 0x31, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x10, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, + 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x4b, 0x0a, 0x16, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x38, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0x0a, 0x2b, + 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x14, - 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, 0x61, - 0x75, 0x74, 0x68, 0x22, 0x21, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 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, 0x34, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, - 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x9a, 0x01, 0x0a, - 0x10, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, - 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, - 0x0a, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x12, - 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4d, - 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x1c, 0x47, 0x65, 0x74, - 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x6f, 0x62, - 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, - 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, - 0x22, 0x3c, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x22, 0x31, - 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, - 0x64, 0x22, 0x45, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x70, 0x61, - 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, - 0x74, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x22, 0x25, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 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, - 0x63, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, - 0x61, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6a, 0x73, - 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x4a, 0x73, 0x6f, 0x6e, 0x22, 0x8a, 0x03, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, - 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x8a, 0x01, 0x0a, + 0x2c, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, + 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x52, 0x16, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3f, 0x0a, 0x14, 0x4c, 0x69, 0x73, + 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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, 0x22, 0x60, 0x0a, 0x14, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x17, 0x0a, 0x15, + 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x62, 0x0a, 0x16, 0x55, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, + 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x55, 0x6e, 0x73, + 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, + 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0x3e, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, + 0x68, 0x22, 0x5b, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x64, 0x22, 0x1e, + 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, + 0x0a, 0x13, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x14, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, + 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x22, 0x21, 0x0a, + 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 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, 0x23, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, - 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x88, - 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, - 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x12, 0x35, - 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x06, 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, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x03, 0x65, 0x6e, 0x64, 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, 0x03, - 0x52, 0x03, 0x65, 0x6e, 0x64, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, - 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x48, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x05, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x88, 0x01, 0x01, - 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x65, 0x6e, 0x64, 0x42, 0x08, 0x0a, 0x06, - 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x22, 0x70, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, - 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, - 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, - 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x22, 0x73, 0x0a, 0x18, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, - 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 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, - 0x1f, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x4f, 0x6e, 0x6c, 0x79, - 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x00, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, - 0x07, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x49, 0x0a, 0x19, 0x54, 0x61, 0x69, 0x6c, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6c, - 0x6f, 0x67, 0x73, 0x22, 0x2c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x22, 0x5b, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, - 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x3c, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x78, - 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, - 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0c, - 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0b, 0x72, 0x6f, 0x62, - 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x45, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, 0x22, - 0x4d, 0x0a, 0x13, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, + 0x22, 0x34, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, + 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x9a, 0x01, 0x0a, 0x10, 0x52, 0x6f, 0x76, 0x65, 0x72, + 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, + 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, + 0x6f, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x62, 0x6f, 0x74, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x6f, 0x62, + 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x12, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, + 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4d, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, + 0x74, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, + 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x52, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x22, 0x3c, 0x0a, 0x10, 0x47, 0x65, + 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, + 0x0a, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, + 0x74, 0x52, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x22, 0x31, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, + 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x15, 0x47, + 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x05, 0x70, 0x61, 0x72, + 0x74, 0x73, 0x22, 0x25, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, + 0x72, 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, 0x63, 0x0a, 0x14, 0x47, 0x65, 0x74, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, + 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, 0x12, 0x1f, 0x0a, + 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x73, 0x6f, 0x6e, 0x22, 0x8a, + 0x03, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, + 0x6f, 0x67, 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, 0x23, 0x0a, 0x0b, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, + 0x02, 0x18, 0x01, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, + 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, + 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x18, 0x06, 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, 0x73, 0x74, 0x61, 0x72, 0x74, 0x88, 0x01, 0x01, 0x12, + 0x31, 0x0a, 0x03, 0x65, 0x6e, 0x64, 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, 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x88, + 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x03, 0x48, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, + 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x48, 0x05, 0x52, + 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x66, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x06, + 0x0a, 0x04, 0x5f, 0x65, 0x6e, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x70, 0x0a, 0x18, 0x47, + 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, + 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x73, 0x0a, + 0x18, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, + 0x67, 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, 0x1f, 0x0a, 0x0b, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x66, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x66, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x22, 0x49, 0x0a, 0x19, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2c, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x22, 0x2c, 0x0a, + 0x1a, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, + 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5b, 0x0a, 0x1b, 0x47, + 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x68, 0x69, + 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x78, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0c, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0b, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x22, 0x45, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, + 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, + 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, 0x22, 0x4d, 0x0a, 0x13, 0x4e, 0x65, 0x77, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, + 0x61, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x70, 0x61, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2f, 0x0a, 0x14, 0x4e, 0x65, 0x77, 0x52, + 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x31, 0x0a, 0x16, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x16, + 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, - 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2f, - 0x0a, 0x14, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, - 0x31, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, - 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, - 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, - 0x49, 0x64, 0x22, 0x33, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, - 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, - 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x22, 0x79, 0x0a, 0x06, 0x41, 0x50, 0x49, 0x4b, 0x65, - 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x6f, 0x6e, 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, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x4f, 0x6e, 0x22, 0x5b, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, - 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, - 0x08, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, - 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x22, - 0x19, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, - 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x85, 0x06, 0x0a, 0x08, 0x46, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x33, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x42, 0x23, 0x9a, 0x84, 0x9e, 0x03, 0x1e, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, - 0x5f, 0x69, 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x2c, 0x6f, 0x6d, - 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1c, 0x9a, 0x84, 0x9e, 0x03, - 0x17, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x6a, 0x73, 0x6f, - 0x6e, 0x3a, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, - 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x24, 0x9a, 0x84, 0x9e, 0x03, 0x1f, - 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x20, - 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x52, - 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x5a, 0x0a, 0x12, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0x9a, 0x84, 0x9e, 0x03, 0x26, 0x62, 0x73, 0x6f, 0x6e, - 0x3a, 0x22, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x22, 0x52, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x20, 0x9a, 0x84, 0x9e, 0x03, 0x1b, 0x62, 0x73, 0x6f, 0x6e, - 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, - 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x22, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, - 0x51, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x06, 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, 0x42, - 0x16, 0x9a, 0x84, 0x9e, 0x03, 0x11, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x4f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x28, 0x0a, 0x10, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x6f, 0x62, 0x6f, 0x74, - 0x50, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x12, 0x6f, 0x6e, 0x6c, 0x79, - 0x5f, 0x75, 0x73, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x6f, 0x6e, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x64, 0x42, 0x79, - 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x3f, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x5a, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0d, 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, 0x42, 0x1b, 0x9a, 0x84, 0x9e, 0x03, 0x16, 0x62, - 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x64, 0x5f, 0x61, 0x74, 0x22, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x64, 0x22, 0xe3, 0x02, 0x0a, 0x14, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, - 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x40, 0x0a, 0x08, 0x66, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0x9a, - 0x84, 0x9e, 0x03, 0x1f, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x22, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x5f, 0x0a, - 0x09, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x02, 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, 0x42, 0x26, 0x9a, 0x84, - 0x9e, 0x03, 0x21, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, - 0x6f, 0x6e, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, - 0x5f, 0x6f, 0x6e, 0x22, 0x52, 0x08, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x43, - 0x0a, 0x03, 0x6f, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x42, 0x1a, 0x9a, 0x84, 0x9e, 0x03, 0x15, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, - 0x6c, 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x6c, 0x64, 0x22, 0x52, 0x03, - 0x6f, 0x6c, 0x64, 0x12, 0x63, 0x0a, 0x09, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, - 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x26, 0x9a, 0x84, 0x9e, 0x03, 0x21, 0x62, 0x73, 0x6f, - 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x22, 0x20, 0x6a, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x22, 0x52, 0x08, - 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x42, 0x79, 0x22, 0x87, 0x01, 0x0a, 0x0d, 0x46, 0x72, 0x61, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x0a, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x61, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x22, 0xa7, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x46, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, - 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, - 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x6f, - 0x6c, 0x76, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xb2, 0x01, 0x0a, - 0x14, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 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, 0x1f, - 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, - 0x50, 0x0a, 0x13, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x69, 0x73, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x12, 0x66, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x79, 0x22, 0x4c, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x66, 0x72, - 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, - 0x24, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 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, 0x48, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, - 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, - 0xda, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 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, 0x12, 0x2f, 0x0a, - 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x64, 0x22, 0x79, 0x0a, 0x06, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 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, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x22, 0x5b, 0x0a, 0x17, + 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, 0x6b, + 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, + 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x85, 0x06, 0x0a, 0x08, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x12, 0x33, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0x9a, + 0x84, 0x9e, 0x03, 0x1e, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x6a, + 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x2c, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, + 0x79, 0x22, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x1c, 0x9a, 0x84, 0x9e, 0x03, 0x17, 0x62, 0x73, 0x6f, 0x6e, 0x3a, + 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x42, 0x24, 0x9a, 0x84, 0x9e, 0x03, 0x1f, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, + 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, + 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x12, 0x5a, 0x0a, 0x12, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x2b, 0x9a, 0x84, 0x9e, 0x03, 0x26, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x20, + 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x52, 0x11, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, + 0x38, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, + 0x20, 0x9a, 0x84, 0x9e, 0x03, 0x1b, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x22, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x51, 0x0a, 0x0a, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 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, 0x44, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, 0x0a, - 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, - 0x0b, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x4b, 0x0a, 0x16, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x16, 0x9a, 0x84, 0x9e, 0x03, 0x11, + 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, + 0x22, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x6f, 0x62, + 0x6f, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x12, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x5f, + 0x62, 0x79, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, + 0x6f, 0x6e, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x64, 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, + 0x3f, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x12, 0x5a, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, + 0x18, 0x0d, 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, 0x42, 0x1b, 0x9a, 0x84, 0x9e, 0x03, 0x16, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6c, + 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x22, 0x52, + 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x22, 0xe3, 0x02, 0x0a, + 0x14, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x40, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0x9a, 0x84, 0x9e, 0x03, 0x1f, 0x62, 0x73, + 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x20, 0x6a, 0x73, + 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x52, 0x08, 0x66, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x5f, 0x0a, 0x09, 0x65, 0x64, 0x69, 0x74, 0x65, + 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x02, 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, 0x42, 0x26, 0x9a, 0x84, 0x9e, 0x03, 0x21, 0x62, 0x73, 0x6f, + 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x20, 0x6a, 0x73, + 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x52, 0x08, + 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x43, 0x0a, 0x03, 0x6f, 0x6c, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x1a, 0x9a, 0x84, + 0x9e, 0x03, 0x15, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x6c, 0x64, 0x22, 0x20, 0x6a, 0x73, + 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x6c, 0x64, 0x22, 0x52, 0x03, 0x6f, 0x6c, 0x64, 0x12, 0x63, 0x0a, + 0x09, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x42, 0x26, 0x9a, 0x84, 0x9e, 0x03, 0x21, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, + 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, + 0x69, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x22, 0x52, 0x08, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, + 0x42, 0x79, 0x22, 0x87, 0x01, 0x0a, 0x0d, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0xa7, 0x01, 0x0a, + 0x10, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xb2, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 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, 0x1f, 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x77, + 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, + 0x68, 0x6f, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x50, 0x0a, 0x13, 0x66, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x12, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x4c, 0x0a, 0x15, 0x4c, + 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, + 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x24, 0x0a, 0x12, 0x47, 0x65, 0x74, + 0x46, 0x72, 0x61, 0x67, 0x6d, 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, + 0x48, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, - 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xe9, 0x01, 0x0a, 0x15, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xda, 0x01, 0x0a, 0x15, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 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, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x88, 0x01, 0x01, 0x12, 0x44, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x01, 0x52, 0x0a, 0x76, 0x69, - 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, - 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x4b, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x31, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x22, 0x27, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, - 0x6d, 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, 0x18, 0x0a, 0x16, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 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, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, - 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x09, 0x70, - 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, - 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x81, 0x01, 0x0a, 0x1a, 0x47, 0x65, - 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x69, - 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x34, 0x0a, - 0x11, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x22, 0x74, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, - 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, - 0x64, 0x12, 0x36, 0x0a, 0x17, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, - 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x15, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x72, - 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x22, 0xa1, 0x01, 0x0a, 0x1c, 0x4c, 0x69, - 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x66, 0x72, - 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, - 0x4c, 0x0a, 0x12, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, - 0x65, 0x64, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x11, 0x72, 0x65, 0x73, 0x6f, - 0x6c, 0x76, 0x65, 0x64, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x40, 0x0a, - 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x22, - 0x41, 0x0a, 0x0f, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 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, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x22, 0x0a, 0x10, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 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, 0x54, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x52, 0x6f, 0x62, 0x6f, 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, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x0a, 0x13, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x22, 0x24, 0x0a, - 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 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, 0x15, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x0a, 0x15, 0x4d, 0x61, - 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, - 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x0a, 0x19, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, - 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, - 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x1c, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, + 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 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, 0x44, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x76, 0x69, 0x73, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x4b, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x31, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x22, 0xe9, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, + 0x61, 0x67, 0x6d, 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, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x48, 0x00, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x88, 0x01, 0x01, 0x12, + 0x44, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x48, 0x01, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, + 0x4b, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x66, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x27, 0x0a, 0x15, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 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, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x91, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, + 0x69, 0x73, 0x74, 0x6f, 0x72, 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, 0x22, 0x0a, + 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, + 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x22, 0x81, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, + 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, + 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x34, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x74, 0x0a, + 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x61, + 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x15, 0x61, 0x64, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x49, 0x64, 0x73, 0x22, 0xa1, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, + 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x4c, 0x0a, 0x12, 0x72, 0x65, 0x73, + 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x46, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x40, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, + 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, + 0x74, 0x52, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x22, 0x41, 0x0a, 0x0f, 0x4e, 0x65, 0x77, + 0x52, 0x6f, 0x62, 0x6f, 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, + 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x22, 0x0a, 0x10, + 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 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, 0x54, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, + 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, + 0x52, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x22, 0x24, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x52, 0x6f, 0x62, 0x6f, 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, 0x15, 0x0a, + 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x0a, 0x15, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, + 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, + 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, + 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x34, 0x0a, 0x19, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, + 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, + 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, + 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, + 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x4b, 0x0a, + 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, + 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, + 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, + 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, 0x22, 0x54, 0x0a, 0x1c, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, - 0x74, 0x49, 0x64, 0x22, 0x4b, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, - 0x22, 0x54, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x63, - 0x72, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9e, 0x02, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x22, 0x52, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, - 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x61, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x11, 0x0a, 0x0f, - 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x55, 0x0a, 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, + 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x64, + 0x22, 0x1f, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x9e, 0x02, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, + 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, + 0x0d, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, + 0x70, 0x65, 0x22, 0x52, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x14, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa5, 0x01, 0x0a, - 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x47, 0x0a, 0x11, 0x6f, 0x6c, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6f, 0x6c, 0x64, 0x41, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x11, 0x6e, - 0x65, 0x77, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x10, 0x6e, 0x65, 0x77, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x14, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, - 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x0a, 0x19, 0x4c, 0x69, - 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 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, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x49, 0x64, 0x73, 0x22, 0x60, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x42, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x5f, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x44, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7f, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x75, 0x0a, 0x18, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x16, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, - 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x15, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd1, - 0x01, 0x0a, 0x0d, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x66, 0x69, - 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x52, - 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, - 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, - 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, - 0x75, 0x6e, 0x22, 0xc4, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, - 0x73, 0x12, 0x36, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x11, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x55, 0x0a, 0x11, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, + 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x14, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa5, 0x01, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x11, + 0x6f, 0x6c, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6f, 0x6c, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x11, 0x6e, 0x65, 0x77, 0x5f, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6e, 0x65, + 0x77, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x14, + 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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, 0x21, 0x0a, 0x0c, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x73, 0x22, 0x60, 0x0a, + 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0e, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, - 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, - 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, - 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, - 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, - 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0xc0, 0x01, 0x0a, 0x0f, 0x4d, 0x4c, - 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, - 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, - 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x0f, 0x6d, - 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, - 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x0e, 0x6d, 0x6f, - 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x68, 0x0a, 0x11, - 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x02, 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, 0x4f, 0x6e, 0x22, 0xff, 0x01, 0x0a, 0x12, 0x4d, 0x4c, 0x54, 0x72, 0x61, - 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3a, 0x0a, - 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, - 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, - 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x0f, 0x6d, - 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, - 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x0e, 0x6d, 0x6f, - 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x14, 0x0a, 0x05, - 0x64, 0x72, 0x61, 0x66, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x72, 0x61, - 0x66, 0x74, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x8c, 0x07, 0x0a, 0x0c, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, - 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, - 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x12, 0x37, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, - 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, - 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, - 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x75, 0x73, - 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3b, 0x0a, 0x1a, 0x74, 0x6f, - 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x6f, 0x62, - 0x6f, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, - 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x6f, 0x74, 0x61, 0x6c, - 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x73, - 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x74, 0x6f, 0x74, 0x61, 0x6c, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x49, 0x0a, 0x21, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1e, 0x74, 0x6f, - 0x74, 0x61, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x46, 0x0a, 0x0f, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x48, 0x00, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x12, 0x4a, 0x0a, 0x11, 0x6d, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, - 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, - 0x0f, 0x6d, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x12, 0x53, 0x0a, 0x14, 0x6d, 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, 0x54, - 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, - 0x00, 0x52, 0x12, 0x6d, 0x6c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x5f, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, + 0x5f, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x0b, 0x70, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x22, 0x7f, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, + 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, + 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0x75, 0x0a, 0x18, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, + 0x16, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x15, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd1, 0x01, 0x0a, 0x0d, 0x4d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, + 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, + 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, + 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, + 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, + 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0xc4, 0x01, 0x0a, + 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x36, 0x0a, 0x08, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, + 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, + 0x72, 0x75, 0x6e, 0x22, 0xc0, 0x01, 0x0a, 0x0f, 0x4d, 0x4c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, + 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, + 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, + 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, + 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, + 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x68, 0x0a, 0x11, 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, + 0x6e, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x5f, 0x6f, 0x6e, 0x18, 0x02, 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, - 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x10, - 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, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x31, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x17, 0x47, 0x65, - 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, - 0x69, 0x74, 0x65, 0x6d, 0x22, 0x8f, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 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, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe5, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, - 0x70, 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, 0x37, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x15, 0x0a, - 0x03, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, - 0x6c, 0x88, 0x01, 0x01, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, - 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc3, 0x03, 0x0a, 0x18, 0x4c, - 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x00, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x37, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, - 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x3b, - 0x0a, 0x0c, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0c, 0x76, - 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, - 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0a, 0x73, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x65, 0x72, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x02, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, - 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x42, 0x12, 0x0a, - 0x10, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x74, 0x65, 0x72, - 0x6d, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x22, 0x4c, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, - 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x34, - 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4f, 0x6e, + 0x22, 0xff, 0x01, 0x0a, 0x12, 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, + 0x6e, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, + 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, + 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, + 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, + 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, + 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x72, 0x61, 0x66, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x72, 0x61, 0x66, 0x74, 0x4a, 0x04, 0x08, 0x01, + 0x10, 0x02, 0x22, 0x8c, 0x07, 0x0a, 0x0c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, + 0x74, 0x65, 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x61, + 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x37, 0x0a, 0x0a, 0x76, + 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, + 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x5f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x55, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x3b, 0x0a, 0x1a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x78, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x75, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x55, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x16, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x49, 0x0a, 0x21, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x46, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0e, + 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4a, + 0x0a, 0x11, 0x6d, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0f, 0x6d, 0x6c, 0x4d, 0x6f, 0x64, + 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x53, 0x0a, 0x14, 0x6d, 0x6c, + 0x5f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, + 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x6c, 0x54, + 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0f, 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, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x10, 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, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x22, 0x31, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, - 0x65, 0x6d, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x68, 0x0a, 0x1b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x6e, 0x65, - 0x77, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6e, 0x65, 0x77, 0x50, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x1e, 0x0a, 0x1c, + 0x65, 0x6d, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2d, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x8f, + 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x49, 0x74, 0x65, 0x6d, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe5, + 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, + 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, + 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, + 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, + 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 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, 0x37, + 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x06, + 0x0a, 0x04, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc3, 0x03, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x2c, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, + 0x37, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x21, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0c, 0x76, 0x69, 0x73, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x17, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0c, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, + 0x12, 0x24, 0x0a, 0x0b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, + 0x65, 0x72, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x09, 0x70, 0x61, + 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, + 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, + 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4c, 0x0a, 0x19, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, + 0x6d, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x34, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x1c, + 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x68, 0x0a, 0x1b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0x0a, 0x13, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 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, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x22, 0x45, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x9b, 0x02, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x0a, - 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, + 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, + 0x65, 0x6d, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x12, 0x6e, 0x65, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x1e, 0x0a, 0x1c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, + 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x45, 0x0a, 0x14, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, + 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, + 0x6c, 0x22, 0x9b, 0x02, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, + 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, + 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, + 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, + 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, + 0x28, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 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, 0x22, 0x2f, 0x0a, 0x05, 0x4d, 0x6f, 0x64, + 0x65, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x70, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x61, 0x70, 0x69, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x88, 0x01, 0x0a, 0x0e, 0x4d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, + 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x74, 0x61, 0x67, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x54, 0x61, 0x67, 0x73, 0x22, 0x87, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x47, 0x0a, 0x10, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, + 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x04, 0x66, 0x69, + 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, + 0x42, 0x0d, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x22, + 0x2c, 0x0a, 0x18, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, + 0x69, 0x6c, 0x65, 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, 0x22, 0x2f, 0x0a, + 0x10, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x40, + 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x22, 0x95, 0x04, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0a, + 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, - 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, - 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, - 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, - 0x75, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, - 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, - 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0x28, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 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, 0x22, - 0x2f, 0x0a, 0x05, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x70, 0x69, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x70, 0x69, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, - 0x64, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, - 0x22, 0x88, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, - 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, - 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, - 0x72, 0x6d, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x61, 0x67, 0x73, 0x22, 0x87, 0x01, 0x0a, 0x17, - 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x10, 0x6d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, - 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x14, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, - 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x2c, 0x0a, 0x18, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 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, 0x22, 0x2f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x49, 0x64, 0x22, 0x40, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x6d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x06, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x22, 0x95, 0x04, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, - 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x37, 0x0a, 0x08, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, - 0x64, 0x65, 0x6c, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x6f, - 0x62, 0x6f, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x38, 0x0a, 0x18, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x16, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, - 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, - 0x69, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x20, - 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, - 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0xd2, - 0x01, 0x0a, 0x0e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x66, - 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, - 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, - 0x65, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, - 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, - 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, - 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, - 0x72, 0x75, 0x6e, 0x22, 0x62, 0x0a, 0x07, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, 0x1a, - 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, - 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 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, 0x0a, 0x75, 0x70, 0x6c, - 0x6f, 0x61, 0x64, 0x65, 0x64, 0x41, 0x74, 0x22, 0x56, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, - 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x12, 0x0a, 0x10, 0x5f, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x22, - 0x44, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x07, 0x6d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2f, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x33, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, - 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 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, 0x39, 0x0a, 0x1e, 0x4c, - 0x69, 0x73, 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, 0x3e, 0x0a, 0x0a, 0x4f, 0x72, 0x67, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, - 0x72, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, - 0x72, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x4e, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 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, 0x2b, 0x0a, 0x04, 0x6f, 0x72, 0x67, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, - 0x52, 0x04, 0x6f, 0x72, 0x67, 0x73, 0x22, 0x6a, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x0e, 0x61, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, - 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x22, 0x35, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x22, 0x0a, 0x10, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 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, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x36, 0x0a, 0x10, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x37, 0x0a, 0x11, 0x52, 0x65, - 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 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, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x22, 0xcd, 0x01, 0x0a, 0x14, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x2d, 0x0a, 0x12, - 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, - 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, - 0x67, 0x49, 0x64, 0x22, 0x93, 0x01, 0x0a, 0x18, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, - 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x2c, 0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x37, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x73, + 0x74, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x10, + 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, + 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x2a, + 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x75, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, + 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x29, 0x0a, + 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, + 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, + 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, + 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0xd2, 0x01, 0x0a, 0x0e, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, + 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x1e, 0x0a, + 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, + 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, + 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0x62, 0x0a, + 0x07, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, + 0x5f, 0x61, 0x74, 0x18, 0x02, 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, 0x0a, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x41, + 0x74, 0x22, 0x56, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x13, 0x4c, 0x69, 0x73, + 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2d, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x49, - 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x28, 0x0a, 0x0f, 0x4c, 0x69, 0x73, - 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, - 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, - 0x67, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, 0x6b, - 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, - 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x22, 0x22, 0x0a, 0x10, 0x52, 0x6f, 0x74, - 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x35, 0x0a, - 0x11, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 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, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x22, 0x3f, 0x0a, 0x2d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, - 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, - 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x52, 0x0a, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, - 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, - 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x2a, 0xd1, 0x01, 0x0a, 0x12, 0x41, 0x75, - 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 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, 0x21, 0x0a, 0x1d, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, - 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x42, - 0x5f, 0x4f, 0x41, 0x55, 0x54, 0x48, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x55, 0x54, 0x48, - 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x02, 0x12, 0x29, 0x0a, 0x25, 0x41, 0x55, 0x54, - 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x52, 0x4f, 0x42, 0x4f, 0x54, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x5f, 0x53, 0x45, 0x43, 0x52, - 0x45, 0x54, 0x10, 0x03, 0x12, 0x27, 0x0a, 0x23, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, - 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x10, 0x04, 0x2a, 0xa3, 0x01, - 0x0a, 0x12, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x12, 0x23, 0x0a, 0x1f, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, - 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x46, 0x52, 0x41, - 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, - 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x52, - 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, - 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x02, 0x12, 0x27, 0x0a, 0x23, 0x46, 0x52, - 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, - 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x5f, 0x55, 0x4e, 0x4c, 0x49, 0x53, 0x54, 0x45, - 0x44, 0x10, 0x03, 0x2a, 0xdd, 0x01, 0x0a, 0x11, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x46, 0x52, 0x41, - 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x21, - 0x0a, 0x1d, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, - 0x01, 0x12, 0x2e, 0x0a, 0x2a, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x47, - 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, - 0x02, 0x12, 0x28, 0x0a, 0x24, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x48, 0x49, 0x4c, 0x44, 0x5f, 0x49, - 0x44, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x03, 0x12, 0x26, 0x0a, 0x22, 0x46, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, + 0x2f, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, + 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, + 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, + 0x22, 0x33, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, + 0x6d, 0x61, 0x69, 0x6c, 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, 0x39, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 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, 0x3e, 0x0a, 0x0a, 0x4f, 0x72, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x15, + 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x67, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x67, 0x4e, 0x61, 0x6d, 0x65, + 0x22, 0x4e, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 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, 0x2b, 0x0a, 0x04, 0x6f, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x4f, 0x72, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x04, 0x6f, 0x72, 0x67, 0x73, + 0x22, 0x6a, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x35, 0x0a, 0x11, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x22, 0x22, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, + 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, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x10, + 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x37, 0x0a, 0x11, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, + 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xcd, 0x01, + 0x0a, 0x14, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x93, 0x01, + 0x0a, 0x18, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2c, 0x0a, 0x07, 0x61, 0x70, + 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, + 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x49, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x73, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x22, 0x28, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x54, 0x0a, + 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x40, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, + 0x65, 0x79, 0x73, 0x22, 0x22, 0x0a, 0x10, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x35, 0x0a, 0x11, 0x52, 0x6f, 0x74, 0x61, 0x74, + 0x65, 0x4b, 0x65, 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, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x3f, + 0x0a, 0x2d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, + 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, + 0x52, 0x0a, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, + 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x2a, 0xd1, 0x01, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x55, + 0x54, 0x48, 0x45, 0x4e, 0x54, 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, + 0x21, 0x0a, 0x1d, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x42, 0x5f, 0x4f, 0x41, 0x55, 0x54, 0x48, + 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, + 0x59, 0x10, 0x02, 0x12, 0x29, 0x0a, 0x25, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, + 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x4f, 0x42, 0x4f, 0x54, + 0x5f, 0x50, 0x41, 0x52, 0x54, 0x5f, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x10, 0x03, 0x12, 0x27, + 0x0a, 0x23, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, + 0x45, 0x43, 0x52, 0x45, 0x54, 0x10, 0x04, 0x2a, 0xa3, 0x01, 0x0a, 0x12, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x23, + 0x0a, 0x1f, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, + 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, + 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, + 0x54, 0x45, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, + 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, + 0x49, 0x43, 0x10, 0x02, 0x12, 0x27, 0x0a, 0x23, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, + 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, + 0x49, 0x43, 0x5f, 0x55, 0x4e, 0x4c, 0x49, 0x53, 0x54, 0x45, 0x44, 0x10, 0x03, 0x2a, 0xdd, 0x01, + 0x0a, 0x11, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, + 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x46, 0x52, 0x41, 0x47, + 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x4e, 0x4f, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x2e, 0x0a, 0x2a, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x43, 0x59, 0x43, 0x4c, 0x45, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43, 0x54, 0x45, - 0x44, 0x10, 0x04, 0x2a, 0x87, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x20, 0x52, 0x45, + 0x50, 0x45, 0x5f, 0x4e, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, + 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x46, + 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x43, 0x48, 0x49, 0x4c, 0x44, 0x5f, 0x49, 0x44, 0x5f, 0x49, 0x4e, 0x56, 0x41, + 0x4c, 0x49, 0x44, 0x10, 0x03, 0x12, 0x26, 0x0a, 0x22, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, + 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x59, 0x43, + 0x4c, 0x45, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x04, 0x2a, 0x87, 0x01, + 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x20, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, + 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x54, - 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, - 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x49, 0x54, 0x45, - 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, - 0x45, 0x44, 0x10, 0x01, 0x12, 0x27, 0x0a, 0x23, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, - 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x5f, - 0x44, 0x45, 0x56, 0x45, 0x4c, 0x4f, 0x50, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x2a, 0x77, 0x0a, - 0x0a, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x16, 0x56, - 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x49, 0x53, 0x49, 0x42, - 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, - 0x15, 0x0a, 0x11, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, - 0x42, 0x4c, 0x49, 0x43, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, - 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x5f, 0x55, 0x4e, 0x4c, 0x49, - 0x53, 0x54, 0x45, 0x44, 0x10, 0x03, 0x32, 0xb0, 0x3d, 0x0a, 0x0a, 0x41, 0x70, 0x70, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x55, 0x53, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x01, 0x12, 0x27, + 0x0a, 0x23, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x5f, 0x44, 0x45, 0x56, 0x45, 0x4c, 0x4f, + 0x50, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x2a, 0x77, 0x0a, 0x0a, 0x56, 0x69, 0x73, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x16, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, + 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, + 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x49, 0x53, + 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x02, + 0x12, 0x1e, 0x0a, 0x1a, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, + 0x55, 0x42, 0x4c, 0x49, 0x43, 0x5f, 0x55, 0x4e, 0x4c, 0x49, 0x53, 0x54, 0x45, 0x44, 0x10, 0x03, + 0x32, 0xcc, 0x3c, 0x0a, 0x0a, 0x41, 0x70, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x5f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, + 0x61, 0x69, 0x6c, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, + 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x62, 0x0a, - 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x9b, 0x01, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, - 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, - 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x65, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 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, 0x27, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x62, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9b, 0x01, 0x0a, 0x24, + 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x74, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 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, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 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, 0x5c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 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, 0x24, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x9b, 0x01, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x38, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, + 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x17, 0x4c, 0x69, 0x73, + 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, + 0x55, 0x73, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 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, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 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, + 0x5c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 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, 0x12, 0x9b, 0x01, + 0x0a, 0x24, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x76, 0x61, - 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x65, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 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, - 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, + 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x65, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 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, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x74, 0x0a, 0x17, 0x4c, 0x69, 0x73, + 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, + 0x62, 0x65, 0x72, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x77, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa1, 0x01, 0x0a, 0x26, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x3b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x65, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x12, - 0x74, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa1, - 0x01, 0x0a, 0x26, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, - 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2c, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, - 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, - 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, - 0x65, 0x6e, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, - 0x14, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, - 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, 0x44, 0x69, - 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, + 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, + 0x0a, 0x18, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, + 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, + 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, + 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x29, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x61, + 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, + 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, + 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x69, - 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x25, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x69, - 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x1b, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, + 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x80, 0x01, 0x0a, 0x1b, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, + 0x6c, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, - 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2f, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, - 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, - 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, - 0x01, 0x0a, 0x1b, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, - 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2f, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, - 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, - 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, - 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, - 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, - 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, - 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x55, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x68, 0x61, - 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, - 0x74, 0x68, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, - 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, + 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x1b, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, + 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, + 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x28, 0x2e, 0x76, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x59, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x4c, 0x69, + 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x55, 0x6e, + 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x68, + 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x55, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, + 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, + 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x47, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x1c, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x47, 0x65, - 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, - 0x74, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x52, 0x6f, + 0x62, 0x6f, 0x74, 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x6b, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, + 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, + 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, - 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x52, 0x6f, - 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x53, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, - 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, - 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, + 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, + 0x0d, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x11, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x68, 0x0a, 0x13, 0x47, - 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, - 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x23, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, - 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, + 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, + 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x47, 0x65, + 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, - 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, - 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, - 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x65, 0x0a, 0x12, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, - 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, - 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, - 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, - 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, - 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, - 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, - 0x62, 0x6f, 0x74, 0x73, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, - 0x74, 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, - 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, - 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x1f, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, + 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x11, 0x54, + 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, + 0x12, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, + 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, + 0x01, 0x12, 0x68, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, + 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, + 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x50, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, - 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x47, 0x65, - 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, - 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, + 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x4e, 0x65, 0x77, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, + 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, + 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, + 0x74, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, + 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, + 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x12, + 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, + 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x4d, 0x61, + 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x12, 0x22, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, + 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, + 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, + 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x26, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, + 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x4e, + 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, + 0x62, 0x6f, 0x74, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, + 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x50, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, + 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, - 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, + 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, + 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x47, 0x65, - 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, - 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x44, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1b, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, - 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x10, - 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x65, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, + 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x52, 0x6f, + 0x6c, 0x65, 0x12, 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, + 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, + 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, + 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, + 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x4c, + 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, - 0x0f, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, - 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, - 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, - 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, - 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, - 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x11, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x25, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, - 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, - 0x74, 0x65, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x28, 0x2e, 0x76, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x65, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x26, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x62, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, + 0x74, 0x65, 0x6d, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, + 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, + 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, + 0x65, 0x6d, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x10, 0x55, - 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, - 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, - 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x20, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x61, 0x0a, 0x10, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x12, 0x4a, - 0x0a, 0x09, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x4c, 0x69, - 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, - 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, - 0x09, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, - 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, - 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x52, 0x6f, 0x74, - 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa1, 0x01, 0x0a, 0x26, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, - 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x3a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, - 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, - 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x18, 0x5a, 0x16, 0x67, 0x6f, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x70, - 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x28, 0x01, 0x12, 0x4a, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x50, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, + 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, + 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, + 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, + 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x4c, 0x69, + 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 0x79, + 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, + 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x4a, 0x0a, 0x09, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, + 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, + 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa1, 0x01, 0x0a, 0x26, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, + 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, + 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, + 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, + 0x18, 0x5a, 0x16, 0x67, 0x6f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( @@ -13285,8 +12792,8 @@ func file_app_v1_app_proto_rawDescGZIP() []byte { } var file_app_v1_app_proto_enumTypes = make([]protoimpl.EnumInfo, 6) -var file_app_v1_app_proto_msgTypes = make([]protoimpl.MessageInfo, 194) -var file_app_v1_app_proto_goTypes = []interface{}{ +var file_app_v1_app_proto_msgTypes = make([]protoimpl.MessageInfo, 192) +var file_app_v1_app_proto_goTypes = []any{ (AuthenticationType)(0), // 0: viam.app.v1.AuthenticationType (FragmentVisibility)(0), // 1: viam.app.v1.FragmentVisibility (FragmentErrorType)(0), // 2: viam.app.v1.FragmentErrorType @@ -13329,467 +12836,462 @@ var file_app_v1_app_proto_goTypes = []interface{}{ (*EnableBillingServiceResponse)(nil), // 39: viam.app.v1.EnableBillingServiceResponse (*UpdateBillingServiceRequest)(nil), // 40: viam.app.v1.UpdateBillingServiceRequest (*UpdateBillingServiceResponse)(nil), // 41: viam.app.v1.UpdateBillingServiceResponse - (*GetBillingServiceRequest)(nil), // 42: viam.app.v1.GetBillingServiceRequest - (*GetBillingServiceResponse)(nil), // 43: viam.app.v1.GetBillingServiceResponse - (*DisableBillingServiceRequest)(nil), // 44: viam.app.v1.DisableBillingServiceRequest - (*DisableBillingServiceResponse)(nil), // 45: viam.app.v1.DisableBillingServiceResponse - (*OrganizationSetSupportEmailRequest)(nil), // 46: viam.app.v1.OrganizationSetSupportEmailRequest - (*OrganizationSetSupportEmailResponse)(nil), // 47: viam.app.v1.OrganizationSetSupportEmailResponse - (*OrganizationGetSupportEmailRequest)(nil), // 48: viam.app.v1.OrganizationGetSupportEmailRequest - (*OrganizationGetSupportEmailResponse)(nil), // 49: viam.app.v1.OrganizationGetSupportEmailResponse - (*OrganizationIdentity)(nil), // 50: viam.app.v1.OrganizationIdentity - (*LocationOrganization)(nil), // 51: viam.app.v1.LocationOrganization - (*LocationAuth)(nil), // 52: viam.app.v1.LocationAuth - (*StorageConfig)(nil), // 53: viam.app.v1.StorageConfig - (*Location)(nil), // 54: viam.app.v1.Location - (*SharedSecret)(nil), // 55: viam.app.v1.SharedSecret - (*CreateLocationRequest)(nil), // 56: viam.app.v1.CreateLocationRequest - (*CreateLocationResponse)(nil), // 57: viam.app.v1.CreateLocationResponse - (*GetLocationRequest)(nil), // 58: viam.app.v1.GetLocationRequest - (*GetLocationResponse)(nil), // 59: viam.app.v1.GetLocationResponse - (*UpdateLocationRequest)(nil), // 60: viam.app.v1.UpdateLocationRequest - (*UpdateLocationResponse)(nil), // 61: viam.app.v1.UpdateLocationResponse - (*DeleteLocationRequest)(nil), // 62: viam.app.v1.DeleteLocationRequest - (*DeleteLocationResponse)(nil), // 63: viam.app.v1.DeleteLocationResponse - (*GetOrganizationsWithAccessToLocationRequest)(nil), // 64: viam.app.v1.GetOrganizationsWithAccessToLocationRequest - (*GetOrganizationsWithAccessToLocationResponse)(nil), // 65: viam.app.v1.GetOrganizationsWithAccessToLocationResponse - (*ListLocationsRequest)(nil), // 66: viam.app.v1.ListLocationsRequest - (*ShareLocationRequest)(nil), // 67: viam.app.v1.ShareLocationRequest - (*ShareLocationResponse)(nil), // 68: viam.app.v1.ShareLocationResponse - (*UnshareLocationRequest)(nil), // 69: viam.app.v1.UnshareLocationRequest - (*UnshareLocationResponse)(nil), // 70: viam.app.v1.UnshareLocationResponse - (*ListLocationsResponse)(nil), // 71: viam.app.v1.ListLocationsResponse - (*CreateLocationSecretRequest)(nil), // 72: viam.app.v1.CreateLocationSecretRequest - (*CreateLocationSecretResponse)(nil), // 73: viam.app.v1.CreateLocationSecretResponse - (*DeleteLocationSecretRequest)(nil), // 74: viam.app.v1.DeleteLocationSecretRequest - (*DeleteLocationSecretResponse)(nil), // 75: viam.app.v1.DeleteLocationSecretResponse - (*LocationAuthRequest)(nil), // 76: viam.app.v1.LocationAuthRequest - (*LocationAuthResponse)(nil), // 77: viam.app.v1.LocationAuthResponse - (*GetRobotRequest)(nil), // 78: viam.app.v1.GetRobotRequest - (*GetRoverRentalRobotsRequest)(nil), // 79: viam.app.v1.GetRoverRentalRobotsRequest - (*RoverRentalRobot)(nil), // 80: viam.app.v1.RoverRentalRobot - (*GetRoverRentalRobotsResponse)(nil), // 81: viam.app.v1.GetRoverRentalRobotsResponse - (*GetRobotResponse)(nil), // 82: viam.app.v1.GetRobotResponse - (*GetRobotPartsRequest)(nil), // 83: viam.app.v1.GetRobotPartsRequest - (*GetRobotPartsResponse)(nil), // 84: viam.app.v1.GetRobotPartsResponse - (*GetRobotPartRequest)(nil), // 85: viam.app.v1.GetRobotPartRequest - (*GetRobotPartResponse)(nil), // 86: viam.app.v1.GetRobotPartResponse - (*GetRobotPartLogsRequest)(nil), // 87: viam.app.v1.GetRobotPartLogsRequest - (*GetRobotPartLogsResponse)(nil), // 88: viam.app.v1.GetRobotPartLogsResponse - (*TailRobotPartLogsRequest)(nil), // 89: viam.app.v1.TailRobotPartLogsRequest - (*TailRobotPartLogsResponse)(nil), // 90: viam.app.v1.TailRobotPartLogsResponse - (*GetRobotPartHistoryRequest)(nil), // 91: viam.app.v1.GetRobotPartHistoryRequest - (*GetRobotPartHistoryResponse)(nil), // 92: viam.app.v1.GetRobotPartHistoryResponse - (*UpdateRobotPartRequest)(nil), // 93: viam.app.v1.UpdateRobotPartRequest - (*UpdateRobotPartResponse)(nil), // 94: viam.app.v1.UpdateRobotPartResponse - (*NewRobotPartRequest)(nil), // 95: viam.app.v1.NewRobotPartRequest - (*NewRobotPartResponse)(nil), // 96: viam.app.v1.NewRobotPartResponse - (*DeleteRobotPartRequest)(nil), // 97: viam.app.v1.DeleteRobotPartRequest - (*GetRobotAPIKeysRequest)(nil), // 98: viam.app.v1.GetRobotAPIKeysRequest - (*APIKey)(nil), // 99: viam.app.v1.APIKey - (*GetRobotAPIKeysResponse)(nil), // 100: viam.app.v1.GetRobotAPIKeysResponse - (*DeleteRobotPartResponse)(nil), // 101: viam.app.v1.DeleteRobotPartResponse - (*Fragment)(nil), // 102: viam.app.v1.Fragment - (*FragmentHistoryEntry)(nil), // 103: viam.app.v1.FragmentHistoryEntry - (*FragmentError)(nil), // 104: viam.app.v1.FragmentError - (*ResolvedFragment)(nil), // 105: viam.app.v1.ResolvedFragment - (*ListFragmentsRequest)(nil), // 106: viam.app.v1.ListFragmentsRequest - (*ListFragmentsResponse)(nil), // 107: viam.app.v1.ListFragmentsResponse - (*GetFragmentRequest)(nil), // 108: viam.app.v1.GetFragmentRequest - (*GetFragmentResponse)(nil), // 109: viam.app.v1.GetFragmentResponse - (*CreateFragmentRequest)(nil), // 110: viam.app.v1.CreateFragmentRequest - (*CreateFragmentResponse)(nil), // 111: viam.app.v1.CreateFragmentResponse - (*UpdateFragmentRequest)(nil), // 112: viam.app.v1.UpdateFragmentRequest - (*UpdateFragmentResponse)(nil), // 113: viam.app.v1.UpdateFragmentResponse - (*DeleteFragmentRequest)(nil), // 114: viam.app.v1.DeleteFragmentRequest - (*DeleteFragmentResponse)(nil), // 115: viam.app.v1.DeleteFragmentResponse - (*GetFragmentHistoryRequest)(nil), // 116: viam.app.v1.GetFragmentHistoryRequest - (*GetFragmentHistoryResponse)(nil), // 117: viam.app.v1.GetFragmentHistoryResponse - (*ListRobotsRequest)(nil), // 118: viam.app.v1.ListRobotsRequest - (*ListMachineFragmentsRequest)(nil), // 119: viam.app.v1.ListMachineFragmentsRequest - (*ListMachineFragmentsResponse)(nil), // 120: viam.app.v1.ListMachineFragmentsResponse - (*ListRobotsResponse)(nil), // 121: viam.app.v1.ListRobotsResponse - (*NewRobotRequest)(nil), // 122: viam.app.v1.NewRobotRequest - (*NewRobotResponse)(nil), // 123: viam.app.v1.NewRobotResponse - (*UpdateRobotRequest)(nil), // 124: viam.app.v1.UpdateRobotRequest - (*UpdateRobotResponse)(nil), // 125: viam.app.v1.UpdateRobotResponse - (*DeleteRobotRequest)(nil), // 126: viam.app.v1.DeleteRobotRequest - (*DeleteRobotResponse)(nil), // 127: viam.app.v1.DeleteRobotResponse - (*MarkPartAsMainRequest)(nil), // 128: viam.app.v1.MarkPartAsMainRequest - (*MarkPartAsMainResponse)(nil), // 129: viam.app.v1.MarkPartAsMainResponse - (*MarkPartForRestartRequest)(nil), // 130: viam.app.v1.MarkPartForRestartRequest - (*MarkPartForRestartResponse)(nil), // 131: viam.app.v1.MarkPartForRestartResponse - (*CreateRobotPartSecretRequest)(nil), // 132: viam.app.v1.CreateRobotPartSecretRequest - (*CreateRobotPartSecretResponse)(nil), // 133: viam.app.v1.CreateRobotPartSecretResponse - (*DeleteRobotPartSecretRequest)(nil), // 134: viam.app.v1.DeleteRobotPartSecretRequest - (*DeleteRobotPartSecretResponse)(nil), // 135: viam.app.v1.DeleteRobotPartSecretResponse - (*Authorization)(nil), // 136: viam.app.v1.Authorization - (*AddRoleRequest)(nil), // 137: viam.app.v1.AddRoleRequest - (*AddRoleResponse)(nil), // 138: viam.app.v1.AddRoleResponse - (*RemoveRoleRequest)(nil), // 139: viam.app.v1.RemoveRoleRequest - (*RemoveRoleResponse)(nil), // 140: viam.app.v1.RemoveRoleResponse - (*ChangeRoleRequest)(nil), // 141: viam.app.v1.ChangeRoleRequest - (*ChangeRoleResponse)(nil), // 142: viam.app.v1.ChangeRoleResponse - (*ListAuthorizationsRequest)(nil), // 143: viam.app.v1.ListAuthorizationsRequest - (*ListAuthorizationsResponse)(nil), // 144: viam.app.v1.ListAuthorizationsResponse - (*CheckPermissionsRequest)(nil), // 145: viam.app.v1.CheckPermissionsRequest - (*AuthorizedPermissions)(nil), // 146: viam.app.v1.AuthorizedPermissions - (*CheckPermissionsResponse)(nil), // 147: viam.app.v1.CheckPermissionsResponse - (*ModuleVersion)(nil), // 148: viam.app.v1.ModuleVersion - (*ModuleMetadata)(nil), // 149: viam.app.v1.ModuleMetadata - (*MLModelMetadata)(nil), // 150: viam.app.v1.MLModelMetadata - (*MLTrainingVersion)(nil), // 151: viam.app.v1.MLTrainingVersion - (*MLTrainingMetadata)(nil), // 152: viam.app.v1.MLTrainingMetadata - (*RegistryItem)(nil), // 153: viam.app.v1.RegistryItem - (*GetRegistryItemRequest)(nil), // 154: viam.app.v1.GetRegistryItemRequest - (*GetRegistryItemResponse)(nil), // 155: viam.app.v1.GetRegistryItemResponse - (*CreateRegistryItemRequest)(nil), // 156: viam.app.v1.CreateRegistryItemRequest - (*CreateRegistryItemResponse)(nil), // 157: viam.app.v1.CreateRegistryItemResponse - (*UpdateRegistryItemRequest)(nil), // 158: viam.app.v1.UpdateRegistryItemRequest - (*UpdateRegistryItemResponse)(nil), // 159: viam.app.v1.UpdateRegistryItemResponse - (*ListRegistryItemsRequest)(nil), // 160: viam.app.v1.ListRegistryItemsRequest - (*ListRegistryItemsResponse)(nil), // 161: viam.app.v1.ListRegistryItemsResponse - (*DeleteRegistryItemRequest)(nil), // 162: viam.app.v1.DeleteRegistryItemRequest - (*DeleteRegistryItemResponse)(nil), // 163: viam.app.v1.DeleteRegistryItemResponse - (*TransferRegistryItemRequest)(nil), // 164: viam.app.v1.TransferRegistryItemRequest - (*TransferRegistryItemResponse)(nil), // 165: viam.app.v1.TransferRegistryItemResponse - (*CreateModuleRequest)(nil), // 166: viam.app.v1.CreateModuleRequest - (*CreateModuleResponse)(nil), // 167: viam.app.v1.CreateModuleResponse - (*UpdateModuleRequest)(nil), // 168: viam.app.v1.UpdateModuleRequest - (*UpdateModuleResponse)(nil), // 169: viam.app.v1.UpdateModuleResponse - (*Model)(nil), // 170: viam.app.v1.Model - (*ModuleFileInfo)(nil), // 171: viam.app.v1.ModuleFileInfo - (*UploadModuleFileRequest)(nil), // 172: viam.app.v1.UploadModuleFileRequest - (*UploadModuleFileResponse)(nil), // 173: viam.app.v1.UploadModuleFileResponse - (*GetModuleRequest)(nil), // 174: viam.app.v1.GetModuleRequest - (*GetModuleResponse)(nil), // 175: viam.app.v1.GetModuleResponse - (*Module)(nil), // 176: viam.app.v1.Module - (*VersionHistory)(nil), // 177: viam.app.v1.VersionHistory - (*Uploads)(nil), // 178: viam.app.v1.Uploads - (*ListModulesRequest)(nil), // 179: viam.app.v1.ListModulesRequest - (*ListModulesResponse)(nil), // 180: viam.app.v1.ListModulesResponse - (*GetUserIDByEmailRequest)(nil), // 181: viam.app.v1.GetUserIDByEmailRequest - (*GetUserIDByEmailResponse)(nil), // 182: viam.app.v1.GetUserIDByEmailResponse - (*ListOrganizationsByUserRequest)(nil), // 183: viam.app.v1.ListOrganizationsByUserRequest - (*OrgDetails)(nil), // 184: viam.app.v1.OrgDetails - (*ListOrganizationsByUserResponse)(nil), // 185: viam.app.v1.ListOrganizationsByUserResponse - (*CreateKeyRequest)(nil), // 186: viam.app.v1.CreateKeyRequest - (*CreateKeyResponse)(nil), // 187: viam.app.v1.CreateKeyResponse - (*DeleteKeyRequest)(nil), // 188: viam.app.v1.DeleteKeyRequest - (*DeleteKeyResponse)(nil), // 189: viam.app.v1.DeleteKeyResponse - (*RenameKeyRequest)(nil), // 190: viam.app.v1.RenameKeyRequest - (*RenameKeyResponse)(nil), // 191: viam.app.v1.RenameKeyResponse - (*AuthorizationDetails)(nil), // 192: viam.app.v1.AuthorizationDetails - (*APIKeyWithAuthorizations)(nil), // 193: viam.app.v1.APIKeyWithAuthorizations - (*ListKeysRequest)(nil), // 194: viam.app.v1.ListKeysRequest - (*ListKeysResponse)(nil), // 195: viam.app.v1.ListKeysResponse - (*RotateKeyRequest)(nil), // 196: viam.app.v1.RotateKeyRequest - (*RotateKeyResponse)(nil), // 197: viam.app.v1.RotateKeyResponse - (*CreateKeyFromExistingKeyAuthorizationsRequest)(nil), // 198: viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest - (*CreateKeyFromExistingKeyAuthorizationsResponse)(nil), // 199: viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse - (*timestamppb.Timestamp)(nil), // 200: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 201: google.protobuf.Struct - (*v1.LogEntry)(nil), // 202: viam.common.v1.LogEntry - (v11.ModelType)(0), // 203: viam.app.mltraining.v1.ModelType - (v11.ModelFramework)(0), // 204: viam.app.mltraining.v1.ModelFramework - (v12.PackageType)(0), // 205: viam.app.packages.v1.PackageType + (*DisableBillingServiceRequest)(nil), // 42: viam.app.v1.DisableBillingServiceRequest + (*DisableBillingServiceResponse)(nil), // 43: viam.app.v1.DisableBillingServiceResponse + (*OrganizationSetSupportEmailRequest)(nil), // 44: viam.app.v1.OrganizationSetSupportEmailRequest + (*OrganizationSetSupportEmailResponse)(nil), // 45: viam.app.v1.OrganizationSetSupportEmailResponse + (*OrganizationGetSupportEmailRequest)(nil), // 46: viam.app.v1.OrganizationGetSupportEmailRequest + (*OrganizationGetSupportEmailResponse)(nil), // 47: viam.app.v1.OrganizationGetSupportEmailResponse + (*OrganizationIdentity)(nil), // 48: viam.app.v1.OrganizationIdentity + (*LocationOrganization)(nil), // 49: viam.app.v1.LocationOrganization + (*LocationAuth)(nil), // 50: viam.app.v1.LocationAuth + (*StorageConfig)(nil), // 51: viam.app.v1.StorageConfig + (*Location)(nil), // 52: viam.app.v1.Location + (*SharedSecret)(nil), // 53: viam.app.v1.SharedSecret + (*CreateLocationRequest)(nil), // 54: viam.app.v1.CreateLocationRequest + (*CreateLocationResponse)(nil), // 55: viam.app.v1.CreateLocationResponse + (*GetLocationRequest)(nil), // 56: viam.app.v1.GetLocationRequest + (*GetLocationResponse)(nil), // 57: viam.app.v1.GetLocationResponse + (*UpdateLocationRequest)(nil), // 58: viam.app.v1.UpdateLocationRequest + (*UpdateLocationResponse)(nil), // 59: viam.app.v1.UpdateLocationResponse + (*DeleteLocationRequest)(nil), // 60: viam.app.v1.DeleteLocationRequest + (*DeleteLocationResponse)(nil), // 61: viam.app.v1.DeleteLocationResponse + (*GetOrganizationsWithAccessToLocationRequest)(nil), // 62: viam.app.v1.GetOrganizationsWithAccessToLocationRequest + (*GetOrganizationsWithAccessToLocationResponse)(nil), // 63: viam.app.v1.GetOrganizationsWithAccessToLocationResponse + (*ListLocationsRequest)(nil), // 64: viam.app.v1.ListLocationsRequest + (*ShareLocationRequest)(nil), // 65: viam.app.v1.ShareLocationRequest + (*ShareLocationResponse)(nil), // 66: viam.app.v1.ShareLocationResponse + (*UnshareLocationRequest)(nil), // 67: viam.app.v1.UnshareLocationRequest + (*UnshareLocationResponse)(nil), // 68: viam.app.v1.UnshareLocationResponse + (*ListLocationsResponse)(nil), // 69: viam.app.v1.ListLocationsResponse + (*CreateLocationSecretRequest)(nil), // 70: viam.app.v1.CreateLocationSecretRequest + (*CreateLocationSecretResponse)(nil), // 71: viam.app.v1.CreateLocationSecretResponse + (*DeleteLocationSecretRequest)(nil), // 72: viam.app.v1.DeleteLocationSecretRequest + (*DeleteLocationSecretResponse)(nil), // 73: viam.app.v1.DeleteLocationSecretResponse + (*LocationAuthRequest)(nil), // 74: viam.app.v1.LocationAuthRequest + (*LocationAuthResponse)(nil), // 75: viam.app.v1.LocationAuthResponse + (*GetRobotRequest)(nil), // 76: viam.app.v1.GetRobotRequest + (*GetRoverRentalRobotsRequest)(nil), // 77: viam.app.v1.GetRoverRentalRobotsRequest + (*RoverRentalRobot)(nil), // 78: viam.app.v1.RoverRentalRobot + (*GetRoverRentalRobotsResponse)(nil), // 79: viam.app.v1.GetRoverRentalRobotsResponse + (*GetRobotResponse)(nil), // 80: viam.app.v1.GetRobotResponse + (*GetRobotPartsRequest)(nil), // 81: viam.app.v1.GetRobotPartsRequest + (*GetRobotPartsResponse)(nil), // 82: viam.app.v1.GetRobotPartsResponse + (*GetRobotPartRequest)(nil), // 83: viam.app.v1.GetRobotPartRequest + (*GetRobotPartResponse)(nil), // 84: viam.app.v1.GetRobotPartResponse + (*GetRobotPartLogsRequest)(nil), // 85: viam.app.v1.GetRobotPartLogsRequest + (*GetRobotPartLogsResponse)(nil), // 86: viam.app.v1.GetRobotPartLogsResponse + (*TailRobotPartLogsRequest)(nil), // 87: viam.app.v1.TailRobotPartLogsRequest + (*TailRobotPartLogsResponse)(nil), // 88: viam.app.v1.TailRobotPartLogsResponse + (*GetRobotPartHistoryRequest)(nil), // 89: viam.app.v1.GetRobotPartHistoryRequest + (*GetRobotPartHistoryResponse)(nil), // 90: viam.app.v1.GetRobotPartHistoryResponse + (*UpdateRobotPartRequest)(nil), // 91: viam.app.v1.UpdateRobotPartRequest + (*UpdateRobotPartResponse)(nil), // 92: viam.app.v1.UpdateRobotPartResponse + (*NewRobotPartRequest)(nil), // 93: viam.app.v1.NewRobotPartRequest + (*NewRobotPartResponse)(nil), // 94: viam.app.v1.NewRobotPartResponse + (*DeleteRobotPartRequest)(nil), // 95: viam.app.v1.DeleteRobotPartRequest + (*GetRobotAPIKeysRequest)(nil), // 96: viam.app.v1.GetRobotAPIKeysRequest + (*APIKey)(nil), // 97: viam.app.v1.APIKey + (*GetRobotAPIKeysResponse)(nil), // 98: viam.app.v1.GetRobotAPIKeysResponse + (*DeleteRobotPartResponse)(nil), // 99: viam.app.v1.DeleteRobotPartResponse + (*Fragment)(nil), // 100: viam.app.v1.Fragment + (*FragmentHistoryEntry)(nil), // 101: viam.app.v1.FragmentHistoryEntry + (*FragmentError)(nil), // 102: viam.app.v1.FragmentError + (*ResolvedFragment)(nil), // 103: viam.app.v1.ResolvedFragment + (*ListFragmentsRequest)(nil), // 104: viam.app.v1.ListFragmentsRequest + (*ListFragmentsResponse)(nil), // 105: viam.app.v1.ListFragmentsResponse + (*GetFragmentRequest)(nil), // 106: viam.app.v1.GetFragmentRequest + (*GetFragmentResponse)(nil), // 107: viam.app.v1.GetFragmentResponse + (*CreateFragmentRequest)(nil), // 108: viam.app.v1.CreateFragmentRequest + (*CreateFragmentResponse)(nil), // 109: viam.app.v1.CreateFragmentResponse + (*UpdateFragmentRequest)(nil), // 110: viam.app.v1.UpdateFragmentRequest + (*UpdateFragmentResponse)(nil), // 111: viam.app.v1.UpdateFragmentResponse + (*DeleteFragmentRequest)(nil), // 112: viam.app.v1.DeleteFragmentRequest + (*DeleteFragmentResponse)(nil), // 113: viam.app.v1.DeleteFragmentResponse + (*GetFragmentHistoryRequest)(nil), // 114: viam.app.v1.GetFragmentHistoryRequest + (*GetFragmentHistoryResponse)(nil), // 115: viam.app.v1.GetFragmentHistoryResponse + (*ListRobotsRequest)(nil), // 116: viam.app.v1.ListRobotsRequest + (*ListMachineFragmentsRequest)(nil), // 117: viam.app.v1.ListMachineFragmentsRequest + (*ListMachineFragmentsResponse)(nil), // 118: viam.app.v1.ListMachineFragmentsResponse + (*ListRobotsResponse)(nil), // 119: viam.app.v1.ListRobotsResponse + (*NewRobotRequest)(nil), // 120: viam.app.v1.NewRobotRequest + (*NewRobotResponse)(nil), // 121: viam.app.v1.NewRobotResponse + (*UpdateRobotRequest)(nil), // 122: viam.app.v1.UpdateRobotRequest + (*UpdateRobotResponse)(nil), // 123: viam.app.v1.UpdateRobotResponse + (*DeleteRobotRequest)(nil), // 124: viam.app.v1.DeleteRobotRequest + (*DeleteRobotResponse)(nil), // 125: viam.app.v1.DeleteRobotResponse + (*MarkPartAsMainRequest)(nil), // 126: viam.app.v1.MarkPartAsMainRequest + (*MarkPartAsMainResponse)(nil), // 127: viam.app.v1.MarkPartAsMainResponse + (*MarkPartForRestartRequest)(nil), // 128: viam.app.v1.MarkPartForRestartRequest + (*MarkPartForRestartResponse)(nil), // 129: viam.app.v1.MarkPartForRestartResponse + (*CreateRobotPartSecretRequest)(nil), // 130: viam.app.v1.CreateRobotPartSecretRequest + (*CreateRobotPartSecretResponse)(nil), // 131: viam.app.v1.CreateRobotPartSecretResponse + (*DeleteRobotPartSecretRequest)(nil), // 132: viam.app.v1.DeleteRobotPartSecretRequest + (*DeleteRobotPartSecretResponse)(nil), // 133: viam.app.v1.DeleteRobotPartSecretResponse + (*Authorization)(nil), // 134: viam.app.v1.Authorization + (*AddRoleRequest)(nil), // 135: viam.app.v1.AddRoleRequest + (*AddRoleResponse)(nil), // 136: viam.app.v1.AddRoleResponse + (*RemoveRoleRequest)(nil), // 137: viam.app.v1.RemoveRoleRequest + (*RemoveRoleResponse)(nil), // 138: viam.app.v1.RemoveRoleResponse + (*ChangeRoleRequest)(nil), // 139: viam.app.v1.ChangeRoleRequest + (*ChangeRoleResponse)(nil), // 140: viam.app.v1.ChangeRoleResponse + (*ListAuthorizationsRequest)(nil), // 141: viam.app.v1.ListAuthorizationsRequest + (*ListAuthorizationsResponse)(nil), // 142: viam.app.v1.ListAuthorizationsResponse + (*CheckPermissionsRequest)(nil), // 143: viam.app.v1.CheckPermissionsRequest + (*AuthorizedPermissions)(nil), // 144: viam.app.v1.AuthorizedPermissions + (*CheckPermissionsResponse)(nil), // 145: viam.app.v1.CheckPermissionsResponse + (*ModuleVersion)(nil), // 146: viam.app.v1.ModuleVersion + (*ModuleMetadata)(nil), // 147: viam.app.v1.ModuleMetadata + (*MLModelMetadata)(nil), // 148: viam.app.v1.MLModelMetadata + (*MLTrainingVersion)(nil), // 149: viam.app.v1.MLTrainingVersion + (*MLTrainingMetadata)(nil), // 150: viam.app.v1.MLTrainingMetadata + (*RegistryItem)(nil), // 151: viam.app.v1.RegistryItem + (*GetRegistryItemRequest)(nil), // 152: viam.app.v1.GetRegistryItemRequest + (*GetRegistryItemResponse)(nil), // 153: viam.app.v1.GetRegistryItemResponse + (*CreateRegistryItemRequest)(nil), // 154: viam.app.v1.CreateRegistryItemRequest + (*CreateRegistryItemResponse)(nil), // 155: viam.app.v1.CreateRegistryItemResponse + (*UpdateRegistryItemRequest)(nil), // 156: viam.app.v1.UpdateRegistryItemRequest + (*UpdateRegistryItemResponse)(nil), // 157: viam.app.v1.UpdateRegistryItemResponse + (*ListRegistryItemsRequest)(nil), // 158: viam.app.v1.ListRegistryItemsRequest + (*ListRegistryItemsResponse)(nil), // 159: viam.app.v1.ListRegistryItemsResponse + (*DeleteRegistryItemRequest)(nil), // 160: viam.app.v1.DeleteRegistryItemRequest + (*DeleteRegistryItemResponse)(nil), // 161: viam.app.v1.DeleteRegistryItemResponse + (*TransferRegistryItemRequest)(nil), // 162: viam.app.v1.TransferRegistryItemRequest + (*TransferRegistryItemResponse)(nil), // 163: viam.app.v1.TransferRegistryItemResponse + (*CreateModuleRequest)(nil), // 164: viam.app.v1.CreateModuleRequest + (*CreateModuleResponse)(nil), // 165: viam.app.v1.CreateModuleResponse + (*UpdateModuleRequest)(nil), // 166: viam.app.v1.UpdateModuleRequest + (*UpdateModuleResponse)(nil), // 167: viam.app.v1.UpdateModuleResponse + (*Model)(nil), // 168: viam.app.v1.Model + (*ModuleFileInfo)(nil), // 169: viam.app.v1.ModuleFileInfo + (*UploadModuleFileRequest)(nil), // 170: viam.app.v1.UploadModuleFileRequest + (*UploadModuleFileResponse)(nil), // 171: viam.app.v1.UploadModuleFileResponse + (*GetModuleRequest)(nil), // 172: viam.app.v1.GetModuleRequest + (*GetModuleResponse)(nil), // 173: viam.app.v1.GetModuleResponse + (*Module)(nil), // 174: viam.app.v1.Module + (*VersionHistory)(nil), // 175: viam.app.v1.VersionHistory + (*Uploads)(nil), // 176: viam.app.v1.Uploads + (*ListModulesRequest)(nil), // 177: viam.app.v1.ListModulesRequest + (*ListModulesResponse)(nil), // 178: viam.app.v1.ListModulesResponse + (*GetUserIDByEmailRequest)(nil), // 179: viam.app.v1.GetUserIDByEmailRequest + (*GetUserIDByEmailResponse)(nil), // 180: viam.app.v1.GetUserIDByEmailResponse + (*ListOrganizationsByUserRequest)(nil), // 181: viam.app.v1.ListOrganizationsByUserRequest + (*OrgDetails)(nil), // 182: viam.app.v1.OrgDetails + (*ListOrganizationsByUserResponse)(nil), // 183: viam.app.v1.ListOrganizationsByUserResponse + (*CreateKeyRequest)(nil), // 184: viam.app.v1.CreateKeyRequest + (*CreateKeyResponse)(nil), // 185: viam.app.v1.CreateKeyResponse + (*DeleteKeyRequest)(nil), // 186: viam.app.v1.DeleteKeyRequest + (*DeleteKeyResponse)(nil), // 187: viam.app.v1.DeleteKeyResponse + (*RenameKeyRequest)(nil), // 188: viam.app.v1.RenameKeyRequest + (*RenameKeyResponse)(nil), // 189: viam.app.v1.RenameKeyResponse + (*AuthorizationDetails)(nil), // 190: viam.app.v1.AuthorizationDetails + (*APIKeyWithAuthorizations)(nil), // 191: viam.app.v1.APIKeyWithAuthorizations + (*ListKeysRequest)(nil), // 192: viam.app.v1.ListKeysRequest + (*ListKeysResponse)(nil), // 193: viam.app.v1.ListKeysResponse + (*RotateKeyRequest)(nil), // 194: viam.app.v1.RotateKeyRequest + (*RotateKeyResponse)(nil), // 195: viam.app.v1.RotateKeyResponse + (*CreateKeyFromExistingKeyAuthorizationsRequest)(nil), // 196: viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest + (*CreateKeyFromExistingKeyAuthorizationsResponse)(nil), // 197: viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse + (*timestamppb.Timestamp)(nil), // 198: google.protobuf.Timestamp + (*structpb.Struct)(nil), // 199: google.protobuf.Struct + (*v1.LogEntry)(nil), // 200: viam.common.v1.LogEntry + (v11.ModelType)(0), // 201: viam.app.mltraining.v1.ModelType + (v11.ModelFramework)(0), // 202: viam.app.mltraining.v1.ModelFramework + (v12.PackageType)(0), // 203: viam.app.packages.v1.PackageType } var file_app_v1_app_proto_depIdxs = []int32{ - 200, // 0: viam.app.v1.Robot.last_access:type_name -> google.protobuf.Timestamp - 200, // 1: viam.app.v1.Robot.created_on:type_name -> google.protobuf.Timestamp - 201, // 2: viam.app.v1.RobotPart.robot_config:type_name -> google.protobuf.Struct - 200, // 3: viam.app.v1.RobotPart.last_access:type_name -> google.protobuf.Timestamp - 201, // 4: viam.app.v1.RobotPart.user_supplied_info:type_name -> google.protobuf.Struct - 200, // 5: viam.app.v1.RobotPart.created_on:type_name -> google.protobuf.Timestamp - 55, // 6: viam.app.v1.RobotPart.secrets:type_name -> viam.app.v1.SharedSecret - 200, // 7: viam.app.v1.RobotPart.last_updated:type_name -> google.protobuf.Timestamp - 200, // 8: viam.app.v1.RobotPartHistoryEntry.when:type_name -> google.protobuf.Timestamp + 198, // 0: viam.app.v1.Robot.last_access:type_name -> google.protobuf.Timestamp + 198, // 1: viam.app.v1.Robot.created_on:type_name -> google.protobuf.Timestamp + 199, // 2: viam.app.v1.RobotPart.robot_config:type_name -> google.protobuf.Struct + 198, // 3: viam.app.v1.RobotPart.last_access:type_name -> google.protobuf.Timestamp + 199, // 4: viam.app.v1.RobotPart.user_supplied_info:type_name -> google.protobuf.Struct + 198, // 5: viam.app.v1.RobotPart.created_on:type_name -> google.protobuf.Timestamp + 53, // 6: viam.app.v1.RobotPart.secrets:type_name -> viam.app.v1.SharedSecret + 198, // 7: viam.app.v1.RobotPart.last_updated:type_name -> google.protobuf.Timestamp + 198, // 8: viam.app.v1.RobotPartHistoryEntry.when:type_name -> google.protobuf.Timestamp 7, // 9: viam.app.v1.RobotPartHistoryEntry.old:type_name -> viam.app.v1.RobotPart 9, // 10: viam.app.v1.RobotPartHistoryEntry.edited_by:type_name -> viam.app.v1.AuthenticatorInfo 0, // 11: viam.app.v1.AuthenticatorInfo.type:type_name -> viam.app.v1.AuthenticationType - 200, // 12: viam.app.v1.Organization.created_on:type_name -> google.protobuf.Timestamp - 200, // 13: viam.app.v1.OrganizationMember.date_added:type_name -> google.protobuf.Timestamp - 200, // 14: viam.app.v1.OrganizationMember.last_login:type_name -> google.protobuf.Timestamp + 198, // 12: viam.app.v1.Organization.created_on:type_name -> google.protobuf.Timestamp + 198, // 13: viam.app.v1.OrganizationMember.date_added:type_name -> google.protobuf.Timestamp + 198, // 14: viam.app.v1.OrganizationMember.last_login:type_name -> google.protobuf.Timestamp 11, // 15: viam.app.v1.ListOrganizationsResponse.organizations:type_name -> viam.app.v1.Organization - 200, // 16: viam.app.v1.OrganizationInvite.created_on:type_name -> google.protobuf.Timestamp - 136, // 17: viam.app.v1.OrganizationInvite.authorizations:type_name -> viam.app.v1.Authorization + 198, // 16: viam.app.v1.OrganizationInvite.created_on:type_name -> google.protobuf.Timestamp + 134, // 17: viam.app.v1.OrganizationInvite.authorizations:type_name -> viam.app.v1.Authorization 11, // 18: viam.app.v1.CreateOrganizationResponse.organization:type_name -> viam.app.v1.Organization 11, // 19: viam.app.v1.GetOrganizationResponse.organization:type_name -> viam.app.v1.Organization 11, // 20: viam.app.v1.UpdateOrganizationResponse.organization:type_name -> viam.app.v1.Organization 12, // 21: viam.app.v1.ListOrganizationMembersResponse.members:type_name -> viam.app.v1.OrganizationMember 14, // 22: viam.app.v1.ListOrganizationMembersResponse.invites:type_name -> viam.app.v1.OrganizationInvite - 136, // 23: viam.app.v1.CreateOrganizationInviteRequest.authorizations:type_name -> viam.app.v1.Authorization + 134, // 23: viam.app.v1.CreateOrganizationInviteRequest.authorizations:type_name -> viam.app.v1.Authorization 14, // 24: viam.app.v1.CreateOrganizationInviteResponse.invite:type_name -> viam.app.v1.OrganizationInvite - 136, // 25: viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.add_authorizations:type_name -> viam.app.v1.Authorization - 136, // 26: viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.remove_authorizations:type_name -> viam.app.v1.Authorization + 134, // 25: viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.add_authorizations:type_name -> viam.app.v1.Authorization + 134, // 26: viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.remove_authorizations:type_name -> viam.app.v1.Authorization 14, // 27: viam.app.v1.UpdateOrganizationInviteAuthorizationsResponse.invite:type_name -> viam.app.v1.OrganizationInvite 14, // 28: viam.app.v1.ResendOrganizationInviteResponse.invite:type_name -> viam.app.v1.OrganizationInvite 37, // 29: viam.app.v1.EnableBillingServiceRequest.billing_address:type_name -> viam.app.v1.BillingAddress 37, // 30: viam.app.v1.UpdateBillingServiceRequest.billing_address:type_name -> viam.app.v1.BillingAddress - 37, // 31: viam.app.v1.GetBillingServiceResponse.billing_address:type_name -> viam.app.v1.BillingAddress - 55, // 32: viam.app.v1.LocationAuth.secrets:type_name -> viam.app.v1.SharedSecret - 52, // 33: viam.app.v1.Location.auth:type_name -> viam.app.v1.LocationAuth - 51, // 34: viam.app.v1.Location.organizations:type_name -> viam.app.v1.LocationOrganization - 200, // 35: viam.app.v1.Location.created_on:type_name -> google.protobuf.Timestamp - 53, // 36: viam.app.v1.Location.config:type_name -> viam.app.v1.StorageConfig - 200, // 37: viam.app.v1.SharedSecret.created_on:type_name -> google.protobuf.Timestamp - 5, // 38: viam.app.v1.SharedSecret.state:type_name -> viam.app.v1.SharedSecret.State - 54, // 39: viam.app.v1.CreateLocationResponse.location:type_name -> viam.app.v1.Location - 54, // 40: viam.app.v1.GetLocationResponse.location:type_name -> viam.app.v1.Location - 54, // 41: viam.app.v1.UpdateLocationResponse.location:type_name -> viam.app.v1.Location - 50, // 42: viam.app.v1.GetOrganizationsWithAccessToLocationResponse.organization_identities:type_name -> viam.app.v1.OrganizationIdentity - 54, // 43: viam.app.v1.ListLocationsResponse.locations:type_name -> viam.app.v1.Location - 52, // 44: viam.app.v1.CreateLocationSecretResponse.auth:type_name -> viam.app.v1.LocationAuth - 52, // 45: viam.app.v1.LocationAuthResponse.auth:type_name -> viam.app.v1.LocationAuth - 80, // 46: viam.app.v1.GetRoverRentalRobotsResponse.robots:type_name -> viam.app.v1.RoverRentalRobot - 6, // 47: viam.app.v1.GetRobotResponse.robot:type_name -> viam.app.v1.Robot - 7, // 48: viam.app.v1.GetRobotPartsResponse.parts:type_name -> viam.app.v1.RobotPart - 7, // 49: viam.app.v1.GetRobotPartResponse.part:type_name -> viam.app.v1.RobotPart - 200, // 50: viam.app.v1.GetRobotPartLogsRequest.start:type_name -> google.protobuf.Timestamp - 200, // 51: viam.app.v1.GetRobotPartLogsRequest.end:type_name -> google.protobuf.Timestamp - 202, // 52: viam.app.v1.GetRobotPartLogsResponse.logs:type_name -> viam.common.v1.LogEntry - 202, // 53: viam.app.v1.TailRobotPartLogsResponse.logs:type_name -> viam.common.v1.LogEntry - 8, // 54: viam.app.v1.GetRobotPartHistoryResponse.history:type_name -> viam.app.v1.RobotPartHistoryEntry - 201, // 55: viam.app.v1.UpdateRobotPartRequest.robot_config:type_name -> google.protobuf.Struct - 7, // 56: viam.app.v1.UpdateRobotPartResponse.part:type_name -> viam.app.v1.RobotPart - 200, // 57: viam.app.v1.APIKey.created_on:type_name -> google.protobuf.Timestamp - 193, // 58: viam.app.v1.GetRobotAPIKeysResponse.api_keys:type_name -> viam.app.v1.APIKeyWithAuthorizations - 201, // 59: viam.app.v1.Fragment.fragment:type_name -> google.protobuf.Struct - 200, // 60: viam.app.v1.Fragment.created_on:type_name -> google.protobuf.Timestamp - 1, // 61: viam.app.v1.Fragment.visibility:type_name -> viam.app.v1.FragmentVisibility - 200, // 62: viam.app.v1.Fragment.last_updated:type_name -> google.protobuf.Timestamp - 200, // 63: viam.app.v1.FragmentHistoryEntry.edited_on:type_name -> google.protobuf.Timestamp - 102, // 64: viam.app.v1.FragmentHistoryEntry.old:type_name -> viam.app.v1.Fragment - 9, // 65: viam.app.v1.FragmentHistoryEntry.edited_by:type_name -> viam.app.v1.AuthenticatorInfo - 2, // 66: viam.app.v1.FragmentError.error_type:type_name -> viam.app.v1.FragmentErrorType - 201, // 67: viam.app.v1.ResolvedFragment.resolved_config:type_name -> google.protobuf.Struct - 104, // 68: viam.app.v1.ResolvedFragment.error:type_name -> viam.app.v1.FragmentError - 1, // 69: viam.app.v1.ListFragmentsRequest.fragment_visibility:type_name -> viam.app.v1.FragmentVisibility - 102, // 70: viam.app.v1.ListFragmentsResponse.fragments:type_name -> viam.app.v1.Fragment - 102, // 71: viam.app.v1.GetFragmentResponse.fragment:type_name -> viam.app.v1.Fragment - 201, // 72: viam.app.v1.CreateFragmentRequest.config:type_name -> google.protobuf.Struct - 1, // 73: viam.app.v1.CreateFragmentRequest.visibility:type_name -> viam.app.v1.FragmentVisibility - 102, // 74: viam.app.v1.CreateFragmentResponse.fragment:type_name -> viam.app.v1.Fragment - 201, // 75: viam.app.v1.UpdateFragmentRequest.config:type_name -> google.protobuf.Struct - 1, // 76: viam.app.v1.UpdateFragmentRequest.visibility:type_name -> viam.app.v1.FragmentVisibility - 102, // 77: viam.app.v1.UpdateFragmentResponse.fragment:type_name -> viam.app.v1.Fragment - 103, // 78: viam.app.v1.GetFragmentHistoryResponse.history:type_name -> viam.app.v1.FragmentHistoryEntry - 102, // 79: viam.app.v1.ListMachineFragmentsResponse.fragments:type_name -> viam.app.v1.Fragment - 105, // 80: viam.app.v1.ListMachineFragmentsResponse.resolved_fragments:type_name -> viam.app.v1.ResolvedFragment - 6, // 81: viam.app.v1.ListRobotsResponse.robots:type_name -> viam.app.v1.Robot - 6, // 82: viam.app.v1.UpdateRobotResponse.robot:type_name -> viam.app.v1.Robot - 7, // 83: viam.app.v1.CreateRobotPartSecretResponse.part:type_name -> viam.app.v1.RobotPart - 136, // 84: viam.app.v1.AddRoleRequest.authorization:type_name -> viam.app.v1.Authorization - 136, // 85: viam.app.v1.RemoveRoleRequest.authorization:type_name -> viam.app.v1.Authorization - 136, // 86: viam.app.v1.ChangeRoleRequest.old_authorization:type_name -> viam.app.v1.Authorization - 136, // 87: viam.app.v1.ChangeRoleRequest.new_authorization:type_name -> viam.app.v1.Authorization - 136, // 88: viam.app.v1.ListAuthorizationsResponse.authorizations:type_name -> viam.app.v1.Authorization - 146, // 89: viam.app.v1.CheckPermissionsRequest.permissions:type_name -> viam.app.v1.AuthorizedPermissions - 146, // 90: viam.app.v1.CheckPermissionsResponse.authorized_permissions:type_name -> viam.app.v1.AuthorizedPermissions - 178, // 91: viam.app.v1.ModuleVersion.files:type_name -> viam.app.v1.Uploads - 170, // 92: viam.app.v1.ModuleVersion.models:type_name -> viam.app.v1.Model - 170, // 93: viam.app.v1.ModuleMetadata.models:type_name -> viam.app.v1.Model - 148, // 94: viam.app.v1.ModuleMetadata.versions:type_name -> viam.app.v1.ModuleVersion - 203, // 95: viam.app.v1.MLModelMetadata.model_type:type_name -> viam.app.mltraining.v1.ModelType - 204, // 96: viam.app.v1.MLModelMetadata.model_framework:type_name -> viam.app.mltraining.v1.ModelFramework - 200, // 97: viam.app.v1.MLTrainingVersion.created_on:type_name -> google.protobuf.Timestamp - 151, // 98: viam.app.v1.MLTrainingMetadata.versions:type_name -> viam.app.v1.MLTrainingVersion - 203, // 99: viam.app.v1.MLTrainingMetadata.model_type:type_name -> viam.app.mltraining.v1.ModelType - 204, // 100: viam.app.v1.MLTrainingMetadata.model_framework:type_name -> viam.app.mltraining.v1.ModelFramework - 205, // 101: viam.app.v1.RegistryItem.type:type_name -> viam.app.packages.v1.PackageType - 4, // 102: viam.app.v1.RegistryItem.visibility:type_name -> viam.app.v1.Visibility - 149, // 103: viam.app.v1.RegistryItem.module_metadata:type_name -> viam.app.v1.ModuleMetadata - 150, // 104: viam.app.v1.RegistryItem.ml_model_metadata:type_name -> viam.app.v1.MLModelMetadata - 152, // 105: viam.app.v1.RegistryItem.ml_training_metadata:type_name -> viam.app.v1.MLTrainingMetadata - 200, // 106: viam.app.v1.RegistryItem.created_at:type_name -> google.protobuf.Timestamp - 200, // 107: viam.app.v1.RegistryItem.updated_at:type_name -> google.protobuf.Timestamp - 153, // 108: viam.app.v1.GetRegistryItemResponse.item:type_name -> viam.app.v1.RegistryItem - 205, // 109: viam.app.v1.CreateRegistryItemRequest.type:type_name -> viam.app.packages.v1.PackageType - 205, // 110: viam.app.v1.UpdateRegistryItemRequest.type:type_name -> viam.app.packages.v1.PackageType - 4, // 111: viam.app.v1.UpdateRegistryItemRequest.visibility:type_name -> viam.app.v1.Visibility - 205, // 112: viam.app.v1.ListRegistryItemsRequest.types:type_name -> viam.app.packages.v1.PackageType - 4, // 113: viam.app.v1.ListRegistryItemsRequest.visibilities:type_name -> viam.app.v1.Visibility - 3, // 114: viam.app.v1.ListRegistryItemsRequest.statuses:type_name -> viam.app.v1.RegistryItemStatus - 153, // 115: viam.app.v1.ListRegistryItemsResponse.items:type_name -> viam.app.v1.RegistryItem - 4, // 116: viam.app.v1.UpdateModuleRequest.visibility:type_name -> viam.app.v1.Visibility - 170, // 117: viam.app.v1.UpdateModuleRequest.models:type_name -> viam.app.v1.Model - 171, // 118: viam.app.v1.UploadModuleFileRequest.module_file_info:type_name -> viam.app.v1.ModuleFileInfo - 176, // 119: viam.app.v1.GetModuleResponse.module:type_name -> viam.app.v1.Module - 4, // 120: viam.app.v1.Module.visibility:type_name -> viam.app.v1.Visibility - 177, // 121: viam.app.v1.Module.versions:type_name -> viam.app.v1.VersionHistory - 170, // 122: viam.app.v1.Module.models:type_name -> viam.app.v1.Model - 178, // 123: viam.app.v1.VersionHistory.files:type_name -> viam.app.v1.Uploads - 170, // 124: viam.app.v1.VersionHistory.models:type_name -> viam.app.v1.Model - 200, // 125: viam.app.v1.Uploads.uploaded_at:type_name -> google.protobuf.Timestamp - 176, // 126: viam.app.v1.ListModulesResponse.modules:type_name -> viam.app.v1.Module - 184, // 127: viam.app.v1.ListOrganizationsByUserResponse.orgs:type_name -> viam.app.v1.OrgDetails - 136, // 128: viam.app.v1.CreateKeyRequest.authorizations:type_name -> viam.app.v1.Authorization - 99, // 129: viam.app.v1.APIKeyWithAuthorizations.api_key:type_name -> viam.app.v1.APIKey - 192, // 130: viam.app.v1.APIKeyWithAuthorizations.authorizations:type_name -> viam.app.v1.AuthorizationDetails - 193, // 131: viam.app.v1.ListKeysResponse.api_keys:type_name -> viam.app.v1.APIKeyWithAuthorizations - 181, // 132: viam.app.v1.AppService.GetUserIDByEmail:input_type -> viam.app.v1.GetUserIDByEmailRequest - 15, // 133: viam.app.v1.AppService.CreateOrganization:input_type -> viam.app.v1.CreateOrganizationRequest - 10, // 134: viam.app.v1.AppService.ListOrganizations:input_type -> viam.app.v1.ListOrganizationsRequest - 64, // 135: viam.app.v1.AppService.GetOrganizationsWithAccessToLocation:input_type -> viam.app.v1.GetOrganizationsWithAccessToLocationRequest - 183, // 136: viam.app.v1.AppService.ListOrganizationsByUser:input_type -> viam.app.v1.ListOrganizationsByUserRequest - 17, // 137: viam.app.v1.AppService.GetOrganization:input_type -> viam.app.v1.GetOrganizationRequest - 19, // 138: viam.app.v1.AppService.GetOrganizationNamespaceAvailability:input_type -> viam.app.v1.GetOrganizationNamespaceAvailabilityRequest - 21, // 139: viam.app.v1.AppService.UpdateOrganization:input_type -> viam.app.v1.UpdateOrganizationRequest - 23, // 140: viam.app.v1.AppService.DeleteOrganization:input_type -> viam.app.v1.DeleteOrganizationRequest - 25, // 141: viam.app.v1.AppService.ListOrganizationMembers:input_type -> viam.app.v1.ListOrganizationMembersRequest - 27, // 142: viam.app.v1.AppService.CreateOrganizationInvite:input_type -> viam.app.v1.CreateOrganizationInviteRequest - 29, // 143: viam.app.v1.AppService.UpdateOrganizationInviteAuthorizations:input_type -> viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest - 35, // 144: viam.app.v1.AppService.DeleteOrganizationMember:input_type -> viam.app.v1.DeleteOrganizationMemberRequest - 31, // 145: viam.app.v1.AppService.DeleteOrganizationInvite:input_type -> viam.app.v1.DeleteOrganizationInviteRequest - 33, // 146: viam.app.v1.AppService.ResendOrganizationInvite:input_type -> viam.app.v1.ResendOrganizationInviteRequest - 38, // 147: viam.app.v1.AppService.EnableBillingService:input_type -> viam.app.v1.EnableBillingServiceRequest - 44, // 148: viam.app.v1.AppService.DisableBillingService:input_type -> viam.app.v1.DisableBillingServiceRequest - 40, // 149: viam.app.v1.AppService.UpdateBillingService:input_type -> viam.app.v1.UpdateBillingServiceRequest - 42, // 150: viam.app.v1.AppService.GetBillingService:input_type -> viam.app.v1.GetBillingServiceRequest - 46, // 151: viam.app.v1.AppService.OrganizationSetSupportEmail:input_type -> viam.app.v1.OrganizationSetSupportEmailRequest - 48, // 152: viam.app.v1.AppService.OrganizationGetSupportEmail:input_type -> viam.app.v1.OrganizationGetSupportEmailRequest - 56, // 153: viam.app.v1.AppService.CreateLocation:input_type -> viam.app.v1.CreateLocationRequest - 58, // 154: viam.app.v1.AppService.GetLocation:input_type -> viam.app.v1.GetLocationRequest - 60, // 155: viam.app.v1.AppService.UpdateLocation:input_type -> viam.app.v1.UpdateLocationRequest - 62, // 156: viam.app.v1.AppService.DeleteLocation:input_type -> viam.app.v1.DeleteLocationRequest - 66, // 157: viam.app.v1.AppService.ListLocations:input_type -> viam.app.v1.ListLocationsRequest - 67, // 158: viam.app.v1.AppService.ShareLocation:input_type -> viam.app.v1.ShareLocationRequest - 69, // 159: viam.app.v1.AppService.UnshareLocation:input_type -> viam.app.v1.UnshareLocationRequest - 76, // 160: viam.app.v1.AppService.LocationAuth:input_type -> viam.app.v1.LocationAuthRequest - 72, // 161: viam.app.v1.AppService.CreateLocationSecret:input_type -> viam.app.v1.CreateLocationSecretRequest - 74, // 162: viam.app.v1.AppService.DeleteLocationSecret:input_type -> viam.app.v1.DeleteLocationSecretRequest - 78, // 163: viam.app.v1.AppService.GetRobot:input_type -> viam.app.v1.GetRobotRequest - 79, // 164: viam.app.v1.AppService.GetRoverRentalRobots:input_type -> viam.app.v1.GetRoverRentalRobotsRequest - 83, // 165: viam.app.v1.AppService.GetRobotParts:input_type -> viam.app.v1.GetRobotPartsRequest - 85, // 166: viam.app.v1.AppService.GetRobotPart:input_type -> viam.app.v1.GetRobotPartRequest - 87, // 167: viam.app.v1.AppService.GetRobotPartLogs:input_type -> viam.app.v1.GetRobotPartLogsRequest - 89, // 168: viam.app.v1.AppService.TailRobotPartLogs:input_type -> viam.app.v1.TailRobotPartLogsRequest - 91, // 169: viam.app.v1.AppService.GetRobotPartHistory:input_type -> viam.app.v1.GetRobotPartHistoryRequest - 93, // 170: viam.app.v1.AppService.UpdateRobotPart:input_type -> viam.app.v1.UpdateRobotPartRequest - 95, // 171: viam.app.v1.AppService.NewRobotPart:input_type -> viam.app.v1.NewRobotPartRequest - 97, // 172: viam.app.v1.AppService.DeleteRobotPart:input_type -> viam.app.v1.DeleteRobotPartRequest - 98, // 173: viam.app.v1.AppService.GetRobotAPIKeys:input_type -> viam.app.v1.GetRobotAPIKeysRequest - 128, // 174: viam.app.v1.AppService.MarkPartAsMain:input_type -> viam.app.v1.MarkPartAsMainRequest - 130, // 175: viam.app.v1.AppService.MarkPartForRestart:input_type -> viam.app.v1.MarkPartForRestartRequest - 132, // 176: viam.app.v1.AppService.CreateRobotPartSecret:input_type -> viam.app.v1.CreateRobotPartSecretRequest - 134, // 177: viam.app.v1.AppService.DeleteRobotPartSecret:input_type -> viam.app.v1.DeleteRobotPartSecretRequest - 118, // 178: viam.app.v1.AppService.ListRobots:input_type -> viam.app.v1.ListRobotsRequest - 122, // 179: viam.app.v1.AppService.NewRobot:input_type -> viam.app.v1.NewRobotRequest - 124, // 180: viam.app.v1.AppService.UpdateRobot:input_type -> viam.app.v1.UpdateRobotRequest - 126, // 181: viam.app.v1.AppService.DeleteRobot:input_type -> viam.app.v1.DeleteRobotRequest - 106, // 182: viam.app.v1.AppService.ListFragments:input_type -> viam.app.v1.ListFragmentsRequest - 108, // 183: viam.app.v1.AppService.GetFragment:input_type -> viam.app.v1.GetFragmentRequest - 110, // 184: viam.app.v1.AppService.CreateFragment:input_type -> viam.app.v1.CreateFragmentRequest - 112, // 185: viam.app.v1.AppService.UpdateFragment:input_type -> viam.app.v1.UpdateFragmentRequest - 114, // 186: viam.app.v1.AppService.DeleteFragment:input_type -> viam.app.v1.DeleteFragmentRequest - 119, // 187: viam.app.v1.AppService.ListMachineFragments:input_type -> viam.app.v1.ListMachineFragmentsRequest - 116, // 188: viam.app.v1.AppService.GetFragmentHistory:input_type -> viam.app.v1.GetFragmentHistoryRequest - 137, // 189: viam.app.v1.AppService.AddRole:input_type -> viam.app.v1.AddRoleRequest - 139, // 190: viam.app.v1.AppService.RemoveRole:input_type -> viam.app.v1.RemoveRoleRequest - 141, // 191: viam.app.v1.AppService.ChangeRole:input_type -> viam.app.v1.ChangeRoleRequest - 143, // 192: viam.app.v1.AppService.ListAuthorizations:input_type -> viam.app.v1.ListAuthorizationsRequest - 145, // 193: viam.app.v1.AppService.CheckPermissions:input_type -> viam.app.v1.CheckPermissionsRequest - 154, // 194: viam.app.v1.AppService.GetRegistryItem:input_type -> viam.app.v1.GetRegistryItemRequest - 156, // 195: viam.app.v1.AppService.CreateRegistryItem:input_type -> viam.app.v1.CreateRegistryItemRequest - 158, // 196: viam.app.v1.AppService.UpdateRegistryItem:input_type -> viam.app.v1.UpdateRegistryItemRequest - 160, // 197: viam.app.v1.AppService.ListRegistryItems:input_type -> viam.app.v1.ListRegistryItemsRequest - 162, // 198: viam.app.v1.AppService.DeleteRegistryItem:input_type -> viam.app.v1.DeleteRegistryItemRequest - 164, // 199: viam.app.v1.AppService.TransferRegistryItem:input_type -> viam.app.v1.TransferRegistryItemRequest - 166, // 200: viam.app.v1.AppService.CreateModule:input_type -> viam.app.v1.CreateModuleRequest - 168, // 201: viam.app.v1.AppService.UpdateModule:input_type -> viam.app.v1.UpdateModuleRequest - 172, // 202: viam.app.v1.AppService.UploadModuleFile:input_type -> viam.app.v1.UploadModuleFileRequest - 174, // 203: viam.app.v1.AppService.GetModule:input_type -> viam.app.v1.GetModuleRequest - 179, // 204: viam.app.v1.AppService.ListModules:input_type -> viam.app.v1.ListModulesRequest - 186, // 205: viam.app.v1.AppService.CreateKey:input_type -> viam.app.v1.CreateKeyRequest - 188, // 206: viam.app.v1.AppService.DeleteKey:input_type -> viam.app.v1.DeleteKeyRequest - 194, // 207: viam.app.v1.AppService.ListKeys:input_type -> viam.app.v1.ListKeysRequest - 190, // 208: viam.app.v1.AppService.RenameKey:input_type -> viam.app.v1.RenameKeyRequest - 196, // 209: viam.app.v1.AppService.RotateKey:input_type -> viam.app.v1.RotateKeyRequest - 198, // 210: viam.app.v1.AppService.CreateKeyFromExistingKeyAuthorizations:input_type -> viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest - 182, // 211: viam.app.v1.AppService.GetUserIDByEmail:output_type -> viam.app.v1.GetUserIDByEmailResponse - 16, // 212: viam.app.v1.AppService.CreateOrganization:output_type -> viam.app.v1.CreateOrganizationResponse - 13, // 213: viam.app.v1.AppService.ListOrganizations:output_type -> viam.app.v1.ListOrganizationsResponse - 65, // 214: viam.app.v1.AppService.GetOrganizationsWithAccessToLocation:output_type -> viam.app.v1.GetOrganizationsWithAccessToLocationResponse - 185, // 215: viam.app.v1.AppService.ListOrganizationsByUser:output_type -> viam.app.v1.ListOrganizationsByUserResponse - 18, // 216: viam.app.v1.AppService.GetOrganization:output_type -> viam.app.v1.GetOrganizationResponse - 20, // 217: viam.app.v1.AppService.GetOrganizationNamespaceAvailability:output_type -> viam.app.v1.GetOrganizationNamespaceAvailabilityResponse - 22, // 218: viam.app.v1.AppService.UpdateOrganization:output_type -> viam.app.v1.UpdateOrganizationResponse - 24, // 219: viam.app.v1.AppService.DeleteOrganization:output_type -> viam.app.v1.DeleteOrganizationResponse - 26, // 220: viam.app.v1.AppService.ListOrganizationMembers:output_type -> viam.app.v1.ListOrganizationMembersResponse - 28, // 221: viam.app.v1.AppService.CreateOrganizationInvite:output_type -> viam.app.v1.CreateOrganizationInviteResponse - 30, // 222: viam.app.v1.AppService.UpdateOrganizationInviteAuthorizations:output_type -> viam.app.v1.UpdateOrganizationInviteAuthorizationsResponse - 36, // 223: viam.app.v1.AppService.DeleteOrganizationMember:output_type -> viam.app.v1.DeleteOrganizationMemberResponse - 32, // 224: viam.app.v1.AppService.DeleteOrganizationInvite:output_type -> viam.app.v1.DeleteOrganizationInviteResponse - 34, // 225: viam.app.v1.AppService.ResendOrganizationInvite:output_type -> viam.app.v1.ResendOrganizationInviteResponse - 39, // 226: viam.app.v1.AppService.EnableBillingService:output_type -> viam.app.v1.EnableBillingServiceResponse - 45, // 227: viam.app.v1.AppService.DisableBillingService:output_type -> viam.app.v1.DisableBillingServiceResponse - 41, // 228: viam.app.v1.AppService.UpdateBillingService:output_type -> viam.app.v1.UpdateBillingServiceResponse - 43, // 229: viam.app.v1.AppService.GetBillingService:output_type -> viam.app.v1.GetBillingServiceResponse - 47, // 230: viam.app.v1.AppService.OrganizationSetSupportEmail:output_type -> viam.app.v1.OrganizationSetSupportEmailResponse - 49, // 231: viam.app.v1.AppService.OrganizationGetSupportEmail:output_type -> viam.app.v1.OrganizationGetSupportEmailResponse - 57, // 232: viam.app.v1.AppService.CreateLocation:output_type -> viam.app.v1.CreateLocationResponse - 59, // 233: viam.app.v1.AppService.GetLocation:output_type -> viam.app.v1.GetLocationResponse - 61, // 234: viam.app.v1.AppService.UpdateLocation:output_type -> viam.app.v1.UpdateLocationResponse - 63, // 235: viam.app.v1.AppService.DeleteLocation:output_type -> viam.app.v1.DeleteLocationResponse - 71, // 236: viam.app.v1.AppService.ListLocations:output_type -> viam.app.v1.ListLocationsResponse - 68, // 237: viam.app.v1.AppService.ShareLocation:output_type -> viam.app.v1.ShareLocationResponse - 70, // 238: viam.app.v1.AppService.UnshareLocation:output_type -> viam.app.v1.UnshareLocationResponse - 77, // 239: viam.app.v1.AppService.LocationAuth:output_type -> viam.app.v1.LocationAuthResponse - 73, // 240: viam.app.v1.AppService.CreateLocationSecret:output_type -> viam.app.v1.CreateLocationSecretResponse - 75, // 241: viam.app.v1.AppService.DeleteLocationSecret:output_type -> viam.app.v1.DeleteLocationSecretResponse - 82, // 242: viam.app.v1.AppService.GetRobot:output_type -> viam.app.v1.GetRobotResponse - 81, // 243: viam.app.v1.AppService.GetRoverRentalRobots:output_type -> viam.app.v1.GetRoverRentalRobotsResponse - 84, // 244: viam.app.v1.AppService.GetRobotParts:output_type -> viam.app.v1.GetRobotPartsResponse - 86, // 245: viam.app.v1.AppService.GetRobotPart:output_type -> viam.app.v1.GetRobotPartResponse - 88, // 246: viam.app.v1.AppService.GetRobotPartLogs:output_type -> viam.app.v1.GetRobotPartLogsResponse - 90, // 247: viam.app.v1.AppService.TailRobotPartLogs:output_type -> viam.app.v1.TailRobotPartLogsResponse - 92, // 248: viam.app.v1.AppService.GetRobotPartHistory:output_type -> viam.app.v1.GetRobotPartHistoryResponse - 94, // 249: viam.app.v1.AppService.UpdateRobotPart:output_type -> viam.app.v1.UpdateRobotPartResponse - 96, // 250: viam.app.v1.AppService.NewRobotPart:output_type -> viam.app.v1.NewRobotPartResponse - 101, // 251: viam.app.v1.AppService.DeleteRobotPart:output_type -> viam.app.v1.DeleteRobotPartResponse - 100, // 252: viam.app.v1.AppService.GetRobotAPIKeys:output_type -> viam.app.v1.GetRobotAPIKeysResponse - 129, // 253: viam.app.v1.AppService.MarkPartAsMain:output_type -> viam.app.v1.MarkPartAsMainResponse - 131, // 254: viam.app.v1.AppService.MarkPartForRestart:output_type -> viam.app.v1.MarkPartForRestartResponse - 133, // 255: viam.app.v1.AppService.CreateRobotPartSecret:output_type -> viam.app.v1.CreateRobotPartSecretResponse - 135, // 256: viam.app.v1.AppService.DeleteRobotPartSecret:output_type -> viam.app.v1.DeleteRobotPartSecretResponse - 121, // 257: viam.app.v1.AppService.ListRobots:output_type -> viam.app.v1.ListRobotsResponse - 123, // 258: viam.app.v1.AppService.NewRobot:output_type -> viam.app.v1.NewRobotResponse - 125, // 259: viam.app.v1.AppService.UpdateRobot:output_type -> viam.app.v1.UpdateRobotResponse - 127, // 260: viam.app.v1.AppService.DeleteRobot:output_type -> viam.app.v1.DeleteRobotResponse - 107, // 261: viam.app.v1.AppService.ListFragments:output_type -> viam.app.v1.ListFragmentsResponse - 109, // 262: viam.app.v1.AppService.GetFragment:output_type -> viam.app.v1.GetFragmentResponse - 111, // 263: viam.app.v1.AppService.CreateFragment:output_type -> viam.app.v1.CreateFragmentResponse - 113, // 264: viam.app.v1.AppService.UpdateFragment:output_type -> viam.app.v1.UpdateFragmentResponse - 115, // 265: viam.app.v1.AppService.DeleteFragment:output_type -> viam.app.v1.DeleteFragmentResponse - 120, // 266: viam.app.v1.AppService.ListMachineFragments:output_type -> viam.app.v1.ListMachineFragmentsResponse - 117, // 267: viam.app.v1.AppService.GetFragmentHistory:output_type -> viam.app.v1.GetFragmentHistoryResponse - 138, // 268: viam.app.v1.AppService.AddRole:output_type -> viam.app.v1.AddRoleResponse - 140, // 269: viam.app.v1.AppService.RemoveRole:output_type -> viam.app.v1.RemoveRoleResponse - 142, // 270: viam.app.v1.AppService.ChangeRole:output_type -> viam.app.v1.ChangeRoleResponse - 144, // 271: viam.app.v1.AppService.ListAuthorizations:output_type -> viam.app.v1.ListAuthorizationsResponse - 147, // 272: viam.app.v1.AppService.CheckPermissions:output_type -> viam.app.v1.CheckPermissionsResponse - 155, // 273: viam.app.v1.AppService.GetRegistryItem:output_type -> viam.app.v1.GetRegistryItemResponse - 157, // 274: viam.app.v1.AppService.CreateRegistryItem:output_type -> viam.app.v1.CreateRegistryItemResponse - 159, // 275: viam.app.v1.AppService.UpdateRegistryItem:output_type -> viam.app.v1.UpdateRegistryItemResponse - 161, // 276: viam.app.v1.AppService.ListRegistryItems:output_type -> viam.app.v1.ListRegistryItemsResponse - 163, // 277: viam.app.v1.AppService.DeleteRegistryItem:output_type -> viam.app.v1.DeleteRegistryItemResponse - 165, // 278: viam.app.v1.AppService.TransferRegistryItem:output_type -> viam.app.v1.TransferRegistryItemResponse - 167, // 279: viam.app.v1.AppService.CreateModule:output_type -> viam.app.v1.CreateModuleResponse - 169, // 280: viam.app.v1.AppService.UpdateModule:output_type -> viam.app.v1.UpdateModuleResponse - 173, // 281: viam.app.v1.AppService.UploadModuleFile:output_type -> viam.app.v1.UploadModuleFileResponse - 175, // 282: viam.app.v1.AppService.GetModule:output_type -> viam.app.v1.GetModuleResponse - 180, // 283: viam.app.v1.AppService.ListModules:output_type -> viam.app.v1.ListModulesResponse - 187, // 284: viam.app.v1.AppService.CreateKey:output_type -> viam.app.v1.CreateKeyResponse - 189, // 285: viam.app.v1.AppService.DeleteKey:output_type -> viam.app.v1.DeleteKeyResponse - 195, // 286: viam.app.v1.AppService.ListKeys:output_type -> viam.app.v1.ListKeysResponse - 191, // 287: viam.app.v1.AppService.RenameKey:output_type -> viam.app.v1.RenameKeyResponse - 197, // 288: viam.app.v1.AppService.RotateKey:output_type -> viam.app.v1.RotateKeyResponse - 199, // 289: viam.app.v1.AppService.CreateKeyFromExistingKeyAuthorizations:output_type -> viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse - 211, // [211:290] is the sub-list for method output_type - 132, // [132:211] is the sub-list for method input_type - 132, // [132:132] is the sub-list for extension type_name - 132, // [132:132] is the sub-list for extension extendee - 0, // [0:132] is the sub-list for field type_name + 53, // 31: viam.app.v1.LocationAuth.secrets:type_name -> viam.app.v1.SharedSecret + 50, // 32: viam.app.v1.Location.auth:type_name -> viam.app.v1.LocationAuth + 49, // 33: viam.app.v1.Location.organizations:type_name -> viam.app.v1.LocationOrganization + 198, // 34: viam.app.v1.Location.created_on:type_name -> google.protobuf.Timestamp + 51, // 35: viam.app.v1.Location.config:type_name -> viam.app.v1.StorageConfig + 198, // 36: viam.app.v1.SharedSecret.created_on:type_name -> google.protobuf.Timestamp + 5, // 37: viam.app.v1.SharedSecret.state:type_name -> viam.app.v1.SharedSecret.State + 52, // 38: viam.app.v1.CreateLocationResponse.location:type_name -> viam.app.v1.Location + 52, // 39: viam.app.v1.GetLocationResponse.location:type_name -> viam.app.v1.Location + 52, // 40: viam.app.v1.UpdateLocationResponse.location:type_name -> viam.app.v1.Location + 48, // 41: viam.app.v1.GetOrganizationsWithAccessToLocationResponse.organization_identities:type_name -> viam.app.v1.OrganizationIdentity + 52, // 42: viam.app.v1.ListLocationsResponse.locations:type_name -> viam.app.v1.Location + 50, // 43: viam.app.v1.CreateLocationSecretResponse.auth:type_name -> viam.app.v1.LocationAuth + 50, // 44: viam.app.v1.LocationAuthResponse.auth:type_name -> viam.app.v1.LocationAuth + 78, // 45: viam.app.v1.GetRoverRentalRobotsResponse.robots:type_name -> viam.app.v1.RoverRentalRobot + 6, // 46: viam.app.v1.GetRobotResponse.robot:type_name -> viam.app.v1.Robot + 7, // 47: viam.app.v1.GetRobotPartsResponse.parts:type_name -> viam.app.v1.RobotPart + 7, // 48: viam.app.v1.GetRobotPartResponse.part:type_name -> viam.app.v1.RobotPart + 198, // 49: viam.app.v1.GetRobotPartLogsRequest.start:type_name -> google.protobuf.Timestamp + 198, // 50: viam.app.v1.GetRobotPartLogsRequest.end:type_name -> google.protobuf.Timestamp + 200, // 51: viam.app.v1.GetRobotPartLogsResponse.logs:type_name -> viam.common.v1.LogEntry + 200, // 52: viam.app.v1.TailRobotPartLogsResponse.logs:type_name -> viam.common.v1.LogEntry + 8, // 53: viam.app.v1.GetRobotPartHistoryResponse.history:type_name -> viam.app.v1.RobotPartHistoryEntry + 199, // 54: viam.app.v1.UpdateRobotPartRequest.robot_config:type_name -> google.protobuf.Struct + 7, // 55: viam.app.v1.UpdateRobotPartResponse.part:type_name -> viam.app.v1.RobotPart + 198, // 56: viam.app.v1.APIKey.created_on:type_name -> google.protobuf.Timestamp + 191, // 57: viam.app.v1.GetRobotAPIKeysResponse.api_keys:type_name -> viam.app.v1.APIKeyWithAuthorizations + 199, // 58: viam.app.v1.Fragment.fragment:type_name -> google.protobuf.Struct + 198, // 59: viam.app.v1.Fragment.created_on:type_name -> google.protobuf.Timestamp + 1, // 60: viam.app.v1.Fragment.visibility:type_name -> viam.app.v1.FragmentVisibility + 198, // 61: viam.app.v1.Fragment.last_updated:type_name -> google.protobuf.Timestamp + 198, // 62: viam.app.v1.FragmentHistoryEntry.edited_on:type_name -> google.protobuf.Timestamp + 100, // 63: viam.app.v1.FragmentHistoryEntry.old:type_name -> viam.app.v1.Fragment + 9, // 64: viam.app.v1.FragmentHistoryEntry.edited_by:type_name -> viam.app.v1.AuthenticatorInfo + 2, // 65: viam.app.v1.FragmentError.error_type:type_name -> viam.app.v1.FragmentErrorType + 199, // 66: viam.app.v1.ResolvedFragment.resolved_config:type_name -> google.protobuf.Struct + 102, // 67: viam.app.v1.ResolvedFragment.error:type_name -> viam.app.v1.FragmentError + 1, // 68: viam.app.v1.ListFragmentsRequest.fragment_visibility:type_name -> viam.app.v1.FragmentVisibility + 100, // 69: viam.app.v1.ListFragmentsResponse.fragments:type_name -> viam.app.v1.Fragment + 100, // 70: viam.app.v1.GetFragmentResponse.fragment:type_name -> viam.app.v1.Fragment + 199, // 71: viam.app.v1.CreateFragmentRequest.config:type_name -> google.protobuf.Struct + 1, // 72: viam.app.v1.CreateFragmentRequest.visibility:type_name -> viam.app.v1.FragmentVisibility + 100, // 73: viam.app.v1.CreateFragmentResponse.fragment:type_name -> viam.app.v1.Fragment + 199, // 74: viam.app.v1.UpdateFragmentRequest.config:type_name -> google.protobuf.Struct + 1, // 75: viam.app.v1.UpdateFragmentRequest.visibility:type_name -> viam.app.v1.FragmentVisibility + 100, // 76: viam.app.v1.UpdateFragmentResponse.fragment:type_name -> viam.app.v1.Fragment + 101, // 77: viam.app.v1.GetFragmentHistoryResponse.history:type_name -> viam.app.v1.FragmentHistoryEntry + 100, // 78: viam.app.v1.ListMachineFragmentsResponse.fragments:type_name -> viam.app.v1.Fragment + 103, // 79: viam.app.v1.ListMachineFragmentsResponse.resolved_fragments:type_name -> viam.app.v1.ResolvedFragment + 6, // 80: viam.app.v1.ListRobotsResponse.robots:type_name -> viam.app.v1.Robot + 6, // 81: viam.app.v1.UpdateRobotResponse.robot:type_name -> viam.app.v1.Robot + 7, // 82: viam.app.v1.CreateRobotPartSecretResponse.part:type_name -> viam.app.v1.RobotPart + 134, // 83: viam.app.v1.AddRoleRequest.authorization:type_name -> viam.app.v1.Authorization + 134, // 84: viam.app.v1.RemoveRoleRequest.authorization:type_name -> viam.app.v1.Authorization + 134, // 85: viam.app.v1.ChangeRoleRequest.old_authorization:type_name -> viam.app.v1.Authorization + 134, // 86: viam.app.v1.ChangeRoleRequest.new_authorization:type_name -> viam.app.v1.Authorization + 134, // 87: viam.app.v1.ListAuthorizationsResponse.authorizations:type_name -> viam.app.v1.Authorization + 144, // 88: viam.app.v1.CheckPermissionsRequest.permissions:type_name -> viam.app.v1.AuthorizedPermissions + 144, // 89: viam.app.v1.CheckPermissionsResponse.authorized_permissions:type_name -> viam.app.v1.AuthorizedPermissions + 176, // 90: viam.app.v1.ModuleVersion.files:type_name -> viam.app.v1.Uploads + 168, // 91: viam.app.v1.ModuleVersion.models:type_name -> viam.app.v1.Model + 168, // 92: viam.app.v1.ModuleMetadata.models:type_name -> viam.app.v1.Model + 146, // 93: viam.app.v1.ModuleMetadata.versions:type_name -> viam.app.v1.ModuleVersion + 201, // 94: viam.app.v1.MLModelMetadata.model_type:type_name -> viam.app.mltraining.v1.ModelType + 202, // 95: viam.app.v1.MLModelMetadata.model_framework:type_name -> viam.app.mltraining.v1.ModelFramework + 198, // 96: viam.app.v1.MLTrainingVersion.created_on:type_name -> google.protobuf.Timestamp + 149, // 97: viam.app.v1.MLTrainingMetadata.versions:type_name -> viam.app.v1.MLTrainingVersion + 201, // 98: viam.app.v1.MLTrainingMetadata.model_type:type_name -> viam.app.mltraining.v1.ModelType + 202, // 99: viam.app.v1.MLTrainingMetadata.model_framework:type_name -> viam.app.mltraining.v1.ModelFramework + 203, // 100: viam.app.v1.RegistryItem.type:type_name -> viam.app.packages.v1.PackageType + 4, // 101: viam.app.v1.RegistryItem.visibility:type_name -> viam.app.v1.Visibility + 147, // 102: viam.app.v1.RegistryItem.module_metadata:type_name -> viam.app.v1.ModuleMetadata + 148, // 103: viam.app.v1.RegistryItem.ml_model_metadata:type_name -> viam.app.v1.MLModelMetadata + 150, // 104: viam.app.v1.RegistryItem.ml_training_metadata:type_name -> viam.app.v1.MLTrainingMetadata + 198, // 105: viam.app.v1.RegistryItem.created_at:type_name -> google.protobuf.Timestamp + 198, // 106: viam.app.v1.RegistryItem.updated_at:type_name -> google.protobuf.Timestamp + 151, // 107: viam.app.v1.GetRegistryItemResponse.item:type_name -> viam.app.v1.RegistryItem + 203, // 108: viam.app.v1.CreateRegistryItemRequest.type:type_name -> viam.app.packages.v1.PackageType + 203, // 109: viam.app.v1.UpdateRegistryItemRequest.type:type_name -> viam.app.packages.v1.PackageType + 4, // 110: viam.app.v1.UpdateRegistryItemRequest.visibility:type_name -> viam.app.v1.Visibility + 203, // 111: viam.app.v1.ListRegistryItemsRequest.types:type_name -> viam.app.packages.v1.PackageType + 4, // 112: viam.app.v1.ListRegistryItemsRequest.visibilities:type_name -> viam.app.v1.Visibility + 3, // 113: viam.app.v1.ListRegistryItemsRequest.statuses:type_name -> viam.app.v1.RegistryItemStatus + 151, // 114: viam.app.v1.ListRegistryItemsResponse.items:type_name -> viam.app.v1.RegistryItem + 4, // 115: viam.app.v1.UpdateModuleRequest.visibility:type_name -> viam.app.v1.Visibility + 168, // 116: viam.app.v1.UpdateModuleRequest.models:type_name -> viam.app.v1.Model + 169, // 117: viam.app.v1.UploadModuleFileRequest.module_file_info:type_name -> viam.app.v1.ModuleFileInfo + 174, // 118: viam.app.v1.GetModuleResponse.module:type_name -> viam.app.v1.Module + 4, // 119: viam.app.v1.Module.visibility:type_name -> viam.app.v1.Visibility + 175, // 120: viam.app.v1.Module.versions:type_name -> viam.app.v1.VersionHistory + 168, // 121: viam.app.v1.Module.models:type_name -> viam.app.v1.Model + 176, // 122: viam.app.v1.VersionHistory.files:type_name -> viam.app.v1.Uploads + 168, // 123: viam.app.v1.VersionHistory.models:type_name -> viam.app.v1.Model + 198, // 124: viam.app.v1.Uploads.uploaded_at:type_name -> google.protobuf.Timestamp + 174, // 125: viam.app.v1.ListModulesResponse.modules:type_name -> viam.app.v1.Module + 182, // 126: viam.app.v1.ListOrganizationsByUserResponse.orgs:type_name -> viam.app.v1.OrgDetails + 134, // 127: viam.app.v1.CreateKeyRequest.authorizations:type_name -> viam.app.v1.Authorization + 97, // 128: viam.app.v1.APIKeyWithAuthorizations.api_key:type_name -> viam.app.v1.APIKey + 190, // 129: viam.app.v1.APIKeyWithAuthorizations.authorizations:type_name -> viam.app.v1.AuthorizationDetails + 191, // 130: viam.app.v1.ListKeysResponse.api_keys:type_name -> viam.app.v1.APIKeyWithAuthorizations + 179, // 131: viam.app.v1.AppService.GetUserIDByEmail:input_type -> viam.app.v1.GetUserIDByEmailRequest + 15, // 132: viam.app.v1.AppService.CreateOrganization:input_type -> viam.app.v1.CreateOrganizationRequest + 10, // 133: viam.app.v1.AppService.ListOrganizations:input_type -> viam.app.v1.ListOrganizationsRequest + 62, // 134: viam.app.v1.AppService.GetOrganizationsWithAccessToLocation:input_type -> viam.app.v1.GetOrganizationsWithAccessToLocationRequest + 181, // 135: viam.app.v1.AppService.ListOrganizationsByUser:input_type -> viam.app.v1.ListOrganizationsByUserRequest + 17, // 136: viam.app.v1.AppService.GetOrganization:input_type -> viam.app.v1.GetOrganizationRequest + 19, // 137: viam.app.v1.AppService.GetOrganizationNamespaceAvailability:input_type -> viam.app.v1.GetOrganizationNamespaceAvailabilityRequest + 21, // 138: viam.app.v1.AppService.UpdateOrganization:input_type -> viam.app.v1.UpdateOrganizationRequest + 23, // 139: viam.app.v1.AppService.DeleteOrganization:input_type -> viam.app.v1.DeleteOrganizationRequest + 25, // 140: viam.app.v1.AppService.ListOrganizationMembers:input_type -> viam.app.v1.ListOrganizationMembersRequest + 27, // 141: viam.app.v1.AppService.CreateOrganizationInvite:input_type -> viam.app.v1.CreateOrganizationInviteRequest + 29, // 142: viam.app.v1.AppService.UpdateOrganizationInviteAuthorizations:input_type -> viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest + 35, // 143: viam.app.v1.AppService.DeleteOrganizationMember:input_type -> viam.app.v1.DeleteOrganizationMemberRequest + 31, // 144: viam.app.v1.AppService.DeleteOrganizationInvite:input_type -> viam.app.v1.DeleteOrganizationInviteRequest + 33, // 145: viam.app.v1.AppService.ResendOrganizationInvite:input_type -> viam.app.v1.ResendOrganizationInviteRequest + 38, // 146: viam.app.v1.AppService.EnableBillingService:input_type -> viam.app.v1.EnableBillingServiceRequest + 42, // 147: viam.app.v1.AppService.DisableBillingService:input_type -> viam.app.v1.DisableBillingServiceRequest + 40, // 148: viam.app.v1.AppService.UpdateBillingService:input_type -> viam.app.v1.UpdateBillingServiceRequest + 44, // 149: viam.app.v1.AppService.OrganizationSetSupportEmail:input_type -> viam.app.v1.OrganizationSetSupportEmailRequest + 46, // 150: viam.app.v1.AppService.OrganizationGetSupportEmail:input_type -> viam.app.v1.OrganizationGetSupportEmailRequest + 54, // 151: viam.app.v1.AppService.CreateLocation:input_type -> viam.app.v1.CreateLocationRequest + 56, // 152: viam.app.v1.AppService.GetLocation:input_type -> viam.app.v1.GetLocationRequest + 58, // 153: viam.app.v1.AppService.UpdateLocation:input_type -> viam.app.v1.UpdateLocationRequest + 60, // 154: viam.app.v1.AppService.DeleteLocation:input_type -> viam.app.v1.DeleteLocationRequest + 64, // 155: viam.app.v1.AppService.ListLocations:input_type -> viam.app.v1.ListLocationsRequest + 65, // 156: viam.app.v1.AppService.ShareLocation:input_type -> viam.app.v1.ShareLocationRequest + 67, // 157: viam.app.v1.AppService.UnshareLocation:input_type -> viam.app.v1.UnshareLocationRequest + 74, // 158: viam.app.v1.AppService.LocationAuth:input_type -> viam.app.v1.LocationAuthRequest + 70, // 159: viam.app.v1.AppService.CreateLocationSecret:input_type -> viam.app.v1.CreateLocationSecretRequest + 72, // 160: viam.app.v1.AppService.DeleteLocationSecret:input_type -> viam.app.v1.DeleteLocationSecretRequest + 76, // 161: viam.app.v1.AppService.GetRobot:input_type -> viam.app.v1.GetRobotRequest + 77, // 162: viam.app.v1.AppService.GetRoverRentalRobots:input_type -> viam.app.v1.GetRoverRentalRobotsRequest + 81, // 163: viam.app.v1.AppService.GetRobotParts:input_type -> viam.app.v1.GetRobotPartsRequest + 83, // 164: viam.app.v1.AppService.GetRobotPart:input_type -> viam.app.v1.GetRobotPartRequest + 85, // 165: viam.app.v1.AppService.GetRobotPartLogs:input_type -> viam.app.v1.GetRobotPartLogsRequest + 87, // 166: viam.app.v1.AppService.TailRobotPartLogs:input_type -> viam.app.v1.TailRobotPartLogsRequest + 89, // 167: viam.app.v1.AppService.GetRobotPartHistory:input_type -> viam.app.v1.GetRobotPartHistoryRequest + 91, // 168: viam.app.v1.AppService.UpdateRobotPart:input_type -> viam.app.v1.UpdateRobotPartRequest + 93, // 169: viam.app.v1.AppService.NewRobotPart:input_type -> viam.app.v1.NewRobotPartRequest + 95, // 170: viam.app.v1.AppService.DeleteRobotPart:input_type -> viam.app.v1.DeleteRobotPartRequest + 96, // 171: viam.app.v1.AppService.GetRobotAPIKeys:input_type -> viam.app.v1.GetRobotAPIKeysRequest + 126, // 172: viam.app.v1.AppService.MarkPartAsMain:input_type -> viam.app.v1.MarkPartAsMainRequest + 128, // 173: viam.app.v1.AppService.MarkPartForRestart:input_type -> viam.app.v1.MarkPartForRestartRequest + 130, // 174: viam.app.v1.AppService.CreateRobotPartSecret:input_type -> viam.app.v1.CreateRobotPartSecretRequest + 132, // 175: viam.app.v1.AppService.DeleteRobotPartSecret:input_type -> viam.app.v1.DeleteRobotPartSecretRequest + 116, // 176: viam.app.v1.AppService.ListRobots:input_type -> viam.app.v1.ListRobotsRequest + 120, // 177: viam.app.v1.AppService.NewRobot:input_type -> viam.app.v1.NewRobotRequest + 122, // 178: viam.app.v1.AppService.UpdateRobot:input_type -> viam.app.v1.UpdateRobotRequest + 124, // 179: viam.app.v1.AppService.DeleteRobot:input_type -> viam.app.v1.DeleteRobotRequest + 104, // 180: viam.app.v1.AppService.ListFragments:input_type -> viam.app.v1.ListFragmentsRequest + 106, // 181: viam.app.v1.AppService.GetFragment:input_type -> viam.app.v1.GetFragmentRequest + 108, // 182: viam.app.v1.AppService.CreateFragment:input_type -> viam.app.v1.CreateFragmentRequest + 110, // 183: viam.app.v1.AppService.UpdateFragment:input_type -> viam.app.v1.UpdateFragmentRequest + 112, // 184: viam.app.v1.AppService.DeleteFragment:input_type -> viam.app.v1.DeleteFragmentRequest + 117, // 185: viam.app.v1.AppService.ListMachineFragments:input_type -> viam.app.v1.ListMachineFragmentsRequest + 114, // 186: viam.app.v1.AppService.GetFragmentHistory:input_type -> viam.app.v1.GetFragmentHistoryRequest + 135, // 187: viam.app.v1.AppService.AddRole:input_type -> viam.app.v1.AddRoleRequest + 137, // 188: viam.app.v1.AppService.RemoveRole:input_type -> viam.app.v1.RemoveRoleRequest + 139, // 189: viam.app.v1.AppService.ChangeRole:input_type -> viam.app.v1.ChangeRoleRequest + 141, // 190: viam.app.v1.AppService.ListAuthorizations:input_type -> viam.app.v1.ListAuthorizationsRequest + 143, // 191: viam.app.v1.AppService.CheckPermissions:input_type -> viam.app.v1.CheckPermissionsRequest + 152, // 192: viam.app.v1.AppService.GetRegistryItem:input_type -> viam.app.v1.GetRegistryItemRequest + 154, // 193: viam.app.v1.AppService.CreateRegistryItem:input_type -> viam.app.v1.CreateRegistryItemRequest + 156, // 194: viam.app.v1.AppService.UpdateRegistryItem:input_type -> viam.app.v1.UpdateRegistryItemRequest + 158, // 195: viam.app.v1.AppService.ListRegistryItems:input_type -> viam.app.v1.ListRegistryItemsRequest + 160, // 196: viam.app.v1.AppService.DeleteRegistryItem:input_type -> viam.app.v1.DeleteRegistryItemRequest + 162, // 197: viam.app.v1.AppService.TransferRegistryItem:input_type -> viam.app.v1.TransferRegistryItemRequest + 164, // 198: viam.app.v1.AppService.CreateModule:input_type -> viam.app.v1.CreateModuleRequest + 166, // 199: viam.app.v1.AppService.UpdateModule:input_type -> viam.app.v1.UpdateModuleRequest + 170, // 200: viam.app.v1.AppService.UploadModuleFile:input_type -> viam.app.v1.UploadModuleFileRequest + 172, // 201: viam.app.v1.AppService.GetModule:input_type -> viam.app.v1.GetModuleRequest + 177, // 202: viam.app.v1.AppService.ListModules:input_type -> viam.app.v1.ListModulesRequest + 184, // 203: viam.app.v1.AppService.CreateKey:input_type -> viam.app.v1.CreateKeyRequest + 186, // 204: viam.app.v1.AppService.DeleteKey:input_type -> viam.app.v1.DeleteKeyRequest + 192, // 205: viam.app.v1.AppService.ListKeys:input_type -> viam.app.v1.ListKeysRequest + 188, // 206: viam.app.v1.AppService.RenameKey:input_type -> viam.app.v1.RenameKeyRequest + 194, // 207: viam.app.v1.AppService.RotateKey:input_type -> viam.app.v1.RotateKeyRequest + 196, // 208: viam.app.v1.AppService.CreateKeyFromExistingKeyAuthorizations:input_type -> viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest + 180, // 209: viam.app.v1.AppService.GetUserIDByEmail:output_type -> viam.app.v1.GetUserIDByEmailResponse + 16, // 210: viam.app.v1.AppService.CreateOrganization:output_type -> viam.app.v1.CreateOrganizationResponse + 13, // 211: viam.app.v1.AppService.ListOrganizations:output_type -> viam.app.v1.ListOrganizationsResponse + 63, // 212: viam.app.v1.AppService.GetOrganizationsWithAccessToLocation:output_type -> viam.app.v1.GetOrganizationsWithAccessToLocationResponse + 183, // 213: viam.app.v1.AppService.ListOrganizationsByUser:output_type -> viam.app.v1.ListOrganizationsByUserResponse + 18, // 214: viam.app.v1.AppService.GetOrganization:output_type -> viam.app.v1.GetOrganizationResponse + 20, // 215: viam.app.v1.AppService.GetOrganizationNamespaceAvailability:output_type -> viam.app.v1.GetOrganizationNamespaceAvailabilityResponse + 22, // 216: viam.app.v1.AppService.UpdateOrganization:output_type -> viam.app.v1.UpdateOrganizationResponse + 24, // 217: viam.app.v1.AppService.DeleteOrganization:output_type -> viam.app.v1.DeleteOrganizationResponse + 26, // 218: viam.app.v1.AppService.ListOrganizationMembers:output_type -> viam.app.v1.ListOrganizationMembersResponse + 28, // 219: viam.app.v1.AppService.CreateOrganizationInvite:output_type -> viam.app.v1.CreateOrganizationInviteResponse + 30, // 220: viam.app.v1.AppService.UpdateOrganizationInviteAuthorizations:output_type -> viam.app.v1.UpdateOrganizationInviteAuthorizationsResponse + 36, // 221: viam.app.v1.AppService.DeleteOrganizationMember:output_type -> viam.app.v1.DeleteOrganizationMemberResponse + 32, // 222: viam.app.v1.AppService.DeleteOrganizationInvite:output_type -> viam.app.v1.DeleteOrganizationInviteResponse + 34, // 223: viam.app.v1.AppService.ResendOrganizationInvite:output_type -> viam.app.v1.ResendOrganizationInviteResponse + 39, // 224: viam.app.v1.AppService.EnableBillingService:output_type -> viam.app.v1.EnableBillingServiceResponse + 43, // 225: viam.app.v1.AppService.DisableBillingService:output_type -> viam.app.v1.DisableBillingServiceResponse + 41, // 226: viam.app.v1.AppService.UpdateBillingService:output_type -> viam.app.v1.UpdateBillingServiceResponse + 45, // 227: viam.app.v1.AppService.OrganizationSetSupportEmail:output_type -> viam.app.v1.OrganizationSetSupportEmailResponse + 47, // 228: viam.app.v1.AppService.OrganizationGetSupportEmail:output_type -> viam.app.v1.OrganizationGetSupportEmailResponse + 55, // 229: viam.app.v1.AppService.CreateLocation:output_type -> viam.app.v1.CreateLocationResponse + 57, // 230: viam.app.v1.AppService.GetLocation:output_type -> viam.app.v1.GetLocationResponse + 59, // 231: viam.app.v1.AppService.UpdateLocation:output_type -> viam.app.v1.UpdateLocationResponse + 61, // 232: viam.app.v1.AppService.DeleteLocation:output_type -> viam.app.v1.DeleteLocationResponse + 69, // 233: viam.app.v1.AppService.ListLocations:output_type -> viam.app.v1.ListLocationsResponse + 66, // 234: viam.app.v1.AppService.ShareLocation:output_type -> viam.app.v1.ShareLocationResponse + 68, // 235: viam.app.v1.AppService.UnshareLocation:output_type -> viam.app.v1.UnshareLocationResponse + 75, // 236: viam.app.v1.AppService.LocationAuth:output_type -> viam.app.v1.LocationAuthResponse + 71, // 237: viam.app.v1.AppService.CreateLocationSecret:output_type -> viam.app.v1.CreateLocationSecretResponse + 73, // 238: viam.app.v1.AppService.DeleteLocationSecret:output_type -> viam.app.v1.DeleteLocationSecretResponse + 80, // 239: viam.app.v1.AppService.GetRobot:output_type -> viam.app.v1.GetRobotResponse + 79, // 240: viam.app.v1.AppService.GetRoverRentalRobots:output_type -> viam.app.v1.GetRoverRentalRobotsResponse + 82, // 241: viam.app.v1.AppService.GetRobotParts:output_type -> viam.app.v1.GetRobotPartsResponse + 84, // 242: viam.app.v1.AppService.GetRobotPart:output_type -> viam.app.v1.GetRobotPartResponse + 86, // 243: viam.app.v1.AppService.GetRobotPartLogs:output_type -> viam.app.v1.GetRobotPartLogsResponse + 88, // 244: viam.app.v1.AppService.TailRobotPartLogs:output_type -> viam.app.v1.TailRobotPartLogsResponse + 90, // 245: viam.app.v1.AppService.GetRobotPartHistory:output_type -> viam.app.v1.GetRobotPartHistoryResponse + 92, // 246: viam.app.v1.AppService.UpdateRobotPart:output_type -> viam.app.v1.UpdateRobotPartResponse + 94, // 247: viam.app.v1.AppService.NewRobotPart:output_type -> viam.app.v1.NewRobotPartResponse + 99, // 248: viam.app.v1.AppService.DeleteRobotPart:output_type -> viam.app.v1.DeleteRobotPartResponse + 98, // 249: viam.app.v1.AppService.GetRobotAPIKeys:output_type -> viam.app.v1.GetRobotAPIKeysResponse + 127, // 250: viam.app.v1.AppService.MarkPartAsMain:output_type -> viam.app.v1.MarkPartAsMainResponse + 129, // 251: viam.app.v1.AppService.MarkPartForRestart:output_type -> viam.app.v1.MarkPartForRestartResponse + 131, // 252: viam.app.v1.AppService.CreateRobotPartSecret:output_type -> viam.app.v1.CreateRobotPartSecretResponse + 133, // 253: viam.app.v1.AppService.DeleteRobotPartSecret:output_type -> viam.app.v1.DeleteRobotPartSecretResponse + 119, // 254: viam.app.v1.AppService.ListRobots:output_type -> viam.app.v1.ListRobotsResponse + 121, // 255: viam.app.v1.AppService.NewRobot:output_type -> viam.app.v1.NewRobotResponse + 123, // 256: viam.app.v1.AppService.UpdateRobot:output_type -> viam.app.v1.UpdateRobotResponse + 125, // 257: viam.app.v1.AppService.DeleteRobot:output_type -> viam.app.v1.DeleteRobotResponse + 105, // 258: viam.app.v1.AppService.ListFragments:output_type -> viam.app.v1.ListFragmentsResponse + 107, // 259: viam.app.v1.AppService.GetFragment:output_type -> viam.app.v1.GetFragmentResponse + 109, // 260: viam.app.v1.AppService.CreateFragment:output_type -> viam.app.v1.CreateFragmentResponse + 111, // 261: viam.app.v1.AppService.UpdateFragment:output_type -> viam.app.v1.UpdateFragmentResponse + 113, // 262: viam.app.v1.AppService.DeleteFragment:output_type -> viam.app.v1.DeleteFragmentResponse + 118, // 263: viam.app.v1.AppService.ListMachineFragments:output_type -> viam.app.v1.ListMachineFragmentsResponse + 115, // 264: viam.app.v1.AppService.GetFragmentHistory:output_type -> viam.app.v1.GetFragmentHistoryResponse + 136, // 265: viam.app.v1.AppService.AddRole:output_type -> viam.app.v1.AddRoleResponse + 138, // 266: viam.app.v1.AppService.RemoveRole:output_type -> viam.app.v1.RemoveRoleResponse + 140, // 267: viam.app.v1.AppService.ChangeRole:output_type -> viam.app.v1.ChangeRoleResponse + 142, // 268: viam.app.v1.AppService.ListAuthorizations:output_type -> viam.app.v1.ListAuthorizationsResponse + 145, // 269: viam.app.v1.AppService.CheckPermissions:output_type -> viam.app.v1.CheckPermissionsResponse + 153, // 270: viam.app.v1.AppService.GetRegistryItem:output_type -> viam.app.v1.GetRegistryItemResponse + 155, // 271: viam.app.v1.AppService.CreateRegistryItem:output_type -> viam.app.v1.CreateRegistryItemResponse + 157, // 272: viam.app.v1.AppService.UpdateRegistryItem:output_type -> viam.app.v1.UpdateRegistryItemResponse + 159, // 273: viam.app.v1.AppService.ListRegistryItems:output_type -> viam.app.v1.ListRegistryItemsResponse + 161, // 274: viam.app.v1.AppService.DeleteRegistryItem:output_type -> viam.app.v1.DeleteRegistryItemResponse + 163, // 275: viam.app.v1.AppService.TransferRegistryItem:output_type -> viam.app.v1.TransferRegistryItemResponse + 165, // 276: viam.app.v1.AppService.CreateModule:output_type -> viam.app.v1.CreateModuleResponse + 167, // 277: viam.app.v1.AppService.UpdateModule:output_type -> viam.app.v1.UpdateModuleResponse + 171, // 278: viam.app.v1.AppService.UploadModuleFile:output_type -> viam.app.v1.UploadModuleFileResponse + 173, // 279: viam.app.v1.AppService.GetModule:output_type -> viam.app.v1.GetModuleResponse + 178, // 280: viam.app.v1.AppService.ListModules:output_type -> viam.app.v1.ListModulesResponse + 185, // 281: viam.app.v1.AppService.CreateKey:output_type -> viam.app.v1.CreateKeyResponse + 187, // 282: viam.app.v1.AppService.DeleteKey:output_type -> viam.app.v1.DeleteKeyResponse + 193, // 283: viam.app.v1.AppService.ListKeys:output_type -> viam.app.v1.ListKeysResponse + 189, // 284: viam.app.v1.AppService.RenameKey:output_type -> viam.app.v1.RenameKeyResponse + 195, // 285: viam.app.v1.AppService.RotateKey:output_type -> viam.app.v1.RotateKeyResponse + 197, // 286: viam.app.v1.AppService.CreateKeyFromExistingKeyAuthorizations:output_type -> viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse + 209, // [209:287] is the sub-list for method output_type + 131, // [131:209] is the sub-list for method input_type + 131, // [131:131] is the sub-list for extension type_name + 131, // [131:131] is the sub-list for extension extendee + 0, // [0:131] is the sub-list for field type_name } func init() { file_app_v1_app_proto_init() } @@ -13797,2372 +13299,42 @@ func file_app_v1_app_proto_init() { if File_app_v1_app_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_app_v1_app_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Robot); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RobotPart); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RobotPartHistoryEntry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuthenticatorInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListOrganizationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Organization); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrganizationMember); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListOrganizationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrganizationInvite); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateOrganizationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateOrganizationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrganizationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrganizationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrganizationNamespaceAvailabilityRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrganizationNamespaceAvailabilityResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateOrganizationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateOrganizationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteOrganizationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteOrganizationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListOrganizationMembersRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListOrganizationMembersResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateOrganizationInviteRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateOrganizationInviteResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateOrganizationInviteAuthorizationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateOrganizationInviteAuthorizationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteOrganizationInviteRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteOrganizationInviteResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResendOrganizationInviteRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResendOrganizationInviteResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteOrganizationMemberRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteOrganizationMemberResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BillingAddress); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnableBillingServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnableBillingServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateBillingServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateBillingServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBillingServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBillingServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisableBillingServiceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisableBillingServiceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrganizationSetSupportEmailRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrganizationSetSupportEmailResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrganizationGetSupportEmailRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrganizationGetSupportEmailResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrganizationIdentity); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocationOrganization); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocationAuth); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StorageConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Location); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SharedSecret); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateLocationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateLocationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLocationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLocationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateLocationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateLocationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteLocationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteLocationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrganizationsWithAccessToLocationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrganizationsWithAccessToLocationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListLocationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShareLocationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShareLocationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnshareLocationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnshareLocationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListLocationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateLocationSecretRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateLocationSecretResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteLocationSecretRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteLocationSecretResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocationAuthRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocationAuthResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRobotRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRoverRentalRobotsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RoverRentalRobot); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRoverRentalRobotsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRobotResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRobotPartsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRobotPartsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRobotPartRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRobotPartResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRobotPartLogsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRobotPartLogsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TailRobotPartLogsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TailRobotPartLogsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRobotPartHistoryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRobotPartHistoryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRobotPartRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRobotPartResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewRobotPartRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewRobotPartResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRobotPartRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRobotAPIKeysRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*APIKey); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRobotAPIKeysResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRobotPartResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Fragment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FragmentHistoryEntry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FragmentError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResolvedFragment); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFragmentsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFragmentsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFragmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFragmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateFragmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateFragmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateFragmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateFragmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteFragmentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteFragmentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFragmentHistoryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFragmentHistoryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRobotsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMachineFragmentsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMachineFragmentsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRobotsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewRobotRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewRobotResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRobotRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRobotResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRobotRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRobotResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkPartAsMainRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkPartAsMainResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkPartForRestartRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkPartForRestartResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRobotPartSecretRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRobotPartSecretResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRobotPartSecretRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRobotPartSecretResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Authorization); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddRoleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddRoleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveRoleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveRoleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangeRoleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangeRoleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAuthorizationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAuthorizationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckPermissionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuthorizedPermissions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckPermissionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ModuleVersion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ModuleMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MLModelMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MLTrainingVersion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MLTrainingMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegistryItem); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRegistryItemRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRegistryItemResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRegistryItemRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRegistryItemResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRegistryItemRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRegistryItemResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRegistryItemsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRegistryItemsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRegistryItemRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRegistryItemResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransferRegistryItemRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransferRegistryItemResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateModuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateModuleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateModuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateModuleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Model); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ModuleFileInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadModuleFileRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadModuleFileResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetModuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetModuleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Module); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VersionHistory); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Uploads); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListModulesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListModulesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserIDByEmailRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetUserIDByEmailResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListOrganizationsByUserRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrgDetails); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListOrganizationsByUserResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateKeyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateKeyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteKeyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteKeyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameKeyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameKeyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[186].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuthorizationDetails); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[187].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*APIKeyWithAuthorizations); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[188].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListKeysRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[189].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListKeysResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[190].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RotateKeyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[191].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RotateKeyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[192].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateKeyFromExistingKeyAuthorizationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_app_proto_msgTypes[193].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateKeyFromExistingKeyAuthorizationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_app_v1_app_proto_msgTypes[5].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[6].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[15].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[21].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[31].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[50].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[54].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[81].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[83].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[104].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[106].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[110].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[142].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[143].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[147].OneofWrappers = []interface{}{ + file_app_v1_app_proto_msgTypes[5].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[6].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[15].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[21].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[31].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[48].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[52].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[79].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[81].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[102].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[104].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[108].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[140].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[141].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[145].OneofWrappers = []any{ (*RegistryItem_ModuleMetadata)(nil), (*RegistryItem_MlModelMetadata)(nil), (*RegistryItem_MlTrainingMetadata)(nil), } - file_app_v1_app_proto_msgTypes[152].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[154].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[162].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[166].OneofWrappers = []interface{}{ + file_app_v1_app_proto_msgTypes[150].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[152].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[160].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[164].OneofWrappers = []any{ (*UploadModuleFileRequest_ModuleFileInfo)(nil), (*UploadModuleFileRequest_File)(nil), } - file_app_v1_app_proto_msgTypes[170].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[171].OneofWrappers = []interface{}{} - file_app_v1_app_proto_msgTypes[173].OneofWrappers = []interface{}{} + file_app_v1_app_proto_msgTypes[168].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[169].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[171].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_app_v1_app_proto_rawDesc, NumEnums: 6, - NumMessages: 194, + NumMessages: 192, NumExtensions: 0, NumServices: 1, }, diff --git a/app/v1/app.pb.gw.go b/app/v1/app.pb.gw.go index d47e53b9..d7a52995 100644 --- a/app/v1/app.pb.gw.go +++ b/app/v1/app.pb.gw.go @@ -35,11 +35,7 @@ func request_AppService_GetUserIDByEmail_0(ctx context.Context, marshaler runtim var protoReq GetUserIDByEmailRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_AppService_GetUserIDByEmail_0(ctx context.Context, marshaler var protoReq GetUserIDByEmailRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -69,11 +61,7 @@ func request_AppService_CreateOrganization_0(ctx context.Context, marshaler runt var protoReq CreateOrganizationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -86,11 +74,7 @@ func local_request_AppService_CreateOrganization_0(ctx context.Context, marshale var protoReq CreateOrganizationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -103,11 +87,7 @@ func request_AppService_ListOrganizations_0(ctx context.Context, marshaler runti var protoReq ListOrganizationsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -120,11 +100,7 @@ func local_request_AppService_ListOrganizations_0(ctx context.Context, marshaler var protoReq ListOrganizationsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,11 +113,7 @@ func request_AppService_GetOrganizationsWithAccessToLocation_0(ctx context.Conte var protoReq GetOrganizationsWithAccessToLocationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -154,11 +126,7 @@ func local_request_AppService_GetOrganizationsWithAccessToLocation_0(ctx context var protoReq GetOrganizationsWithAccessToLocationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -171,11 +139,7 @@ func request_AppService_ListOrganizationsByUser_0(ctx context.Context, marshaler var protoReq ListOrganizationsByUserRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -188,11 +152,7 @@ func local_request_AppService_ListOrganizationsByUser_0(ctx context.Context, mar var protoReq ListOrganizationsByUserRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -205,11 +165,7 @@ func request_AppService_GetOrganization_0(ctx context.Context, marshaler runtime var protoReq GetOrganizationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -222,11 +178,7 @@ func local_request_AppService_GetOrganization_0(ctx context.Context, marshaler r var protoReq GetOrganizationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -239,11 +191,7 @@ func request_AppService_GetOrganizationNamespaceAvailability_0(ctx context.Conte var protoReq GetOrganizationNamespaceAvailabilityRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -256,11 +204,7 @@ func local_request_AppService_GetOrganizationNamespaceAvailability_0(ctx context var protoReq GetOrganizationNamespaceAvailabilityRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -273,11 +217,7 @@ func request_AppService_UpdateOrganization_0(ctx context.Context, marshaler runt var protoReq UpdateOrganizationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -290,11 +230,7 @@ func local_request_AppService_UpdateOrganization_0(ctx context.Context, marshale var protoReq UpdateOrganizationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -307,11 +243,7 @@ func request_AppService_DeleteOrganization_0(ctx context.Context, marshaler runt var protoReq DeleteOrganizationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -324,11 +256,7 @@ func local_request_AppService_DeleteOrganization_0(ctx context.Context, marshale var protoReq DeleteOrganizationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -341,11 +269,7 @@ func request_AppService_ListOrganizationMembers_0(ctx context.Context, marshaler var protoReq ListOrganizationMembersRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -358,11 +282,7 @@ func local_request_AppService_ListOrganizationMembers_0(ctx context.Context, mar var protoReq ListOrganizationMembersRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -375,11 +295,7 @@ func request_AppService_CreateOrganizationInvite_0(ctx context.Context, marshale var protoReq CreateOrganizationInviteRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -392,11 +308,7 @@ func local_request_AppService_CreateOrganizationInvite_0(ctx context.Context, ma var protoReq CreateOrganizationInviteRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -409,11 +321,7 @@ func request_AppService_UpdateOrganizationInviteAuthorizations_0(ctx context.Con var protoReq UpdateOrganizationInviteAuthorizationsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -426,11 +334,7 @@ func local_request_AppService_UpdateOrganizationInviteAuthorizations_0(ctx conte var protoReq UpdateOrganizationInviteAuthorizationsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -443,11 +347,7 @@ func request_AppService_DeleteOrganizationMember_0(ctx context.Context, marshale var protoReq DeleteOrganizationMemberRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -460,11 +360,7 @@ func local_request_AppService_DeleteOrganizationMember_0(ctx context.Context, ma var protoReq DeleteOrganizationMemberRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -477,11 +373,7 @@ func request_AppService_DeleteOrganizationInvite_0(ctx context.Context, marshale var protoReq DeleteOrganizationInviteRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -494,11 +386,7 @@ func local_request_AppService_DeleteOrganizationInvite_0(ctx context.Context, ma var protoReq DeleteOrganizationInviteRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -511,11 +399,7 @@ func request_AppService_ResendOrganizationInvite_0(ctx context.Context, marshale var protoReq ResendOrganizationInviteRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -528,11 +412,7 @@ func local_request_AppService_ResendOrganizationInvite_0(ctx context.Context, ma var protoReq ResendOrganizationInviteRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -545,11 +425,7 @@ func request_AppService_EnableBillingService_0(ctx context.Context, marshaler ru var protoReq EnableBillingServiceRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -562,11 +438,7 @@ func local_request_AppService_EnableBillingService_0(ctx context.Context, marsha var protoReq EnableBillingServiceRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -579,11 +451,7 @@ func request_AppService_DisableBillingService_0(ctx context.Context, marshaler r var protoReq DisableBillingServiceRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -596,11 +464,7 @@ func local_request_AppService_DisableBillingService_0(ctx context.Context, marsh var protoReq DisableBillingServiceRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -613,11 +477,7 @@ func request_AppService_UpdateBillingService_0(ctx context.Context, marshaler ru var protoReq UpdateBillingServiceRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -630,11 +490,7 @@ func local_request_AppService_UpdateBillingService_0(ctx context.Context, marsha var protoReq UpdateBillingServiceRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -643,49 +499,11 @@ func local_request_AppService_UpdateBillingService_0(ctx context.Context, marsha } -func request_AppService_GetBillingService_0(ctx context.Context, marshaler runtime.Marshaler, client AppServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq GetBillingServiceRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetBillingService(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_AppService_GetBillingService_0(ctx context.Context, marshaler runtime.Marshaler, server AppServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq GetBillingServiceRequest - var metadata runtime.ServerMetadata - - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.GetBillingService(ctx, &protoReq) - return msg, metadata, err - -} - func request_AppService_OrganizationSetSupportEmail_0(ctx context.Context, marshaler runtime.Marshaler, client AppServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq OrganizationSetSupportEmailRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -698,11 +516,7 @@ func local_request_AppService_OrganizationSetSupportEmail_0(ctx context.Context, var protoReq OrganizationSetSupportEmailRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -715,11 +529,7 @@ func request_AppService_OrganizationGetSupportEmail_0(ctx context.Context, marsh var protoReq OrganizationGetSupportEmailRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -732,11 +542,7 @@ func local_request_AppService_OrganizationGetSupportEmail_0(ctx context.Context, var protoReq OrganizationGetSupportEmailRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -749,11 +555,7 @@ func request_AppService_CreateLocation_0(ctx context.Context, marshaler runtime. var protoReq CreateLocationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -766,11 +568,7 @@ func local_request_AppService_CreateLocation_0(ctx context.Context, marshaler ru var protoReq CreateLocationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -783,11 +581,7 @@ func request_AppService_GetLocation_0(ctx context.Context, marshaler runtime.Mar var protoReq GetLocationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -800,11 +594,7 @@ func local_request_AppService_GetLocation_0(ctx context.Context, marshaler runti var protoReq GetLocationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -817,11 +607,7 @@ func request_AppService_UpdateLocation_0(ctx context.Context, marshaler runtime. var protoReq UpdateLocationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -834,11 +620,7 @@ func local_request_AppService_UpdateLocation_0(ctx context.Context, marshaler ru var protoReq UpdateLocationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -851,11 +633,7 @@ func request_AppService_DeleteLocation_0(ctx context.Context, marshaler runtime. var protoReq DeleteLocationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -868,11 +646,7 @@ func local_request_AppService_DeleteLocation_0(ctx context.Context, marshaler ru var protoReq DeleteLocationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -885,11 +659,7 @@ func request_AppService_ListLocations_0(ctx context.Context, marshaler runtime.M var protoReq ListLocationsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -902,11 +672,7 @@ func local_request_AppService_ListLocations_0(ctx context.Context, marshaler run var protoReq ListLocationsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -919,11 +685,7 @@ func request_AppService_ShareLocation_0(ctx context.Context, marshaler runtime.M var protoReq ShareLocationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -936,11 +698,7 @@ func local_request_AppService_ShareLocation_0(ctx context.Context, marshaler run var protoReq ShareLocationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -953,11 +711,7 @@ func request_AppService_UnshareLocation_0(ctx context.Context, marshaler runtime var protoReq UnshareLocationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -970,11 +724,7 @@ func local_request_AppService_UnshareLocation_0(ctx context.Context, marshaler r var protoReq UnshareLocationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -987,11 +737,7 @@ func request_AppService_LocationAuth_0(ctx context.Context, marshaler runtime.Ma var protoReq LocationAuthRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1004,11 +750,7 @@ func local_request_AppService_LocationAuth_0(ctx context.Context, marshaler runt var protoReq LocationAuthRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1021,11 +763,7 @@ func request_AppService_CreateLocationSecret_0(ctx context.Context, marshaler ru var protoReq CreateLocationSecretRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1038,11 +776,7 @@ func local_request_AppService_CreateLocationSecret_0(ctx context.Context, marsha var protoReq CreateLocationSecretRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1055,11 +789,7 @@ func request_AppService_DeleteLocationSecret_0(ctx context.Context, marshaler ru var protoReq DeleteLocationSecretRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1072,11 +802,7 @@ func local_request_AppService_DeleteLocationSecret_0(ctx context.Context, marsha var protoReq DeleteLocationSecretRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1089,11 +815,7 @@ func request_AppService_GetRobot_0(ctx context.Context, marshaler runtime.Marsha var protoReq GetRobotRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1106,11 +828,7 @@ func local_request_AppService_GetRobot_0(ctx context.Context, marshaler runtime. var protoReq GetRobotRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1123,11 +841,7 @@ func request_AppService_GetRoverRentalRobots_0(ctx context.Context, marshaler ru var protoReq GetRoverRentalRobotsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1140,11 +854,7 @@ func local_request_AppService_GetRoverRentalRobots_0(ctx context.Context, marsha var protoReq GetRoverRentalRobotsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1157,11 +867,7 @@ func request_AppService_GetRobotParts_0(ctx context.Context, marshaler runtime.M var protoReq GetRobotPartsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1174,11 +880,7 @@ func local_request_AppService_GetRobotParts_0(ctx context.Context, marshaler run var protoReq GetRobotPartsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1191,11 +893,7 @@ func request_AppService_GetRobotPart_0(ctx context.Context, marshaler runtime.Ma var protoReq GetRobotPartRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1208,11 +906,7 @@ func local_request_AppService_GetRobotPart_0(ctx context.Context, marshaler runt var protoReq GetRobotPartRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1225,11 +919,7 @@ func request_AppService_GetRobotPartLogs_0(ctx context.Context, marshaler runtim var protoReq GetRobotPartLogsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1242,11 +932,7 @@ func local_request_AppService_GetRobotPartLogs_0(ctx context.Context, marshaler var protoReq GetRobotPartLogsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1259,11 +945,7 @@ func request_AppService_TailRobotPartLogs_0(ctx context.Context, marshaler runti var protoReq TailRobotPartLogsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1284,11 +966,7 @@ func request_AppService_GetRobotPartHistory_0(ctx context.Context, marshaler run var protoReq GetRobotPartHistoryRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1301,11 +979,7 @@ func local_request_AppService_GetRobotPartHistory_0(ctx context.Context, marshal var protoReq GetRobotPartHistoryRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1318,11 +992,7 @@ func request_AppService_UpdateRobotPart_0(ctx context.Context, marshaler runtime var protoReq UpdateRobotPartRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1335,11 +1005,7 @@ func local_request_AppService_UpdateRobotPart_0(ctx context.Context, marshaler r var protoReq UpdateRobotPartRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1352,11 +1018,7 @@ func request_AppService_NewRobotPart_0(ctx context.Context, marshaler runtime.Ma var protoReq NewRobotPartRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1369,11 +1031,7 @@ func local_request_AppService_NewRobotPart_0(ctx context.Context, marshaler runt var protoReq NewRobotPartRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1386,11 +1044,7 @@ func request_AppService_DeleteRobotPart_0(ctx context.Context, marshaler runtime var protoReq DeleteRobotPartRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1403,11 +1057,7 @@ func local_request_AppService_DeleteRobotPart_0(ctx context.Context, marshaler r var protoReq DeleteRobotPartRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1420,11 +1070,7 @@ func request_AppService_GetRobotAPIKeys_0(ctx context.Context, marshaler runtime var protoReq GetRobotAPIKeysRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1437,11 +1083,7 @@ func local_request_AppService_GetRobotAPIKeys_0(ctx context.Context, marshaler r var protoReq GetRobotAPIKeysRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1454,11 +1096,7 @@ func request_AppService_MarkPartAsMain_0(ctx context.Context, marshaler runtime. var protoReq MarkPartAsMainRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1471,11 +1109,7 @@ func local_request_AppService_MarkPartAsMain_0(ctx context.Context, marshaler ru var protoReq MarkPartAsMainRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1488,11 +1122,7 @@ func request_AppService_MarkPartForRestart_0(ctx context.Context, marshaler runt var protoReq MarkPartForRestartRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1505,11 +1135,7 @@ func local_request_AppService_MarkPartForRestart_0(ctx context.Context, marshale var protoReq MarkPartForRestartRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1522,11 +1148,7 @@ func request_AppService_CreateRobotPartSecret_0(ctx context.Context, marshaler r var protoReq CreateRobotPartSecretRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1539,11 +1161,7 @@ func local_request_AppService_CreateRobotPartSecret_0(ctx context.Context, marsh var protoReq CreateRobotPartSecretRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1556,11 +1174,7 @@ func request_AppService_DeleteRobotPartSecret_0(ctx context.Context, marshaler r var protoReq DeleteRobotPartSecretRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1573,11 +1187,7 @@ func local_request_AppService_DeleteRobotPartSecret_0(ctx context.Context, marsh var protoReq DeleteRobotPartSecretRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1590,11 +1200,7 @@ func request_AppService_ListRobots_0(ctx context.Context, marshaler runtime.Mars var protoReq ListRobotsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1607,11 +1213,7 @@ func local_request_AppService_ListRobots_0(ctx context.Context, marshaler runtim var protoReq ListRobotsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1624,11 +1226,7 @@ func request_AppService_NewRobot_0(ctx context.Context, marshaler runtime.Marsha var protoReq NewRobotRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1641,11 +1239,7 @@ func local_request_AppService_NewRobot_0(ctx context.Context, marshaler runtime. var protoReq NewRobotRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1658,11 +1252,7 @@ func request_AppService_UpdateRobot_0(ctx context.Context, marshaler runtime.Mar var protoReq UpdateRobotRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1675,11 +1265,7 @@ func local_request_AppService_UpdateRobot_0(ctx context.Context, marshaler runti var protoReq UpdateRobotRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1692,11 +1278,7 @@ func request_AppService_DeleteRobot_0(ctx context.Context, marshaler runtime.Mar var protoReq DeleteRobotRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1709,11 +1291,7 @@ func local_request_AppService_DeleteRobot_0(ctx context.Context, marshaler runti var protoReq DeleteRobotRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1726,11 +1304,7 @@ func request_AppService_ListFragments_0(ctx context.Context, marshaler runtime.M var protoReq ListFragmentsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1743,11 +1317,7 @@ func local_request_AppService_ListFragments_0(ctx context.Context, marshaler run var protoReq ListFragmentsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1760,11 +1330,7 @@ func request_AppService_GetFragment_0(ctx context.Context, marshaler runtime.Mar var protoReq GetFragmentRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1777,11 +1343,7 @@ func local_request_AppService_GetFragment_0(ctx context.Context, marshaler runti var protoReq GetFragmentRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1794,11 +1356,7 @@ func request_AppService_CreateFragment_0(ctx context.Context, marshaler runtime. var protoReq CreateFragmentRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1811,11 +1369,7 @@ func local_request_AppService_CreateFragment_0(ctx context.Context, marshaler ru var protoReq CreateFragmentRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1828,11 +1382,7 @@ func request_AppService_UpdateFragment_0(ctx context.Context, marshaler runtime. var protoReq UpdateFragmentRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1845,11 +1395,7 @@ func local_request_AppService_UpdateFragment_0(ctx context.Context, marshaler ru var protoReq UpdateFragmentRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1862,11 +1408,7 @@ func request_AppService_DeleteFragment_0(ctx context.Context, marshaler runtime. var protoReq DeleteFragmentRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1879,11 +1421,7 @@ func local_request_AppService_DeleteFragment_0(ctx context.Context, marshaler ru var protoReq DeleteFragmentRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1896,11 +1434,7 @@ func request_AppService_ListMachineFragments_0(ctx context.Context, marshaler ru var protoReq ListMachineFragmentsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1913,11 +1447,7 @@ func local_request_AppService_ListMachineFragments_0(ctx context.Context, marsha var protoReq ListMachineFragmentsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1930,11 +1460,7 @@ func request_AppService_GetFragmentHistory_0(ctx context.Context, marshaler runt var protoReq GetFragmentHistoryRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1947,11 +1473,7 @@ func local_request_AppService_GetFragmentHistory_0(ctx context.Context, marshale var protoReq GetFragmentHistoryRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1964,11 +1486,7 @@ func request_AppService_AddRole_0(ctx context.Context, marshaler runtime.Marshal var protoReq AddRoleRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1981,11 +1499,7 @@ func local_request_AppService_AddRole_0(ctx context.Context, marshaler runtime.M var protoReq AddRoleRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -1998,11 +1512,7 @@ func request_AppService_RemoveRole_0(ctx context.Context, marshaler runtime.Mars var protoReq RemoveRoleRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2015,11 +1525,7 @@ func local_request_AppService_RemoveRole_0(ctx context.Context, marshaler runtim var protoReq RemoveRoleRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2032,11 +1538,7 @@ func request_AppService_ChangeRole_0(ctx context.Context, marshaler runtime.Mars var protoReq ChangeRoleRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2049,11 +1551,7 @@ func local_request_AppService_ChangeRole_0(ctx context.Context, marshaler runtim var protoReq ChangeRoleRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2066,11 +1564,7 @@ func request_AppService_ListAuthorizations_0(ctx context.Context, marshaler runt var protoReq ListAuthorizationsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2083,11 +1577,7 @@ func local_request_AppService_ListAuthorizations_0(ctx context.Context, marshale var protoReq ListAuthorizationsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2100,11 +1590,7 @@ func request_AppService_CheckPermissions_0(ctx context.Context, marshaler runtim var protoReq CheckPermissionsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2117,11 +1603,7 @@ func local_request_AppService_CheckPermissions_0(ctx context.Context, marshaler var protoReq CheckPermissionsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2134,11 +1616,7 @@ func request_AppService_GetRegistryItem_0(ctx context.Context, marshaler runtime var protoReq GetRegistryItemRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2151,11 +1629,7 @@ func local_request_AppService_GetRegistryItem_0(ctx context.Context, marshaler r var protoReq GetRegistryItemRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2168,11 +1642,7 @@ func request_AppService_CreateRegistryItem_0(ctx context.Context, marshaler runt var protoReq CreateRegistryItemRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2185,11 +1655,7 @@ func local_request_AppService_CreateRegistryItem_0(ctx context.Context, marshale var protoReq CreateRegistryItemRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2202,11 +1668,7 @@ func request_AppService_UpdateRegistryItem_0(ctx context.Context, marshaler runt var protoReq UpdateRegistryItemRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2219,11 +1681,7 @@ func local_request_AppService_UpdateRegistryItem_0(ctx context.Context, marshale var protoReq UpdateRegistryItemRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2236,11 +1694,7 @@ func request_AppService_ListRegistryItems_0(ctx context.Context, marshaler runti var protoReq ListRegistryItemsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2253,11 +1707,7 @@ func local_request_AppService_ListRegistryItems_0(ctx context.Context, marshaler var protoReq ListRegistryItemsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2270,11 +1720,7 @@ func request_AppService_DeleteRegistryItem_0(ctx context.Context, marshaler runt var protoReq DeleteRegistryItemRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2287,11 +1733,7 @@ func local_request_AppService_DeleteRegistryItem_0(ctx context.Context, marshale var protoReq DeleteRegistryItemRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2304,11 +1746,7 @@ func request_AppService_TransferRegistryItem_0(ctx context.Context, marshaler ru var protoReq TransferRegistryItemRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2321,11 +1759,7 @@ func local_request_AppService_TransferRegistryItem_0(ctx context.Context, marsha var protoReq TransferRegistryItemRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2338,11 +1772,7 @@ func request_AppService_CreateModule_0(ctx context.Context, marshaler runtime.Ma var protoReq CreateModuleRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2355,11 +1785,7 @@ func local_request_AppService_CreateModule_0(ctx context.Context, marshaler runt var protoReq CreateModuleRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2372,11 +1798,7 @@ func request_AppService_UpdateModule_0(ctx context.Context, marshaler runtime.Ma var protoReq UpdateModuleRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2389,11 +1811,7 @@ func local_request_AppService_UpdateModule_0(ctx context.Context, marshaler runt var protoReq UpdateModuleRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2406,7 +1824,7 @@ func request_AppService_UploadModuleFile_0(ctx context.Context, marshaler runtim var metadata runtime.ServerMetadata stream, err := client.UploadModuleFile(ctx) if err != nil { - grpclog.Infof("Failed to start streaming: %v", err) + grpclog.Errorf("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -2417,25 +1835,25 @@ func request_AppService_UploadModuleFile_0(ctx context.Context, marshaler runtim break } if err != nil { - grpclog.Infof("Failed to decode request: %v", err) + grpclog.Errorf("Failed to decode request: %v", err) return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } if err = stream.Send(&protoReq); err != nil { if err == io.EOF { break } - grpclog.Infof("Failed to send request: %v", err) + grpclog.Errorf("Failed to send request: %v", err) return nil, metadata, err } } if err := stream.CloseSend(); err != nil { - grpclog.Infof("Failed to terminate client stream: %v", err) + grpclog.Errorf("Failed to terminate client stream: %v", err) return nil, metadata, err } header, err := stream.Header() if err != nil { - grpclog.Infof("Failed to get header from client: %v", err) + grpclog.Errorf("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -2450,11 +1868,7 @@ func request_AppService_GetModule_0(ctx context.Context, marshaler runtime.Marsh var protoReq GetModuleRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2467,11 +1881,7 @@ func local_request_AppService_GetModule_0(ctx context.Context, marshaler runtime var protoReq GetModuleRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2484,11 +1894,7 @@ func request_AppService_ListModules_0(ctx context.Context, marshaler runtime.Mar var protoReq ListModulesRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2501,11 +1907,7 @@ func local_request_AppService_ListModules_0(ctx context.Context, marshaler runti var protoReq ListModulesRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2518,11 +1920,7 @@ func request_AppService_CreateKey_0(ctx context.Context, marshaler runtime.Marsh var protoReq CreateKeyRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2535,11 +1933,7 @@ func local_request_AppService_CreateKey_0(ctx context.Context, marshaler runtime var protoReq CreateKeyRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2552,11 +1946,7 @@ func request_AppService_DeleteKey_0(ctx context.Context, marshaler runtime.Marsh var protoReq DeleteKeyRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2569,11 +1959,7 @@ func local_request_AppService_DeleteKey_0(ctx context.Context, marshaler runtime var protoReq DeleteKeyRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2586,11 +1972,7 @@ func request_AppService_ListKeys_0(ctx context.Context, marshaler runtime.Marsha var protoReq ListKeysRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2603,11 +1985,7 @@ func local_request_AppService_ListKeys_0(ctx context.Context, marshaler runtime. var protoReq ListKeysRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2620,11 +1998,7 @@ func request_AppService_RenameKey_0(ctx context.Context, marshaler runtime.Marsh var protoReq RenameKeyRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2637,11 +2011,7 @@ func local_request_AppService_RenameKey_0(ctx context.Context, marshaler runtime var protoReq RenameKeyRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2654,11 +2024,7 @@ func request_AppService_RotateKey_0(ctx context.Context, marshaler runtime.Marsh var protoReq RotateKeyRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2671,11 +2037,7 @@ func local_request_AppService_RotateKey_0(ctx context.Context, marshaler runtime var protoReq RotateKeyRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2688,11 +2050,7 @@ func request_AppService_CreateKeyFromExistingKeyAuthorizations_0(ctx context.Con var protoReq CreateKeyFromExistingKeyAuthorizationsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -2705,11 +2063,7 @@ func local_request_AppService_CreateKeyFromExistingKeyAuthorizations_0(ctx conte var protoReq CreateKeyFromExistingKeyAuthorizationsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -3174,31 +2528,6 @@ func RegisterAppServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, }) - mux.Handle("POST", pattern_AppService_GetBillingService_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - var err error - var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/viam.app.v1.AppService/GetBillingService", runtime.WithHTTPPathPattern("/viam.app.v1.AppService/GetBillingService")) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_AppService_GetBillingService_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) - if err != nil { - runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) - return - } - - forward_AppService_GetBillingService_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("POST", pattern_AppService_OrganizationSetSupportEmail_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -4669,21 +3998,21 @@ func RegisterAppServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, // RegisterAppServiceHandlerFromEndpoint is same as RegisterAppServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterAppServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() @@ -5100,28 +4429,6 @@ func RegisterAppServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, }) - mux.Handle("POST", pattern_AppService_GetBillingService_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - var err error - var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/viam.app.v1.AppService/GetBillingService", runtime.WithHTTPPathPattern("/viam.app.v1.AppService/GetBillingService")) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_AppService_GetBillingService_0(annotatedContext, inboundMarshaler, client, req, pathParams) - annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) - if err != nil { - runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) - return - } - - forward_AppService_GetBillingService_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("POST", pattern_AppService_OrganizationSetSupportEmail_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -6482,8 +5789,6 @@ var ( pattern_AppService_UpdateBillingService_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.v1.AppService", "UpdateBillingService"}, "")) - pattern_AppService_GetBillingService_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.v1.AppService", "GetBillingService"}, "")) - pattern_AppService_OrganizationSetSupportEmail_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.v1.AppService", "OrganizationSetSupportEmail"}, "")) pattern_AppService_OrganizationGetSupportEmail_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.v1.AppService", "OrganizationGetSupportEmail"}, "")) @@ -6642,8 +5947,6 @@ var ( forward_AppService_UpdateBillingService_0 = runtime.ForwardResponseMessage - forward_AppService_GetBillingService_0 = runtime.ForwardResponseMessage - forward_AppService_OrganizationSetSupportEmail_0 = runtime.ForwardResponseMessage forward_AppService_OrganizationGetSupportEmail_0 = runtime.ForwardResponseMessage diff --git a/app/v1/app_grpc.pb.go b/app/v1/app_grpc.pb.go index 4c6c299f..3a8f1d8f 100644 --- a/app/v1/app_grpc.pb.go +++ b/app/v1/app_grpc.pb.go @@ -55,7 +55,6 @@ type AppServiceClient interface { EnableBillingService(ctx context.Context, in *EnableBillingServiceRequest, opts ...grpc.CallOption) (*EnableBillingServiceResponse, error) DisableBillingService(ctx context.Context, in *DisableBillingServiceRequest, opts ...grpc.CallOption) (*DisableBillingServiceResponse, error) UpdateBillingService(ctx context.Context, in *UpdateBillingServiceRequest, opts ...grpc.CallOption) (*UpdateBillingServiceResponse, error) - GetBillingService(ctx context.Context, in *GetBillingServiceRequest, opts ...grpc.CallOption) (*GetBillingServiceResponse, error) OrganizationSetSupportEmail(ctx context.Context, in *OrganizationSetSupportEmailRequest, opts ...grpc.CallOption) (*OrganizationSetSupportEmailResponse, error) OrganizationGetSupportEmail(ctx context.Context, in *OrganizationGetSupportEmailRequest, opts ...grpc.CallOption) (*OrganizationGetSupportEmailResponse, error) // Create a location @@ -332,15 +331,6 @@ func (c *appServiceClient) UpdateBillingService(ctx context.Context, in *UpdateB return out, nil } -func (c *appServiceClient) GetBillingService(ctx context.Context, in *GetBillingServiceRequest, opts ...grpc.CallOption) (*GetBillingServiceResponse, error) { - out := new(GetBillingServiceResponse) - err := c.cc.Invoke(ctx, "/viam.app.v1.AppService/GetBillingService", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *appServiceClient) OrganizationSetSupportEmail(ctx context.Context, in *OrganizationSetSupportEmailRequest, opts ...grpc.CallOption) (*OrganizationSetSupportEmailResponse, error) { out := new(OrganizationSetSupportEmailResponse) err := c.cc.Invoke(ctx, "/viam.app.v1.AppService/OrganizationSetSupportEmail", in, out, opts...) @@ -966,7 +956,6 @@ type AppServiceServer interface { EnableBillingService(context.Context, *EnableBillingServiceRequest) (*EnableBillingServiceResponse, error) DisableBillingService(context.Context, *DisableBillingServiceRequest) (*DisableBillingServiceResponse, error) UpdateBillingService(context.Context, *UpdateBillingServiceRequest) (*UpdateBillingServiceResponse, error) - GetBillingService(context.Context, *GetBillingServiceRequest) (*GetBillingServiceResponse, error) OrganizationSetSupportEmail(context.Context, *OrganizationSetSupportEmailRequest) (*OrganizationSetSupportEmailResponse, error) OrganizationGetSupportEmail(context.Context, *OrganizationGetSupportEmailRequest) (*OrganizationGetSupportEmailResponse, error) // Create a location @@ -1132,9 +1121,6 @@ func (UnimplementedAppServiceServer) DisableBillingService(context.Context, *Dis func (UnimplementedAppServiceServer) UpdateBillingService(context.Context, *UpdateBillingServiceRequest) (*UpdateBillingServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateBillingService not implemented") } -func (UnimplementedAppServiceServer) GetBillingService(context.Context, *GetBillingServiceRequest) (*GetBillingServiceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBillingService not implemented") -} func (UnimplementedAppServiceServer) OrganizationSetSupportEmail(context.Context, *OrganizationSetSupportEmailRequest) (*OrganizationSetSupportEmailResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method OrganizationSetSupportEmail not implemented") } @@ -1652,24 +1638,6 @@ func _AppService_UpdateBillingService_Handler(srv interface{}, ctx context.Conte return interceptor(ctx, in, info, handler) } -func _AppService_GetBillingService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetBillingServiceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AppServiceServer).GetBillingService(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/viam.app.v1.AppService/GetBillingService", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AppServiceServer).GetBillingService(ctx, req.(*GetBillingServiceRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _AppService_OrganizationSetSupportEmail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(OrganizationSetSupportEmailRequest) if err := dec(in); err != nil { @@ -2840,10 +2808,6 @@ var AppService_ServiceDesc = grpc.ServiceDesc{ MethodName: "UpdateBillingService", Handler: _AppService_UpdateBillingService_Handler, }, - { - MethodName: "GetBillingService", - Handler: _AppService_GetBillingService_Handler, - }, { MethodName: "OrganizationSetSupportEmail", Handler: _AppService_OrganizationSetSupportEmail_Handler, diff --git a/app/v1/billing.pb.go b/app/v1/billing.pb.go index c72b6dcc..80a9bae1 100644 --- a/app/v1/billing.pb.go +++ b/app/v1/billing.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: app/v1/billing.proto @@ -198,11 +198,9 @@ type InvoiceSummary struct { func (x *InvoiceSummary) Reset() { *x = InvoiceSummary{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_billing_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_billing_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InvoiceSummary) String() string { @@ -213,7 +211,7 @@ func (*InvoiceSummary) ProtoMessage() {} func (x *InvoiceSummary) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -281,11 +279,9 @@ type PaymentMethodCard struct { func (x *PaymentMethodCard) Reset() { *x = PaymentMethodCard{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_billing_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_billing_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PaymentMethodCard) String() string { @@ -296,7 +292,7 @@ func (*PaymentMethodCard) ProtoMessage() {} func (x *PaymentMethodCard) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -335,11 +331,9 @@ type GetCurrentMonthUsageRequest struct { func (x *GetCurrentMonthUsageRequest) Reset() { *x = GetCurrentMonthUsageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_billing_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_billing_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetCurrentMonthUsageRequest) String() string { @@ -350,7 +344,7 @@ func (*GetCurrentMonthUsageRequest) ProtoMessage() {} func (x *GetCurrentMonthUsageRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -383,11 +377,9 @@ type UsageCost struct { func (x *UsageCost) Reset() { *x = UsageCost{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_billing_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_billing_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UsageCost) String() string { @@ -398,7 +390,7 @@ func (*UsageCost) ProtoMessage() {} func (x *UsageCost) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -439,11 +431,9 @@ type ResourceUsageCostsBySource struct { func (x *ResourceUsageCostsBySource) Reset() { *x = ResourceUsageCostsBySource{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_billing_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_billing_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResourceUsageCostsBySource) String() string { @@ -454,7 +444,7 @@ func (*ResourceUsageCostsBySource) ProtoMessage() {} func (x *ResourceUsageCostsBySource) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -503,11 +493,9 @@ type ResourceUsageCosts struct { func (x *ResourceUsageCosts) Reset() { *x = ResourceUsageCosts{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_billing_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_billing_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResourceUsageCosts) String() string { @@ -518,7 +506,7 @@ func (*ResourceUsageCosts) ProtoMessage() {} func (x *ResourceUsageCosts) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -572,37 +560,35 @@ type GetCurrentMonthUsageResponse struct { Subtotal float64 `protobuf:"fixed64,15,opt,name=subtotal,proto3" json:"subtotal,omitempty"` // all fields below are deprecated // - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in app/v1/billing.proto. CloudStorageUsageCost float64 `protobuf:"fixed64,3,opt,name=cloud_storage_usage_cost,json=cloudStorageUsageCost,proto3" json:"cloud_storage_usage_cost,omitempty"` - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in app/v1/billing.proto. DataUploadUsageCost float64 `protobuf:"fixed64,4,opt,name=data_upload_usage_cost,json=dataUploadUsageCost,proto3" json:"data_upload_usage_cost,omitempty"` - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in app/v1/billing.proto. DataEgresUsageCost float64 `protobuf:"fixed64,5,opt,name=data_egres_usage_cost,json=dataEgresUsageCost,proto3" json:"data_egres_usage_cost,omitempty"` - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in app/v1/billing.proto. RemoteControlUsageCost float64 `protobuf:"fixed64,6,opt,name=remote_control_usage_cost,json=remoteControlUsageCost,proto3" json:"remote_control_usage_cost,omitempty"` - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in app/v1/billing.proto. StandardComputeUsageCost float64 `protobuf:"fixed64,7,opt,name=standard_compute_usage_cost,json=standardComputeUsageCost,proto3" json:"standard_compute_usage_cost,omitempty"` - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in app/v1/billing.proto. DiscountAmount float64 `protobuf:"fixed64,8,opt,name=discount_amount,json=discountAmount,proto3" json:"discount_amount,omitempty"` - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in app/v1/billing.proto. TotalUsageWithDiscount float64 `protobuf:"fixed64,9,opt,name=total_usage_with_discount,json=totalUsageWithDiscount,proto3" json:"total_usage_with_discount,omitempty"` - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in app/v1/billing.proto. TotalUsageWithoutDiscount float64 `protobuf:"fixed64,10,opt,name=total_usage_without_discount,json=totalUsageWithoutDiscount,proto3" json:"total_usage_without_discount,omitempty"` - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in app/v1/billing.proto. PerMachineUsageCost float64 `protobuf:"fixed64,11,opt,name=per_machine_usage_cost,json=perMachineUsageCost,proto3" json:"per_machine_usage_cost,omitempty"` - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in app/v1/billing.proto. BinaryDataCloudStorageUsageCost float64 `protobuf:"fixed64,12,opt,name=binary_data_cloud_storage_usage_cost,json=binaryDataCloudStorageUsageCost,proto3" json:"binary_data_cloud_storage_usage_cost,omitempty"` - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in app/v1/billing.proto. OtherCloudStorageUsageCost float64 `protobuf:"fixed64,13,opt,name=other_cloud_storage_usage_cost,json=otherCloudStorageUsageCost,proto3" json:"other_cloud_storage_usage_cost,omitempty"` } func (x *GetCurrentMonthUsageResponse) Reset() { *x = GetCurrentMonthUsageResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_billing_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_billing_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetCurrentMonthUsageResponse) String() string { @@ -613,7 +599,7 @@ func (*GetCurrentMonthUsageResponse) ProtoMessage() {} func (x *GetCurrentMonthUsageResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -656,7 +642,7 @@ func (x *GetCurrentMonthUsageResponse) GetSubtotal() float64 { return 0 } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in app/v1/billing.proto. func (x *GetCurrentMonthUsageResponse) GetCloudStorageUsageCost() float64 { if x != nil { return x.CloudStorageUsageCost @@ -664,7 +650,7 @@ func (x *GetCurrentMonthUsageResponse) GetCloudStorageUsageCost() float64 { return 0 } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in app/v1/billing.proto. func (x *GetCurrentMonthUsageResponse) GetDataUploadUsageCost() float64 { if x != nil { return x.DataUploadUsageCost @@ -672,7 +658,7 @@ func (x *GetCurrentMonthUsageResponse) GetDataUploadUsageCost() float64 { return 0 } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in app/v1/billing.proto. func (x *GetCurrentMonthUsageResponse) GetDataEgresUsageCost() float64 { if x != nil { return x.DataEgresUsageCost @@ -680,7 +666,7 @@ func (x *GetCurrentMonthUsageResponse) GetDataEgresUsageCost() float64 { return 0 } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in app/v1/billing.proto. func (x *GetCurrentMonthUsageResponse) GetRemoteControlUsageCost() float64 { if x != nil { return x.RemoteControlUsageCost @@ -688,7 +674,7 @@ func (x *GetCurrentMonthUsageResponse) GetRemoteControlUsageCost() float64 { return 0 } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in app/v1/billing.proto. func (x *GetCurrentMonthUsageResponse) GetStandardComputeUsageCost() float64 { if x != nil { return x.StandardComputeUsageCost @@ -696,7 +682,7 @@ func (x *GetCurrentMonthUsageResponse) GetStandardComputeUsageCost() float64 { return 0 } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in app/v1/billing.proto. func (x *GetCurrentMonthUsageResponse) GetDiscountAmount() float64 { if x != nil { return x.DiscountAmount @@ -704,7 +690,7 @@ func (x *GetCurrentMonthUsageResponse) GetDiscountAmount() float64 { return 0 } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in app/v1/billing.proto. func (x *GetCurrentMonthUsageResponse) GetTotalUsageWithDiscount() float64 { if x != nil { return x.TotalUsageWithDiscount @@ -712,7 +698,7 @@ func (x *GetCurrentMonthUsageResponse) GetTotalUsageWithDiscount() float64 { return 0 } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in app/v1/billing.proto. func (x *GetCurrentMonthUsageResponse) GetTotalUsageWithoutDiscount() float64 { if x != nil { return x.TotalUsageWithoutDiscount @@ -720,7 +706,7 @@ func (x *GetCurrentMonthUsageResponse) GetTotalUsageWithoutDiscount() float64 { return 0 } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in app/v1/billing.proto. func (x *GetCurrentMonthUsageResponse) GetPerMachineUsageCost() float64 { if x != nil { return x.PerMachineUsageCost @@ -728,7 +714,7 @@ func (x *GetCurrentMonthUsageResponse) GetPerMachineUsageCost() float64 { return 0 } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in app/v1/billing.proto. func (x *GetCurrentMonthUsageResponse) GetBinaryDataCloudStorageUsageCost() float64 { if x != nil { return x.BinaryDataCloudStorageUsageCost @@ -736,7 +722,7 @@ func (x *GetCurrentMonthUsageResponse) GetBinaryDataCloudStorageUsageCost() floa return 0 } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in app/v1/billing.proto. func (x *GetCurrentMonthUsageResponse) GetOtherCloudStorageUsageCost() float64 { if x != nil { return x.OtherCloudStorageUsageCost @@ -754,11 +740,9 @@ type GetOrgBillingInformationRequest struct { func (x *GetOrgBillingInformationRequest) Reset() { *x = GetOrgBillingInformationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_billing_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_billing_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrgBillingInformationRequest) String() string { @@ -769,7 +753,7 @@ func (*GetOrgBillingInformationRequest) ProtoMessage() {} func (x *GetOrgBillingInformationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -806,11 +790,9 @@ type GetOrgBillingInformationResponse struct { func (x *GetOrgBillingInformationResponse) Reset() { *x = GetOrgBillingInformationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_billing_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_billing_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrgBillingInformationResponse) String() string { @@ -821,7 +803,7 @@ func (*GetOrgBillingInformationResponse) ProtoMessage() {} func (x *GetOrgBillingInformationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -874,11 +856,9 @@ type GetInvoicesSummaryRequest struct { func (x *GetInvoicesSummaryRequest) Reset() { *x = GetInvoicesSummaryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_billing_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_billing_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetInvoicesSummaryRequest) String() string { @@ -889,7 +869,7 @@ func (*GetInvoicesSummaryRequest) ProtoMessage() {} func (x *GetInvoicesSummaryRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -924,11 +904,9 @@ type GetInvoicesSummaryResponse struct { func (x *GetInvoicesSummaryResponse) Reset() { *x = GetInvoicesSummaryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_billing_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_billing_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetInvoicesSummaryResponse) String() string { @@ -939,7 +917,7 @@ func (*GetInvoicesSummaryResponse) ProtoMessage() {} func (x *GetInvoicesSummaryResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -979,11 +957,9 @@ type GetInvoicePdfRequest struct { func (x *GetInvoicePdfRequest) Reset() { *x = GetInvoicePdfRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_billing_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_billing_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetInvoicePdfRequest) String() string { @@ -994,7 +970,7 @@ func (*GetInvoicePdfRequest) ProtoMessage() {} func (x *GetInvoicePdfRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1033,11 +1009,9 @@ type GetInvoicePdfResponse struct { func (x *GetInvoicePdfResponse) Reset() { *x = GetInvoicePdfResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_billing_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_billing_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetInvoicePdfResponse) String() string { @@ -1048,7 +1022,7 @@ func (*GetInvoicePdfResponse) ProtoMessage() {} func (x *GetInvoicePdfResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1081,11 +1055,9 @@ type SendPaymentRequiredEmailRequest struct { func (x *SendPaymentRequiredEmailRequest) Reset() { *x = SendPaymentRequiredEmailRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_billing_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_billing_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SendPaymentRequiredEmailRequest) String() string { @@ -1096,7 +1068,7 @@ func (*SendPaymentRequiredEmailRequest) ProtoMessage() {} func (x *SendPaymentRequiredEmailRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1133,11 +1105,9 @@ type SendPaymentRequiredEmailResponse struct { func (x *SendPaymentRequiredEmailResponse) Reset() { *x = SendPaymentRequiredEmailResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_billing_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_billing_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SendPaymentRequiredEmailResponse) String() string { @@ -1148,7 +1118,7 @@ func (*SendPaymentRequiredEmailResponse) ProtoMessage() {} func (x *SendPaymentRequiredEmailResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_billing_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1424,7 +1394,7 @@ func file_app_v1_billing_proto_rawDescGZIP() []byte { var file_app_v1_billing_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_app_v1_billing_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_app_v1_billing_proto_goTypes = []interface{}{ +var file_app_v1_billing_proto_goTypes = []any{ (PaymentMethodType)(0), // 0: viam.app.v1.PaymentMethodType (UsageCostType)(0), // 1: viam.app.v1.UsageCostType (SourceType)(0), // 2: viam.app.v1.SourceType @@ -1481,189 +1451,7 @@ func file_app_v1_billing_proto_init() { if File_app_v1_billing_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_app_v1_billing_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InvoiceSummary); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_billing_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentMethodCard); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_billing_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCurrentMonthUsageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_billing_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UsageCost); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_billing_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResourceUsageCostsBySource); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_billing_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResourceUsageCosts); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_billing_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCurrentMonthUsageResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_billing_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrgBillingInformationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_billing_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrgBillingInformationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_billing_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetInvoicesSummaryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_billing_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetInvoicesSummaryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_billing_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetInvoicePdfRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_billing_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetInvoicePdfResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_billing_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendPaymentRequiredEmailRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_billing_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendPaymentRequiredEmailResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_app_v1_billing_proto_msgTypes[8].OneofWrappers = []interface{}{} + file_app_v1_billing_proto_msgTypes[8].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/app/v1/billing.pb.gw.go b/app/v1/billing.pb.gw.go index 0c3529a7..66496195 100644 --- a/app/v1/billing.pb.gw.go +++ b/app/v1/billing.pb.gw.go @@ -35,11 +35,7 @@ func request_BillingService_GetCurrentMonthUsage_0(ctx context.Context, marshale var protoReq GetCurrentMonthUsageRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_BillingService_GetCurrentMonthUsage_0(ctx context.Context, ma var protoReq GetCurrentMonthUsageRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -69,11 +61,7 @@ func request_BillingService_GetOrgBillingInformation_0(ctx context.Context, mars var protoReq GetOrgBillingInformationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -86,11 +74,7 @@ func local_request_BillingService_GetOrgBillingInformation_0(ctx context.Context var protoReq GetOrgBillingInformationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -103,11 +87,7 @@ func request_BillingService_GetInvoicesSummary_0(ctx context.Context, marshaler var protoReq GetInvoicesSummaryRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -120,11 +100,7 @@ func local_request_BillingService_GetInvoicesSummary_0(ctx context.Context, mars var protoReq GetInvoicesSummaryRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,11 +113,7 @@ func request_BillingService_GetInvoicePdf_0(ctx context.Context, marshaler runti var protoReq GetInvoicePdfRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -162,11 +134,7 @@ func request_BillingService_SendPaymentRequiredEmail_0(ctx context.Context, mars var protoReq SendPaymentRequiredEmailRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -179,11 +147,7 @@ func local_request_BillingService_SendPaymentRequiredEmail_0(ctx context.Context var protoReq SendPaymentRequiredEmailRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -311,21 +275,21 @@ func RegisterBillingServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterBillingServiceHandlerFromEndpoint is same as RegisterBillingServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterBillingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/v1/end_user.pb.go b/app/v1/end_user.pb.go index b0a3f3cd..159ea626 100644 --- a/app/v1/end_user.pb.go +++ b/app/v1/end_user.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: app/v1/end_user.proto @@ -28,11 +28,9 @@ type IsLegalAcceptedRequest struct { func (x *IsLegalAcceptedRequest) Reset() { *x = IsLegalAcceptedRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_end_user_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_end_user_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsLegalAcceptedRequest) String() string { @@ -43,7 +41,7 @@ func (*IsLegalAcceptedRequest) ProtoMessage() {} func (x *IsLegalAcceptedRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -69,11 +67,9 @@ type IsLegalAcceptedResponse struct { func (x *IsLegalAcceptedResponse) Reset() { *x = IsLegalAcceptedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_end_user_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_end_user_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsLegalAcceptedResponse) String() string { @@ -84,7 +80,7 @@ func (*IsLegalAcceptedResponse) ProtoMessage() {} func (x *IsLegalAcceptedResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -114,11 +110,9 @@ type AcceptLegalRequest struct { func (x *AcceptLegalRequest) Reset() { *x = AcceptLegalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_end_user_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_end_user_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AcceptLegalRequest) String() string { @@ -129,7 +123,7 @@ func (*AcceptLegalRequest) ProtoMessage() {} func (x *AcceptLegalRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -152,11 +146,9 @@ type AcceptLegalResponse struct { func (x *AcceptLegalResponse) Reset() { *x = AcceptLegalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_end_user_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_end_user_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AcceptLegalResponse) String() string { @@ -167,7 +159,7 @@ func (*AcceptLegalResponse) ProtoMessage() {} func (x *AcceptLegalResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -196,11 +188,9 @@ type RegisterAuthApplicationRequest struct { func (x *RegisterAuthApplicationRequest) Reset() { *x = RegisterAuthApplicationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_end_user_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_end_user_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegisterAuthApplicationRequest) String() string { @@ -211,7 +201,7 @@ func (*RegisterAuthApplicationRequest) ProtoMessage() {} func (x *RegisterAuthApplicationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -273,11 +263,9 @@ type RegisterAuthApplicationResponse struct { func (x *RegisterAuthApplicationResponse) Reset() { *x = RegisterAuthApplicationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_end_user_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_end_user_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RegisterAuthApplicationResponse) String() string { @@ -288,7 +276,7 @@ func (*RegisterAuthApplicationResponse) ProtoMessage() {} func (x *RegisterAuthApplicationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -339,11 +327,9 @@ type UpdateAuthApplicationRequest struct { func (x *UpdateAuthApplicationRequest) Reset() { *x = UpdateAuthApplicationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_end_user_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_end_user_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateAuthApplicationRequest) String() string { @@ -354,7 +340,7 @@ func (*UpdateAuthApplicationRequest) ProtoMessage() {} func (x *UpdateAuthApplicationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -422,11 +408,9 @@ type UpdateAuthApplicationResponse struct { func (x *UpdateAuthApplicationResponse) Reset() { *x = UpdateAuthApplicationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_end_user_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_end_user_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateAuthApplicationResponse) String() string { @@ -437,7 +421,7 @@ func (*UpdateAuthApplicationResponse) ProtoMessage() {} func (x *UpdateAuthApplicationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -477,11 +461,9 @@ type GetAuthApplicationRequest struct { func (x *GetAuthApplicationRequest) Reset() { *x = GetAuthApplicationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_end_user_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_end_user_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAuthApplicationRequest) String() string { @@ -492,7 +474,7 @@ func (*GetAuthApplicationRequest) ProtoMessage() {} func (x *GetAuthApplicationRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -536,11 +518,9 @@ type GetAuthApplicationResponse struct { func (x *GetAuthApplicationResponse) Reset() { *x = GetAuthApplicationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_end_user_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_end_user_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAuthApplicationResponse) String() string { @@ -551,7 +531,7 @@ func (*GetAuthApplicationResponse) ProtoMessage() {} func (x *GetAuthApplicationResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_end_user_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -738,7 +718,7 @@ func file_app_v1_end_user_proto_rawDescGZIP() []byte { } var file_app_v1_end_user_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_app_v1_end_user_proto_goTypes = []interface{}{ +var file_app_v1_end_user_proto_goTypes = []any{ (*IsLegalAcceptedRequest)(nil), // 0: viam.app.v1.IsLegalAcceptedRequest (*IsLegalAcceptedResponse)(nil), // 1: viam.app.v1.IsLegalAcceptedResponse (*AcceptLegalRequest)(nil), // 2: viam.app.v1.AcceptLegalRequest @@ -773,128 +753,6 @@ func file_app_v1_end_user_proto_init() { if File_app_v1_end_user_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_app_v1_end_user_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsLegalAcceptedRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_end_user_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsLegalAcceptedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_end_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AcceptLegalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_end_user_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AcceptLegalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_end_user_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegisterAuthApplicationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_end_user_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegisterAuthApplicationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_end_user_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateAuthApplicationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_end_user_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateAuthApplicationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_end_user_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAuthApplicationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_end_user_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAuthApplicationResponse); 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{ diff --git a/app/v1/end_user.pb.gw.go b/app/v1/end_user.pb.gw.go index 9333ea13..ea4f1800 100644 --- a/app/v1/end_user.pb.gw.go +++ b/app/v1/end_user.pb.gw.go @@ -35,11 +35,7 @@ func request_EndUserService_IsLegalAccepted_0(ctx context.Context, marshaler run var protoReq IsLegalAcceptedRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_EndUserService_IsLegalAccepted_0(ctx context.Context, marshal var protoReq IsLegalAcceptedRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -69,11 +61,7 @@ func request_EndUserService_AcceptLegal_0(ctx context.Context, marshaler runtime var protoReq AcceptLegalRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -86,11 +74,7 @@ func local_request_EndUserService_AcceptLegal_0(ctx context.Context, marshaler r var protoReq AcceptLegalRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -103,11 +87,7 @@ func request_EndUserService_RegisterAuthApplication_0(ctx context.Context, marsh var protoReq RegisterAuthApplicationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -120,11 +100,7 @@ func local_request_EndUserService_RegisterAuthApplication_0(ctx context.Context, var protoReq RegisterAuthApplicationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,11 +113,7 @@ func request_EndUserService_UpdateAuthApplication_0(ctx context.Context, marshal var protoReq UpdateAuthApplicationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -154,11 +126,7 @@ func local_request_EndUserService_UpdateAuthApplication_0(ctx context.Context, m var protoReq UpdateAuthApplicationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -171,11 +139,7 @@ func request_EndUserService_GetAuthApplication_0(ctx context.Context, marshaler var protoReq GetAuthApplicationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -188,11 +152,7 @@ func local_request_EndUserService_GetAuthApplication_0(ctx context.Context, mars var protoReq GetAuthApplicationRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -338,21 +298,21 @@ func RegisterEndUserServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterEndUserServiceHandlerFromEndpoint is same as RegisterEndUserServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterEndUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/app/v1/robot.pb.go b/app/v1/robot.pb.go index 491a92a0..2425b264 100644 --- a/app/v1/robot.pb.go +++ b/app/v1/robot.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: app/v1/robot.proto @@ -107,11 +107,9 @@ type RobotConfig struct { func (x *RobotConfig) Reset() { *x = RobotConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RobotConfig) String() string { @@ -122,7 +120,7 @@ func (*RobotConfig) ProtoMessage() {} func (x *RobotConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -262,11 +260,9 @@ type LogPatternConfig struct { func (x *LogPatternConfig) Reset() { *x = LogPatternConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LogPatternConfig) String() string { @@ -277,7 +273,7 @@ func (*LogPatternConfig) ProtoMessage() {} func (x *LogPatternConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -319,11 +315,9 @@ type LocationSecret struct { func (x *LocationSecret) Reset() { *x = LocationSecret{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LocationSecret) String() string { @@ -334,7 +328,7 @@ func (*LocationSecret) ProtoMessage() {} func (x *LocationSecret) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -373,11 +367,9 @@ type AppValidationStatus struct { func (x *AppValidationStatus) Reset() { *x = AppValidationStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AppValidationStatus) String() string { @@ -388,7 +380,7 @@ func (*AppValidationStatus) ProtoMessage() {} func (x *AppValidationStatus) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -424,7 +416,7 @@ type CloudConfig struct { SignalingInsecure bool `protobuf:"varint,6,opt,name=signaling_insecure,json=signalingInsecure,proto3" json:"signaling_insecure,omitempty"` // Deprecated use location_secrets // - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in app/v1/robot.proto. LocationSecret string `protobuf:"bytes,7,opt,name=location_secret,json=locationSecret,proto3" json:"location_secret,omitempty"` // Robot part secret Secret string `protobuf:"bytes,8,opt,name=secret,proto3" json:"secret,omitempty"` @@ -437,11 +429,9 @@ type CloudConfig struct { func (x *CloudConfig) Reset() { *x = CloudConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CloudConfig) String() string { @@ -452,7 +442,7 @@ func (*CloudConfig) ProtoMessage() {} func (x *CloudConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -509,7 +499,7 @@ func (x *CloudConfig) GetSignalingInsecure() bool { return false } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in app/v1/robot.proto. func (x *CloudConfig) GetLocationSecret() string { if x != nil { return x.LocationSecret @@ -571,11 +561,9 @@ type ComponentConfig struct { func (x *ComponentConfig) Reset() { *x = ComponentConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ComponentConfig) String() string { @@ -586,7 +574,7 @@ func (*ComponentConfig) ProtoMessage() {} func (x *ComponentConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -684,11 +672,9 @@ type ResourceLevelServiceConfig struct { func (x *ResourceLevelServiceConfig) Reset() { *x = ResourceLevelServiceConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResourceLevelServiceConfig) String() string { @@ -699,7 +685,7 @@ func (*ResourceLevelServiceConfig) ProtoMessage() {} func (x *ResourceLevelServiceConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -749,11 +735,9 @@ type ProcessConfig struct { func (x *ProcessConfig) Reset() { *x = ProcessConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProcessConfig) String() string { @@ -764,7 +748,7 @@ func (*ProcessConfig) ProtoMessage() {} func (x *ProcessConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -867,11 +851,9 @@ type ServiceConfig struct { func (x *ServiceConfig) Reset() { *x = ServiceConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ServiceConfig) String() string { @@ -882,7 +864,7 @@ func (*ServiceConfig) ProtoMessage() {} func (x *ServiceConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -974,11 +956,9 @@ type NetworkConfig struct { func (x *NetworkConfig) Reset() { *x = NetworkConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NetworkConfig) String() string { @@ -989,7 +969,7 @@ func (*NetworkConfig) ProtoMessage() {} func (x *NetworkConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1049,11 +1029,9 @@ type SessionsConfig struct { func (x *SessionsConfig) Reset() { *x = SessionsConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SessionsConfig) String() string { @@ -1064,7 +1042,7 @@ func (*SessionsConfig) ProtoMessage() {} func (x *SessionsConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1098,11 +1076,9 @@ type AuthConfig struct { func (x *AuthConfig) Reset() { *x = AuthConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AuthConfig) String() string { @@ -1113,7 +1089,7 @@ func (*AuthConfig) ProtoMessage() {} func (x *AuthConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1161,11 +1137,9 @@ type JWKSFile struct { func (x *JWKSFile) Reset() { *x = JWKSFile{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JWKSFile) String() string { @@ -1176,7 +1150,7 @@ func (*JWKSFile) ProtoMessage() {} func (x *JWKSFile) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1210,11 +1184,9 @@ type ExternalAuthConfig struct { func (x *ExternalAuthConfig) Reset() { *x = ExternalAuthConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExternalAuthConfig) String() string { @@ -1225,7 +1197,7 @@ func (*ExternalAuthConfig) ProtoMessage() {} func (x *ExternalAuthConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1258,11 +1230,9 @@ type AuthHandlerConfig struct { func (x *AuthHandlerConfig) Reset() { *x = AuthHandlerConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AuthHandlerConfig) String() string { @@ -1273,7 +1243,7 @@ func (*AuthHandlerConfig) ProtoMessage() {} func (x *AuthHandlerConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1315,11 +1285,9 @@ type Frame struct { func (x *Frame) Reset() { *x = Frame{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Frame) String() string { @@ -1330,7 +1298,7 @@ func (*Frame) ProtoMessage() {} func (x *Frame) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1383,11 +1351,9 @@ type LogConfiguration struct { func (x *LogConfiguration) Reset() { *x = LogConfiguration{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LogConfiguration) String() string { @@ -1398,7 +1364,7 @@ func (*LogConfiguration) ProtoMessage() {} func (x *LogConfiguration) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1432,11 +1398,9 @@ type Translation struct { func (x *Translation) Reset() { *x = Translation{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Translation) String() string { @@ -1447,7 +1411,7 @@ func (*Translation) ProtoMessage() {} func (x *Translation) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1501,11 +1465,9 @@ type Orientation struct { func (x *Orientation) Reset() { *x = Orientation{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Orientation) String() string { @@ -1516,7 +1478,7 @@ func (*Orientation) ProtoMessage() {} func (x *Orientation) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1644,11 +1606,9 @@ type RemoteConfig struct { func (x *RemoteConfig) Reset() { *x = RemoteConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoteConfig) String() string { @@ -1659,7 +1619,7 @@ func (*RemoteConfig) ProtoMessage() {} func (x *RemoteConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1758,11 +1718,9 @@ type RemoteAuth struct { func (x *RemoteAuth) Reset() { *x = RemoteAuth{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoteAuth) String() string { @@ -1773,7 +1731,7 @@ func (*RemoteAuth) ProtoMessage() {} func (x *RemoteAuth) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1822,11 +1780,9 @@ type AgentInfo struct { func (x *AgentInfo) Reset() { *x = AgentInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AgentInfo) String() string { @@ -1837,7 +1793,7 @@ func (*AgentInfo) ProtoMessage() {} func (x *AgentInfo) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1914,11 +1870,9 @@ type ConfigRequest struct { func (x *ConfigRequest) Reset() { *x = ConfigRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigRequest) String() string { @@ -1929,7 +1883,7 @@ func (*ConfigRequest) ProtoMessage() {} func (x *ConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1968,11 +1922,9 @@ type ConfigResponse struct { func (x *ConfigResponse) Reset() { *x = ConfigResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigResponse) String() string { @@ -1983,7 +1935,7 @@ func (*ConfigResponse) ProtoMessage() {} func (x *ConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2016,11 +1968,9 @@ type CertificateRequest struct { func (x *CertificateRequest) Reset() { *x = CertificateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CertificateRequest) String() string { @@ -2031,7 +1981,7 @@ func (*CertificateRequest) ProtoMessage() {} func (x *CertificateRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2066,11 +2016,9 @@ type CertificateResponse struct { func (x *CertificateResponse) Reset() { *x = CertificateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CertificateResponse) String() string { @@ -2081,7 +2029,7 @@ func (*CertificateResponse) ProtoMessage() {} func (x *CertificateResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2129,11 +2077,9 @@ type LogRequest struct { func (x *LogRequest) Reset() { *x = LogRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LogRequest) String() string { @@ -2144,7 +2090,7 @@ func (*LogRequest) ProtoMessage() {} func (x *LogRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2181,11 +2127,9 @@ type LogResponse struct { func (x *LogResponse) Reset() { *x = LogResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LogResponse) String() string { @@ -2196,7 +2140,7 @@ func (*LogResponse) ProtoMessage() {} func (x *LogResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2222,11 +2166,9 @@ type NeedsRestartRequest struct { func (x *NeedsRestartRequest) Reset() { *x = NeedsRestartRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NeedsRestartRequest) String() string { @@ -2237,7 +2179,7 @@ func (*NeedsRestartRequest) ProtoMessage() {} func (x *NeedsRestartRequest) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2272,11 +2214,9 @@ type NeedsRestartResponse struct { func (x *NeedsRestartResponse) Reset() { *x = NeedsRestartResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NeedsRestartResponse) String() string { @@ -2287,7 +2227,7 @@ func (*NeedsRestartResponse) ProtoMessage() {} func (x *NeedsRestartResponse) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2348,11 +2288,9 @@ type ModuleConfig struct { func (x *ModuleConfig) Reset() { *x = ModuleConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ModuleConfig) String() string { @@ -2363,7 +2301,7 @@ func (*ModuleConfig) ProtoMessage() {} func (x *ModuleConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2454,11 +2392,9 @@ type PackageConfig struct { func (x *PackageConfig) Reset() { *x = PackageConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PackageConfig) String() string { @@ -2469,7 +2405,7 @@ func (*PackageConfig) ProtoMessage() {} func (x *PackageConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2530,11 +2466,9 @@ type MaintenanceConfig struct { func (x *MaintenanceConfig) Reset() { *x = MaintenanceConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MaintenanceConfig) String() string { @@ -2545,7 +2479,7 @@ func (*MaintenanceConfig) ProtoMessage() {} func (x *MaintenanceConfig) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2582,11 +2516,9 @@ type Orientation_NoOrientation struct { func (x *Orientation_NoOrientation) Reset() { *x = Orientation_NoOrientation{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Orientation_NoOrientation) String() string { @@ -2597,7 +2529,7 @@ func (*Orientation_NoOrientation) ProtoMessage() {} func (x *Orientation_NoOrientation) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2634,11 +2566,9 @@ type Orientation_OrientationVectorRadians struct { func (x *Orientation_OrientationVectorRadians) Reset() { *x = Orientation_OrientationVectorRadians{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Orientation_OrientationVectorRadians) String() string { @@ -2649,7 +2579,7 @@ func (*Orientation_OrientationVectorRadians) ProtoMessage() {} func (x *Orientation_OrientationVectorRadians) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2707,11 +2637,9 @@ type Orientation_OrientationVectorDegrees struct { func (x *Orientation_OrientationVectorDegrees) Reset() { *x = Orientation_OrientationVectorDegrees{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Orientation_OrientationVectorDegrees) String() string { @@ -2722,7 +2650,7 @@ func (*Orientation_OrientationVectorDegrees) ProtoMessage() {} func (x *Orientation_OrientationVectorDegrees) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2779,11 +2707,9 @@ type Orientation_EulerAngles struct { func (x *Orientation_EulerAngles) Reset() { *x = Orientation_EulerAngles{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Orientation_EulerAngles) String() string { @@ -2794,7 +2720,7 @@ func (*Orientation_EulerAngles) ProtoMessage() {} func (x *Orientation_EulerAngles) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2850,11 +2776,9 @@ type Orientation_AxisAngles struct { func (x *Orientation_AxisAngles) Reset() { *x = Orientation_AxisAngles{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Orientation_AxisAngles) String() string { @@ -2865,7 +2789,7 @@ func (*Orientation_AxisAngles) ProtoMessage() {} func (x *Orientation_AxisAngles) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2922,11 +2846,9 @@ type Orientation_Quaternion struct { func (x *Orientation_Quaternion) Reset() { *x = Orientation_Quaternion{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Orientation_Quaternion) String() string { @@ -2937,7 +2859,7 @@ func (*Orientation_Quaternion) ProtoMessage() {} func (x *Orientation_Quaternion) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2993,11 +2915,9 @@ type RemoteAuth_Credentials struct { func (x *RemoteAuth_Credentials) Reset() { *x = RemoteAuth_Credentials{} - if protoimpl.UnsafeEnabled { - mi := &file_app_v1_robot_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_app_v1_robot_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoteAuth_Credentials) String() string { @@ -3008,7 +2928,7 @@ func (*RemoteAuth_Credentials) ProtoMessage() {} func (x *RemoteAuth_Credentials) ProtoReflect() protoreflect.Message { mi := &file_app_v1_robot_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3547,7 +3467,7 @@ func file_app_v1_robot_proto_rawDescGZIP() []byte { var file_app_v1_robot_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_app_v1_robot_proto_msgTypes = make([]protoimpl.MessageInfo, 42) -var file_app_v1_robot_proto_goTypes = []interface{}{ +var file_app_v1_robot_proto_goTypes = []any{ (CredentialsType)(0), // 0: viam.app.v1.CredentialsType (*RobotConfig)(nil), // 1: viam.app.v1.RobotConfig (*LogPatternConfig)(nil), // 2: viam.app.v1.LogPatternConfig @@ -3674,491 +3594,9 @@ func file_app_v1_robot_proto_init() { if File_app_v1_robot_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_app_v1_robot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RobotConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogPatternConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocationSecret); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AppValidationStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CloudConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComponentConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResourceLevelServiceConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProcessConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NetworkConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SessionsConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuthConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JWKSFile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExternalAuthConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuthHandlerConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Frame); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogConfiguration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Translation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Orientation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoteConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoteAuth); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AgentInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CertificateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CertificateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NeedsRestartRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NeedsRestartResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ModuleConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PackageConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MaintenanceConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Orientation_NoOrientation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Orientation_OrientationVectorRadians); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Orientation_OrientationVectorDegrees); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Orientation_EulerAngles); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Orientation_AxisAngles); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Orientation_Quaternion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_app_v1_robot_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoteAuth_Credentials); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_app_v1_robot_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_app_v1_robot_proto_msgTypes[11].OneofWrappers = []interface{}{} - file_app_v1_robot_proto_msgTypes[18].OneofWrappers = []interface{}{ + file_app_v1_robot_proto_msgTypes[0].OneofWrappers = []any{} + file_app_v1_robot_proto_msgTypes[11].OneofWrappers = []any{} + file_app_v1_robot_proto_msgTypes[18].OneofWrappers = []any{ (*Orientation_NoOrientation_)(nil), (*Orientation_VectorRadians)(nil), (*Orientation_VectorDegrees)(nil), @@ -4166,8 +3604,8 @@ func file_app_v1_robot_proto_init() { (*Orientation_AxisAngles_)(nil), (*Orientation_Quaternion_)(nil), } - file_app_v1_robot_proto_msgTypes[21].OneofWrappers = []interface{}{} - file_app_v1_robot_proto_msgTypes[22].OneofWrappers = []interface{}{} + file_app_v1_robot_proto_msgTypes[21].OneofWrappers = []any{} + file_app_v1_robot_proto_msgTypes[22].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/app/v1/robot.pb.gw.go b/app/v1/robot.pb.gw.go index b1ce77e9..2fa0e5d8 100644 --- a/app/v1/robot.pb.gw.go +++ b/app/v1/robot.pb.gw.go @@ -35,11 +35,7 @@ func request_RobotService_Config_0(ctx context.Context, marshaler runtime.Marsha var protoReq ConfigRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_RobotService_Config_0(ctx context.Context, marshaler runtime. var protoReq ConfigRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -69,11 +61,7 @@ func request_RobotService_Certificate_0(ctx context.Context, marshaler runtime.M var protoReq CertificateRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -86,11 +74,7 @@ func local_request_RobotService_Certificate_0(ctx context.Context, marshaler run var protoReq CertificateRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -103,11 +87,7 @@ func request_RobotService_Log_0(ctx context.Context, marshaler runtime.Marshaler var protoReq LogRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -120,11 +100,7 @@ func local_request_RobotService_Log_0(ctx context.Context, marshaler runtime.Mar var protoReq LogRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,11 +113,7 @@ func request_RobotService_NeedsRestart_0(ctx context.Context, marshaler runtime. var protoReq NeedsRestartRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -154,11 +126,7 @@ func local_request_RobotService_NeedsRestart_0(ctx context.Context, marshaler ru var protoReq NeedsRestartRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -279,21 +247,21 @@ func RegisterRobotServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu // RegisterRobotServiceHandlerFromEndpoint is same as RegisterRobotServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterRobotServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/common/v1/common.pb.go b/common/v1/common.pb.go index 0502877f..603ea9ef 100644 --- a/common/v1/common.pb.go +++ b/common/v1/common.pb.go @@ -2,7 +2,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: common/v1/common.proto @@ -89,11 +89,9 @@ type ResourceName struct { func (x *ResourceName) Reset() { *x = ResourceName{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResourceName) String() string { @@ -104,7 +102,7 @@ func (*ResourceName) ProtoMessage() {} func (x *ResourceName) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -192,11 +190,9 @@ type Pose struct { func (x *Pose) Reset() { *x = Pose{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Pose) String() string { @@ -207,7 +203,7 @@ func (*Pose) ProtoMessage() {} func (x *Pose) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -288,11 +284,9 @@ type Orientation struct { func (x *Orientation) Reset() { *x = Orientation{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Orientation) String() string { @@ -303,7 +297,7 @@ func (*Orientation) ProtoMessage() {} func (x *Orientation) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -358,11 +352,9 @@ type PoseInFrame struct { func (x *PoseInFrame) Reset() { *x = PoseInFrame{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PoseInFrame) String() string { @@ -373,7 +365,7 @@ func (*PoseInFrame) ProtoMessage() {} func (x *PoseInFrame) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -414,11 +406,9 @@ type Vector3 struct { func (x *Vector3) Reset() { *x = Vector3{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Vector3) String() string { @@ -429,7 +419,7 @@ func (*Vector3) ProtoMessage() {} func (x *Vector3) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -475,11 +465,9 @@ type Sphere struct { func (x *Sphere) Reset() { *x = Sphere{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Sphere) String() string { @@ -490,7 +478,7 @@ func (*Sphere) ProtoMessage() {} func (x *Sphere) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -523,11 +511,9 @@ type Capsule struct { func (x *Capsule) Reset() { *x = Capsule{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Capsule) String() string { @@ -538,7 +524,7 @@ func (*Capsule) ProtoMessage() {} func (x *Capsule) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -579,11 +565,9 @@ type RectangularPrism struct { func (x *RectangularPrism) Reset() { *x = RectangularPrism{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RectangularPrism) String() string { @@ -594,7 +578,7 @@ func (*RectangularPrism) ProtoMessage() {} func (x *RectangularPrism) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -638,11 +622,9 @@ type Geometry struct { func (x *Geometry) Reset() { *x = Geometry{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Geometry) String() string { @@ -653,7 +635,7 @@ func (*Geometry) ProtoMessage() {} func (x *Geometry) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -747,11 +729,9 @@ type GeometriesInFrame struct { func (x *GeometriesInFrame) Reset() { *x = GeometriesInFrame{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GeometriesInFrame) String() string { @@ -762,7 +742,7 @@ func (*GeometriesInFrame) ProtoMessage() {} func (x *GeometriesInFrame) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -806,11 +786,9 @@ type PointCloudObject struct { func (x *PointCloudObject) Reset() { *x = PointCloudObject{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PointCloudObject) String() string { @@ -821,7 +799,7 @@ func (*PointCloudObject) ProtoMessage() {} func (x *PointCloudObject) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -861,11 +839,9 @@ type GeoPoint struct { func (x *GeoPoint) Reset() { *x = GeoPoint{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GeoPoint) String() string { @@ -876,7 +852,7 @@ func (*GeoPoint) ProtoMessage() {} func (x *GeoPoint) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -919,11 +895,9 @@ type GeoGeometry struct { func (x *GeoGeometry) Reset() { *x = GeoGeometry{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GeoGeometry) String() string { @@ -934,7 +908,7 @@ func (*GeoGeometry) ProtoMessage() {} func (x *GeoGeometry) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -980,11 +954,9 @@ type Transform struct { func (x *Transform) Reset() { *x = Transform{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Transform) String() string { @@ -995,7 +967,7 @@ func (*Transform) ProtoMessage() {} func (x *Transform) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1048,11 +1020,9 @@ type WorldState struct { func (x *WorldState) Reset() { *x = WorldState{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WorldState) String() string { @@ -1063,7 +1033,7 @@ func (*WorldState) ProtoMessage() {} func (x *WorldState) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1103,11 +1073,9 @@ type ActuatorStatus struct { func (x *ActuatorStatus) Reset() { *x = ActuatorStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ActuatorStatus) String() string { @@ -1118,7 +1086,7 @@ func (*ActuatorStatus) ProtoMessage() {} func (x *ActuatorStatus) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1154,11 +1122,9 @@ type ResponseMetadata struct { func (x *ResponseMetadata) Reset() { *x = ResponseMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResponseMetadata) String() string { @@ -1169,7 +1135,7 @@ func (*ResponseMetadata) ProtoMessage() {} func (x *ResponseMetadata) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1203,11 +1169,9 @@ type DoCommandRequest struct { func (x *DoCommandRequest) Reset() { *x = DoCommandRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoCommandRequest) String() string { @@ -1218,7 +1182,7 @@ func (*DoCommandRequest) ProtoMessage() {} func (x *DoCommandRequest) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1258,11 +1222,9 @@ type DoCommandResponse struct { func (x *DoCommandResponse) Reset() { *x = DoCommandResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DoCommandResponse) String() string { @@ -1273,7 +1235,7 @@ func (*DoCommandResponse) ProtoMessage() {} func (x *DoCommandResponse) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1308,11 +1270,9 @@ type GetKinematicsRequest struct { func (x *GetKinematicsRequest) Reset() { *x = GetKinematicsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetKinematicsRequest) String() string { @@ -1323,7 +1283,7 @@ func (*GetKinematicsRequest) ProtoMessage() {} func (x *GetKinematicsRequest) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1366,11 +1326,9 @@ type GetKinematicsResponse struct { func (x *GetKinematicsResponse) Reset() { *x = GetKinematicsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetKinematicsResponse) String() string { @@ -1381,7 +1339,7 @@ func (*GetKinematicsResponse) ProtoMessage() {} func (x *GetKinematicsResponse) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1423,11 +1381,9 @@ type GetGeometriesRequest struct { func (x *GetGeometriesRequest) Reset() { *x = GetGeometriesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGeometriesRequest) String() string { @@ -1438,7 +1394,7 @@ func (*GetGeometriesRequest) ProtoMessage() {} func (x *GetGeometriesRequest) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1478,11 +1434,9 @@ type GetGeometriesResponse struct { func (x *GetGeometriesResponse) Reset() { *x = GetGeometriesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGeometriesResponse) String() string { @@ -1493,7 +1447,7 @@ func (*GetGeometriesResponse) ProtoMessage() {} func (x *GetGeometriesResponse) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1528,11 +1482,9 @@ type GetReadingsRequest struct { func (x *GetReadingsRequest) Reset() { *x = GetReadingsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetReadingsRequest) String() string { @@ -1543,7 +1495,7 @@ func (*GetReadingsRequest) ProtoMessage() {} func (x *GetReadingsRequest) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1582,11 +1534,9 @@ type GetReadingsResponse struct { func (x *GetReadingsResponse) Reset() { *x = GetReadingsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetReadingsResponse) String() string { @@ -1597,7 +1547,7 @@ func (*GetReadingsResponse) ProtoMessage() {} func (x *GetReadingsResponse) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1636,11 +1586,9 @@ type LogEntry struct { func (x *LogEntry) Reset() { *x = LogEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_common_v1_common_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_v1_common_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LogEntry) String() string { @@ -1651,7 +1599,7 @@ func (*LogEntry) ProtoMessage() {} func (x *LogEntry) ProtoReflect() protoreflect.Message { mi := &file_common_v1_common_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1979,7 +1927,7 @@ func file_common_v1_common_proto_rawDescGZIP() []byte { var file_common_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_common_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 27) -var file_common_v1_common_proto_goTypes = []interface{}{ +var file_common_v1_common_proto_goTypes = []any{ (KinematicsFileFormat)(0), // 0: viam.common.v1.KinematicsFileFormat (*ResourceName)(nil), // 1: viam.common.v1.ResourceName (*Pose)(nil), // 2: viam.common.v1.Pose @@ -2054,327 +2002,13 @@ func file_common_v1_common_proto_init() { if File_common_v1_common_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_common_v1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResourceName); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Pose); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Orientation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoseInFrame); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Vector3); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Sphere); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Capsule); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RectangularPrism); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Geometry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GeometriesInFrame); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PointCloudObject); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GeoPoint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GeoGeometry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Transform); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WorldState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActuatorStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResponseMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoCommandRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DoCommandResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetKinematicsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetKinematicsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGeometriesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGeometriesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetReadingsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetReadingsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_v1_common_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogEntry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_common_v1_common_proto_msgTypes[8].OneofWrappers = []interface{}{ + file_common_v1_common_proto_msgTypes[8].OneofWrappers = []any{ (*Geometry_Sphere)(nil), (*Geometry_Box)(nil), (*Geometry_Capsule)(nil), } - file_common_v1_common_proto_msgTypes[13].OneofWrappers = []interface{}{} - file_common_v1_common_proto_msgTypes[16].OneofWrappers = []interface{}{} + file_common_v1_common_proto_msgTypes[13].OneofWrappers = []any{} + file_common_v1_common_proto_msgTypes[16].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/component/arm/v1/arm.pb.go b/component/arm/v1/arm.pb.go index 06773a35..6b975b5e 100644 --- a/component/arm/v1/arm.pb.go +++ b/component/arm/v1/arm.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/arm/v1/arm.proto @@ -36,11 +36,9 @@ type GetEndPositionRequest struct { func (x *GetEndPositionRequest) Reset() { *x = GetEndPositionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetEndPositionRequest) String() string { @@ -51,7 +49,7 @@ func (*GetEndPositionRequest) ProtoMessage() {} func (x *GetEndPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -92,11 +90,9 @@ type GetEndPositionResponse struct { func (x *GetEndPositionResponse) Reset() { *x = GetEndPositionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetEndPositionResponse) String() string { @@ -107,7 +103,7 @@ func (*GetEndPositionResponse) ProtoMessage() {} func (x *GetEndPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -141,11 +137,9 @@ type JointPositions struct { func (x *JointPositions) Reset() { *x = JointPositions{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *JointPositions) String() string { @@ -156,7 +150,7 @@ func (*JointPositions) ProtoMessage() {} func (x *JointPositions) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -191,11 +185,9 @@ type GetJointPositionsRequest struct { func (x *GetJointPositionsRequest) Reset() { *x = GetJointPositionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetJointPositionsRequest) String() string { @@ -206,7 +198,7 @@ func (*GetJointPositionsRequest) ProtoMessage() {} func (x *GetJointPositionsRequest) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -246,11 +238,9 @@ type GetJointPositionsResponse struct { func (x *GetJointPositionsResponse) Reset() { *x = GetJointPositionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetJointPositionsResponse) String() string { @@ -261,7 +251,7 @@ func (*GetJointPositionsResponse) ProtoMessage() {} func (x *GetJointPositionsResponse) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -301,11 +291,9 @@ type MoveToPositionRequest struct { func (x *MoveToPositionRequest) Reset() { *x = MoveToPositionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveToPositionRequest) String() string { @@ -316,7 +304,7 @@ func (*MoveToPositionRequest) ProtoMessage() {} func (x *MoveToPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -360,11 +348,9 @@ type MoveToPositionResponse struct { func (x *MoveToPositionResponse) Reset() { *x = MoveToPositionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveToPositionResponse) String() string { @@ -375,7 +361,7 @@ func (*MoveToPositionResponse) ProtoMessage() {} func (x *MoveToPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -406,11 +392,9 @@ type MoveToJointPositionsRequest struct { func (x *MoveToJointPositionsRequest) Reset() { *x = MoveToJointPositionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveToJointPositionsRequest) String() string { @@ -421,7 +405,7 @@ func (*MoveToJointPositionsRequest) ProtoMessage() {} func (x *MoveToJointPositionsRequest) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -465,11 +449,9 @@ type MoveToJointPositionsResponse struct { func (x *MoveToJointPositionsResponse) Reset() { *x = MoveToJointPositionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveToJointPositionsResponse) String() string { @@ -480,7 +462,7 @@ func (*MoveToJointPositionsResponse) ProtoMessage() {} func (x *MoveToJointPositionsResponse) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -512,11 +494,9 @@ type MoveThroughJointPositionsRequest struct { func (x *MoveThroughJointPositionsRequest) Reset() { *x = MoveThroughJointPositionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveThroughJointPositionsRequest) String() string { @@ -527,7 +507,7 @@ func (*MoveThroughJointPositionsRequest) ProtoMessage() {} func (x *MoveThroughJointPositionsRequest) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -578,11 +558,9 @@ type MoveThroughJointPositionsResponse struct { func (x *MoveThroughJointPositionsResponse) Reset() { *x = MoveThroughJointPositionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveThroughJointPositionsResponse) String() string { @@ -593,7 +571,7 @@ func (*MoveThroughJointPositionsResponse) ProtoMessage() {} func (x *MoveThroughJointPositionsResponse) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -621,11 +599,9 @@ type StopRequest struct { func (x *StopRequest) Reset() { *x = StopRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopRequest) String() string { @@ -636,7 +612,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -673,11 +649,9 @@ type StopResponse struct { func (x *StopResponse) Reset() { *x = StopResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopResponse) String() string { @@ -688,7 +662,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -715,11 +689,9 @@ type Status struct { func (x *Status) Reset() { *x = Status{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Status) String() string { @@ -730,7 +702,7 @@ func (*Status) ProtoMessage() {} func (x *Status) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -776,11 +748,9 @@ type IsMovingRequest struct { func (x *IsMovingRequest) Reset() { *x = IsMovingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsMovingRequest) String() string { @@ -791,7 +761,7 @@ func (*IsMovingRequest) ProtoMessage() {} func (x *IsMovingRequest) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -823,11 +793,9 @@ type IsMovingResponse struct { func (x *IsMovingResponse) Reset() { *x = IsMovingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsMovingResponse) String() string { @@ -838,7 +806,7 @@ func (*IsMovingResponse) ProtoMessage() {} func (x *IsMovingResponse) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -873,11 +841,9 @@ type MoveOptions struct { func (x *MoveOptions) Reset() { *x = MoveOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_component_arm_v1_arm_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_arm_v1_arm_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveOptions) String() string { @@ -888,7 +854,7 @@ func (*MoveOptions) ProtoMessage() {} func (x *MoveOptions) ProtoReflect() protoreflect.Message { mi := &file_component_arm_v1_arm_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1150,7 +1116,7 @@ func file_component_arm_v1_arm_proto_rawDescGZIP() []byte { } var file_component_arm_v1_arm_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_component_arm_v1_arm_proto_goTypes = []interface{}{ +var file_component_arm_v1_arm_proto_goTypes = []any{ (*GetEndPositionRequest)(nil), // 0: viam.component.arm.v1.GetEndPositionRequest (*GetEndPositionResponse)(nil), // 1: viam.component.arm.v1.GetEndPositionResponse (*JointPositions)(nil), // 2: viam.component.arm.v1.JointPositions @@ -1224,214 +1190,8 @@ func file_component_arm_v1_arm_proto_init() { if File_component_arm_v1_arm_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_component_arm_v1_arm_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetEndPositionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetEndPositionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*JointPositions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetJointPositionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetJointPositionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveToPositionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveToPositionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveToJointPositionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveToJointPositionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveThroughJointPositionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveThroughJointPositionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Status); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMovingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMovingResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_arm_v1_arm_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_component_arm_v1_arm_proto_msgTypes[9].OneofWrappers = []interface{}{} - file_component_arm_v1_arm_proto_msgTypes[16].OneofWrappers = []interface{}{} + file_component_arm_v1_arm_proto_msgTypes[9].OneofWrappers = []any{} + file_component_arm_v1_arm_proto_msgTypes[16].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/component/arm/v1/arm.pb.gw.go b/component/arm/v1/arm.pb.gw.go index 0e9899d5..afd930a7 100644 --- a/component/arm/v1/arm.pb.gw.go +++ b/component/arm/v1/arm.pb.gw.go @@ -976,21 +976,21 @@ func RegisterArmServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, // RegisterArmServiceHandlerFromEndpoint is same as RegisterArmServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterArmServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/audioinput/v1/audioinput.pb.go b/component/audioinput/v1/audioinput.pb.go index 49f5d70d..8d464761 100644 --- a/component/audioinput/v1/audioinput.pb.go +++ b/component/audioinput/v1/audioinput.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/audioinput/v1/audioinput.proto @@ -85,11 +85,9 @@ type RecordRequest struct { func (x *RecordRequest) Reset() { *x = RecordRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RecordRequest) String() string { @@ -100,7 +98,7 @@ func (*RecordRequest) ProtoMessage() {} func (x *RecordRequest) ProtoReflect() protoreflect.Message { mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -142,11 +140,9 @@ type AudioChunkInfo struct { func (x *AudioChunkInfo) Reset() { *x = AudioChunkInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AudioChunkInfo) String() string { @@ -157,7 +153,7 @@ func (*AudioChunkInfo) ProtoMessage() {} func (x *AudioChunkInfo) ProtoReflect() protoreflect.Message { mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -208,11 +204,9 @@ type AudioChunk struct { func (x *AudioChunk) Reset() { *x = AudioChunk{} - if protoimpl.UnsafeEnabled { - mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AudioChunk) String() string { @@ -223,7 +217,7 @@ func (*AudioChunk) ProtoMessage() {} func (x *AudioChunk) ProtoReflect() protoreflect.Message { mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -265,11 +259,9 @@ type ChunksRequest struct { func (x *ChunksRequest) Reset() { *x = ChunksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChunksRequest) String() string { @@ -280,7 +272,7 @@ func (*ChunksRequest) ProtoMessage() {} func (x *ChunksRequest) ProtoReflect() protoreflect.Message { mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -323,11 +315,9 @@ type ChunksResponse struct { func (x *ChunksResponse) Reset() { *x = ChunksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChunksResponse) String() string { @@ -338,7 +328,7 @@ func (*ChunksResponse) ProtoMessage() {} func (x *ChunksResponse) ProtoReflect() protoreflect.Message { mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -401,11 +391,9 @@ type PropertiesRequest struct { func (x *PropertiesRequest) Reset() { *x = PropertiesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PropertiesRequest) String() string { @@ -416,7 +404,7 @@ func (*PropertiesRequest) ProtoMessage() {} func (x *PropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -454,11 +442,9 @@ type PropertiesResponse struct { func (x *PropertiesResponse) Reset() { *x = PropertiesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PropertiesResponse) String() string { @@ -469,7 +455,7 @@ func (*PropertiesResponse) ProtoMessage() {} func (x *PropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_audioinput_v1_audioinput_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -680,7 +666,7 @@ func file_component_audioinput_v1_audioinput_proto_rawDescGZIP() []byte { var file_component_audioinput_v1_audioinput_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_component_audioinput_v1_audioinput_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_component_audioinput_v1_audioinput_proto_goTypes = []interface{}{ +var file_component_audioinput_v1_audioinput_proto_goTypes = []any{ (SampleFormat)(0), // 0: viam.component.audioinput.v1.SampleFormat (*RecordRequest)(nil), // 1: viam.component.audioinput.v1.RecordRequest (*AudioChunkInfo)(nil), // 2: viam.component.audioinput.v1.AudioChunkInfo @@ -725,93 +711,7 @@ func file_component_audioinput_v1_audioinput_proto_init() { if File_component_audioinput_v1_audioinput_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_component_audioinput_v1_audioinput_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RecordRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_audioinput_v1_audioinput_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AudioChunkInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_audioinput_v1_audioinput_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AudioChunk); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_audioinput_v1_audioinput_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChunksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_audioinput_v1_audioinput_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChunksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_audioinput_v1_audioinput_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PropertiesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_audioinput_v1_audioinput_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PropertiesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_component_audioinput_v1_audioinput_proto_msgTypes[4].OneofWrappers = []interface{}{ + file_component_audioinput_v1_audioinput_proto_msgTypes[4].OneofWrappers = []any{ (*ChunksResponse_Info)(nil), (*ChunksResponse_Chunk)(nil), } diff --git a/component/audioinput/v1/audioinput.pb.gw.go b/component/audioinput/v1/audioinput.pb.gw.go index 97662546..2ccbdba7 100644 --- a/component/audioinput/v1/audioinput.pb.gw.go +++ b/component/audioinput/v1/audioinput.pb.gw.go @@ -36,11 +36,7 @@ func request_AudioInputService_Chunks_0(ctx context.Context, marshaler runtime.M var protoReq ChunksRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -438,21 +434,21 @@ func RegisterAudioInputServiceHandlerServer(ctx context.Context, mux *runtime.Se // RegisterAudioInputServiceHandlerFromEndpoint is same as RegisterAudioInputServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterAudioInputServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/base/v1/base.pb.go b/component/base/v1/base.pb.go index 694a34b7..96afd86a 100644 --- a/component/base/v1/base.pb.go +++ b/component/base/v1/base.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/base/v1/base.proto @@ -40,11 +40,9 @@ type MoveStraightRequest struct { func (x *MoveStraightRequest) Reset() { *x = MoveStraightRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_base_v1_base_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_base_v1_base_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveStraightRequest) String() string { @@ -55,7 +53,7 @@ func (*MoveStraightRequest) ProtoMessage() {} func (x *MoveStraightRequest) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -106,11 +104,9 @@ type MoveStraightResponse struct { func (x *MoveStraightResponse) Reset() { *x = MoveStraightResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_base_v1_base_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_base_v1_base_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveStraightResponse) String() string { @@ -121,7 +117,7 @@ func (*MoveStraightResponse) ProtoMessage() {} func (x *MoveStraightResponse) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -153,11 +149,9 @@ type SpinRequest struct { func (x *SpinRequest) Reset() { *x = SpinRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_base_v1_base_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_base_v1_base_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SpinRequest) String() string { @@ -168,7 +162,7 @@ func (*SpinRequest) ProtoMessage() {} func (x *SpinRequest) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -219,11 +213,9 @@ type SpinResponse struct { func (x *SpinResponse) Reset() { *x = SpinResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_base_v1_base_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_base_v1_base_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SpinResponse) String() string { @@ -234,7 +226,7 @@ func (*SpinResponse) ProtoMessage() {} func (x *SpinResponse) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -262,11 +254,9 @@ type StopRequest struct { func (x *StopRequest) Reset() { *x = StopRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_base_v1_base_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_base_v1_base_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopRequest) String() string { @@ -277,7 +267,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -314,11 +304,9 @@ type StopResponse struct { func (x *StopResponse) Reset() { *x = StopResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_base_v1_base_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_base_v1_base_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopResponse) String() string { @@ -329,7 +317,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -361,11 +349,9 @@ type SetPowerRequest struct { func (x *SetPowerRequest) Reset() { *x = SetPowerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_base_v1_base_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_base_v1_base_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetPowerRequest) String() string { @@ -376,7 +362,7 @@ func (*SetPowerRequest) ProtoMessage() {} func (x *SetPowerRequest) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -427,11 +413,9 @@ type SetPowerResponse struct { func (x *SetPowerResponse) Reset() { *x = SetPowerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_base_v1_base_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_base_v1_base_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetPowerResponse) String() string { @@ -442,7 +426,7 @@ func (*SetPowerResponse) ProtoMessage() {} func (x *SetPowerResponse) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -474,11 +458,9 @@ type SetVelocityRequest struct { func (x *SetVelocityRequest) Reset() { *x = SetVelocityRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_base_v1_base_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_base_v1_base_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetVelocityRequest) String() string { @@ -489,7 +471,7 @@ func (*SetVelocityRequest) ProtoMessage() {} func (x *SetVelocityRequest) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -540,11 +522,9 @@ type SetVelocityResponse struct { func (x *SetVelocityResponse) Reset() { *x = SetVelocityResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_base_v1_base_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_base_v1_base_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetVelocityResponse) String() string { @@ -555,7 +535,7 @@ func (*SetVelocityResponse) ProtoMessage() {} func (x *SetVelocityResponse) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -580,11 +560,9 @@ type IsMovingRequest struct { func (x *IsMovingRequest) Reset() { *x = IsMovingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_base_v1_base_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_base_v1_base_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsMovingRequest) String() string { @@ -595,7 +573,7 @@ func (*IsMovingRequest) ProtoMessage() {} func (x *IsMovingRequest) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -627,11 +605,9 @@ type IsMovingResponse struct { func (x *IsMovingResponse) Reset() { *x = IsMovingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_base_v1_base_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_base_v1_base_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsMovingResponse) String() string { @@ -642,7 +618,7 @@ func (*IsMovingResponse) ProtoMessage() {} func (x *IsMovingResponse) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -676,11 +652,9 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_base_v1_base_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_base_v1_base_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesRequest) String() string { @@ -691,7 +665,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -732,11 +706,9 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_base_v1_base_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_base_v1_base_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesResponse) String() string { @@ -747,7 +719,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_base_v1_base_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -977,7 +949,7 @@ func file_component_base_v1_base_proto_rawDescGZIP() []byte { } var file_component_base_v1_base_proto_msgTypes = make([]protoimpl.MessageInfo, 14) -var file_component_base_v1_base_proto_goTypes = []interface{}{ +var file_component_base_v1_base_proto_goTypes = []any{ (*MoveStraightRequest)(nil), // 0: viam.component.base.v1.MoveStraightRequest (*MoveStraightResponse)(nil), // 1: viam.component.base.v1.MoveStraightResponse (*SpinRequest)(nil), // 2: viam.component.base.v1.SpinRequest @@ -1040,176 +1012,6 @@ func file_component_base_v1_base_proto_init() { if File_component_base_v1_base_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_component_base_v1_base_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveStraightRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_base_v1_base_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveStraightResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_base_v1_base_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpinRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_base_v1_base_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpinResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_base_v1_base_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_base_v1_base_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_base_v1_base_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetPowerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_base_v1_base_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetPowerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_base_v1_base_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetVelocityRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_base_v1_base_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetVelocityResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_base_v1_base_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMovingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_base_v1_base_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMovingResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_base_v1_base_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_base_v1_base_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesResponse); 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{ diff --git a/component/base/v1/base.pb.gw.go b/component/base/v1/base.pb.gw.go index faa48e8b..6ca08087 100644 --- a/component/base/v1/base.pb.gw.go +++ b/component/base/v1/base.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - v1_0 "go.viam.com/api/common/v1" + "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -439,7 +439,7 @@ var ( ) func request_BaseService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client BaseServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -472,7 +472,7 @@ func request_BaseService_DoCommand_0(ctx context.Context, marshaler runtime.Mars } func local_request_BaseService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server BaseServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -509,7 +509,7 @@ var ( ) func request_BaseService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, client BaseServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -542,7 +542,7 @@ func request_BaseService_GetGeometries_0(ctx context.Context, marshaler runtime. } func local_request_BaseService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, server BaseServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -881,21 +881,21 @@ func RegisterBaseServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux // RegisterBaseServiceHandlerFromEndpoint is same as RegisterBaseServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterBaseServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/board/v1/board.pb.go b/component/board/v1/board.pb.go index 1544c80c..06666b1e 100644 --- a/component/board/v1/board.pb.go +++ b/component/board/v1/board.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/board/v1/board.proto @@ -84,11 +84,9 @@ type Status struct { func (x *Status) Reset() { *x = Status{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Status) String() string { @@ -99,7 +97,7 @@ func (*Status) ProtoMessage() {} func (x *Status) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -142,11 +140,9 @@ type SetGPIORequest struct { func (x *SetGPIORequest) Reset() { *x = SetGPIORequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetGPIORequest) String() string { @@ -157,7 +153,7 @@ func (*SetGPIORequest) ProtoMessage() {} func (x *SetGPIORequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -208,11 +204,9 @@ type SetGPIOResponse struct { func (x *SetGPIOResponse) Reset() { *x = SetGPIOResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetGPIOResponse) String() string { @@ -223,7 +217,7 @@ func (*SetGPIOResponse) ProtoMessage() {} func (x *SetGPIOResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -251,11 +245,9 @@ type GetGPIORequest struct { func (x *GetGPIORequest) Reset() { *x = GetGPIORequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGPIORequest) String() string { @@ -266,7 +258,7 @@ func (*GetGPIORequest) ProtoMessage() {} func (x *GetGPIORequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -312,11 +304,9 @@ type GetGPIOResponse struct { func (x *GetGPIOResponse) Reset() { *x = GetGPIOResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetGPIOResponse) String() string { @@ -327,7 +317,7 @@ func (*GetGPIOResponse) ProtoMessage() {} func (x *GetGPIOResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -362,11 +352,9 @@ type PWMRequest struct { func (x *PWMRequest) Reset() { *x = PWMRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PWMRequest) String() string { @@ -377,7 +365,7 @@ func (*PWMRequest) ProtoMessage() {} func (x *PWMRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -423,11 +411,9 @@ type PWMResponse struct { func (x *PWMResponse) Reset() { *x = PWMResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PWMResponse) String() string { @@ -438,7 +424,7 @@ func (*PWMResponse) ProtoMessage() {} func (x *PWMResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -474,11 +460,9 @@ type SetPWMRequest struct { func (x *SetPWMRequest) Reset() { *x = SetPWMRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetPWMRequest) String() string { @@ -489,7 +473,7 @@ func (*SetPWMRequest) ProtoMessage() {} func (x *SetPWMRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -540,11 +524,9 @@ type SetPWMResponse struct { func (x *SetPWMResponse) Reset() { *x = SetPWMResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetPWMResponse) String() string { @@ -555,7 +537,7 @@ func (*SetPWMResponse) ProtoMessage() {} func (x *SetPWMResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -583,11 +565,9 @@ type PWMFrequencyRequest struct { func (x *PWMFrequencyRequest) Reset() { *x = PWMFrequencyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PWMFrequencyRequest) String() string { @@ -598,7 +578,7 @@ func (*PWMFrequencyRequest) ProtoMessage() {} func (x *PWMFrequencyRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -644,11 +624,9 @@ type PWMFrequencyResponse struct { func (x *PWMFrequencyResponse) Reset() { *x = PWMFrequencyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PWMFrequencyResponse) String() string { @@ -659,7 +637,7 @@ func (*PWMFrequencyResponse) ProtoMessage() {} func (x *PWMFrequencyResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -695,11 +673,9 @@ type SetPWMFrequencyRequest struct { func (x *SetPWMFrequencyRequest) Reset() { *x = SetPWMFrequencyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetPWMFrequencyRequest) String() string { @@ -710,7 +686,7 @@ func (*SetPWMFrequencyRequest) ProtoMessage() {} func (x *SetPWMFrequencyRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -761,11 +737,9 @@ type SetPWMFrequencyResponse struct { func (x *SetPWMFrequencyResponse) Reset() { *x = SetPWMFrequencyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetPWMFrequencyResponse) String() string { @@ -776,7 +750,7 @@ func (*SetPWMFrequencyResponse) ProtoMessage() {} func (x *SetPWMFrequencyResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -804,11 +778,9 @@ type ReadAnalogReaderRequest struct { func (x *ReadAnalogReaderRequest) Reset() { *x = ReadAnalogReaderRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReadAnalogReaderRequest) String() string { @@ -819,7 +791,7 @@ func (*ReadAnalogReaderRequest) ProtoMessage() {} func (x *ReadAnalogReaderRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -868,11 +840,9 @@ type ReadAnalogReaderResponse struct { func (x *ReadAnalogReaderResponse) Reset() { *x = ReadAnalogReaderResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReadAnalogReaderResponse) String() string { @@ -883,7 +853,7 @@ func (*ReadAnalogReaderResponse) ProtoMessage() {} func (x *ReadAnalogReaderResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -940,11 +910,9 @@ type WriteAnalogRequest struct { func (x *WriteAnalogRequest) Reset() { *x = WriteAnalogRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WriteAnalogRequest) String() string { @@ -955,7 +923,7 @@ func (*WriteAnalogRequest) ProtoMessage() {} func (x *WriteAnalogRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1006,11 +974,9 @@ type WriteAnalogResponse struct { func (x *WriteAnalogResponse) Reset() { *x = WriteAnalogResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WriteAnalogResponse) String() string { @@ -1021,7 +987,7 @@ func (*WriteAnalogResponse) ProtoMessage() {} func (x *WriteAnalogResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1049,11 +1015,9 @@ type GetDigitalInterruptValueRequest struct { func (x *GetDigitalInterruptValueRequest) Reset() { *x = GetDigitalInterruptValueRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDigitalInterruptValueRequest) String() string { @@ -1064,7 +1028,7 @@ func (*GetDigitalInterruptValueRequest) ProtoMessage() {} func (x *GetDigitalInterruptValueRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1110,11 +1074,9 @@ type GetDigitalInterruptValueResponse struct { func (x *GetDigitalInterruptValueResponse) Reset() { *x = GetDigitalInterruptValueResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDigitalInterruptValueResponse) String() string { @@ -1125,7 +1087,7 @@ func (*GetDigitalInterruptValueResponse) ProtoMessage() {} func (x *GetDigitalInterruptValueResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1162,11 +1124,9 @@ type StreamTicksRequest struct { func (x *StreamTicksRequest) Reset() { *x = StreamTicksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamTicksRequest) String() string { @@ -1177,7 +1137,7 @@ func (*StreamTicksRequest) ProtoMessage() {} func (x *StreamTicksRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1228,11 +1188,9 @@ type StreamTicksResponse struct { func (x *StreamTicksResponse) Reset() { *x = StreamTicksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamTicksResponse) String() string { @@ -1243,7 +1201,7 @@ func (*StreamTicksResponse) ProtoMessage() {} func (x *StreamTicksResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1296,11 +1254,9 @@ type SetPowerModeRequest struct { func (x *SetPowerModeRequest) Reset() { *x = SetPowerModeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetPowerModeRequest) String() string { @@ -1311,7 +1267,7 @@ func (*SetPowerModeRequest) ProtoMessage() {} func (x *SetPowerModeRequest) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1362,11 +1318,9 @@ type SetPowerModeResponse struct { func (x *SetPowerModeResponse) Reset() { *x = SetPowerModeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_board_v1_board_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_board_v1_board_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetPowerModeResponse) String() string { @@ -1377,7 +1331,7 @@ func (*SetPowerModeResponse) ProtoMessage() {} func (x *SetPowerModeResponse) ProtoReflect() protoreflect.Message { mi := &file_component_board_v1_board_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1717,7 +1671,7 @@ func file_component_board_v1_board_proto_rawDescGZIP() []byte { var file_component_board_v1_board_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_component_board_v1_board_proto_msgTypes = make([]protoimpl.MessageInfo, 25) -var file_component_board_v1_board_proto_goTypes = []interface{}{ +var file_component_board_v1_board_proto_goTypes = []any{ (PowerMode)(0), // 0: viam.component.board.v1.PowerMode (*Status)(nil), // 1: viam.component.board.v1.Status (*SetGPIORequest)(nil), // 2: viam.component.board.v1.SetGPIORequest @@ -1805,285 +1759,7 @@ func file_component_board_v1_board_proto_init() { if File_component_board_v1_board_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_component_board_v1_board_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Status); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetGPIORequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetGPIOResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGPIORequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetGPIOResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PWMRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PWMResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetPWMRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetPWMResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PWMFrequencyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PWMFrequencyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetPWMFrequencyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetPWMFrequencyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReadAnalogReaderRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReadAnalogReaderResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteAnalogRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteAnalogResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDigitalInterruptValueRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDigitalInterruptValueResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamTicksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamTicksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetPowerModeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_board_v1_board_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetPowerModeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_component_board_v1_board_proto_msgTypes[21].OneofWrappers = []interface{}{} + file_component_board_v1_board_proto_msgTypes[21].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/component/board/v1/board.pb.gw.go b/component/board/v1/board.pb.gw.go index c6e1fd68..bd967b38 100644 --- a/component/board/v1/board.pb.gw.go +++ b/component/board/v1/board.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - v1_0 "go.viam.com/api/common/v1" + "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -457,7 +457,7 @@ var ( ) func request_BoardService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client BoardServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -490,7 +490,7 @@ func request_BoardService_DoCommand_0(ctx context.Context, marshaler runtime.Mar } func local_request_BoardService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server BoardServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -892,7 +892,7 @@ var ( ) func request_BoardService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, client BoardServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -925,7 +925,7 @@ func request_BoardService_GetGeometries_0(ctx context.Context, marshaler runtime } func local_request_BoardService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, server BoardServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -1276,21 +1276,21 @@ func RegisterBoardServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu // RegisterBoardServiceHandlerFromEndpoint is same as RegisterBoardServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterBoardServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/camera/v1/camera.pb.go b/component/camera/v1/camera.pb.go index 6e4b6a29..e59a9ff2 100644 --- a/component/camera/v1/camera.pb.go +++ b/component/camera/v1/camera.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/camera/v1/camera.proto @@ -94,11 +94,9 @@ type GetImageRequest struct { func (x *GetImageRequest) Reset() { *x = GetImageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_camera_v1_camera_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_camera_v1_camera_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetImageRequest) String() string { @@ -109,7 +107,7 @@ func (*GetImageRequest) ProtoMessage() {} func (x *GetImageRequest) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -158,11 +156,9 @@ type GetImageResponse struct { func (x *GetImageResponse) Reset() { *x = GetImageResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_camera_v1_camera_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_camera_v1_camera_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetImageResponse) String() string { @@ -173,7 +169,7 @@ func (*GetImageResponse) ProtoMessage() {} func (x *GetImageResponse) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -213,11 +209,9 @@ type GetImagesRequest struct { func (x *GetImagesRequest) Reset() { *x = GetImagesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_camera_v1_camera_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_camera_v1_camera_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetImagesRequest) String() string { @@ -228,7 +222,7 @@ func (*GetImagesRequest) ProtoMessage() {} func (x *GetImagesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -263,11 +257,9 @@ type GetImagesResponse struct { func (x *GetImagesResponse) Reset() { *x = GetImagesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_camera_v1_camera_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_camera_v1_camera_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetImagesResponse) String() string { @@ -278,7 +270,7 @@ func (*GetImagesResponse) ProtoMessage() {} func (x *GetImagesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -322,11 +314,9 @@ type Image struct { func (x *Image) Reset() { *x = Image{} - if protoimpl.UnsafeEnabled { - mi := &file_component_camera_v1_camera_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_camera_v1_camera_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Image) String() string { @@ -337,7 +327,7 @@ func (*Image) ProtoMessage() {} func (x *Image) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -388,11 +378,9 @@ type RenderFrameRequest struct { func (x *RenderFrameRequest) Reset() { *x = RenderFrameRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_camera_v1_camera_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_camera_v1_camera_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RenderFrameRequest) String() string { @@ -403,7 +391,7 @@ func (*RenderFrameRequest) ProtoMessage() {} func (x *RenderFrameRequest) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -454,11 +442,9 @@ type GetPointCloudRequest struct { func (x *GetPointCloudRequest) Reset() { *x = GetPointCloudRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_camera_v1_camera_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_camera_v1_camera_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPointCloudRequest) String() string { @@ -469,7 +455,7 @@ func (*GetPointCloudRequest) ProtoMessage() {} func (x *GetPointCloudRequest) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -518,11 +504,9 @@ type GetPointCloudResponse struct { func (x *GetPointCloudResponse) Reset() { *x = GetPointCloudResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_camera_v1_camera_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_camera_v1_camera_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPointCloudResponse) String() string { @@ -533,7 +517,7 @@ func (*GetPointCloudResponse) ProtoMessage() {} func (x *GetPointCloudResponse) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -573,11 +557,9 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_camera_v1_camera_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_camera_v1_camera_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesRequest) String() string { @@ -588,7 +570,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -633,11 +615,9 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_camera_v1_camera_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_camera_v1_camera_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesResponse) String() string { @@ -648,7 +628,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -708,11 +688,9 @@ type Webcams struct { func (x *Webcams) Reset() { *x = Webcams{} - if protoimpl.UnsafeEnabled { - mi := &file_component_camera_v1_camera_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_camera_v1_camera_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Webcams) String() string { @@ -723,7 +701,7 @@ func (*Webcams) ProtoMessage() {} func (x *Webcams) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -764,11 +742,9 @@ type Webcam struct { func (x *Webcam) Reset() { *x = Webcam{} - if protoimpl.UnsafeEnabled { - mi := &file_component_camera_v1_camera_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_camera_v1_camera_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Webcam) String() string { @@ -779,7 +755,7 @@ func (*Webcam) ProtoMessage() {} func (x *Webcam) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -846,11 +822,9 @@ type Property struct { func (x *Property) Reset() { *x = Property{} - if protoimpl.UnsafeEnabled { - mi := &file_component_camera_v1_camera_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_camera_v1_camera_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Property) String() string { @@ -861,7 +835,7 @@ func (*Property) ProtoMessage() {} func (x *Property) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -919,11 +893,9 @@ type IntrinsicParameters struct { func (x *IntrinsicParameters) Reset() { *x = IntrinsicParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_component_camera_v1_camera_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_camera_v1_camera_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IntrinsicParameters) String() string { @@ -934,7 +906,7 @@ func (*IntrinsicParameters) ProtoMessage() {} func (x *IntrinsicParameters) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1002,11 +974,9 @@ type DistortionParameters struct { func (x *DistortionParameters) Reset() { *x = DistortionParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_component_camera_v1_camera_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_camera_v1_camera_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DistortionParameters) String() string { @@ -1017,7 +987,7 @@ func (*DistortionParameters) ProtoMessage() {} func (x *DistortionParameters) ProtoReflect() protoreflect.Message { mi := &file_component_camera_v1_camera_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1274,7 +1244,7 @@ func file_component_camera_v1_camera_proto_rawDescGZIP() []byte { var file_component_camera_v1_camera_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_component_camera_v1_camera_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_component_camera_v1_camera_proto_goTypes = []interface{}{ +var file_component_camera_v1_camera_proto_goTypes = []any{ (Format)(0), // 0: viam.component.camera.v1.Format (*GetImageRequest)(nil), // 1: viam.component.camera.v1.GetImageRequest (*GetImageResponse)(nil), // 2: viam.component.camera.v1.GetImageResponse @@ -1336,189 +1306,7 @@ func file_component_camera_v1_camera_proto_init() { if File_component_camera_v1_camera_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_component_camera_v1_camera_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetImageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_camera_v1_camera_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetImageResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_camera_v1_camera_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetImagesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_camera_v1_camera_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetImagesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_camera_v1_camera_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Image); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_camera_v1_camera_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenderFrameRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_camera_v1_camera_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPointCloudRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_camera_v1_camera_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPointCloudResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_camera_v1_camera_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_camera_v1_camera_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_camera_v1_camera_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Webcams); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_camera_v1_camera_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Webcam); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_camera_v1_camera_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Property); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_camera_v1_camera_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IntrinsicParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_camera_v1_camera_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DistortionParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_component_camera_v1_camera_proto_msgTypes[9].OneofWrappers = []interface{}{} + file_component_camera_v1_camera_proto_msgTypes[9].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/component/camera/v1/camera.pb.gw.go b/component/camera/v1/camera.pb.gw.go index b329ca95..1532d7f8 100644 --- a/component/camera/v1/camera.pb.gw.go +++ b/component/camera/v1/camera.pb.gw.go @@ -673,21 +673,21 @@ func RegisterCameraServiceHandlerServer(ctx context.Context, mux *runtime.ServeM // RegisterCameraServiceHandlerFromEndpoint is same as RegisterCameraServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterCameraServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/encoder/v1/encoder.pb.go b/component/encoder/v1/encoder.pb.go index ceeeb564..1ddaad40 100644 --- a/component/encoder/v1/encoder.pb.go +++ b/component/encoder/v1/encoder.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/encoder/v1/encoder.proto @@ -95,11 +95,9 @@ type GetPositionRequest struct { func (x *GetPositionRequest) Reset() { *x = GetPositionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_encoder_v1_encoder_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_encoder_v1_encoder_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPositionRequest) String() string { @@ -110,7 +108,7 @@ func (*GetPositionRequest) ProtoMessage() {} func (x *GetPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_encoder_v1_encoder_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -157,11 +155,9 @@ type GetPositionResponse struct { func (x *GetPositionResponse) Reset() { *x = GetPositionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_encoder_v1_encoder_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_encoder_v1_encoder_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPositionResponse) String() string { @@ -172,7 +168,7 @@ func (*GetPositionResponse) ProtoMessage() {} func (x *GetPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_encoder_v1_encoder_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -214,11 +210,9 @@ type ResetPositionRequest struct { func (x *ResetPositionRequest) Reset() { *x = ResetPositionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_encoder_v1_encoder_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_encoder_v1_encoder_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetPositionRequest) String() string { @@ -229,7 +223,7 @@ func (*ResetPositionRequest) ProtoMessage() {} func (x *ResetPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_encoder_v1_encoder_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -266,11 +260,9 @@ type ResetPositionResponse struct { func (x *ResetPositionResponse) Reset() { *x = ResetPositionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_encoder_v1_encoder_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_encoder_v1_encoder_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetPositionResponse) String() string { @@ -281,7 +273,7 @@ func (*ResetPositionResponse) ProtoMessage() {} func (x *ResetPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_encoder_v1_encoder_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -309,11 +301,9 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_encoder_v1_encoder_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_encoder_v1_encoder_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesRequest) String() string { @@ -324,7 +314,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_encoder_v1_encoder_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -364,11 +354,9 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_encoder_v1_encoder_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_encoder_v1_encoder_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesResponse) String() string { @@ -379,7 +367,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_encoder_v1_encoder_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -542,7 +530,7 @@ func file_component_encoder_v1_encoder_proto_rawDescGZIP() []byte { var file_component_encoder_v1_encoder_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_component_encoder_v1_encoder_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_component_encoder_v1_encoder_proto_goTypes = []interface{}{ +var file_component_encoder_v1_encoder_proto_goTypes = []any{ (PositionType)(0), // 0: viam.component.encoder.v1.PositionType (*GetPositionRequest)(nil), // 1: viam.component.encoder.v1.GetPositionRequest (*GetPositionResponse)(nil), // 2: viam.component.encoder.v1.GetPositionResponse @@ -584,81 +572,7 @@ func file_component_encoder_v1_encoder_proto_init() { if File_component_encoder_v1_encoder_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_component_encoder_v1_encoder_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPositionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_encoder_v1_encoder_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPositionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_encoder_v1_encoder_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetPositionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_encoder_v1_encoder_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetPositionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_encoder_v1_encoder_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_encoder_v1_encoder_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_component_encoder_v1_encoder_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_component_encoder_v1_encoder_proto_msgTypes[0].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/component/encoder/v1/encoder.pb.gw.go b/component/encoder/v1/encoder.pb.gw.go index ef911f15..afe5b419 100644 --- a/component/encoder/v1/encoder.pb.gw.go +++ b/component/encoder/v1/encoder.pb.gw.go @@ -519,21 +519,21 @@ func RegisterEncoderServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterEncoderServiceHandlerFromEndpoint is same as RegisterEncoderServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterEncoderServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/gantry/v1/gantry.pb.go b/component/gantry/v1/gantry.pb.go index 04bd4937..873a722f 100644 --- a/component/gantry/v1/gantry.pb.go +++ b/component/gantry/v1/gantry.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/gantry/v1/gantry.proto @@ -35,11 +35,9 @@ type GetPositionRequest struct { func (x *GetPositionRequest) Reset() { *x = GetPositionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gantry_v1_gantry_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gantry_v1_gantry_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPositionRequest) String() string { @@ -50,7 +48,7 @@ func (*GetPositionRequest) ProtoMessage() {} func (x *GetPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -89,11 +87,9 @@ type GetPositionResponse struct { func (x *GetPositionResponse) Reset() { *x = GetPositionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gantry_v1_gantry_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gantry_v1_gantry_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPositionResponse) String() string { @@ -104,7 +100,7 @@ func (*GetPositionResponse) ProtoMessage() {} func (x *GetPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -142,11 +138,9 @@ type MoveToPositionRequest struct { func (x *MoveToPositionRequest) Reset() { *x = MoveToPositionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gantry_v1_gantry_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gantry_v1_gantry_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveToPositionRequest) String() string { @@ -157,7 +151,7 @@ func (*MoveToPositionRequest) ProtoMessage() {} func (x *MoveToPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -208,11 +202,9 @@ type MoveToPositionResponse struct { func (x *MoveToPositionResponse) Reset() { *x = MoveToPositionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gantry_v1_gantry_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gantry_v1_gantry_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveToPositionResponse) String() string { @@ -223,7 +215,7 @@ func (*MoveToPositionResponse) ProtoMessage() {} func (x *MoveToPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -250,11 +242,9 @@ type HomeRequest struct { func (x *HomeRequest) Reset() { *x = HomeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gantry_v1_gantry_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gantry_v1_gantry_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HomeRequest) String() string { @@ -265,7 +255,7 @@ func (*HomeRequest) ProtoMessage() {} func (x *HomeRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -305,11 +295,9 @@ type HomeResponse struct { func (x *HomeResponse) Reset() { *x = HomeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gantry_v1_gantry_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gantry_v1_gantry_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HomeResponse) String() string { @@ -320,7 +308,7 @@ func (*HomeResponse) ProtoMessage() {} func (x *HomeResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -354,11 +342,9 @@ type GetLengthsRequest struct { func (x *GetLengthsRequest) Reset() { *x = GetLengthsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gantry_v1_gantry_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gantry_v1_gantry_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLengthsRequest) String() string { @@ -369,7 +355,7 @@ func (*GetLengthsRequest) ProtoMessage() {} func (x *GetLengthsRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -408,11 +394,9 @@ type GetLengthsResponse struct { func (x *GetLengthsResponse) Reset() { *x = GetLengthsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gantry_v1_gantry_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gantry_v1_gantry_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLengthsResponse) String() string { @@ -423,7 +407,7 @@ func (*GetLengthsResponse) ProtoMessage() {} func (x *GetLengthsResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -458,11 +442,9 @@ type StopRequest struct { func (x *StopRequest) Reset() { *x = StopRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gantry_v1_gantry_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gantry_v1_gantry_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopRequest) String() string { @@ -473,7 +455,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -510,11 +492,9 @@ type StopResponse struct { func (x *StopResponse) Reset() { *x = StopResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gantry_v1_gantry_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gantry_v1_gantry_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopResponse) String() string { @@ -525,7 +505,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -552,11 +532,9 @@ type Status struct { func (x *Status) Reset() { *x = Status{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gantry_v1_gantry_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gantry_v1_gantry_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Status) String() string { @@ -567,7 +545,7 @@ func (*Status) ProtoMessage() {} func (x *Status) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -613,11 +591,9 @@ type IsMovingRequest struct { func (x *IsMovingRequest) Reset() { *x = IsMovingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gantry_v1_gantry_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gantry_v1_gantry_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsMovingRequest) String() string { @@ -628,7 +604,7 @@ func (*IsMovingRequest) ProtoMessage() {} func (x *IsMovingRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -660,11 +636,9 @@ type IsMovingResponse struct { func (x *IsMovingResponse) Reset() { *x = IsMovingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gantry_v1_gantry_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gantry_v1_gantry_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsMovingResponse) String() string { @@ -675,7 +649,7 @@ func (*IsMovingResponse) ProtoMessage() {} func (x *IsMovingResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gantry_v1_gantry_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -863,7 +837,7 @@ func file_component_gantry_v1_gantry_proto_rawDescGZIP() []byte { } var file_component_gantry_v1_gantry_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_component_gantry_v1_gantry_proto_goTypes = []interface{}{ +var file_component_gantry_v1_gantry_proto_goTypes = []any{ (*GetPositionRequest)(nil), // 0: viam.component.gantry.v1.GetPositionRequest (*GetPositionResponse)(nil), // 1: viam.component.gantry.v1.GetPositionResponse (*MoveToPositionRequest)(nil), // 2: viam.component.gantry.v1.MoveToPositionRequest @@ -917,164 +891,6 @@ func file_component_gantry_v1_gantry_proto_init() { if File_component_gantry_v1_gantry_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_component_gantry_v1_gantry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPositionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gantry_v1_gantry_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPositionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gantry_v1_gantry_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveToPositionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gantry_v1_gantry_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveToPositionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gantry_v1_gantry_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HomeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gantry_v1_gantry_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HomeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gantry_v1_gantry_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLengthsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gantry_v1_gantry_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLengthsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gantry_v1_gantry_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gantry_v1_gantry_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gantry_v1_gantry_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Status); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gantry_v1_gantry_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMovingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gantry_v1_gantry_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMovingResponse); 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{ diff --git a/component/gantry/v1/gantry.pb.gw.go b/component/gantry/v1/gantry.pb.gw.go index 13a62b8f..604c7acd 100644 --- a/component/gantry/v1/gantry.pb.gw.go +++ b/component/gantry/v1/gantry.pb.gw.go @@ -786,21 +786,21 @@ func RegisterGantryServiceHandlerServer(ctx context.Context, mux *runtime.ServeM // RegisterGantryServiceHandlerFromEndpoint is same as RegisterGantryServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterGantryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/generic/v1/generic.pb.go b/component/generic/v1/generic.pb.go index a85770c4..7bb2ee8a 100644 --- a/component/generic/v1/generic.pb.go +++ b/component/generic/v1/generic.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/generic/v1/generic.proto @@ -58,7 +58,7 @@ var file_component_generic_v1_generic_proto_rawDesc = []byte{ 0x69, 0x63, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_component_generic_v1_generic_proto_goTypes = []interface{}{ +var file_component_generic_v1_generic_proto_goTypes = []any{ (*v1.DoCommandRequest)(nil), // 0: viam.common.v1.DoCommandRequest (*v1.GetGeometriesRequest)(nil), // 1: viam.common.v1.GetGeometriesRequest (*v1.DoCommandResponse)(nil), // 2: viam.common.v1.DoCommandResponse diff --git a/component/generic/v1/generic.pb.gw.go b/component/generic/v1/generic.pb.gw.go index 8b95fb2a..023d3438 100644 --- a/component/generic/v1/generic.pb.gw.go +++ b/component/generic/v1/generic.pb.gw.go @@ -234,21 +234,21 @@ func RegisterGenericServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterGenericServiceHandlerFromEndpoint is same as RegisterGenericServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterGenericServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/gripper/v1/gripper.pb.go b/component/gripper/v1/gripper.pb.go index 5fb95c8e..633d98e0 100644 --- a/component/gripper/v1/gripper.pb.go +++ b/component/gripper/v1/gripper.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/gripper/v1/gripper.proto @@ -34,11 +34,9 @@ type OpenRequest struct { func (x *OpenRequest) Reset() { *x = OpenRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gripper_v1_gripper_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gripper_v1_gripper_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OpenRequest) String() string { @@ -49,7 +47,7 @@ func (*OpenRequest) ProtoMessage() {} func (x *OpenRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -86,11 +84,9 @@ type OpenResponse struct { func (x *OpenResponse) Reset() { *x = OpenResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gripper_v1_gripper_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gripper_v1_gripper_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OpenResponse) String() string { @@ -101,7 +97,7 @@ func (*OpenResponse) ProtoMessage() {} func (x *OpenResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -127,11 +123,9 @@ type GrabRequest struct { func (x *GrabRequest) Reset() { *x = GrabRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gripper_v1_gripper_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gripper_v1_gripper_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GrabRequest) String() string { @@ -142,7 +136,7 @@ func (*GrabRequest) ProtoMessage() {} func (x *GrabRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -182,11 +176,9 @@ type GrabResponse struct { func (x *GrabResponse) Reset() { *x = GrabResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gripper_v1_gripper_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gripper_v1_gripper_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GrabResponse) String() string { @@ -197,7 +189,7 @@ func (*GrabResponse) ProtoMessage() {} func (x *GrabResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -238,11 +230,9 @@ type StopRequest struct { func (x *StopRequest) Reset() { *x = StopRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gripper_v1_gripper_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gripper_v1_gripper_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopRequest) String() string { @@ -253,7 +243,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -290,11 +280,9 @@ type StopResponse struct { func (x *StopResponse) Reset() { *x = StopResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gripper_v1_gripper_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gripper_v1_gripper_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopResponse) String() string { @@ -305,7 +293,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -330,11 +318,9 @@ type IsMovingRequest struct { func (x *IsMovingRequest) Reset() { *x = IsMovingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gripper_v1_gripper_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gripper_v1_gripper_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsMovingRequest) String() string { @@ -345,7 +331,7 @@ func (*IsMovingRequest) ProtoMessage() {} func (x *IsMovingRequest) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -377,11 +363,9 @@ type IsMovingResponse struct { func (x *IsMovingResponse) Reset() { *x = IsMovingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_gripper_v1_gripper_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_gripper_v1_gripper_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsMovingResponse) String() string { @@ -392,7 +376,7 @@ func (*IsMovingResponse) ProtoMessage() {} func (x *IsMovingResponse) ProtoReflect() protoreflect.Message { mi := &file_component_gripper_v1_gripper_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -532,7 +516,7 @@ func file_component_gripper_v1_gripper_proto_rawDescGZIP() []byte { } var file_component_gripper_v1_gripper_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_component_gripper_v1_gripper_proto_goTypes = []interface{}{ +var file_component_gripper_v1_gripper_proto_goTypes = []any{ (*OpenRequest)(nil), // 0: viam.component.gripper.v1.OpenRequest (*OpenResponse)(nil), // 1: viam.component.gripper.v1.OpenResponse (*GrabRequest)(nil), // 2: viam.component.gripper.v1.GrabRequest @@ -576,104 +560,6 @@ func file_component_gripper_v1_gripper_proto_init() { if File_component_gripper_v1_gripper_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_component_gripper_v1_gripper_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OpenRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gripper_v1_gripper_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OpenResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gripper_v1_gripper_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GrabRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gripper_v1_gripper_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GrabResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gripper_v1_gripper_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gripper_v1_gripper_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gripper_v1_gripper_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMovingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_gripper_v1_gripper_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMovingResponse); 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{ diff --git a/component/gripper/v1/gripper.pb.gw.go b/component/gripper/v1/gripper.pb.gw.go index b432b0c7..ec26584b 100644 --- a/component/gripper/v1/gripper.pb.gw.go +++ b/component/gripper/v1/gripper.pb.gw.go @@ -596,21 +596,21 @@ func RegisterGripperServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterGripperServiceHandlerFromEndpoint is same as RegisterGripperServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterGripperServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/inputcontroller/v1/input_controller.pb.go b/component/inputcontroller/v1/input_controller.pb.go index b64b3050..00a02643 100644 --- a/component/inputcontroller/v1/input_controller.pb.go +++ b/component/inputcontroller/v1/input_controller.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/inputcontroller/v1/input_controller.proto @@ -37,11 +37,9 @@ type GetControlsRequest struct { func (x *GetControlsRequest) Reset() { *x = GetControlsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetControlsRequest) String() string { @@ -52,7 +50,7 @@ func (*GetControlsRequest) ProtoMessage() {} func (x *GetControlsRequest) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -93,11 +91,9 @@ type GetControlsResponse struct { func (x *GetControlsResponse) Reset() { *x = GetControlsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetControlsResponse) String() string { @@ -108,7 +104,7 @@ func (*GetControlsResponse) ProtoMessage() {} func (x *GetControlsResponse) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -143,11 +139,9 @@ type GetEventsRequest struct { func (x *GetEventsRequest) Reset() { *x = GetEventsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetEventsRequest) String() string { @@ -158,7 +152,7 @@ func (*GetEventsRequest) ProtoMessage() {} func (x *GetEventsRequest) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -199,11 +193,9 @@ type GetEventsResponse struct { func (x *GetEventsResponse) Reset() { *x = GetEventsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetEventsResponse) String() string { @@ -214,7 +206,7 @@ func (*GetEventsResponse) ProtoMessage() {} func (x *GetEventsResponse) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -251,11 +243,9 @@ type TriggerEventRequest struct { func (x *TriggerEventRequest) Reset() { *x = TriggerEventRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TriggerEventRequest) String() string { @@ -266,7 +256,7 @@ func (*TriggerEventRequest) ProtoMessage() {} func (x *TriggerEventRequest) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -310,11 +300,9 @@ type TriggerEventResponse struct { func (x *TriggerEventResponse) Reset() { *x = TriggerEventResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TriggerEventResponse) String() string { @@ -325,7 +313,7 @@ func (*TriggerEventResponse) ProtoMessage() {} func (x *TriggerEventResponse) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -357,11 +345,9 @@ type Event struct { func (x *Event) Reset() { *x = Event{} - if protoimpl.UnsafeEnabled { - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Event) String() string { @@ -372,7 +358,7 @@ func (*Event) ProtoMessage() {} func (x *Event) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -430,11 +416,9 @@ type StreamEventsRequest struct { func (x *StreamEventsRequest) Reset() { *x = StreamEventsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamEventsRequest) String() string { @@ -445,7 +429,7 @@ func (*StreamEventsRequest) ProtoMessage() {} func (x *StreamEventsRequest) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -492,11 +476,9 @@ type StreamEventsResponse struct { func (x *StreamEventsResponse) Reset() { *x = StreamEventsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamEventsResponse) String() string { @@ -507,7 +489,7 @@ func (*StreamEventsResponse) ProtoMessage() {} func (x *StreamEventsResponse) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -539,11 +521,9 @@ type Status struct { func (x *Status) Reset() { *x = Status{} - if protoimpl.UnsafeEnabled { - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Status) String() string { @@ -554,7 +534,7 @@ func (*Status) ProtoMessage() {} func (x *Status) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -592,11 +572,9 @@ type StreamEventsRequest_Events struct { func (x *StreamEventsRequest_Events) Reset() { *x = StreamEventsRequest_Events{} - if protoimpl.UnsafeEnabled { - mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamEventsRequest_Events) String() string { @@ -607,7 +585,7 @@ func (*StreamEventsRequest_Events) ProtoMessage() {} func (x *StreamEventsRequest_Events) ProtoReflect() protoreflect.Message { mi := &file_component_inputcontroller_v1_input_controller_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -816,7 +794,7 @@ func file_component_inputcontroller_v1_input_controller_proto_rawDescGZIP() []by } var file_component_inputcontroller_v1_input_controller_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_component_inputcontroller_v1_input_controller_proto_goTypes = []interface{}{ +var file_component_inputcontroller_v1_input_controller_proto_goTypes = []any{ (*GetControlsRequest)(nil), // 0: viam.component.inputcontroller.v1.GetControlsRequest (*GetControlsResponse)(nil), // 1: viam.component.inputcontroller.v1.GetControlsResponse (*GetEventsRequest)(nil), // 2: viam.component.inputcontroller.v1.GetEventsRequest @@ -870,140 +848,6 @@ func file_component_inputcontroller_v1_input_controller_proto_init() { if File_component_inputcontroller_v1_input_controller_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_component_inputcontroller_v1_input_controller_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetControlsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_inputcontroller_v1_input_controller_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetControlsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_inputcontroller_v1_input_controller_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetEventsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_inputcontroller_v1_input_controller_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetEventsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_inputcontroller_v1_input_controller_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TriggerEventRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_inputcontroller_v1_input_controller_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TriggerEventResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_inputcontroller_v1_input_controller_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Event); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_inputcontroller_v1_input_controller_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamEventsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_inputcontroller_v1_input_controller_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamEventsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_inputcontroller_v1_input_controller_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Status); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_inputcontroller_v1_input_controller_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamEventsRequest_Events); 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{ diff --git a/component/inputcontroller/v1/input_controller.pb.gw.go b/component/inputcontroller/v1/input_controller.pb.gw.go index 199f00f1..d73bfa80 100644 --- a/component/inputcontroller/v1/input_controller.pb.gw.go +++ b/component/inputcontroller/v1/input_controller.pb.gw.go @@ -571,21 +571,21 @@ func RegisterInputControllerServiceHandlerServer(ctx context.Context, mux *runti // RegisterInputControllerServiceHandlerFromEndpoint is same as RegisterInputControllerServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterInputControllerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/motor/v1/motor.pb.go b/component/motor/v1/motor.pb.go index f57eca8a..8cd6e06a 100644 --- a/component/motor/v1/motor.pb.go +++ b/component/motor/v1/motor.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/motor/v1/motor.proto @@ -38,11 +38,9 @@ type SetPowerRequest struct { func (x *SetPowerRequest) Reset() { *x = SetPowerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetPowerRequest) String() string { @@ -53,7 +51,7 @@ func (*SetPowerRequest) ProtoMessage() {} func (x *SetPowerRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -97,11 +95,9 @@ type SetPowerResponse struct { func (x *SetPowerResponse) Reset() { *x = SetPowerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetPowerResponse) String() string { @@ -112,7 +108,7 @@ func (*SetPowerResponse) ProtoMessage() {} func (x *SetPowerResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -144,11 +140,9 @@ type GoForRequest struct { func (x *GoForRequest) Reset() { *x = GoForRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GoForRequest) String() string { @@ -159,7 +153,7 @@ func (*GoForRequest) ProtoMessage() {} func (x *GoForRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -210,11 +204,9 @@ type GoForResponse struct { func (x *GoForResponse) Reset() { *x = GoForResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GoForResponse) String() string { @@ -225,7 +217,7 @@ func (*GoForResponse) ProtoMessage() {} func (x *GoForResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -257,11 +249,9 @@ type GoToRequest struct { func (x *GoToRequest) Reset() { *x = GoToRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GoToRequest) String() string { @@ -272,7 +262,7 @@ func (*GoToRequest) ProtoMessage() {} func (x *GoToRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -323,11 +313,9 @@ type GoToResponse struct { func (x *GoToResponse) Reset() { *x = GoToResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GoToResponse) String() string { @@ -338,7 +326,7 @@ func (*GoToResponse) ProtoMessage() {} func (x *GoToResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -368,11 +356,9 @@ type SetRPMRequest struct { func (x *SetRPMRequest) Reset() { *x = SetRPMRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetRPMRequest) String() string { @@ -383,7 +369,7 @@ func (*SetRPMRequest) ProtoMessage() {} func (x *SetRPMRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -427,11 +413,9 @@ type SetRPMResponse struct { func (x *SetRPMResponse) Reset() { *x = SetRPMResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetRPMResponse) String() string { @@ -442,7 +426,7 @@ func (*SetRPMResponse) ProtoMessage() {} func (x *SetRPMResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -472,11 +456,9 @@ type ResetZeroPositionRequest struct { func (x *ResetZeroPositionRequest) Reset() { *x = ResetZeroPositionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetZeroPositionRequest) String() string { @@ -487,7 +469,7 @@ func (*ResetZeroPositionRequest) ProtoMessage() {} func (x *ResetZeroPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -531,11 +513,9 @@ type ResetZeroPositionResponse struct { func (x *ResetZeroPositionResponse) Reset() { *x = ResetZeroPositionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResetZeroPositionResponse) String() string { @@ -546,7 +526,7 @@ func (*ResetZeroPositionResponse) ProtoMessage() {} func (x *ResetZeroPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -574,11 +554,9 @@ type GetPositionRequest struct { func (x *GetPositionRequest) Reset() { *x = GetPositionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPositionRequest) String() string { @@ -589,7 +567,7 @@ func (*GetPositionRequest) ProtoMessage() {} func (x *GetPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -629,11 +607,9 @@ type GetPositionResponse struct { func (x *GetPositionResponse) Reset() { *x = GetPositionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPositionResponse) String() string { @@ -644,7 +620,7 @@ func (*GetPositionResponse) ProtoMessage() {} func (x *GetPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -679,11 +655,9 @@ type StopRequest struct { func (x *StopRequest) Reset() { *x = StopRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopRequest) String() string { @@ -694,7 +668,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -731,11 +705,9 @@ type StopResponse struct { func (x *StopResponse) Reset() { *x = StopResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopResponse) String() string { @@ -746,7 +718,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -774,11 +746,9 @@ type IsPoweredRequest struct { func (x *IsPoweredRequest) Reset() { *x = IsPoweredRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsPoweredRequest) String() string { @@ -789,7 +759,7 @@ func (*IsPoweredRequest) ProtoMessage() {} func (x *IsPoweredRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -833,11 +803,9 @@ type IsPoweredResponse struct { func (x *IsPoweredResponse) Reset() { *x = IsPoweredResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsPoweredResponse) String() string { @@ -848,7 +816,7 @@ func (*IsPoweredResponse) ProtoMessage() {} func (x *IsPoweredResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -890,11 +858,9 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesRequest) String() string { @@ -905,7 +871,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -945,11 +911,9 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesResponse) String() string { @@ -960,7 +924,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -997,11 +961,9 @@ type Status struct { func (x *Status) Reset() { *x = Status{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Status) String() string { @@ -1012,7 +974,7 @@ func (*Status) ProtoMessage() {} func (x *Status) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1058,11 +1020,9 @@ type IsMovingRequest struct { func (x *IsMovingRequest) Reset() { *x = IsMovingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsMovingRequest) String() string { @@ -1073,7 +1033,7 @@ func (*IsMovingRequest) ProtoMessage() {} func (x *IsMovingRequest) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1105,11 +1065,9 @@ type IsMovingResponse struct { func (x *IsMovingResponse) Reset() { *x = IsMovingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_motor_v1_motor_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_motor_v1_motor_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsMovingResponse) String() string { @@ -1120,7 +1078,7 @@ func (*IsMovingResponse) ProtoMessage() {} func (x *IsMovingResponse) ProtoReflect() protoreflect.Message { mi := &file_component_motor_v1_motor_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1381,7 +1339,7 @@ func file_component_motor_v1_motor_proto_rawDescGZIP() []byte { } var file_component_motor_v1_motor_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_component_motor_v1_motor_proto_goTypes = []interface{}{ +var file_component_motor_v1_motor_proto_goTypes = []any{ (*SetPowerRequest)(nil), // 0: viam.component.motor.v1.SetPowerRequest (*SetPowerResponse)(nil), // 1: viam.component.motor.v1.SetPowerResponse (*GoForRequest)(nil), // 2: viam.component.motor.v1.GoForRequest @@ -1455,260 +1413,6 @@ func file_component_motor_v1_motor_proto_init() { if File_component_motor_v1_motor_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_component_motor_v1_motor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetPowerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetPowerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GoForRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GoForResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GoToRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GoToResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetRPMRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetRPMResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetZeroPositionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetZeroPositionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPositionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPositionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsPoweredRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsPoweredResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Status); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMovingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_motor_v1_motor_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMovingResponse); 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{ diff --git a/component/motor/v1/motor.pb.gw.go b/component/motor/v1/motor.pb.gw.go index a3e2fe66..6137ef16 100644 --- a/component/motor/v1/motor.pb.gw.go +++ b/component/motor/v1/motor.pb.gw.go @@ -1166,21 +1166,21 @@ func RegisterMotorServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu // RegisterMotorServiceHandlerFromEndpoint is same as RegisterMotorServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterMotorServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/movementsensor/v1/movementsensor.pb.go b/component/movementsensor/v1/movementsensor.pb.go index 5eb6fa0c..01c02ba8 100644 --- a/component/movementsensor/v1/movementsensor.pb.go +++ b/component/movementsensor/v1/movementsensor.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/movementsensor/v1/movementsensor.proto @@ -36,11 +36,9 @@ type GetLinearVelocityRequest struct { func (x *GetLinearVelocityRequest) Reset() { *x = GetLinearVelocityRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLinearVelocityRequest) String() string { @@ -51,7 +49,7 @@ func (*GetLinearVelocityRequest) ProtoMessage() {} func (x *GetLinearVelocityRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -91,11 +89,9 @@ type GetLinearVelocityResponse struct { func (x *GetLinearVelocityResponse) Reset() { *x = GetLinearVelocityResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLinearVelocityResponse) String() string { @@ -106,7 +102,7 @@ func (*GetLinearVelocityResponse) ProtoMessage() {} func (x *GetLinearVelocityResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -141,11 +137,9 @@ type GetAngularVelocityRequest struct { func (x *GetAngularVelocityRequest) Reset() { *x = GetAngularVelocityRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAngularVelocityRequest) String() string { @@ -156,7 +150,7 @@ func (*GetAngularVelocityRequest) ProtoMessage() {} func (x *GetAngularVelocityRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -196,11 +190,9 @@ type GetAngularVelocityResponse struct { func (x *GetAngularVelocityResponse) Reset() { *x = GetAngularVelocityResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAngularVelocityResponse) String() string { @@ -211,7 +203,7 @@ func (*GetAngularVelocityResponse) ProtoMessage() {} func (x *GetAngularVelocityResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -246,11 +238,9 @@ type GetCompassHeadingRequest struct { func (x *GetCompassHeadingRequest) Reset() { *x = GetCompassHeadingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetCompassHeadingRequest) String() string { @@ -261,7 +251,7 @@ func (*GetCompassHeadingRequest) ProtoMessage() {} func (x *GetCompassHeadingRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -302,11 +292,9 @@ type GetCompassHeadingResponse struct { func (x *GetCompassHeadingResponse) Reset() { *x = GetCompassHeadingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetCompassHeadingResponse) String() string { @@ -317,7 +305,7 @@ func (*GetCompassHeadingResponse) ProtoMessage() {} func (x *GetCompassHeadingResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -352,11 +340,9 @@ type GetOrientationRequest struct { func (x *GetOrientationRequest) Reset() { *x = GetOrientationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrientationRequest) String() string { @@ -367,7 +353,7 @@ func (*GetOrientationRequest) ProtoMessage() {} func (x *GetOrientationRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -408,11 +394,9 @@ type GetOrientationResponse struct { func (x *GetOrientationResponse) Reset() { *x = GetOrientationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOrientationResponse) String() string { @@ -423,7 +407,7 @@ func (*GetOrientationResponse) ProtoMessage() {} func (x *GetOrientationResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -458,11 +442,9 @@ type GetPositionRequest struct { func (x *GetPositionRequest) Reset() { *x = GetPositionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPositionRequest) String() string { @@ -473,7 +455,7 @@ func (*GetPositionRequest) ProtoMessage() {} func (x *GetPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -515,11 +497,9 @@ type GetPositionResponse struct { func (x *GetPositionResponse) Reset() { *x = GetPositionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPositionResponse) String() string { @@ -530,7 +510,7 @@ func (*GetPositionResponse) ProtoMessage() {} func (x *GetPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -572,11 +552,9 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesRequest) String() string { @@ -587,7 +565,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -631,11 +609,9 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesResponse) String() string { @@ -646,7 +622,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -716,11 +692,9 @@ type GetAccuracyRequest struct { func (x *GetAccuracyRequest) Reset() { *x = GetAccuracyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAccuracyRequest) String() string { @@ -731,7 +705,7 @@ func (*GetAccuracyRequest) ProtoMessage() {} func (x *GetAccuracyRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -774,11 +748,9 @@ type GetAccuracyResponse struct { func (x *GetAccuracyResponse) Reset() { *x = GetAccuracyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAccuracyResponse) String() string { @@ -789,7 +761,7 @@ func (*GetAccuracyResponse) ProtoMessage() {} func (x *GetAccuracyResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -852,11 +824,9 @@ type GetLinearAccelerationRequest struct { func (x *GetLinearAccelerationRequest) Reset() { *x = GetLinearAccelerationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLinearAccelerationRequest) String() string { @@ -867,7 +837,7 @@ func (*GetLinearAccelerationRequest) ProtoMessage() {} func (x *GetLinearAccelerationRequest) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -907,11 +877,9 @@ type GetLinearAccelerationResponse struct { func (x *GetLinearAccelerationResponse) Reset() { *x = GetLinearAccelerationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLinearAccelerationResponse) String() string { @@ -922,7 +890,7 @@ func (*GetLinearAccelerationResponse) ProtoMessage() {} func (x *GetLinearAccelerationResponse) ProtoReflect() protoreflect.Message { mi := &file_component_movementsensor_v1_movementsensor_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1246,7 +1214,7 @@ func file_component_movementsensor_v1_movementsensor_proto_rawDescGZIP() []byte } var file_component_movementsensor_v1_movementsensor_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_component_movementsensor_v1_movementsensor_proto_goTypes = []interface{}{ +var file_component_movementsensor_v1_movementsensor_proto_goTypes = []any{ (*GetLinearVelocityRequest)(nil), // 0: viam.component.movementsensor.v1.GetLinearVelocityRequest (*GetLinearVelocityResponse)(nil), // 1: viam.component.movementsensor.v1.GetLinearVelocityResponse (*GetAngularVelocityRequest)(nil), // 2: viam.component.movementsensor.v1.GetAngularVelocityRequest @@ -1324,201 +1292,7 @@ func file_component_movementsensor_v1_movementsensor_proto_init() { if File_component_movementsensor_v1_movementsensor_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_component_movementsensor_v1_movementsensor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLinearVelocityRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLinearVelocityResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAngularVelocityRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAngularVelocityResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCompassHeadingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCompassHeadingResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrientationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOrientationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPositionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPositionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAccuracyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAccuracyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLinearAccelerationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLinearAccelerationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_component_movementsensor_v1_movementsensor_proto_msgTypes[13].OneofWrappers = []interface{}{} + file_component_movementsensor_v1_movementsensor_proto_msgTypes[13].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/component/movementsensor/v1/movementsensor.pb.gw.go b/component/movementsensor/v1/movementsensor.pb.gw.go index 8530c6d9..ccdbe81f 100644 --- a/component/movementsensor/v1/movementsensor.pb.gw.go +++ b/component/movementsensor/v1/movementsensor.pb.gw.go @@ -1089,21 +1089,21 @@ func RegisterMovementSensorServiceHandlerServer(ctx context.Context, mux *runtim // RegisterMovementSensorServiceHandlerFromEndpoint is same as RegisterMovementSensorServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterMovementSensorServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/posetracker/v1/pose_tracker.pb.go b/component/posetracker/v1/pose_tracker.pb.go index 9b01e750..4e85ad5b 100644 --- a/component/posetracker/v1/pose_tracker.pb.go +++ b/component/posetracker/v1/pose_tracker.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/posetracker/v1/pose_tracker.proto @@ -40,11 +40,9 @@ type GetPosesRequest struct { func (x *GetPosesRequest) Reset() { *x = GetPosesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_posetracker_v1_pose_tracker_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_posetracker_v1_pose_tracker_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPosesRequest) String() string { @@ -55,7 +53,7 @@ func (*GetPosesRequest) ProtoMessage() {} func (x *GetPosesRequest) ProtoReflect() protoreflect.Message { mi := &file_component_posetracker_v1_pose_tracker_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -102,11 +100,9 @@ type GetPosesResponse struct { func (x *GetPosesResponse) Reset() { *x = GetPosesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_posetracker_v1_pose_tracker_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_posetracker_v1_pose_tracker_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPosesResponse) String() string { @@ -117,7 +113,7 @@ func (*GetPosesResponse) ProtoMessage() {} func (x *GetPosesResponse) ProtoReflect() protoreflect.Message { mi := &file_component_posetracker_v1_pose_tracker_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -223,7 +219,7 @@ func file_component_posetracker_v1_pose_tracker_proto_rawDescGZIP() []byte { } var file_component_posetracker_v1_pose_tracker_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_component_posetracker_v1_pose_tracker_proto_goTypes = []interface{}{ +var file_component_posetracker_v1_pose_tracker_proto_goTypes = []any{ (*GetPosesRequest)(nil), // 0: viam.component.posetracker.v1.GetPosesRequest (*GetPosesResponse)(nil), // 1: viam.component.posetracker.v1.GetPosesResponse nil, // 2: viam.component.posetracker.v1.GetPosesResponse.BodyPosesEntry @@ -256,32 +252,6 @@ func file_component_posetracker_v1_pose_tracker_proto_init() { if File_component_posetracker_v1_pose_tracker_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_component_posetracker_v1_pose_tracker_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPosesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_posetracker_v1_pose_tracker_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPosesResponse); 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{ diff --git a/component/posetracker/v1/pose_tracker.pb.gw.go b/component/posetracker/v1/pose_tracker.pb.gw.go index 0007c002..453b5242 100644 --- a/component/posetracker/v1/pose_tracker.pb.gw.go +++ b/component/posetracker/v1/pose_tracker.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - v1_0 "go.viam.com/api/common/v1" + "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -107,7 +107,7 @@ var ( ) func request_PoseTrackerService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client PoseTrackerServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -140,7 +140,7 @@ func request_PoseTrackerService_DoCommand_0(ctx context.Context, marshaler runti } func local_request_PoseTrackerService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server PoseTrackerServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -177,7 +177,7 @@ var ( ) func request_PoseTrackerService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, client PoseTrackerServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -210,7 +210,7 @@ func request_PoseTrackerService_GetGeometries_0(ctx context.Context, marshaler r } func local_request_PoseTrackerService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, server PoseTrackerServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -329,21 +329,21 @@ func RegisterPoseTrackerServiceHandlerServer(ctx context.Context, mux *runtime.S // RegisterPoseTrackerServiceHandlerFromEndpoint is same as RegisterPoseTrackerServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterPoseTrackerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/powersensor/v1/powersensor.pb.go b/component/powersensor/v1/powersensor.pb.go index 88a32c65..fa572fda 100644 --- a/component/powersensor/v1/powersensor.pb.go +++ b/component/powersensor/v1/powersensor.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/powersensor/v1/powersensor.proto @@ -36,11 +36,9 @@ type GetVoltageRequest struct { func (x *GetVoltageRequest) Reset() { *x = GetVoltageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetVoltageRequest) String() string { @@ -51,7 +49,7 @@ func (*GetVoltageRequest) ProtoMessage() {} func (x *GetVoltageRequest) ProtoReflect() protoreflect.Message { mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -93,11 +91,9 @@ type GetVoltageResponse struct { func (x *GetVoltageResponse) Reset() { *x = GetVoltageResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetVoltageResponse) String() string { @@ -108,7 +104,7 @@ func (*GetVoltageResponse) ProtoMessage() {} func (x *GetVoltageResponse) ProtoReflect() protoreflect.Message { mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -150,11 +146,9 @@ type GetCurrentRequest struct { func (x *GetCurrentRequest) Reset() { *x = GetCurrentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetCurrentRequest) String() string { @@ -165,7 +159,7 @@ func (*GetCurrentRequest) ProtoMessage() {} func (x *GetCurrentRequest) ProtoReflect() protoreflect.Message { mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -207,11 +201,9 @@ type GetCurrentResponse struct { func (x *GetCurrentResponse) Reset() { *x = GetCurrentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetCurrentResponse) String() string { @@ -222,7 +214,7 @@ func (*GetCurrentResponse) ProtoMessage() {} func (x *GetCurrentResponse) ProtoReflect() protoreflect.Message { mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -264,11 +256,9 @@ type GetPowerRequest struct { func (x *GetPowerRequest) Reset() { *x = GetPowerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPowerRequest) String() string { @@ -279,7 +269,7 @@ func (*GetPowerRequest) ProtoMessage() {} func (x *GetPowerRequest) ProtoReflect() protoreflect.Message { mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -319,11 +309,9 @@ type GetPowerResponse struct { func (x *GetPowerResponse) Reset() { *x = GetPowerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPowerResponse) String() string { @@ -334,7 +322,7 @@ func (*GetPowerResponse) ProtoMessage() {} func (x *GetPowerResponse) ProtoReflect() protoreflect.Message { mi := &file_component_powersensor_v1_powersensor_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -470,7 +458,7 @@ func file_component_powersensor_v1_powersensor_proto_rawDescGZIP() []byte { } var file_component_powersensor_v1_powersensor_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_component_powersensor_v1_powersensor_proto_goTypes = []interface{}{ +var file_component_powersensor_v1_powersensor_proto_goTypes = []any{ (*GetVoltageRequest)(nil), // 0: viam.component.powersensor.v1.GetVoltageRequest (*GetVoltageResponse)(nil), // 1: viam.component.powersensor.v1.GetVoltageResponse (*GetCurrentRequest)(nil), // 2: viam.component.powersensor.v1.GetCurrentRequest @@ -509,80 +497,6 @@ func file_component_powersensor_v1_powersensor_proto_init() { if File_component_powersensor_v1_powersensor_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_component_powersensor_v1_powersensor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetVoltageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_powersensor_v1_powersensor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetVoltageResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_powersensor_v1_powersensor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCurrentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_powersensor_v1_powersensor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCurrentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_powersensor_v1_powersensor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPowerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_powersensor_v1_powersensor_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPowerResponse); 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{ diff --git a/component/powersensor/v1/powersensor.pb.gw.go b/component/powersensor/v1/powersensor.pb.gw.go index 9a80a7e4..623f489c 100644 --- a/component/powersensor/v1/powersensor.pb.gw.go +++ b/component/powersensor/v1/powersensor.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - v1_0 "go.viam.com/api/common/v1" + "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -247,7 +247,7 @@ var ( ) func request_PowerSensorService_GetReadings_0(ctx context.Context, marshaler runtime.Marshaler, client PowerSensorServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetReadingsRequest + var protoReq v1.GetReadingsRequest var metadata runtime.ServerMetadata var ( @@ -280,7 +280,7 @@ func request_PowerSensorService_GetReadings_0(ctx context.Context, marshaler run } func local_request_PowerSensorService_GetReadings_0(ctx context.Context, marshaler runtime.Marshaler, server PowerSensorServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetReadingsRequest + var protoReq v1.GetReadingsRequest var metadata runtime.ServerMetadata var ( @@ -317,7 +317,7 @@ var ( ) func request_PowerSensorService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client PowerSensorServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -350,7 +350,7 @@ func request_PowerSensorService_DoCommand_0(ctx context.Context, marshaler runti } func local_request_PowerSensorService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server PowerSensorServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -519,21 +519,21 @@ func RegisterPowerSensorServiceHandlerServer(ctx context.Context, mux *runtime.S // RegisterPowerSensorServiceHandlerFromEndpoint is same as RegisterPowerSensorServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterPowerSensorServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/sensor/v1/sensor.pb.go b/component/sensor/v1/sensor.pb.go index bdb17ec7..df318426 100644 --- a/component/sensor/v1/sensor.pb.go +++ b/component/sensor/v1/sensor.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/sensor/v1/sensor.proto @@ -67,7 +67,7 @@ var file_component_sensor_v1_sensor_proto_rawDesc = []byte{ 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_component_sensor_v1_sensor_proto_goTypes = []interface{}{ +var file_component_sensor_v1_sensor_proto_goTypes = []any{ (*v1.GetReadingsRequest)(nil), // 0: viam.common.v1.GetReadingsRequest (*v1.DoCommandRequest)(nil), // 1: viam.common.v1.DoCommandRequest (*v1.GetGeometriesRequest)(nil), // 2: viam.common.v1.GetGeometriesRequest diff --git a/component/sensor/v1/sensor.pb.gw.go b/component/sensor/v1/sensor.pb.gw.go index 66681c36..1c3d3c79 100644 --- a/component/sensor/v1/sensor.pb.gw.go +++ b/component/sensor/v1/sensor.pb.gw.go @@ -329,21 +329,21 @@ func RegisterSensorServiceHandlerServer(ctx context.Context, mux *runtime.ServeM // RegisterSensorServiceHandlerFromEndpoint is same as RegisterSensorServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterSensorServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/servo/v1/servo.pb.go b/component/servo/v1/servo.pb.go index 332471ae..e7f6ba9f 100644 --- a/component/servo/v1/servo.pb.go +++ b/component/servo/v1/servo.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/servo/v1/servo.proto @@ -38,11 +38,9 @@ type MoveRequest struct { func (x *MoveRequest) Reset() { *x = MoveRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_servo_v1_servo_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_servo_v1_servo_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveRequest) String() string { @@ -53,7 +51,7 @@ func (*MoveRequest) ProtoMessage() {} func (x *MoveRequest) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -97,11 +95,9 @@ type MoveResponse struct { func (x *MoveResponse) Reset() { *x = MoveResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_servo_v1_servo_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_servo_v1_servo_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveResponse) String() string { @@ -112,7 +108,7 @@ func (*MoveResponse) ProtoMessage() {} func (x *MoveResponse) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -140,11 +136,9 @@ type GetPositionRequest struct { func (x *GetPositionRequest) Reset() { *x = GetPositionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_servo_v1_servo_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_servo_v1_servo_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPositionRequest) String() string { @@ -155,7 +149,7 @@ func (*GetPositionRequest) ProtoMessage() {} func (x *GetPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -195,11 +189,9 @@ type GetPositionResponse struct { func (x *GetPositionResponse) Reset() { *x = GetPositionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_servo_v1_servo_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_servo_v1_servo_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPositionResponse) String() string { @@ -210,7 +202,7 @@ func (*GetPositionResponse) ProtoMessage() {} func (x *GetPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -245,11 +237,9 @@ type StopRequest struct { func (x *StopRequest) Reset() { *x = StopRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_servo_v1_servo_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_servo_v1_servo_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopRequest) String() string { @@ -260,7 +250,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -297,11 +287,9 @@ type StopResponse struct { func (x *StopResponse) Reset() { *x = StopResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_servo_v1_servo_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_servo_v1_servo_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopResponse) String() string { @@ -312,7 +300,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -338,11 +326,9 @@ type Status struct { func (x *Status) Reset() { *x = Status{} - if protoimpl.UnsafeEnabled { - mi := &file_component_servo_v1_servo_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_servo_v1_servo_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Status) String() string { @@ -353,7 +339,7 @@ func (*Status) ProtoMessage() {} func (x *Status) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -392,11 +378,9 @@ type IsMovingRequest struct { func (x *IsMovingRequest) Reset() { *x = IsMovingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_servo_v1_servo_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_servo_v1_servo_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsMovingRequest) String() string { @@ -407,7 +391,7 @@ func (*IsMovingRequest) ProtoMessage() {} func (x *IsMovingRequest) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -439,11 +423,9 @@ type IsMovingResponse struct { func (x *IsMovingResponse) Reset() { *x = IsMovingResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_servo_v1_servo_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_servo_v1_servo_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsMovingResponse) String() string { @@ -454,7 +436,7 @@ func (*IsMovingResponse) ProtoMessage() {} func (x *IsMovingResponse) ProtoReflect() protoreflect.Message { mi := &file_component_servo_v1_servo_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -597,7 +579,7 @@ func file_component_servo_v1_servo_proto_rawDescGZIP() []byte { } var file_component_servo_v1_servo_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_component_servo_v1_servo_proto_goTypes = []interface{}{ +var file_component_servo_v1_servo_proto_goTypes = []any{ (*MoveRequest)(nil), // 0: viam.component.servo.v1.MoveRequest (*MoveResponse)(nil), // 1: viam.component.servo.v1.MoveResponse (*GetPositionRequest)(nil), // 2: viam.component.servo.v1.GetPositionRequest @@ -641,116 +623,6 @@ func file_component_servo_v1_servo_proto_init() { if File_component_servo_v1_servo_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_component_servo_v1_servo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_servo_v1_servo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_servo_v1_servo_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPositionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_servo_v1_servo_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPositionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_servo_v1_servo_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_servo_v1_servo_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_servo_v1_servo_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Status); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_servo_v1_servo_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMovingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_servo_v1_servo_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsMovingResponse); 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{ diff --git a/component/servo/v1/servo.pb.gw.go b/component/servo/v1/servo.pb.gw.go index fd6e0a9d..83fc78c3 100644 --- a/component/servo/v1/servo.pb.gw.go +++ b/component/servo/v1/servo.pb.gw.go @@ -596,21 +596,21 @@ func RegisterServoServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu // RegisterServoServiceHandlerFromEndpoint is same as RegisterServoServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterServoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/component/testecho/v1/testecho.pb.go b/component/testecho/v1/testecho.pb.go index 1300e9da..d253a169 100644 --- a/component/testecho/v1/testecho.pb.go +++ b/component/testecho/v1/testecho.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: component/testecho/v1/testecho.proto @@ -32,11 +32,9 @@ type EchoRequest struct { func (x *EchoRequest) Reset() { *x = EchoRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_testecho_v1_testecho_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_testecho_v1_testecho_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EchoRequest) String() string { @@ -47,7 +45,7 @@ func (*EchoRequest) ProtoMessage() {} func (x *EchoRequest) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -86,11 +84,9 @@ type EchoResponse struct { func (x *EchoResponse) Reset() { *x = EchoResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_testecho_v1_testecho_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_testecho_v1_testecho_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EchoResponse) String() string { @@ -101,7 +97,7 @@ func (*EchoResponse) ProtoMessage() {} func (x *EchoResponse) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -134,11 +130,9 @@ type EchoMultipleRequest struct { func (x *EchoMultipleRequest) Reset() { *x = EchoMultipleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_testecho_v1_testecho_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_testecho_v1_testecho_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EchoMultipleRequest) String() string { @@ -149,7 +143,7 @@ func (*EchoMultipleRequest) ProtoMessage() {} func (x *EchoMultipleRequest) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -188,11 +182,9 @@ type EchoMultipleResponse struct { func (x *EchoMultipleResponse) Reset() { *x = EchoMultipleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_testecho_v1_testecho_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_testecho_v1_testecho_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EchoMultipleResponse) String() string { @@ -203,7 +195,7 @@ func (*EchoMultipleResponse) ProtoMessage() {} func (x *EchoMultipleResponse) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -236,11 +228,9 @@ type EchoBiDiRequest struct { func (x *EchoBiDiRequest) Reset() { *x = EchoBiDiRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_testecho_v1_testecho_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_testecho_v1_testecho_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EchoBiDiRequest) String() string { @@ -251,7 +241,7 @@ func (*EchoBiDiRequest) ProtoMessage() {} func (x *EchoBiDiRequest) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -290,11 +280,9 @@ type EchoBiDiResponse struct { func (x *EchoBiDiResponse) Reset() { *x = EchoBiDiResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_testecho_v1_testecho_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_testecho_v1_testecho_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EchoBiDiResponse) String() string { @@ -305,7 +293,7 @@ func (*EchoBiDiResponse) ProtoMessage() {} func (x *EchoBiDiResponse) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -337,11 +325,9 @@ type StopRequest struct { func (x *StopRequest) Reset() { *x = StopRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_component_testecho_v1_testecho_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_testecho_v1_testecho_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopRequest) String() string { @@ -352,7 +338,7 @@ func (*StopRequest) ProtoMessage() {} func (x *StopRequest) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -382,11 +368,9 @@ type StopResponse struct { func (x *StopResponse) Reset() { *x = StopResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_component_testecho_v1_testecho_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_component_testecho_v1_testecho_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopResponse) String() string { @@ -397,7 +381,7 @@ func (*StopResponse) ProtoMessage() {} func (x *StopResponse) ProtoReflect() protoreflect.Message { mi := &file_component_testecho_v1_testecho_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -493,7 +477,7 @@ func file_component_testecho_v1_testecho_proto_rawDescGZIP() []byte { } var file_component_testecho_v1_testecho_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_component_testecho_v1_testecho_proto_goTypes = []interface{}{ +var file_component_testecho_v1_testecho_proto_goTypes = []any{ (*EchoRequest)(nil), // 0: viam.component.testecho.v1.EchoRequest (*EchoResponse)(nil), // 1: viam.component.testecho.v1.EchoResponse (*EchoMultipleRequest)(nil), // 2: viam.component.testecho.v1.EchoMultipleRequest @@ -524,104 +508,6 @@ func file_component_testecho_v1_testecho_proto_init() { if File_component_testecho_v1_testecho_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_component_testecho_v1_testecho_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EchoRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_testecho_v1_testecho_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EchoResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_testecho_v1_testecho_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EchoMultipleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_testecho_v1_testecho_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EchoMultipleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_testecho_v1_testecho_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EchoBiDiRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_testecho_v1_testecho_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EchoBiDiResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_testecho_v1_testecho_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_component_testecho_v1_testecho_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopResponse); 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{ diff --git a/component/testecho/v1/testecho.pb.gw.go b/component/testecho/v1/testecho.pb.gw.go index c9f118a9..ed73f032 100644 --- a/component/testecho/v1/testecho.pb.gw.go +++ b/component/testecho/v1/testecho.pb.gw.go @@ -35,11 +35,7 @@ func request_TestEchoService_Echo_0(ctx context.Context, marshaler runtime.Marsh var protoReq EchoRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_TestEchoService_Echo_0(ctx context.Context, marshaler runtime var protoReq EchoRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -69,11 +61,7 @@ func request_TestEchoService_EchoMultiple_0(ctx context.Context, marshaler runti var protoReq EchoMultipleRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -94,7 +82,7 @@ func request_TestEchoService_EchoBiDi_0(ctx context.Context, marshaler runtime.M var metadata runtime.ServerMetadata stream, err := client.EchoBiDi(ctx) if err != nil { - grpclog.Infof("Failed to start streaming: %v", err) + grpclog.Errorf("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -105,11 +93,11 @@ func request_TestEchoService_EchoBiDi_0(ctx context.Context, marshaler runtime.M return err } if err != nil { - grpclog.Infof("Failed to decode request: %v", err) + grpclog.Errorf("Failed to decode request: %v", err) return err } if err := stream.Send(&protoReq); err != nil { - grpclog.Infof("Failed to send request: %v", err) + grpclog.Errorf("Failed to send request: %v", err) return err } return nil @@ -121,12 +109,12 @@ func request_TestEchoService_EchoBiDi_0(ctx context.Context, marshaler runtime.M } } if err := stream.CloseSend(); err != nil { - grpclog.Infof("Failed to terminate client stream: %v", err) + grpclog.Errorf("Failed to terminate client stream: %v", err) } }() header, err := stream.Header() if err != nil { - grpclog.Infof("Failed to get header from client: %v", err) + grpclog.Errorf("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -137,11 +125,7 @@ func request_TestEchoService_Stop_0(ctx context.Context, marshaler runtime.Marsh var protoReq StopRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -154,11 +138,7 @@ func local_request_TestEchoService_Stop_0(ctx context.Context, marshaler runtime var protoReq StopRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -243,21 +223,21 @@ func RegisterTestEchoServiceHandlerServer(ctx context.Context, mux *runtime.Serv // RegisterTestEchoServiceHandlerFromEndpoint is same as RegisterTestEchoServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterTestEchoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/gen/js/app/agent/v1/agent_pb.js b/gen/js/app/agent/v1/agent_pb.js index 8084e818..eac54b7b 100644 --- a/gen/js/app/agent/v1/agent_pb.js +++ b/gen/js/app/agent/v1/agent_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js'); goog.object.extend(proto, google_protobuf_duration_pb); @@ -168,9 +162,9 @@ proto.viam.app.agent.v1.DeviceAgentConfigRequest.prototype.toObject = function(o */ proto.viam.app.agent.v1.DeviceAgentConfigRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -hostInfo: (f = msg.getHostInfo()) && proto.viam.app.agent.v1.HostInfo.toObject(includeInstance, f), -subsystemVersionsMap: (f = msg.getSubsystemVersionsMap()) ? f.toObject(includeInstance, undefined) : [] + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + hostInfo: (f = msg.getHostInfo()) && proto.viam.app.agent.v1.HostInfo.toObject(includeInstance, f), + subsystemVersionsMap: (f = msg.getSubsystemVersionsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -347,8 +341,7 @@ proto.viam.app.agent.v1.DeviceAgentConfigRequest.prototype.getSubsystemVersionsM */ proto.viam.app.agent.v1.DeviceAgentConfigRequest.prototype.clearSubsystemVersionsMap = function() { this.getSubsystemVersionsMap().clear(); - return this; -}; + return this;}; @@ -383,8 +376,8 @@ proto.viam.app.agent.v1.DeviceAgentConfigResponse.prototype.toObject = function( */ proto.viam.app.agent.v1.DeviceAgentConfigResponse.toObject = function(includeInstance, msg) { var f, obj = { -subsystemConfigsMap: (f = msg.getSubsystemConfigsMap()) ? f.toObject(includeInstance, proto.viam.app.agent.v1.DeviceSubsystemConfig.toObject) : [], -checkInterval: (f = msg.getCheckInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) + subsystemConfigsMap: (f = msg.getSubsystemConfigsMap()) ? f.toObject(includeInstance, proto.viam.app.agent.v1.DeviceSubsystemConfig.toObject) : [], + checkInterval: (f = msg.getCheckInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -495,8 +488,7 @@ proto.viam.app.agent.v1.DeviceAgentConfigResponse.prototype.getSubsystemConfigsM */ proto.viam.app.agent.v1.DeviceAgentConfigResponse.prototype.clearSubsystemConfigsMap = function() { this.getSubsystemConfigsMap().clear(); - return this; -}; + return this;}; /** @@ -568,10 +560,10 @@ proto.viam.app.agent.v1.DeviceSubsystemConfig.prototype.toObject = function(opt_ */ proto.viam.app.agent.v1.DeviceSubsystemConfig.toObject = function(includeInstance, msg) { var f, obj = { -updateInfo: (f = msg.getUpdateInfo()) && proto.viam.app.agent.v1.SubsystemUpdateInfo.toObject(includeInstance, f), -disable: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), -forceRestart: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), -attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + updateInfo: (f = msg.getUpdateInfo()) && proto.viam.app.agent.v1.SubsystemUpdateInfo.toObject(includeInstance, f), + disable: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + forceRestart: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -837,9 +829,9 @@ proto.viam.app.agent.v1.HostInfo.prototype.toObject = function(opt_includeInstan */ proto.viam.app.agent.v1.HostInfo.toObject = function(includeInstance, msg) { var f, obj = { -platform: jspb.Message.getFieldWithDefault(msg, 1, ""), -distro: jspb.Message.getFieldWithDefault(msg, 2, ""), -tagsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f + platform: jspb.Message.getFieldWithDefault(msg, 1, ""), + distro: jspb.Message.getFieldWithDefault(msg, 2, ""), + tagsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -1046,11 +1038,11 @@ proto.viam.app.agent.v1.SubsystemUpdateInfo.prototype.toObject = function(opt_in */ proto.viam.app.agent.v1.SubsystemUpdateInfo.toObject = function(includeInstance, msg) { var f, obj = { -filename: jspb.Message.getFieldWithDefault(msg, 1, ""), -url: jspb.Message.getFieldWithDefault(msg, 2, ""), -version: jspb.Message.getFieldWithDefault(msg, 3, ""), -sha256: msg.getSha256_asB64(), -format: jspb.Message.getFieldWithDefault(msg, 5, 0) + filename: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + version: jspb.Message.getFieldWithDefault(msg, 3, ""), + sha256: msg.getSha256_asB64(), + format: jspb.Message.getFieldWithDefault(msg, 5, 0) }; if (includeInstance) { diff --git a/gen/js/app/build/v1/build_pb.js b/gen/js/app/build/v1/build_pb.js index 1058266b..a86ce670 100644 --- a/gen/js/app/build/v1/build_pb.js +++ b/gen/js/app/build/v1/build_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb); @@ -569,13 +563,13 @@ proto.viam.app.build.v1.StartBuildRequest.prototype.toObject = function(opt_incl */ proto.viam.app.build.v1.StartBuildRequest.toObject = function(includeInstance, msg) { var f, obj = { -repo: jspb.Message.getFieldWithDefault(msg, 1, ""), -ref: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, -platformsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, -moduleId: jspb.Message.getFieldWithDefault(msg, 4, ""), -moduleVersion: jspb.Message.getFieldWithDefault(msg, 5, ""), -token: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, -workdir: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f + repo: jspb.Message.getFieldWithDefault(msg, 1, ""), + ref: jspb.Message.getFieldWithDefault(msg, 2, ""), + platformsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, + moduleId: jspb.Message.getFieldWithDefault(msg, 4, ""), + moduleVersion: jspb.Message.getFieldWithDefault(msg, 5, ""), + token: jspb.Message.getFieldWithDefault(msg, 6, ""), + workdir: jspb.Message.getFieldWithDefault(msg, 7, "") }; if (includeInstance) { @@ -952,7 +946,7 @@ proto.viam.app.build.v1.StartBuildResponse.prototype.toObject = function(opt_inc */ proto.viam.app.build.v1.StartBuildResponse.toObject = function(includeInstance, msg) { var f, obj = { -buildId: jspb.Message.getFieldWithDefault(msg, 1, "") + buildId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1082,8 +1076,8 @@ proto.viam.app.build.v1.GetLogsRequest.prototype.toObject = function(opt_include */ proto.viam.app.build.v1.GetLogsRequest.toObject = function(includeInstance, msg) { var f, obj = { -buildId: jspb.Message.getFieldWithDefault(msg, 1, ""), -platform: jspb.Message.getFieldWithDefault(msg, 2, "") + buildId: jspb.Message.getFieldWithDefault(msg, 1, ""), + platform: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1242,8 +1236,8 @@ proto.viam.app.build.v1.GetLogsResponse.prototype.toObject = function(opt_includ */ proto.viam.app.build.v1.GetLogsResponse.toObject = function(includeInstance, msg) { var f, obj = { -buildStep: jspb.Message.getFieldWithDefault(msg, 1, ""), -data: jspb.Message.getFieldWithDefault(msg, 2, "") + buildStep: jspb.Message.getFieldWithDefault(msg, 1, ""), + data: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1402,12 +1396,12 @@ proto.viam.app.build.v1.JobInfo.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.build.v1.JobInfo.toObject = function(includeInstance, msg) { var f, obj = { -buildId: jspb.Message.getFieldWithDefault(msg, 1, ""), -platform: jspb.Message.getFieldWithDefault(msg, 2, ""), -version: jspb.Message.getFieldWithDefault(msg, 3, ""), -status: jspb.Message.getFieldWithDefault(msg, 4, 0), -startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + buildId: jspb.Message.getFieldWithDefault(msg, 1, ""), + platform: jspb.Message.getFieldWithDefault(msg, 2, ""), + version: jspb.Message.getFieldWithDefault(msg, 3, ""), + status: jspb.Message.getFieldWithDefault(msg, 4, 0), + startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -1724,9 +1718,9 @@ proto.viam.app.build.v1.ListJobsRequest.prototype.toObject = function(opt_includ */ proto.viam.app.build.v1.ListJobsRequest.toObject = function(includeInstance, msg) { var f, obj = { -moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), -maxJobsLength: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, -buildId: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f + moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), + maxJobsLength: jspb.Message.getFieldWithDefault(msg, 2, 0), + buildId: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1957,7 +1951,7 @@ proto.viam.app.build.v1.ListJobsResponse.prototype.toObject = function(opt_inclu */ proto.viam.app.build.v1.ListJobsResponse.toObject = function(includeInstance, msg) { var f, obj = { -jobsList: jspb.Message.toObjectList(msg.getJobsList(), + jobsList: jspb.Message.toObjectList(msg.getJobsList(), proto.viam.app.build.v1.JobInfo.toObject, includeInstance) }; @@ -2110,12 +2104,12 @@ proto.viam.app.build.v1.RepoLink.prototype.toObject = function(opt_includeInstan */ proto.viam.app.build.v1.RepoLink.toObject = function(includeInstance, msg) { var f, obj = { -oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), -orgId: jspb.Message.getFieldWithDefault(msg, 2, ""), -namespace: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, -moduleName: jspb.Message.getFieldWithDefault(msg, 4, ""), -repo: jspb.Message.getFieldWithDefault(msg, 5, ""), -viamUser: jspb.Message.getFieldWithDefault(msg, 6, "") + oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), + orgId: jspb.Message.getFieldWithDefault(msg, 2, ""), + namespace: jspb.Message.getFieldWithDefault(msg, 3, ""), + moduleName: jspb.Message.getFieldWithDefault(msg, 4, ""), + repo: jspb.Message.getFieldWithDefault(msg, 5, ""), + viamUser: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { @@ -2408,7 +2402,7 @@ proto.viam.app.build.v1.LinkRepoRequest.prototype.toObject = function(opt_includ */ proto.viam.app.build.v1.LinkRepoRequest.toObject = function(includeInstance, msg) { var f, obj = { -link: (f = msg.getLink()) && proto.viam.app.build.v1.RepoLink.toObject(includeInstance, f) + link: (f = msg.getLink()) && proto.viam.app.build.v1.RepoLink.toObject(includeInstance, f) }; if (includeInstance) { @@ -2559,7 +2553,7 @@ proto.viam.app.build.v1.LinkRepoResponse.prototype.toObject = function(opt_inclu */ proto.viam.app.build.v1.LinkRepoResponse.toObject = function(includeInstance, msg) { var f, obj = { -repoLinkId: jspb.Message.getFieldWithDefault(msg, 1, "") + repoLinkId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2689,7 +2683,7 @@ proto.viam.app.build.v1.UnlinkRepoRequest.prototype.toObject = function(opt_incl */ proto.viam.app.build.v1.UnlinkRepoRequest.toObject = function(includeInstance, msg) { var f, obj = { -repoLinkId: jspb.Message.getFieldWithDefault(msg, 1, "") + repoLinkId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -3028,7 +3022,7 @@ proto.viam.app.build.v1.ListRepoLinksResponse.prototype.toObject = function(opt_ */ proto.viam.app.build.v1.ListRepoLinksResponse.toObject = function(includeInstance, msg) { var f, obj = { -linksList: jspb.Message.toObjectList(msg.getLinksList(), + linksList: jspb.Message.toObjectList(msg.getLinksList(), proto.viam.app.build.v1.RepoLink.toObject, includeInstance) }; @@ -3289,10 +3283,10 @@ proto.viam.app.build.v1.AppLink.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.build.v1.AppLink.toObject = function(includeInstance, msg) { var f, obj = { -oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), -viamUser: jspb.Message.getFieldWithDefault(msg, 2, ""), -externalUser: jspb.Message.getFieldWithDefault(msg, 3, ""), -orgIdOrNsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f + oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), + viamUser: jspb.Message.getFieldWithDefault(msg, 2, ""), + externalUser: jspb.Message.getFieldWithDefault(msg, 3, ""), + orgIdOrNsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f }; if (includeInstance) { @@ -3535,7 +3529,7 @@ proto.viam.app.build.v1.ListAppLinksResponse.prototype.toObject = function(opt_i */ proto.viam.app.build.v1.ListAppLinksResponse.toObject = function(includeInstance, msg) { var f, obj = { -linksList: jspb.Message.toObjectList(msg.getLinksList(), + linksList: jspb.Message.toObjectList(msg.getLinksList(), proto.viam.app.build.v1.AppLink.toObject, includeInstance) }; @@ -3688,7 +3682,7 @@ proto.viam.app.build.v1.RemoveAppLinkRequest.prototype.toObject = function(opt_i */ proto.viam.app.build.v1.RemoveAppLinkRequest.toObject = function(includeInstance, msg) { var f, obj = { -oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, "") + oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -3919,8 +3913,8 @@ proto.viam.app.build.v1.LinkOrgRequest.prototype.toObject = function(opt_include */ proto.viam.app.build.v1.LinkOrgRequest.toObject = function(includeInstance, msg) { var f, obj = { -oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), -orgId: jspb.Message.getFieldWithDefault(msg, 2, "") + oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), + orgId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -4180,8 +4174,8 @@ proto.viam.app.build.v1.UnlinkOrgRequest.prototype.toObject = function(opt_inclu */ proto.viam.app.build.v1.UnlinkOrgRequest.toObject = function(includeInstance, msg) { var f, obj = { -oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), -orgId: jspb.Message.getFieldWithDefault(msg, 2, "") + oauthAppLinkId: jspb.Message.getFieldWithDefault(msg, 1, ""), + orgId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/app/cloudslam/v1/cloud_slam_pb.js b/gen/js/app/cloudslam/v1/cloud_slam_pb.js index 1753e1f8..1bfa44a1 100644 --- a/gen/js/app/cloudslam/v1/cloud_slam_pb.js +++ b/gen/js/app/cloudslam/v1/cloud_slam_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -419,18 +413,18 @@ proto.viam.app.cloudslam.v1.StartMappingSessionRequest.prototype.toObject = func */ proto.viam.app.cloudslam.v1.StartMappingSessionRequest.toObject = function(includeInstance, msg) { var f, obj = { -slamVersion: jspb.Message.getFieldWithDefault(msg, 1, ""), -viamServerVersion: jspb.Message.getFieldWithDefault(msg, 2, ""), -mapName: jspb.Message.getFieldWithDefault(msg, 3, ""), -organizationId: jspb.Message.getFieldWithDefault(msg, 4, ""), -locationId: jspb.Message.getFieldWithDefault(msg, 5, ""), -robotId: jspb.Message.getFieldWithDefault(msg, 6, ""), -captureInterval: (f = msg.getCaptureInterval()) && proto.viam.app.cloudslam.v1.CaptureInterval.toObject(includeInstance, f), -sensorsList: jspb.Message.toObjectList(msg.getSensorsList(), + slamVersion: jspb.Message.getFieldWithDefault(msg, 1, ""), + viamServerVersion: jspb.Message.getFieldWithDefault(msg, 2, ""), + mapName: jspb.Message.getFieldWithDefault(msg, 3, ""), + organizationId: jspb.Message.getFieldWithDefault(msg, 4, ""), + locationId: jspb.Message.getFieldWithDefault(msg, 5, ""), + robotId: jspb.Message.getFieldWithDefault(msg, 6, ""), + captureInterval: (f = msg.getCaptureInterval()) && proto.viam.app.cloudslam.v1.CaptureInterval.toObject(includeInstance, f), + sensorsList: jspb.Message.toObjectList(msg.getSensorsList(), proto.viam.app.cloudslam.v1.SensorInfo.toObject, includeInstance), -slamConfig: (f = msg.getSlamConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), -existingMapVersion: jspb.Message.getFieldWithDefault(msg, 11, ""), -module: (f = msg.getModule()) && proto.viam.app.cloudslam.v1.Module.toObject(includeInstance, f) + slamConfig: (f = msg.getSlamConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + existingMapVersion: jspb.Message.getFieldWithDefault(msg, 11, ""), + module: (f = msg.getModule()) && proto.viam.app.cloudslam.v1.Module.toObject(includeInstance, f) }; if (includeInstance) { @@ -935,9 +929,9 @@ proto.viam.app.cloudslam.v1.Module.prototype.toObject = function(opt_includeInst */ proto.viam.app.cloudslam.v1.Module.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -moduleId: jspb.Message.getFieldWithDefault(msg, 3, ""), -version: jspb.Message.getFieldWithDefault(msg, 4, "") + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + moduleId: jspb.Message.getFieldWithDefault(msg, 3, ""), + version: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -1125,9 +1119,9 @@ proto.viam.app.cloudslam.v1.SensorInfo.prototype.toObject = function(opt_include */ proto.viam.app.cloudslam.v1.SensorInfo.toObject = function(includeInstance, msg) { var f, obj = { -sourceComponentName: jspb.Message.getFieldWithDefault(msg, 1, ""), -type: jspb.Message.getFieldWithDefault(msg, 2, ""), -dataFrequencyHz: jspb.Message.getFieldWithDefault(msg, 3, "") + sourceComponentName: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + dataFrequencyHz: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1315,8 +1309,8 @@ proto.viam.app.cloudslam.v1.CaptureInterval.prototype.toObject = function(opt_in */ proto.viam.app.cloudslam.v1.CaptureInterval.toObject = function(includeInstance, msg) { var f, obj = { -startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -1517,7 +1511,7 @@ proto.viam.app.cloudslam.v1.StartMappingSessionResponse.prototype.toObject = fun */ proto.viam.app.cloudslam.v1.StartMappingSessionResponse.toObject = function(includeInstance, msg) { var f, obj = { -sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") + sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1647,7 +1641,7 @@ proto.viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotRequest.prototype.to */ proto.viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotRequest.toObject = function(includeInstance, msg) { var f, obj = { -robotId: jspb.Message.getFieldWithDefault(msg, 1, "") + robotId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1777,7 +1771,7 @@ proto.viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotResponse.prototype.t */ proto.viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotResponse.toObject = function(includeInstance, msg) { var f, obj = { -sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") + sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1907,7 +1901,7 @@ proto.viam.app.cloudslam.v1.GetMappingSessionPointCloudRequest.prototype.toObjec */ proto.viam.app.cloudslam.v1.GetMappingSessionPointCloudRequest.toObject = function(includeInstance, msg) { var f, obj = { -sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") + sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2037,8 +2031,8 @@ proto.viam.app.cloudslam.v1.GetMappingSessionPointCloudResponse.prototype.toObje */ proto.viam.app.cloudslam.v1.GetMappingSessionPointCloudResponse.toObject = function(includeInstance, msg) { var f, obj = { -mapUrl: jspb.Message.getFieldWithDefault(msg, 1, ""), -pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) + mapUrl: jspb.Message.getFieldWithDefault(msg, 1, ""), + pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) }; if (includeInstance) { @@ -2218,8 +2212,8 @@ proto.viam.app.cloudslam.v1.ListMappingSessionsRequest.prototype.toObject = func */ proto.viam.app.cloudslam.v1.ListMappingSessionsRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -locationId: jspb.Message.getFieldWithDefault(msg, 2, "") + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + locationId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -2385,7 +2379,7 @@ proto.viam.app.cloudslam.v1.ListMappingSessionsResponse.prototype.toObject = fun */ proto.viam.app.cloudslam.v1.ListMappingSessionsResponse.toObject = function(includeInstance, msg) { var f, obj = { -sessionList: jspb.Message.toObjectList(msg.getSessionList(), + sessionList: jspb.Message.toObjectList(msg.getSessionList(), proto.viam.app.cloudslam.v1.MappingMetadata.toObject, includeInstance) }; @@ -2538,7 +2532,7 @@ proto.viam.app.cloudslam.v1.StopMappingSessionRequest.prototype.toObject = funct */ proto.viam.app.cloudslam.v1.StopMappingSessionRequest.toObject = function(includeInstance, msg) { var f, obj = { -sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") + sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2668,8 +2662,8 @@ proto.viam.app.cloudslam.v1.StopMappingSessionResponse.prototype.toObject = func */ proto.viam.app.cloudslam.v1.StopMappingSessionResponse.toObject = function(includeInstance, msg) { var f, obj = { -packageId: jspb.Message.getFieldWithDefault(msg, 1, ""), -version: jspb.Message.getFieldWithDefault(msg, 2, "") + packageId: jspb.Message.getFieldWithDefault(msg, 1, ""), + version: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -2828,7 +2822,7 @@ proto.viam.app.cloudslam.v1.GetMappingSessionMetadataByIDRequest.prototype.toObj */ proto.viam.app.cloudslam.v1.GetMappingSessionMetadataByIDRequest.toObject = function(includeInstance, msg) { var f, obj = { -sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") + sessionId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2958,7 +2952,7 @@ proto.viam.app.cloudslam.v1.GetMappingSessionMetadataByIDResponse.prototype.toOb */ proto.viam.app.cloudslam.v1.GetMappingSessionMetadataByIDResponse.toObject = function(includeInstance, msg) { var f, obj = { -sessionMetadata: (f = msg.getSessionMetadata()) && proto.viam.app.cloudslam.v1.MappingMetadata.toObject(includeInstance, f) + sessionMetadata: (f = msg.getSessionMetadata()) && proto.viam.app.cloudslam.v1.MappingMetadata.toObject(includeInstance, f) }; if (includeInstance) { @@ -3109,20 +3103,20 @@ proto.viam.app.cloudslam.v1.MappingMetadata.prototype.toObject = function(opt_in */ proto.viam.app.cloudslam.v1.MappingMetadata.toObject = function(includeInstance, msg) { var f, obj = { -orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), -locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), -robotId: jspb.Message.getFieldWithDefault(msg, 3, ""), -timeStartSubmitted: (f = msg.getTimeStartSubmitted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -timeCloudRunJobStarted: (f = msg.getTimeCloudRunJobStarted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -timeEndSubmitted: (f = msg.getTimeEndSubmitted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -timeCloudRunJobEnded: (f = msg.getTimeCloudRunJobEnded()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -endStatus: jspb.Message.getFieldWithDefault(msg, 8, 0), -cloudRunJobId: jspb.Message.getFieldWithDefault(msg, 9, ""), -viamServerVersion: jspb.Message.getFieldWithDefault(msg, 10, ""), -mapName: jspb.Message.getFieldWithDefault(msg, 11, ""), -slamVersion: jspb.Message.getFieldWithDefault(msg, 12, ""), -config: jspb.Message.getFieldWithDefault(msg, 13, ""), -errorMsg: jspb.Message.getFieldWithDefault(msg, 14, "") + orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), + locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), + robotId: jspb.Message.getFieldWithDefault(msg, 3, ""), + timeStartSubmitted: (f = msg.getTimeStartSubmitted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + timeCloudRunJobStarted: (f = msg.getTimeCloudRunJobStarted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + timeEndSubmitted: (f = msg.getTimeEndSubmitted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + timeCloudRunJobEnded: (f = msg.getTimeCloudRunJobEnded()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + endStatus: jspb.Message.getFieldWithDefault(msg, 8, 0), + cloudRunJobId: jspb.Message.getFieldWithDefault(msg, 9, ""), + viamServerVersion: jspb.Message.getFieldWithDefault(msg, 10, ""), + mapName: jspb.Message.getFieldWithDefault(msg, 11, ""), + slamVersion: jspb.Message.getFieldWithDefault(msg, 12, ""), + config: jspb.Message.getFieldWithDefault(msg, 13, ""), + errorMsg: jspb.Message.getFieldWithDefault(msg, 14, "") }; if (includeInstance) { diff --git a/gen/js/app/data/v1/data_pb.js b/gen/js/app/data/v1/data_pb.js index dce7d147..b24990cd 100644 --- a/gen/js/app/data/v1/data_pb.js +++ b/gen/js/app/data/v1/data_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); goog.object.extend(proto, google_protobuf_any_pb); @@ -1249,10 +1243,10 @@ proto.viam.app.data.v1.DataRequest.prototype.toObject = function(opt_includeInst */ proto.viam.app.data.v1.DataRequest.toObject = function(includeInstance, msg) { var f, obj = { -filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), -limit: jspb.Message.getFieldWithDefault(msg, 2, 0), -last: jspb.Message.getFieldWithDefault(msg, 3, ""), -sortOrder: jspb.Message.getFieldWithDefault(msg, 4, 0) + filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), + limit: jspb.Message.getFieldWithDefault(msg, 2, 0), + last: jspb.Message.getFieldWithDefault(msg, 3, ""), + sortOrder: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { @@ -1497,20 +1491,20 @@ proto.viam.app.data.v1.Filter.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.data.v1.Filter.toObject = function(includeInstance, msg) { var f, obj = { -componentName: jspb.Message.getFieldWithDefault(msg, 1, ""), -componentType: jspb.Message.getFieldWithDefault(msg, 2, ""), -method: jspb.Message.getFieldWithDefault(msg, 4, ""), -robotName: jspb.Message.getFieldWithDefault(msg, 6, ""), -robotId: jspb.Message.getFieldWithDefault(msg, 7, ""), -partName: jspb.Message.getFieldWithDefault(msg, 8, ""), -partId: jspb.Message.getFieldWithDefault(msg, 9, ""), -locationIdsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, -organizationIdsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f, -mimeTypeList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f, -interval: (f = msg.getInterval()) && proto.viam.app.data.v1.CaptureInterval.toObject(includeInstance, f), -tagsFilter: (f = msg.getTagsFilter()) && proto.viam.app.data.v1.TagsFilter.toObject(includeInstance, f), -bboxLabelsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f, -datasetId: jspb.Message.getFieldWithDefault(msg, 16, "") + componentName: jspb.Message.getFieldWithDefault(msg, 1, ""), + componentType: jspb.Message.getFieldWithDefault(msg, 2, ""), + method: jspb.Message.getFieldWithDefault(msg, 4, ""), + robotName: jspb.Message.getFieldWithDefault(msg, 6, ""), + robotId: jspb.Message.getFieldWithDefault(msg, 7, ""), + partName: jspb.Message.getFieldWithDefault(msg, 8, ""), + partId: jspb.Message.getFieldWithDefault(msg, 9, ""), + locationIdsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, + organizationIdsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f, + mimeTypeList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f, + interval: (f = msg.getInterval()) && proto.viam.app.data.v1.CaptureInterval.toObject(includeInstance, f), + tagsFilter: (f = msg.getTagsFilter()) && proto.viam.app.data.v1.TagsFilter.toObject(includeInstance, f), + bboxLabelsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f, + datasetId: jspb.Message.getFieldWithDefault(msg, 16, "") }; if (includeInstance) { @@ -2142,8 +2136,8 @@ proto.viam.app.data.v1.TagsFilter.prototype.toObject = function(opt_includeInsta */ proto.viam.app.data.v1.TagsFilter.toObject = function(includeInstance, msg) { var f, obj = { -type: jspb.Message.getFieldWithDefault(msg, 1, 0), -tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -2328,18 +2322,18 @@ proto.viam.app.data.v1.CaptureMetadata.prototype.toObject = function(opt_include */ proto.viam.app.data.v1.CaptureMetadata.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), -robotName: jspb.Message.getFieldWithDefault(msg, 3, ""), -robotId: jspb.Message.getFieldWithDefault(msg, 4, ""), -partName: jspb.Message.getFieldWithDefault(msg, 5, ""), -partId: jspb.Message.getFieldWithDefault(msg, 6, ""), -componentType: jspb.Message.getFieldWithDefault(msg, 7, ""), -componentName: jspb.Message.getFieldWithDefault(msg, 9, ""), -methodName: jspb.Message.getFieldWithDefault(msg, 10, ""), -methodParametersMap: (f = msg.getMethodParametersMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [], -tagsList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f, -mimeType: jspb.Message.getFieldWithDefault(msg, 13, "") + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), + robotName: jspb.Message.getFieldWithDefault(msg, 3, ""), + robotId: jspb.Message.getFieldWithDefault(msg, 4, ""), + partName: jspb.Message.getFieldWithDefault(msg, 5, ""), + partId: jspb.Message.getFieldWithDefault(msg, 6, ""), + componentType: jspb.Message.getFieldWithDefault(msg, 7, ""), + componentName: jspb.Message.getFieldWithDefault(msg, 9, ""), + methodName: jspb.Message.getFieldWithDefault(msg, 10, ""), + methodParametersMap: (f = msg.getMethodParametersMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [], + tagsList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f, + mimeType: jspb.Message.getFieldWithDefault(msg, 13, "") }; if (includeInstance) { @@ -2720,8 +2714,7 @@ proto.viam.app.data.v1.CaptureMetadata.prototype.getMethodParametersMap = functi */ proto.viam.app.data.v1.CaptureMetadata.prototype.clearMethodParametersMap = function() { this.getMethodParametersMap().clear(); - return this; -}; + return this;}; /** @@ -2811,8 +2804,8 @@ proto.viam.app.data.v1.CaptureInterval.prototype.toObject = function(opt_include */ proto.viam.app.data.v1.CaptureInterval.toObject = function(includeInstance, msg) { var f, obj = { -start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -3013,9 +3006,9 @@ proto.viam.app.data.v1.TabularDataByFilterRequest.prototype.toObject = function( */ proto.viam.app.data.v1.TabularDataByFilterRequest.toObject = function(includeInstance, msg) { var f, obj = { -dataRequest: (f = msg.getDataRequest()) && proto.viam.app.data.v1.DataRequest.toObject(includeInstance, f), -countOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), -includeInternalData: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + dataRequest: (f = msg.getDataRequest()) && proto.viam.app.data.v1.DataRequest.toObject(includeInstance, f), + countOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + includeInternalData: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -3231,13 +3224,13 @@ proto.viam.app.data.v1.TabularDataByFilterResponse.prototype.toObject = function */ proto.viam.app.data.v1.TabularDataByFilterResponse.toObject = function(includeInstance, msg) { var f, obj = { -metadataList: jspb.Message.toObjectList(msg.getMetadataList(), + metadataList: jspb.Message.toObjectList(msg.getMetadataList(), proto.viam.app.data.v1.CaptureMetadata.toObject, includeInstance), -dataList: jspb.Message.toObjectList(msg.getDataList(), + dataList: jspb.Message.toObjectList(msg.getDataList(), proto.viam.app.data.v1.TabularData.toObject, includeInstance), -count: jspb.Message.getFieldWithDefault(msg, 3, 0), -last: jspb.Message.getFieldWithDefault(msg, 4, ""), -totalSizeBytes: jspb.Message.getFieldWithDefault(msg, 5, 0) + count: jspb.Message.getFieldWithDefault(msg, 3, 0), + last: jspb.Message.getFieldWithDefault(msg, 4, ""), + totalSizeBytes: jspb.Message.getFieldWithDefault(msg, 5, 0) }; if (includeInstance) { @@ -3527,10 +3520,10 @@ proto.viam.app.data.v1.TabularData.prototype.toObject = function(opt_includeInst */ proto.viam.app.data.v1.TabularData.toObject = function(includeInstance, msg) { var f, obj = { -data: (f = msg.getData()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), -metadataIndex: jspb.Message.getFieldWithDefault(msg, 2, 0), -timeRequested: (f = msg.getTimeRequested()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -timeReceived: (f = msg.getTimeReceived()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + data: (f = msg.getData()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + metadataIndex: jspb.Message.getFieldWithDefault(msg, 2, 0), + timeRequested: (f = msg.getTimeRequested()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + timeReceived: (f = msg.getTimeReceived()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -3810,8 +3803,8 @@ proto.viam.app.data.v1.TabularDataBySQLRequest.prototype.toObject = function(opt */ proto.viam.app.data.v1.TabularDataBySQLRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -sqlQuery: jspb.Message.getFieldWithDefault(msg, 2, "") + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + sqlQuery: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -3977,9 +3970,9 @@ proto.viam.app.data.v1.TabularDataBySQLResponse.prototype.toObject = function(op */ proto.viam.app.data.v1.TabularDataBySQLResponse.toObject = function(includeInstance, msg) { var f, obj = { -dataList: jspb.Message.toObjectList(msg.getDataList(), + dataList: jspb.Message.toObjectList(msg.getDataList(), google_protobuf_struct_pb.Struct.toObject, includeInstance), -rawDataList: msg.getRawDataList_asB64() + rawDataList: msg.getRawDataList_asB64() }; if (includeInstance) { @@ -4210,8 +4203,8 @@ proto.viam.app.data.v1.TabularDataByMQLRequest.prototype.toObject = function(opt */ proto.viam.app.data.v1.TabularDataByMQLRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -mqlBinaryList: msg.getMqlBinaryList_asB64() + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + mqlBinaryList: msg.getMqlBinaryList_asB64() }; if (includeInstance) { @@ -4420,9 +4413,9 @@ proto.viam.app.data.v1.TabularDataByMQLResponse.prototype.toObject = function(op */ proto.viam.app.data.v1.TabularDataByMQLResponse.toObject = function(includeInstance, msg) { var f, obj = { -dataList: jspb.Message.toObjectList(msg.getDataList(), + dataList: jspb.Message.toObjectList(msg.getDataList(), google_protobuf_struct_pb.Struct.toObject, includeInstance), -rawDataList: msg.getRawDataList_asB64() + rawDataList: msg.getRawDataList_asB64() }; if (includeInstance) { @@ -4646,8 +4639,8 @@ proto.viam.app.data.v1.BinaryData.prototype.toObject = function(opt_includeInsta */ proto.viam.app.data.v1.BinaryData.toObject = function(includeInstance, msg) { var f, obj = { -binary: msg.getBinary_asB64(), -metadata: (f = msg.getMetadata()) && proto.viam.app.data.v1.BinaryMetadata.toObject(includeInstance, f) + binary: msg.getBinary_asB64(), + metadata: (f = msg.getMetadata()) && proto.viam.app.data.v1.BinaryMetadata.toObject(includeInstance, f) }; if (includeInstance) { @@ -4851,10 +4844,10 @@ proto.viam.app.data.v1.BinaryDataByFilterRequest.prototype.toObject = function(o */ proto.viam.app.data.v1.BinaryDataByFilterRequest.toObject = function(includeInstance, msg) { var f, obj = { -dataRequest: (f = msg.getDataRequest()) && proto.viam.app.data.v1.DataRequest.toObject(includeInstance, f), -includeBinary: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), -countOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), -includeInternalData: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) + dataRequest: (f = msg.getDataRequest()) && proto.viam.app.data.v1.DataRequest.toObject(includeInstance, f), + includeBinary: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + countOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + includeInternalData: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) }; if (includeInstance) { @@ -5099,11 +5092,11 @@ proto.viam.app.data.v1.BinaryDataByFilterResponse.prototype.toObject = function( */ proto.viam.app.data.v1.BinaryDataByFilterResponse.toObject = function(includeInstance, msg) { var f, obj = { -dataList: jspb.Message.toObjectList(msg.getDataList(), + dataList: jspb.Message.toObjectList(msg.getDataList(), proto.viam.app.data.v1.BinaryData.toObject, includeInstance), -count: jspb.Message.getFieldWithDefault(msg, 2, 0), -last: jspb.Message.getFieldWithDefault(msg, 3, ""), -totalSizeBytes: jspb.Message.getFieldWithDefault(msg, 4, 0) + count: jspb.Message.getFieldWithDefault(msg, 2, 0), + last: jspb.Message.getFieldWithDefault(msg, 3, ""), + totalSizeBytes: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { @@ -5342,9 +5335,9 @@ proto.viam.app.data.v1.BinaryID.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.data.v1.BinaryID.toObject = function(includeInstance, msg) { var f, obj = { -fileId: jspb.Message.getFieldWithDefault(msg, 1, ""), -organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), -locationId: jspb.Message.getFieldWithDefault(msg, 3, "") + fileId: jspb.Message.getFieldWithDefault(msg, 1, ""), + organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), + locationId: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -5539,8 +5532,8 @@ proto.viam.app.data.v1.BinaryDataByIDsRequest.prototype.toObject = function(opt_ */ proto.viam.app.data.v1.BinaryDataByIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { -includeBinary: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), -binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), + includeBinary: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), proto.viam.app.data.v1.BinaryID.toObject, includeInstance) }; @@ -5729,9 +5722,9 @@ proto.viam.app.data.v1.BinaryDataByIDsResponse.prototype.toObject = function(opt */ proto.viam.app.data.v1.BinaryDataByIDsResponse.toObject = function(includeInstance, msg) { var f, obj = { -dataList: jspb.Message.toObjectList(msg.getDataList(), + dataList: jspb.Message.toObjectList(msg.getDataList(), proto.viam.app.data.v1.BinaryData.toObject, includeInstance), -count: jspb.Message.getFieldWithDefault(msg, 2, 0) + count: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -5912,13 +5905,13 @@ proto.viam.app.data.v1.BoundingBox.prototype.toObject = function(opt_includeInst */ proto.viam.app.data.v1.BoundingBox.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -label: jspb.Message.getFieldWithDefault(msg, 2, ""), -xMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -yMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), -xMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), -yMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0), -confidence: (f = jspb.Message.getOptionalFloatingPointField(msg, 7)) == null ? undefined : f + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + label: jspb.Message.getFieldWithDefault(msg, 2, ""), + xMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + yMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), + xMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), + yMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0), + confidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0) }; if (includeInstance) { @@ -6240,8 +6233,8 @@ proto.viam.app.data.v1.Classification.prototype.toObject = function(opt_includeI */ proto.viam.app.data.v1.Classification.toObject = function(includeInstance, msg) { var f, obj = { -label: jspb.Message.getFieldWithDefault(msg, 1, ""), -confidence: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f + label: jspb.Message.getFieldWithDefault(msg, 1, ""), + confidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -6425,9 +6418,9 @@ proto.viam.app.data.v1.Annotations.prototype.toObject = function(opt_includeInst */ proto.viam.app.data.v1.Annotations.toObject = function(includeInstance, msg) { var f, obj = { -bboxesList: jspb.Message.toObjectList(msg.getBboxesList(), + bboxesList: jspb.Message.toObjectList(msg.getBboxesList(), proto.viam.app.data.v1.BoundingBox.toObject, includeInstance), -classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), + classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), proto.viam.app.data.v1.Classification.toObject, includeInstance) }; @@ -6638,15 +6631,15 @@ proto.viam.app.data.v1.BinaryMetadata.prototype.toObject = function(opt_includeI */ proto.viam.app.data.v1.BinaryMetadata.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -captureMetadata: (f = msg.getCaptureMetadata()) && proto.viam.app.data.v1.CaptureMetadata.toObject(includeInstance, f), -timeRequested: (f = msg.getTimeRequested()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -timeReceived: (f = msg.getTimeReceived()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -fileName: jspb.Message.getFieldWithDefault(msg, 5, ""), -fileExt: jspb.Message.getFieldWithDefault(msg, 6, ""), -uri: jspb.Message.getFieldWithDefault(msg, 7, ""), -annotations: (f = msg.getAnnotations()) && proto.viam.app.data.v1.Annotations.toObject(includeInstance, f), -datasetIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + captureMetadata: (f = msg.getCaptureMetadata()) && proto.viam.app.data.v1.CaptureMetadata.toObject(includeInstance, f), + timeRequested: (f = msg.getTimeRequested()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + timeReceived: (f = msg.getTimeReceived()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + fileName: jspb.Message.getFieldWithDefault(msg, 5, ""), + fileExt: jspb.Message.getFieldWithDefault(msg, 6, ""), + uri: jspb.Message.getFieldWithDefault(msg, 7, ""), + annotations: (f = msg.getAnnotations()) && proto.viam.app.data.v1.Annotations.toObject(includeInstance, f), + datasetIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f }; if (includeInstance) { @@ -7111,8 +7104,8 @@ proto.viam.app.data.v1.DeleteTabularDataRequest.prototype.toObject = function(op */ proto.viam.app.data.v1.DeleteTabularDataRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -deleteOlderThanDays: jspb.Message.getFieldWithDefault(msg, 2, 0) + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + deleteOlderThanDays: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -7271,7 +7264,7 @@ proto.viam.app.data.v1.DeleteTabularDataResponse.prototype.toObject = function(o */ proto.viam.app.data.v1.DeleteTabularDataResponse.toObject = function(includeInstance, msg) { var f, obj = { -deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) + deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -7401,8 +7394,8 @@ proto.viam.app.data.v1.DeleteBinaryDataByFilterRequest.prototype.toObject = func */ proto.viam.app.data.v1.DeleteBinaryDataByFilterRequest.toObject = function(includeInstance, msg) { var f, obj = { -filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), -includeInternalData: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), + includeInternalData: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -7582,7 +7575,7 @@ proto.viam.app.data.v1.DeleteBinaryDataByFilterResponse.prototype.toObject = fun */ proto.viam.app.data.v1.DeleteBinaryDataByFilterResponse.toObject = function(includeInstance, msg) { var f, obj = { -deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) + deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -7719,7 +7712,7 @@ proto.viam.app.data.v1.DeleteBinaryDataByIDsRequest.prototype.toObject = functio */ proto.viam.app.data.v1.DeleteBinaryDataByIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { -binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), + binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), proto.viam.app.data.v1.BinaryID.toObject, includeInstance) }; @@ -7872,7 +7865,7 @@ proto.viam.app.data.v1.DeleteBinaryDataByIDsResponse.prototype.toObject = functi */ proto.viam.app.data.v1.DeleteBinaryDataByIDsResponse.toObject = function(includeInstance, msg) { var f, obj = { -deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) + deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -8009,9 +8002,9 @@ proto.viam.app.data.v1.AddTagsToBinaryDataByIDsRequest.prototype.toObject = func */ proto.viam.app.data.v1.AddTagsToBinaryDataByIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { -binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), + binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), proto.viam.app.data.v1.BinaryID.toObject, includeInstance), -tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f + tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -8319,8 +8312,8 @@ proto.viam.app.data.v1.AddTagsToBinaryDataByFilterRequest.prototype.toObject = f */ proto.viam.app.data.v1.AddTagsToBinaryDataByFilterRequest.toObject = function(includeInstance, msg) { var f, obj = { -filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), -tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f + filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), + tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -8627,9 +8620,9 @@ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsRequest.prototype.toObject = */ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { -binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), + binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), proto.viam.app.data.v1.BinaryID.toObject, includeInstance), -tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f + tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -8829,7 +8822,7 @@ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsResponse.prototype.toObject */ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsResponse.toObject = function(includeInstance, msg) { var f, obj = { -deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) + deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -8966,8 +8959,8 @@ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterRequest.prototype.toObjec */ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterRequest.toObject = function(includeInstance, msg) { var f, obj = { -filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), -tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f + filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f), + tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -9166,7 +9159,7 @@ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterResponse.prototype.toObje */ proto.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterResponse.toObject = function(includeInstance, msg) { var f, obj = { -deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) + deletedCount: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -9296,7 +9289,7 @@ proto.viam.app.data.v1.TagsByFilterRequest.prototype.toObject = function(opt_inc */ proto.viam.app.data.v1.TagsByFilterRequest.toObject = function(includeInstance, msg) { var f, obj = { -filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f) + filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f) }; if (includeInstance) { @@ -9454,7 +9447,7 @@ proto.viam.app.data.v1.TagsByFilterResponse.prototype.toObject = function(opt_in */ proto.viam.app.data.v1.TagsByFilterResponse.toObject = function(includeInstance, msg) { var f, obj = { -tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -9603,12 +9596,12 @@ proto.viam.app.data.v1.AddBoundingBoxToImageByIDRequest.prototype.toObject = fun */ proto.viam.app.data.v1.AddBoundingBoxToImageByIDRequest.toObject = function(includeInstance, msg) { var f, obj = { -binaryId: (f = msg.getBinaryId()) && proto.viam.app.data.v1.BinaryID.toObject(includeInstance, f), -label: jspb.Message.getFieldWithDefault(msg, 2, ""), -xMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -yMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), -xMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), -yMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0) + binaryId: (f = msg.getBinaryId()) && proto.viam.app.data.v1.BinaryID.toObject(includeInstance, f), + label: jspb.Message.getFieldWithDefault(msg, 2, ""), + xMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + yMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), + xMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), + yMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0) }; if (includeInstance) { @@ -9904,7 +9897,7 @@ proto.viam.app.data.v1.AddBoundingBoxToImageByIDResponse.prototype.toObject = fu */ proto.viam.app.data.v1.AddBoundingBoxToImageByIDResponse.toObject = function(includeInstance, msg) { var f, obj = { -bboxId: jspb.Message.getFieldWithDefault(msg, 1, "") + bboxId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -10034,8 +10027,8 @@ proto.viam.app.data.v1.RemoveBoundingBoxFromImageByIDRequest.prototype.toObject */ proto.viam.app.data.v1.RemoveBoundingBoxFromImageByIDRequest.toObject = function(includeInstance, msg) { var f, obj = { -binaryId: (f = msg.getBinaryId()) && proto.viam.app.data.v1.BinaryID.toObject(includeInstance, f), -bboxId: jspb.Message.getFieldWithDefault(msg, 2, "") + binaryId: (f = msg.getBinaryId()) && proto.viam.app.data.v1.BinaryID.toObject(includeInstance, f), + bboxId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -10316,13 +10309,13 @@ proto.viam.app.data.v1.UpdateBoundingBoxRequest.prototype.toObject = function(op */ proto.viam.app.data.v1.UpdateBoundingBoxRequest.toObject = function(includeInstance, msg) { var f, obj = { -binaryId: (f = msg.getBinaryId()) && proto.viam.app.data.v1.BinaryID.toObject(includeInstance, f), -bboxId: jspb.Message.getFieldWithDefault(msg, 2, ""), -label: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, -xMinNormalized: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f, -yMinNormalized: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, -xMaxNormalized: (f = jspb.Message.getOptionalFloatingPointField(msg, 6)) == null ? undefined : f, -yMaxNormalized: (f = jspb.Message.getOptionalFloatingPointField(msg, 7)) == null ? undefined : f + binaryId: (f = msg.getBinaryId()) && proto.viam.app.data.v1.BinaryID.toObject(includeInstance, f), + bboxId: jspb.Message.getFieldWithDefault(msg, 2, ""), + label: jspb.Message.getFieldWithDefault(msg, 3, ""), + xMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), + yMinNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), + xMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0), + yMaxNormalized: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0) }; if (includeInstance) { @@ -10838,7 +10831,7 @@ proto.viam.app.data.v1.BoundingBoxLabelsByFilterRequest.prototype.toObject = fun */ proto.viam.app.data.v1.BoundingBoxLabelsByFilterRequest.toObject = function(includeInstance, msg) { var f, obj = { -filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f) + filter: (f = msg.getFilter()) && proto.viam.app.data.v1.Filter.toObject(includeInstance, f) }; if (includeInstance) { @@ -10996,7 +10989,7 @@ proto.viam.app.data.v1.BoundingBoxLabelsByFilterResponse.prototype.toObject = fu */ proto.viam.app.data.v1.BoundingBoxLabelsByFilterResponse.toObject = function(includeInstance, msg) { var f, obj = { -labelsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + labelsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -11145,8 +11138,8 @@ proto.viam.app.data.v1.ConfigureDatabaseUserRequest.prototype.toObject = functio */ proto.viam.app.data.v1.ConfigureDatabaseUserRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -password: jspb.Message.getFieldWithDefault(msg, 2, "") + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + password: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -11406,7 +11399,7 @@ proto.viam.app.data.v1.GetDatabaseConnectionRequest.prototype.toObject = functio */ proto.viam.app.data.v1.GetDatabaseConnectionRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") + organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -11536,9 +11529,9 @@ proto.viam.app.data.v1.GetDatabaseConnectionResponse.prototype.toObject = functi */ proto.viam.app.data.v1.GetDatabaseConnectionResponse.toObject = function(includeInstance, msg) { var f, obj = { -hostname: jspb.Message.getFieldWithDefault(msg, 1, ""), -mongodbUri: jspb.Message.getFieldWithDefault(msg, 2, ""), -hasDatabaseUser: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + hostname: jspb.Message.getFieldWithDefault(msg, 1, ""), + mongodbUri: jspb.Message.getFieldWithDefault(msg, 2, ""), + hasDatabaseUser: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -11733,9 +11726,9 @@ proto.viam.app.data.v1.AddBinaryDataToDatasetByIDsRequest.prototype.toObject = f */ proto.viam.app.data.v1.AddBinaryDataToDatasetByIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { -binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), + binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), proto.viam.app.data.v1.BinaryID.toObject, includeInstance), -datasetId: jspb.Message.getFieldWithDefault(msg, 2, "") + datasetId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -12024,9 +12017,9 @@ proto.viam.app.data.v1.RemoveBinaryDataFromDatasetByIDsRequest.prototype.toObjec */ proto.viam.app.data.v1.RemoveBinaryDataFromDatasetByIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { -binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), + binaryIdsList: jspb.Message.toObjectList(msg.getBinaryIdsList(), proto.viam.app.data.v1.BinaryID.toObject, includeInstance), -datasetId: jspb.Message.getFieldWithDefault(msg, 2, "") + datasetId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/app/dataset/v1/dataset_pb.js b/gen/js/app/dataset/v1/dataset_pb.js index 343f0a95..13fbe9ce 100644 --- a/gen/js/app/dataset/v1/dataset_pb.js +++ b/gen/js/app/dataset/v1/dataset_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb); @@ -297,10 +291,10 @@ proto.viam.app.dataset.v1.Dataset.prototype.toObject = function(opt_includeInsta */ proto.viam.app.dataset.v1.Dataset.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -organizationId: jspb.Message.getFieldWithDefault(msg, 3, ""), -timeCreated: (f = msg.getTimeCreated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + organizationId: jspb.Message.getFieldWithDefault(msg, 3, ""), + timeCreated: (f = msg.getTimeCreated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -538,8 +532,8 @@ proto.viam.app.dataset.v1.CreateDatasetRequest.prototype.toObject = function(opt */ proto.viam.app.dataset.v1.CreateDatasetRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -organizationId: jspb.Message.getFieldWithDefault(msg, 2, "") + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + organizationId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -698,7 +692,7 @@ proto.viam.app.dataset.v1.CreateDatasetResponse.prototype.toObject = function(op */ proto.viam.app.dataset.v1.CreateDatasetResponse.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -828,7 +822,7 @@ proto.viam.app.dataset.v1.DeleteDatasetRequest.prototype.toObject = function(opt */ proto.viam.app.dataset.v1.DeleteDatasetRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1059,8 +1053,8 @@ proto.viam.app.dataset.v1.RenameDatasetRequest.prototype.toObject = function(opt */ proto.viam.app.dataset.v1.RenameDatasetRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, "") + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1320,7 +1314,7 @@ proto.viam.app.dataset.v1.ListDatasetsByOrganizationIDRequest.prototype.toObject */ proto.viam.app.dataset.v1.ListDatasetsByOrganizationIDRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") + organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1457,7 +1451,7 @@ proto.viam.app.dataset.v1.ListDatasetsByOrganizationIDResponse.prototype.toObjec */ proto.viam.app.dataset.v1.ListDatasetsByOrganizationIDResponse.toObject = function(includeInstance, msg) { var f, obj = { -datasetsList: jspb.Message.toObjectList(msg.getDatasetsList(), + datasetsList: jspb.Message.toObjectList(msg.getDatasetsList(), proto.viam.app.dataset.v1.Dataset.toObject, includeInstance) }; @@ -1617,7 +1611,7 @@ proto.viam.app.dataset.v1.ListDatasetsByIDsRequest.prototype.toObject = function */ proto.viam.app.dataset.v1.ListDatasetsByIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { -idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -1773,7 +1767,7 @@ proto.viam.app.dataset.v1.ListDatasetsByIDsResponse.prototype.toObject = functio */ proto.viam.app.dataset.v1.ListDatasetsByIDsResponse.toObject = function(includeInstance, msg) { var f, obj = { -datasetsList: jspb.Message.toObjectList(msg.getDatasetsList(), + datasetsList: jspb.Message.toObjectList(msg.getDatasetsList(), proto.viam.app.dataset.v1.Dataset.toObject, includeInstance) }; diff --git a/gen/js/app/datasync/v1/data_sync_pb.js b/gen/js/app/datasync/v1/data_sync_pb.js index ca703b37..be772018 100644 --- a/gen/js/app/datasync/v1/data_sync_pb.js +++ b/gen/js/app/datasync/v1/data_sync_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var app_data_v1_data_pb = require('../../../app/data/v1/data_pb.js'); goog.object.extend(proto, app_data_v1_data_pb); @@ -361,8 +355,8 @@ proto.viam.app.datasync.v1.DataCaptureUploadRequest.prototype.toObject = functio */ proto.viam.app.datasync.v1.DataCaptureUploadRequest.toObject = function(includeInstance, msg) { var f, obj = { -metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.UploadMetadata.toObject(includeInstance, f), -sensorContentsList: jspb.Message.toObjectList(msg.getSensorContentsList(), + metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.UploadMetadata.toObject(includeInstance, f), + sensorContentsList: jspb.Message.toObjectList(msg.getSensorContentsList(), proto.viam.app.datasync.v1.SensorData.toObject, includeInstance) }; @@ -565,7 +559,7 @@ proto.viam.app.datasync.v1.DataCaptureUploadResponse.prototype.toObject = functi */ proto.viam.app.datasync.v1.DataCaptureUploadResponse.toObject = function(includeInstance, msg) { var f, obj = { -fileId: jspb.Message.getFieldWithDefault(msg, 1, "") + fileId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -721,8 +715,8 @@ proto.viam.app.datasync.v1.FileUploadRequest.prototype.toObject = function(opt_i */ proto.viam.app.datasync.v1.FileUploadRequest.toObject = function(includeInstance, msg) { var f, obj = { -metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.UploadMetadata.toObject(includeInstance, f), -fileContents: (f = msg.getFileContents()) && proto.viam.app.datasync.v1.FileData.toObject(includeInstance, f) + metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.UploadMetadata.toObject(includeInstance, f), + fileContents: (f = msg.getFileContents()) && proto.viam.app.datasync.v1.FileData.toObject(includeInstance, f) }; if (includeInstance) { @@ -923,7 +917,7 @@ proto.viam.app.datasync.v1.FileUploadResponse.prototype.toObject = function(opt_ */ proto.viam.app.datasync.v1.FileUploadResponse.toObject = function(includeInstance, msg) { var f, obj = { -fileId: jspb.Message.getFieldWithDefault(msg, 1, "") + fileId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1079,8 +1073,8 @@ proto.viam.app.datasync.v1.StreamingDataCaptureUploadRequest.prototype.toObject */ proto.viam.app.datasync.v1.StreamingDataCaptureUploadRequest.toObject = function(includeInstance, msg) { var f, obj = { -metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.DataCaptureUploadMetadata.toObject(includeInstance, f), -data: msg.getData_asB64() + metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.DataCaptureUploadMetadata.toObject(includeInstance, f), + data: msg.getData_asB64() }; if (includeInstance) { @@ -1302,7 +1296,7 @@ proto.viam.app.datasync.v1.StreamingDataCaptureUploadResponse.prototype.toObject */ proto.viam.app.datasync.v1.StreamingDataCaptureUploadResponse.toObject = function(includeInstance, msg) { var f, obj = { -fileId: jspb.Message.getFieldWithDefault(msg, 1, "") + fileId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1432,10 +1426,10 @@ proto.viam.app.datasync.v1.SensorMetadata.prototype.toObject = function(opt_incl */ proto.viam.app.datasync.v1.SensorMetadata.toObject = function(includeInstance, msg) { var f, obj = { -timeRequested: (f = msg.getTimeRequested()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -timeReceived: (f = msg.getTimeReceived()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -mimeType: jspb.Message.getFieldWithDefault(msg, 3, 0), -annotations: (f = msg.getAnnotations()) && app_data_v1_data_pb.Annotations.toObject(includeInstance, f) + timeRequested: (f = msg.getTimeRequested()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + timeReceived: (f = msg.getTimeReceived()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + mimeType: jspb.Message.getFieldWithDefault(msg, 3, 0), + annotations: (f = msg.getAnnotations()) && app_data_v1_data_pb.Annotations.toObject(includeInstance, f) }; if (includeInstance) { @@ -1741,9 +1735,9 @@ proto.viam.app.datasync.v1.SensorData.prototype.toObject = function(opt_includeI */ proto.viam.app.datasync.v1.SensorData.toObject = function(includeInstance, msg) { var f, obj = { -metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.SensorMetadata.toObject(includeInstance, f), -struct: (f = msg.getStruct()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), -binary: msg.getBinary_asB64() + metadata: (f = msg.getMetadata()) && proto.viam.app.datasync.v1.SensorMetadata.toObject(includeInstance, f), + struct: (f = msg.getStruct()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + binary: msg.getBinary_asB64() }; if (includeInstance) { @@ -2015,7 +2009,7 @@ proto.viam.app.datasync.v1.FileData.prototype.toObject = function(opt_includeIns */ proto.viam.app.datasync.v1.FileData.toObject = function(includeInstance, msg) { var f, obj = { -data: msg.getData_asB64() + data: msg.getData_asB64() }; if (includeInstance) { @@ -2176,15 +2170,15 @@ proto.viam.app.datasync.v1.UploadMetadata.prototype.toObject = function(opt_incl */ proto.viam.app.datasync.v1.UploadMetadata.toObject = function(includeInstance, msg) { var f, obj = { -partId: jspb.Message.getFieldWithDefault(msg, 1, ""), -componentType: jspb.Message.getFieldWithDefault(msg, 2, ""), -componentName: jspb.Message.getFieldWithDefault(msg, 3, ""), -methodName: jspb.Message.getFieldWithDefault(msg, 5, ""), -type: jspb.Message.getFieldWithDefault(msg, 6, 0), -fileName: jspb.Message.getFieldWithDefault(msg, 7, ""), -methodParametersMap: (f = msg.getMethodParametersMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [], -fileExtension: jspb.Message.getFieldWithDefault(msg, 9, ""), -tagsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f + partId: jspb.Message.getFieldWithDefault(msg, 1, ""), + componentType: jspb.Message.getFieldWithDefault(msg, 2, ""), + componentName: jspb.Message.getFieldWithDefault(msg, 3, ""), + methodName: jspb.Message.getFieldWithDefault(msg, 5, ""), + type: jspb.Message.getFieldWithDefault(msg, 6, 0), + fileName: jspb.Message.getFieldWithDefault(msg, 7, ""), + methodParametersMap: (f = msg.getMethodParametersMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [], + fileExtension: jspb.Message.getFieldWithDefault(msg, 9, ""), + tagsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f }; if (includeInstance) { @@ -2478,8 +2472,7 @@ proto.viam.app.datasync.v1.UploadMetadata.prototype.getMethodParametersMap = fun */ proto.viam.app.datasync.v1.UploadMetadata.prototype.clearMethodParametersMap = function() { this.getMethodParametersMap().clear(); - return this; -}; + return this;}; /** @@ -2569,8 +2562,8 @@ proto.viam.app.datasync.v1.CaptureInterval.prototype.toObject = function(opt_inc */ proto.viam.app.datasync.v1.CaptureInterval.toObject = function(includeInstance, msg) { var f, obj = { -start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -2778,13 +2771,13 @@ proto.viam.app.datasync.v1.DataCaptureMetadata.prototype.toObject = function(opt */ proto.viam.app.datasync.v1.DataCaptureMetadata.toObject = function(includeInstance, msg) { var f, obj = { -componentType: jspb.Message.getFieldWithDefault(msg, 1, ""), -componentName: jspb.Message.getFieldWithDefault(msg, 2, ""), -methodName: jspb.Message.getFieldWithDefault(msg, 4, ""), -type: jspb.Message.getFieldWithDefault(msg, 5, 0), -methodParametersMap: (f = msg.getMethodParametersMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [], -fileExtension: jspb.Message.getFieldWithDefault(msg, 7, ""), -tagsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f + componentType: jspb.Message.getFieldWithDefault(msg, 1, ""), + componentName: jspb.Message.getFieldWithDefault(msg, 2, ""), + methodName: jspb.Message.getFieldWithDefault(msg, 4, ""), + type: jspb.Message.getFieldWithDefault(msg, 5, 0), + methodParametersMap: (f = msg.getMethodParametersMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [], + fileExtension: jspb.Message.getFieldWithDefault(msg, 7, ""), + tagsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f }; if (includeInstance) { @@ -3020,8 +3013,7 @@ proto.viam.app.datasync.v1.DataCaptureMetadata.prototype.getMethodParametersMap */ proto.viam.app.datasync.v1.DataCaptureMetadata.prototype.clearMethodParametersMap = function() { this.getMethodParametersMap().clear(); - return this; -}; + return this;}; /** @@ -3111,8 +3103,8 @@ proto.viam.app.datasync.v1.DataCaptureUploadMetadata.prototype.toObject = functi */ proto.viam.app.datasync.v1.DataCaptureUploadMetadata.toObject = function(includeInstance, msg) { var f, obj = { -uploadMetadata: (f = msg.getUploadMetadata()) && proto.viam.app.datasync.v1.UploadMetadata.toObject(includeInstance, f), -sensorMetadata: (f = msg.getSensorMetadata()) && proto.viam.app.datasync.v1.SensorMetadata.toObject(includeInstance, f) + uploadMetadata: (f = msg.getUploadMetadata()) && proto.viam.app.datasync.v1.UploadMetadata.toObject(includeInstance, f), + sensorMetadata: (f = msg.getSensorMetadata()) && proto.viam.app.datasync.v1.SensorMetadata.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/app/mlinference/v1/ml_inference_pb.js b/gen/js/app/mlinference/v1/ml_inference_pb.js index 3e3cd2df..e4507403 100644 --- a/gen/js/app/mlinference/v1/ml_inference_pb.js +++ b/gen/js/app/mlinference/v1/ml_inference_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var app_data_v1_data_pb = require('../../../app/data/v1/data_pb.js'); goog.object.extend(proto, app_data_v1_data_pb); @@ -99,10 +93,10 @@ proto.viam.app.mlinference.v1.GetInferenceRequest.prototype.toObject = function( */ proto.viam.app.mlinference.v1.GetInferenceRequest.toObject = function(includeInstance, msg) { var f, obj = { -registryItemId: jspb.Message.getFieldWithDefault(msg, 1, ""), -registryItemVersion: jspb.Message.getFieldWithDefault(msg, 2, ""), -binaryId: (f = msg.getBinaryId()) && app_data_v1_data_pb.BinaryID.toObject(includeInstance, f), -organizationId: jspb.Message.getFieldWithDefault(msg, 4, "") + registryItemId: jspb.Message.getFieldWithDefault(msg, 1, ""), + registryItemVersion: jspb.Message.getFieldWithDefault(msg, 2, ""), + binaryId: (f = msg.getBinaryId()) && app_data_v1_data_pb.BinaryID.toObject(includeInstance, f), + organizationId: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { diff --git a/gen/js/app/mltraining/v1/ml_training_pb.js b/gen/js/app/mltraining/v1/ml_training_pb.js index 3575b50f..d41a12b2 100644 --- a/gen/js/app/mltraining/v1/ml_training_pb.js +++ b/gen/js/app/mltraining/v1/ml_training_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb); @@ -421,12 +415,12 @@ proto.viam.app.mltraining.v1.SubmitTrainingJobRequest.prototype.toObject = funct */ proto.viam.app.mltraining.v1.SubmitTrainingJobRequest.toObject = function(includeInstance, msg) { var f, obj = { -datasetId: jspb.Message.getFieldWithDefault(msg, 7, ""), -organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), -modelName: jspb.Message.getFieldWithDefault(msg, 3, ""), -modelVersion: jspb.Message.getFieldWithDefault(msg, 4, ""), -modelType: jspb.Message.getFieldWithDefault(msg, 5, 0), -tagsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f + datasetId: jspb.Message.getFieldWithDefault(msg, 7, ""), + organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), + modelName: jspb.Message.getFieldWithDefault(msg, 3, ""), + modelVersion: jspb.Message.getFieldWithDefault(msg, 4, ""), + modelType: jspb.Message.getFieldWithDefault(msg, 5, 0), + tagsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f }; if (includeInstance) { @@ -720,7 +714,7 @@ proto.viam.app.mltraining.v1.SubmitTrainingJobResponse.prototype.toObject = func */ proto.viam.app.mltraining.v1.SubmitTrainingJobResponse.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -850,13 +844,13 @@ proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.toObject = */ proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.toObject = function(includeInstance, msg) { var f, obj = { -datasetId: jspb.Message.getFieldWithDefault(msg, 1, ""), -registryItemId: jspb.Message.getFieldWithDefault(msg, 2, ""), -registryItemVersion: jspb.Message.getFieldWithDefault(msg, 6, ""), -organizationId: jspb.Message.getFieldWithDefault(msg, 3, ""), -modelName: jspb.Message.getFieldWithDefault(msg, 4, ""), -modelVersion: jspb.Message.getFieldWithDefault(msg, 5, ""), -argumentsMap: (f = msg.getArgumentsMap()) ? f.toObject(includeInstance, undefined) : [] + datasetId: jspb.Message.getFieldWithDefault(msg, 1, ""), + registryItemId: jspb.Message.getFieldWithDefault(msg, 2, ""), + registryItemVersion: jspb.Message.getFieldWithDefault(msg, 6, ""), + organizationId: jspb.Message.getFieldWithDefault(msg, 3, ""), + modelName: jspb.Message.getFieldWithDefault(msg, 4, ""), + modelVersion: jspb.Message.getFieldWithDefault(msg, 5, ""), + argumentsMap: (f = msg.getArgumentsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -1128,8 +1122,7 @@ proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.getArgumen */ proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.prototype.clearArgumentsMap = function() { this.getArgumentsMap().clear(); - return this; -}; + return this;}; @@ -1164,7 +1157,7 @@ proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.prototype.toObject */ proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1294,7 +1287,7 @@ proto.viam.app.mltraining.v1.GetTrainingJobRequest.prototype.toObject = function */ proto.viam.app.mltraining.v1.GetTrainingJobRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1424,7 +1417,7 @@ proto.viam.app.mltraining.v1.GetTrainingJobResponse.prototype.toObject = functio */ proto.viam.app.mltraining.v1.GetTrainingJobResponse.toObject = function(includeInstance, msg) { var f, obj = { -metadata: (f = msg.getMetadata()) && proto.viam.app.mltraining.v1.TrainingJobMetadata.toObject(includeInstance, f) + metadata: (f = msg.getMetadata()) && proto.viam.app.mltraining.v1.TrainingJobMetadata.toObject(includeInstance, f) }; if (includeInstance) { @@ -1575,8 +1568,8 @@ proto.viam.app.mltraining.v1.ListTrainingJobsRequest.prototype.toObject = functi */ proto.viam.app.mltraining.v1.ListTrainingJobsRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -status: jspb.Message.getFieldWithDefault(msg, 2, 0) + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + status: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -1742,7 +1735,7 @@ proto.viam.app.mltraining.v1.ListTrainingJobsResponse.prototype.toObject = funct */ proto.viam.app.mltraining.v1.ListTrainingJobsResponse.toObject = function(includeInstance, msg) { var f, obj = { -jobsList: jspb.Message.toObjectList(msg.getJobsList(), + jobsList: jspb.Message.toObjectList(msg.getJobsList(), proto.viam.app.mltraining.v1.TrainingJobMetadata.toObject, includeInstance) }; @@ -1902,24 +1895,24 @@ proto.viam.app.mltraining.v1.TrainingJobMetadata.prototype.toObject = function(o */ proto.viam.app.mltraining.v1.TrainingJobMetadata.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 7, ""), -datasetId: jspb.Message.getFieldWithDefault(msg, 11, ""), -organizationId: jspb.Message.getFieldWithDefault(msg, 12, ""), -modelName: jspb.Message.getFieldWithDefault(msg, 13, ""), -modelVersion: jspb.Message.getFieldWithDefault(msg, 14, ""), -modelType: jspb.Message.getFieldWithDefault(msg, 15, 0), -modelFramework: jspb.Message.getFieldWithDefault(msg, 17, 0), -isCustomJob: jspb.Message.getBooleanFieldWithDefault(msg, 18, false), -registryItemId: jspb.Message.getFieldWithDefault(msg, 19, ""), -registryItemVersion: jspb.Message.getFieldWithDefault(msg, 20, ""), -status: jspb.Message.getFieldWithDefault(msg, 2, 0), -errorStatus: (f = msg.getErrorStatus()) && google_rpc_status_pb.Status.toObject(includeInstance, f), -createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -lastModified: (f = msg.getLastModified()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -trainingStarted: (f = msg.getTrainingStarted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -trainingEnded: (f = msg.getTrainingEnded()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -syncedModelId: jspb.Message.getFieldWithDefault(msg, 5, ""), -tagsList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f + id: jspb.Message.getFieldWithDefault(msg, 7, ""), + datasetId: jspb.Message.getFieldWithDefault(msg, 11, ""), + organizationId: jspb.Message.getFieldWithDefault(msg, 12, ""), + modelName: jspb.Message.getFieldWithDefault(msg, 13, ""), + modelVersion: jspb.Message.getFieldWithDefault(msg, 14, ""), + modelType: jspb.Message.getFieldWithDefault(msg, 15, 0), + modelFramework: jspb.Message.getFieldWithDefault(msg, 17, 0), + isCustomJob: jspb.Message.getBooleanFieldWithDefault(msg, 18, false), + registryItemId: jspb.Message.getFieldWithDefault(msg, 19, ""), + registryItemVersion: jspb.Message.getFieldWithDefault(msg, 20, ""), + status: jspb.Message.getFieldWithDefault(msg, 2, 0), + errorStatus: (f = msg.getErrorStatus()) && google_rpc_status_pb.Status.toObject(includeInstance, f), + createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + lastModified: (f = msg.getLastModified()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + trainingStarted: (f = msg.getTrainingStarted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + trainingEnded: (f = msg.getTrainingEnded()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + syncedModelId: jspb.Message.getFieldWithDefault(msg, 5, ""), + tagsList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f }; if (includeInstance) { @@ -2666,7 +2659,7 @@ proto.viam.app.mltraining.v1.CancelTrainingJobRequest.prototype.toObject = funct */ proto.viam.app.mltraining.v1.CancelTrainingJobRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2897,7 +2890,7 @@ proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobRequest.prototype.toObjec */ proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -3128,9 +3121,9 @@ proto.viam.app.mltraining.v1.TrainingJobLogEntry.prototype.toObject = function(o */ proto.viam.app.mltraining.v1.TrainingJobLogEntry.toObject = function(includeInstance, msg) { var f, obj = { -level: jspb.Message.getFieldWithDefault(msg, 1, ""), -time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -message: jspb.Message.getFieldWithDefault(msg, 3, "") + level: jspb.Message.getFieldWithDefault(msg, 1, ""), + time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + message: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -3339,8 +3332,8 @@ proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.prototype.toObject = func */ proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -pageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + pageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -3524,9 +3517,9 @@ proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.prototype.toObject = fun */ proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.toObject = function(includeInstance, msg) { var f, obj = { -logsList: jspb.Message.toObjectList(msg.getLogsList(), + logsList: jspb.Message.toObjectList(msg.getLogsList(), proto.viam.app.mltraining.v1.TrainingJobLogEntry.toObject, includeInstance), -nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") + nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/app/packages/v1/packages_pb.js b/gen/js/app/packages/v1/packages_pb.js index bed0db46..1cfed1f5 100644 --- a/gen/js/app/packages/v1/packages_pb.js +++ b/gen/js/app/packages/v1/packages_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_api_annotations_pb = require('../../../google/api/annotations_pb.js'); goog.object.extend(proto, google_api_annotations_pb); @@ -303,9 +297,9 @@ proto.viam.app.packages.v1.FileInfo.prototype.toObject = function(opt_includeIns */ proto.viam.app.packages.v1.FileInfo.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -size: jspb.Message.getFieldWithDefault(msg, 2, 0), -isDirectory: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + size: jspb.Message.getFieldWithDefault(msg, 2, 0), + isDirectory: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -518,14 +512,14 @@ proto.viam.app.packages.v1.PackageInfo.prototype.toObject = function(opt_include */ proto.viam.app.packages.v1.PackageInfo.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -version: jspb.Message.getFieldWithDefault(msg, 3, ""), -type: jspb.Message.getFieldWithDefault(msg, 4, 0), -platform: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, -filesList: jspb.Message.toObjectList(msg.getFilesList(), + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + version: jspb.Message.getFieldWithDefault(msg, 3, ""), + type: jspb.Message.getFieldWithDefault(msg, 4, 0), + platform: jspb.Message.getFieldWithDefault(msg, 7, ""), + filesList: jspb.Message.toObjectList(msg.getFilesList(), proto.viam.app.packages.v1.FileInfo.toObject, includeInstance), -metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -916,8 +910,8 @@ proto.viam.app.packages.v1.CreatePackageRequest.prototype.toObject = function(op */ proto.viam.app.packages.v1.CreatePackageRequest.toObject = function(includeInstance, msg) { var f, obj = { -info: (f = msg.getInfo()) && proto.viam.app.packages.v1.PackageInfo.toObject(includeInstance, f), -contents: msg.getContents_asB64() + info: (f = msg.getInfo()) && proto.viam.app.packages.v1.PackageInfo.toObject(includeInstance, f), + contents: msg.getContents_asB64() }; if (includeInstance) { @@ -1139,8 +1133,8 @@ proto.viam.app.packages.v1.CreatePackageResponse.prototype.toObject = function(o */ proto.viam.app.packages.v1.CreatePackageResponse.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -version: jspb.Message.getFieldWithDefault(msg, 2, "") + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + version: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1299,9 +1293,9 @@ proto.viam.app.packages.v1.DeletePackageRequest.prototype.toObject = function(op */ proto.viam.app.packages.v1.DeletePackageRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -version: jspb.Message.getFieldWithDefault(msg, 2, ""), -type: jspb.Message.getFieldWithDefault(msg, 3, 0) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + version: jspb.Message.getFieldWithDefault(msg, 2, ""), + type: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -1590,11 +1584,11 @@ proto.viam.app.packages.v1.Package.prototype.toObject = function(opt_includeInst */ proto.viam.app.packages.v1.Package.toObject = function(includeInstance, msg) { var f, obj = { -info: (f = msg.getInfo()) && proto.viam.app.packages.v1.PackageInfo.toObject(includeInstance, f), -url: jspb.Message.getFieldWithDefault(msg, 2, ""), -createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -checksum: jspb.Message.getFieldWithDefault(msg, 4, ""), -id: jspb.Message.getFieldWithDefault(msg, 5, "") + info: (f = msg.getInfo()) && proto.viam.app.packages.v1.PackageInfo.toObject(includeInstance, f), + url: jspb.Message.getFieldWithDefault(msg, 2, ""), + createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + checksum: jspb.Message.getFieldWithDefault(msg, 4, ""), + id: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -1882,11 +1876,11 @@ proto.viam.app.packages.v1.GetPackageRequest.prototype.toObject = function(opt_i */ proto.viam.app.packages.v1.GetPackageRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -version: jspb.Message.getFieldWithDefault(msg, 2, ""), -includeUrl: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, -type: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, -platform: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + version: jspb.Message.getFieldWithDefault(msg, 2, ""), + includeUrl: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + type: jspb.Message.getFieldWithDefault(msg, 4, 0), + platform: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -2186,7 +2180,7 @@ proto.viam.app.packages.v1.GetPackageResponse.prototype.toObject = function(opt_ */ proto.viam.app.packages.v1.GetPackageResponse.toObject = function(includeInstance, msg) { var f, obj = { -pb_package: (f = msg.getPackage()) && proto.viam.app.packages.v1.Package.toObject(includeInstance, f) + pb_package: (f = msg.getPackage()) && proto.viam.app.packages.v1.Package.toObject(includeInstance, f) }; if (includeInstance) { @@ -2337,11 +2331,11 @@ proto.viam.app.packages.v1.ListPackagesRequest.prototype.toObject = function(opt */ proto.viam.app.packages.v1.ListPackagesRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, -version: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, -type: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, -includeUrl: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + version: jspb.Message.getFieldWithDefault(msg, 3, ""), + type: jspb.Message.getFieldWithDefault(msg, 4, 0), + includeUrl: jspb.Message.getBooleanFieldWithDefault(msg, 5, false) }; if (includeInstance) { @@ -2666,7 +2660,7 @@ proto.viam.app.packages.v1.ListPackagesResponse.prototype.toObject = function(op */ proto.viam.app.packages.v1.ListPackagesResponse.toObject = function(includeInstance, msg) { var f, obj = { -packagesList: jspb.Message.toObjectList(msg.getPackagesList(), + packagesList: jspb.Message.toObjectList(msg.getPackagesList(), proto.viam.app.packages.v1.Package.toObject, includeInstance) }; diff --git a/gen/js/app/v1/app_grpc_web_pb.js b/gen/js/app/v1/app_grpc_web_pb.js index 7fb6b814..95a5affc 100644 --- a/gen/js/app/v1/app_grpc_web_pb.js +++ b/gen/js/app/v1/app_grpc_web_pb.js @@ -1186,67 +1186,6 @@ proto.viam.app.v1.AppServicePromiseClient.prototype.updateBillingService = }; -/** - * @const - * @type {!grpc.web.MethodDescriptor< - * !proto.viam.app.v1.GetBillingServiceRequest, - * !proto.viam.app.v1.GetBillingServiceResponse>} - */ -const methodDescriptor_AppService_GetBillingService = new grpc.web.MethodDescriptor( - '/viam.app.v1.AppService/GetBillingService', - grpc.web.MethodType.UNARY, - proto.viam.app.v1.GetBillingServiceRequest, - proto.viam.app.v1.GetBillingServiceResponse, - /** - * @param {!proto.viam.app.v1.GetBillingServiceRequest} request - * @return {!Uint8Array} - */ - function(request) { - return request.serializeBinary(); - }, - proto.viam.app.v1.GetBillingServiceResponse.deserializeBinary -); - - -/** - * @param {!proto.viam.app.v1.GetBillingServiceRequest} request The - * request proto - * @param {?Object} metadata User defined - * call metadata - * @param {function(?grpc.web.RpcError, ?proto.viam.app.v1.GetBillingServiceResponse)} - * callback The callback function(error, response) - * @return {!grpc.web.ClientReadableStream|undefined} - * The XHR Node Readable Stream - */ -proto.viam.app.v1.AppServiceClient.prototype.getBillingService = - function(request, metadata, callback) { - return this.client_.rpcCall(this.hostname_ + - '/viam.app.v1.AppService/GetBillingService', - request, - metadata || {}, - methodDescriptor_AppService_GetBillingService, - callback); -}; - - -/** - * @param {!proto.viam.app.v1.GetBillingServiceRequest} request The - * request proto - * @param {?Object=} metadata User defined - * call metadata - * @return {!Promise} - * Promise that resolves to the response - */ -proto.viam.app.v1.AppServicePromiseClient.prototype.getBillingService = - function(request, metadata) { - return this.client_.unaryCall(this.hostname_ + - '/viam.app.v1.AppService/GetBillingService', - request, - metadata || {}, - methodDescriptor_AppService_GetBillingService); -}; - - /** * @const * @type {!grpc.web.MethodDescriptor< diff --git a/gen/js/app/v1/app_pb.d.ts b/gen/js/app/v1/app_pb.d.ts index 9b024605..897bfc79 100644 --- a/gen/js/app/v1/app_pb.d.ts +++ b/gen/js/app/v1/app_pb.d.ts @@ -1005,48 +1005,6 @@ export namespace UpdateBillingServiceResponse { } } -export class GetBillingServiceRequest extends jspb.Message { - getOrgId(): string; - setOrgId(value: string): void; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): GetBillingServiceRequest.AsObject; - static toObject(includeInstance: boolean, msg: GetBillingServiceRequest): GetBillingServiceRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetBillingServiceRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): GetBillingServiceRequest; - static deserializeBinaryFromReader(message: GetBillingServiceRequest, reader: jspb.BinaryReader): GetBillingServiceRequest; -} - -export namespace GetBillingServiceRequest { - export type AsObject = { - orgId: string, - } -} - -export class GetBillingServiceResponse extends jspb.Message { - hasBillingAddress(): boolean; - clearBillingAddress(): void; - getBillingAddress(): BillingAddress | undefined; - setBillingAddress(value?: BillingAddress): void; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): GetBillingServiceResponse.AsObject; - static toObject(includeInstance: boolean, msg: GetBillingServiceResponse): GetBillingServiceResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetBillingServiceResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): GetBillingServiceResponse; - static deserializeBinaryFromReader(message: GetBillingServiceResponse, reader: jspb.BinaryReader): GetBillingServiceResponse; -} - -export namespace GetBillingServiceResponse { - export type AsObject = { - billingAddress?: BillingAddress.AsObject, - } -} - export class DisableBillingServiceRequest extends jspb.Message { getOrgId(): string; setOrgId(value: string): void; diff --git a/gen/js/app/v1/app_pb.js b/gen/js/app/v1/app_pb.js index 7fa60f58..73072ed8 100644 --- a/gen/js/app/v1/app_pb.js +++ b/gen/js/app/v1/app_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var app_mltraining_v1_ml_training_pb = require('../../app/mltraining/v1/ml_training_pb.js'); goog.object.extend(proto, app_mltraining_v1_ml_training_pb); @@ -98,8 +92,6 @@ goog.exportSymbol('proto.viam.app.v1.FragmentError', null, global); goog.exportSymbol('proto.viam.app.v1.FragmentErrorType', null, global); goog.exportSymbol('proto.viam.app.v1.FragmentHistoryEntry', null, global); goog.exportSymbol('proto.viam.app.v1.FragmentVisibility', null, global); -goog.exportSymbol('proto.viam.app.v1.GetBillingServiceRequest', null, global); -goog.exportSymbol('proto.viam.app.v1.GetBillingServiceResponse', null, global); goog.exportSymbol('proto.viam.app.v1.GetFragmentHistoryRequest', null, global); goog.exportSymbol('proto.viam.app.v1.GetFragmentHistoryResponse', null, global); goog.exportSymbol('proto.viam.app.v1.GetFragmentRequest', null, global); @@ -991,48 +983,6 @@ if (goog.DEBUG && !COMPILED) { */ proto.viam.app.v1.UpdateBillingServiceResponse.displayName = 'proto.viam.app.v1.UpdateBillingServiceResponse'; } -/** - * 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.viam.app.v1.GetBillingServiceRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.viam.app.v1.GetBillingServiceRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.viam.app.v1.GetBillingServiceRequest.displayName = 'proto.viam.app.v1.GetBillingServiceRequest'; -} -/** - * 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.viam.app.v1.GetBillingServiceResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.viam.app.v1.GetBillingServiceResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.viam.app.v1.GetBillingServiceResponse.displayName = 'proto.viam.app.v1.GetBillingServiceResponse'; -} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -4341,11 +4291,11 @@ proto.viam.app.v1.Robot.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.Robot.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -location: jspb.Message.getFieldWithDefault(msg, 3, ""), -lastAccess: (f = msg.getLastAccess()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + location: jspb.Message.getFieldWithDefault(msg, 3, ""), + lastAccess: (f = msg.getLastAccess()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -4640,22 +4590,22 @@ proto.viam.app.v1.RobotPart.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.RobotPart.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -dnsName: jspb.Message.getFieldWithDefault(msg, 10, ""), -secret: jspb.Message.getFieldWithDefault(msg, 3, ""), -robot: jspb.Message.getFieldWithDefault(msg, 4, ""), -locationId: jspb.Message.getFieldWithDefault(msg, 12, ""), -robotConfig: (f = msg.getRobotConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), -lastAccess: (f = msg.getLastAccess()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -userSuppliedInfo: (f = msg.getUserSuppliedInfo()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), -mainPart: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), -fqdn: jspb.Message.getFieldWithDefault(msg, 9, ""), -localFqdn: jspb.Message.getFieldWithDefault(msg, 11, ""), -createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -secretsList: jspb.Message.toObjectList(msg.getSecretsList(), + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + dnsName: jspb.Message.getFieldWithDefault(msg, 10, ""), + secret: jspb.Message.getFieldWithDefault(msg, 3, ""), + robot: jspb.Message.getFieldWithDefault(msg, 4, ""), + locationId: jspb.Message.getFieldWithDefault(msg, 12, ""), + robotConfig: (f = msg.getRobotConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + lastAccess: (f = msg.getLastAccess()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + userSuppliedInfo: (f = msg.getUserSuppliedInfo()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + mainPart: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + fqdn: jspb.Message.getFieldWithDefault(msg, 9, ""), + localFqdn: jspb.Message.getFieldWithDefault(msg, 11, ""), + createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + secretsList: jspb.Message.toObjectList(msg.getSecretsList(), proto.viam.app.v1.SharedSecret.toObject, includeInstance), -lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -5318,11 +5268,11 @@ proto.viam.app.v1.RobotPartHistoryEntry.prototype.toObject = function(opt_includ */ proto.viam.app.v1.RobotPartHistoryEntry.toObject = function(includeInstance, msg) { var f, obj = { -part: jspb.Message.getFieldWithDefault(msg, 1, ""), -robot: jspb.Message.getFieldWithDefault(msg, 2, ""), -when: (f = msg.getWhen()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -old: (f = msg.getOld()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f), -editedBy: (f = msg.getEditedBy()) && proto.viam.app.v1.AuthenticatorInfo.toObject(includeInstance, f) + part: jspb.Message.getFieldWithDefault(msg, 1, ""), + robot: jspb.Message.getFieldWithDefault(msg, 2, ""), + when: (f = msg.getWhen()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + old: (f = msg.getOld()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f), + editedBy: (f = msg.getEditedBy()) && proto.viam.app.v1.AuthenticatorInfo.toObject(includeInstance, f) }; if (includeInstance) { @@ -5631,9 +5581,9 @@ proto.viam.app.v1.AuthenticatorInfo.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.AuthenticatorInfo.toObject = function(includeInstance, msg) { var f, obj = { -type: jspb.Message.getFieldWithDefault(msg, 1, 0), -value: jspb.Message.getFieldWithDefault(msg, 2, ""), -isDeactivated: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + value: jspb.Message.getFieldWithDefault(msg, 2, ""), + isDeactivated: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -5922,12 +5872,12 @@ proto.viam.app.v1.Organization.prototype.toObject = function(opt_includeInstance */ proto.viam.app.v1.Organization.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -publicNamespace: jspb.Message.getFieldWithDefault(msg, 4, ""), -defaultRegion: jspb.Message.getFieldWithDefault(msg, 5, ""), -cid: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + publicNamespace: jspb.Message.getFieldWithDefault(msg, 4, ""), + defaultRegion: jspb.Message.getFieldWithDefault(msg, 5, ""), + cid: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { @@ -6248,10 +6198,10 @@ proto.viam.app.v1.OrganizationMember.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.OrganizationMember.toObject = function(includeInstance, msg) { var f, obj = { -userId: jspb.Message.getFieldWithDefault(msg, 1, ""), -emailsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, -dateAdded: (f = msg.getDateAdded()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -lastLogin: (f = msg.getLastLogin()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + userId: jspb.Message.getFieldWithDefault(msg, 1, ""), + emailsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + dateAdded: (f = msg.getDateAdded()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + lastLogin: (f = msg.getLastLogin()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -6536,7 +6486,7 @@ proto.viam.app.v1.ListOrganizationsResponse.prototype.toObject = function(opt_in */ proto.viam.app.v1.ListOrganizationsResponse.toObject = function(includeInstance, msg) { var f, obj = { -organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(), + organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(), proto.viam.app.v1.Organization.toObject, includeInstance) }; @@ -6696,10 +6646,10 @@ proto.viam.app.v1.OrganizationInvite.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.OrganizationInvite.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -email: jspb.Message.getFieldWithDefault(msg, 2, ""), -createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + email: jspb.Message.getFieldWithDefault(msg, 2, ""), + createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), proto.viam.app.v1.Authorization.toObject, includeInstance) }; @@ -6960,7 +6910,7 @@ proto.viam.app.v1.CreateOrganizationRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.CreateOrganizationRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -7090,7 +7040,7 @@ proto.viam.app.v1.CreateOrganizationResponse.prototype.toObject = function(opt_i */ proto.viam.app.v1.CreateOrganizationResponse.toObject = function(includeInstance, msg) { var f, obj = { -organization: (f = msg.getOrganization()) && proto.viam.app.v1.Organization.toObject(includeInstance, f) + organization: (f = msg.getOrganization()) && proto.viam.app.v1.Organization.toObject(includeInstance, f) }; if (includeInstance) { @@ -7241,7 +7191,7 @@ proto.viam.app.v1.GetOrganizationRequest.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.GetOrganizationRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") + organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -7371,7 +7321,7 @@ proto.viam.app.v1.GetOrganizationResponse.prototype.toObject = function(opt_incl */ proto.viam.app.v1.GetOrganizationResponse.toObject = function(includeInstance, msg) { var f, obj = { -organization: (f = msg.getOrganization()) && proto.viam.app.v1.Organization.toObject(includeInstance, f) + organization: (f = msg.getOrganization()) && proto.viam.app.v1.Organization.toObject(includeInstance, f) }; if (includeInstance) { @@ -7522,7 +7472,7 @@ proto.viam.app.v1.GetOrganizationNamespaceAvailabilityRequest.prototype.toObject */ proto.viam.app.v1.GetOrganizationNamespaceAvailabilityRequest.toObject = function(includeInstance, msg) { var f, obj = { -publicNamespace: jspb.Message.getFieldWithDefault(msg, 1, "") + publicNamespace: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -7652,7 +7602,7 @@ proto.viam.app.v1.GetOrganizationNamespaceAvailabilityResponse.prototype.toObjec */ proto.viam.app.v1.GetOrganizationNamespaceAvailabilityResponse.toObject = function(includeInstance, msg) { var f, obj = { -available: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + available: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -7782,11 +7732,11 @@ proto.viam.app.v1.UpdateOrganizationRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.UpdateOrganizationRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, -publicNamespace: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, -region: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, -cid: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + publicNamespace: jspb.Message.getFieldWithDefault(msg, 3, ""), + region: jspb.Message.getFieldWithDefault(msg, 4, ""), + cid: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -8104,7 +8054,7 @@ proto.viam.app.v1.UpdateOrganizationResponse.prototype.toObject = function(opt_i */ proto.viam.app.v1.UpdateOrganizationResponse.toObject = function(includeInstance, msg) { var f, obj = { -organization: (f = msg.getOrganization()) && proto.viam.app.v1.Organization.toObject(includeInstance, f) + organization: (f = msg.getOrganization()) && proto.viam.app.v1.Organization.toObject(includeInstance, f) }; if (includeInstance) { @@ -8255,7 +8205,7 @@ proto.viam.app.v1.DeleteOrganizationRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.DeleteOrganizationRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") + organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -8486,7 +8436,7 @@ proto.viam.app.v1.ListOrganizationMembersRequest.prototype.toObject = function(o */ proto.viam.app.v1.ListOrganizationMembersRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") + organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -8623,10 +8573,10 @@ proto.viam.app.v1.ListOrganizationMembersResponse.prototype.toObject = function( */ proto.viam.app.v1.ListOrganizationMembersResponse.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -membersList: jspb.Message.toObjectList(msg.getMembersList(), + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + membersList: jspb.Message.toObjectList(msg.getMembersList(), proto.viam.app.v1.OrganizationMember.toObject, includeInstance), -invitesList: jspb.Message.toObjectList(msg.getInvitesList(), + invitesList: jspb.Message.toObjectList(msg.getInvitesList(), proto.viam.app.v1.OrganizationInvite.toObject, includeInstance) }; @@ -8866,11 +8816,11 @@ proto.viam.app.v1.CreateOrganizationInviteRequest.prototype.toObject = function( */ proto.viam.app.v1.CreateOrganizationInviteRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -email: jspb.Message.getFieldWithDefault(msg, 2, ""), -authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + email: jspb.Message.getFieldWithDefault(msg, 2, ""), + authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), proto.viam.app.v1.Authorization.toObject, includeInstance), -sendEmailInvite: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f + sendEmailInvite: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) }; if (includeInstance) { @@ -9127,7 +9077,7 @@ proto.viam.app.v1.CreateOrganizationInviteResponse.prototype.toObject = function */ proto.viam.app.v1.CreateOrganizationInviteResponse.toObject = function(includeInstance, msg) { var f, obj = { -invite: (f = msg.getInvite()) && proto.viam.app.v1.OrganizationInvite.toObject(includeInstance, f) + invite: (f = msg.getInvite()) && proto.viam.app.v1.OrganizationInvite.toObject(includeInstance, f) }; if (includeInstance) { @@ -9285,11 +9235,11 @@ proto.viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.prototype.toObje */ proto.viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -email: jspb.Message.getFieldWithDefault(msg, 2, ""), -addAuthorizationsList: jspb.Message.toObjectList(msg.getAddAuthorizationsList(), + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + email: jspb.Message.getFieldWithDefault(msg, 2, ""), + addAuthorizationsList: jspb.Message.toObjectList(msg.getAddAuthorizationsList(), proto.viam.app.v1.Authorization.toObject, includeInstance), -removeAuthorizationsList: jspb.Message.toObjectList(msg.getRemoveAuthorizationsList(), + removeAuthorizationsList: jspb.Message.toObjectList(msg.getRemoveAuthorizationsList(), proto.viam.app.v1.Authorization.toObject, includeInstance) }; @@ -9551,7 +9501,7 @@ proto.viam.app.v1.UpdateOrganizationInviteAuthorizationsResponse.prototype.toObj */ proto.viam.app.v1.UpdateOrganizationInviteAuthorizationsResponse.toObject = function(includeInstance, msg) { var f, obj = { -invite: (f = msg.getInvite()) && proto.viam.app.v1.OrganizationInvite.toObject(includeInstance, f) + invite: (f = msg.getInvite()) && proto.viam.app.v1.OrganizationInvite.toObject(includeInstance, f) }; if (includeInstance) { @@ -9702,8 +9652,8 @@ proto.viam.app.v1.DeleteOrganizationInviteRequest.prototype.toObject = function( */ proto.viam.app.v1.DeleteOrganizationInviteRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -email: jspb.Message.getFieldWithDefault(msg, 2, "") + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + email: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -9963,8 +9913,8 @@ proto.viam.app.v1.ResendOrganizationInviteRequest.prototype.toObject = function( */ proto.viam.app.v1.ResendOrganizationInviteRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -email: jspb.Message.getFieldWithDefault(msg, 2, "") + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + email: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -10123,7 +10073,7 @@ proto.viam.app.v1.ResendOrganizationInviteResponse.prototype.toObject = function */ proto.viam.app.v1.ResendOrganizationInviteResponse.toObject = function(includeInstance, msg) { var f, obj = { -invite: (f = msg.getInvite()) && proto.viam.app.v1.OrganizationInvite.toObject(includeInstance, f) + invite: (f = msg.getInvite()) && proto.viam.app.v1.OrganizationInvite.toObject(includeInstance, f) }; if (includeInstance) { @@ -10274,8 +10224,8 @@ proto.viam.app.v1.DeleteOrganizationMemberRequest.prototype.toObject = function( */ proto.viam.app.v1.DeleteOrganizationMemberRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -userId: jspb.Message.getFieldWithDefault(msg, 2, "") + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + userId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -10535,11 +10485,11 @@ proto.viam.app.v1.BillingAddress.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.BillingAddress.toObject = function(includeInstance, msg) { var f, obj = { -addressLine1: jspb.Message.getFieldWithDefault(msg, 1, ""), -addressLine2: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, -city: jspb.Message.getFieldWithDefault(msg, 3, ""), -state: jspb.Message.getFieldWithDefault(msg, 4, ""), -zipcode: jspb.Message.getFieldWithDefault(msg, 5, "") + addressLine1: jspb.Message.getFieldWithDefault(msg, 1, ""), + addressLine2: jspb.Message.getFieldWithDefault(msg, 2, ""), + city: jspb.Message.getFieldWithDefault(msg, 3, ""), + state: jspb.Message.getFieldWithDefault(msg, 4, ""), + zipcode: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -10803,8 +10753,8 @@ proto.viam.app.v1.EnableBillingServiceRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.EnableBillingServiceRequest.toObject = function(includeInstance, msg) { var f, obj = { -orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), -billingAddress: (f = msg.getBillingAddress()) && proto.viam.app.v1.BillingAddress.toObject(includeInstance, f) + orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), + billingAddress: (f = msg.getBillingAddress()) && proto.viam.app.v1.BillingAddress.toObject(includeInstance, f) }; if (includeInstance) { @@ -11085,8 +11035,8 @@ proto.viam.app.v1.UpdateBillingServiceRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.UpdateBillingServiceRequest.toObject = function(includeInstance, msg) { var f, obj = { -orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), -billingAddress: (f = msg.getBillingAddress()) && proto.viam.app.v1.BillingAddress.toObject(includeInstance, f) + orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), + billingAddress: (f = msg.getBillingAddress()) && proto.viam.app.v1.BillingAddress.toObject(includeInstance, f) }; if (includeInstance) { @@ -11338,287 +11288,6 @@ proto.viam.app.v1.UpdateBillingServiceResponse.serializeBinaryToWriter = functio -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.viam.app.v1.GetBillingServiceRequest.prototype.toObject = function(opt_includeInstance) { - return proto.viam.app.v1.GetBillingServiceRequest.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.viam.app.v1.GetBillingServiceRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.viam.app.v1.GetBillingServiceRequest.toObject = function(includeInstance, msg) { - var f, obj = { -orgId: 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.viam.app.v1.GetBillingServiceRequest} - */ -proto.viam.app.v1.GetBillingServiceRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.viam.app.v1.GetBillingServiceRequest; - return proto.viam.app.v1.GetBillingServiceRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.viam.app.v1.GetBillingServiceRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.viam.app.v1.GetBillingServiceRequest} - */ -proto.viam.app.v1.GetBillingServiceRequest.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.setOrgId(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.viam.app.v1.GetBillingServiceRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.viam.app.v1.GetBillingServiceRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.viam.app.v1.GetBillingServiceRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.viam.app.v1.GetBillingServiceRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getOrgId(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - - -/** - * optional string org_id = 1; - * @return {string} - */ -proto.viam.app.v1.GetBillingServiceRequest.prototype.getOrgId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.viam.app.v1.GetBillingServiceRequest} returns this - */ -proto.viam.app.v1.GetBillingServiceRequest.prototype.setOrgId = 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.viam.app.v1.GetBillingServiceResponse.prototype.toObject = function(opt_includeInstance) { - return proto.viam.app.v1.GetBillingServiceResponse.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.viam.app.v1.GetBillingServiceResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.viam.app.v1.GetBillingServiceResponse.toObject = function(includeInstance, msg) { - var f, obj = { -billingAddress: (f = msg.getBillingAddress()) && proto.viam.app.v1.BillingAddress.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.viam.app.v1.GetBillingServiceResponse} - */ -proto.viam.app.v1.GetBillingServiceResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.viam.app.v1.GetBillingServiceResponse; - return proto.viam.app.v1.GetBillingServiceResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.viam.app.v1.GetBillingServiceResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.viam.app.v1.GetBillingServiceResponse} - */ -proto.viam.app.v1.GetBillingServiceResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new proto.viam.app.v1.BillingAddress; - reader.readMessage(value,proto.viam.app.v1.BillingAddress.deserializeBinaryFromReader); - msg.setBillingAddress(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.viam.app.v1.GetBillingServiceResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.viam.app.v1.GetBillingServiceResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.viam.app.v1.GetBillingServiceResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.viam.app.v1.GetBillingServiceResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getBillingAddress(); - if (f != null) { - writer.writeMessage( - 1, - f, - proto.viam.app.v1.BillingAddress.serializeBinaryToWriter - ); - } -}; - - -/** - * optional BillingAddress billing_address = 1; - * @return {?proto.viam.app.v1.BillingAddress} - */ -proto.viam.app.v1.GetBillingServiceResponse.prototype.getBillingAddress = function() { - return /** @type{?proto.viam.app.v1.BillingAddress} */ ( - jspb.Message.getWrapperField(this, proto.viam.app.v1.BillingAddress, 1)); -}; - - -/** - * @param {?proto.viam.app.v1.BillingAddress|undefined} value - * @return {!proto.viam.app.v1.GetBillingServiceResponse} returns this -*/ -proto.viam.app.v1.GetBillingServiceResponse.prototype.setBillingAddress = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.viam.app.v1.GetBillingServiceResponse} returns this - */ -proto.viam.app.v1.GetBillingServiceResponse.prototype.clearBillingAddress = function() { - return this.setBillingAddress(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.viam.app.v1.GetBillingServiceResponse.prototype.hasBillingAddress = function() { - return jspb.Message.getField(this, 1) != null; -}; - - - - - if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. @@ -11648,7 +11317,7 @@ proto.viam.app.v1.DisableBillingServiceRequest.prototype.toObject = function(opt */ proto.viam.app.v1.DisableBillingServiceRequest.toObject = function(includeInstance, msg) { var f, obj = { -orgId: jspb.Message.getFieldWithDefault(msg, 1, "") + orgId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -11879,8 +11548,8 @@ proto.viam.app.v1.OrganizationSetSupportEmailRequest.prototype.toObject = functi */ proto.viam.app.v1.OrganizationSetSupportEmailRequest.toObject = function(includeInstance, msg) { var f, obj = { -orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), -email: jspb.Message.getFieldWithDefault(msg, 2, "") + orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), + email: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -12140,7 +11809,7 @@ proto.viam.app.v1.OrganizationGetSupportEmailRequest.prototype.toObject = functi */ proto.viam.app.v1.OrganizationGetSupportEmailRequest.toObject = function(includeInstance, msg) { var f, obj = { -orgId: jspb.Message.getFieldWithDefault(msg, 1, "") + orgId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -12270,7 +11939,7 @@ proto.viam.app.v1.OrganizationGetSupportEmailResponse.prototype.toObject = funct */ proto.viam.app.v1.OrganizationGetSupportEmailResponse.toObject = function(includeInstance, msg) { var f, obj = { -email: jspb.Message.getFieldWithDefault(msg, 1, "") + email: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -12400,8 +12069,8 @@ proto.viam.app.v1.OrganizationIdentity.prototype.toObject = function(opt_include */ proto.viam.app.v1.OrganizationIdentity.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, "") + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -12560,8 +12229,8 @@ proto.viam.app.v1.LocationOrganization.prototype.toObject = function(opt_include */ proto.viam.app.v1.LocationOrganization.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -primary: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + primary: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -12727,9 +12396,9 @@ proto.viam.app.v1.LocationAuth.prototype.toObject = function(opt_includeInstance */ proto.viam.app.v1.LocationAuth.toObject = function(includeInstance, msg) { var f, obj = { -secret: jspb.Message.getFieldWithDefault(msg, 1, ""), -locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), -secretsList: jspb.Message.toObjectList(msg.getSecretsList(), + secret: jspb.Message.getFieldWithDefault(msg, 1, ""), + locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), + secretsList: jspb.Message.toObjectList(msg.getSecretsList(), proto.viam.app.v1.SharedSecret.toObject, includeInstance) }; @@ -12940,7 +12609,7 @@ proto.viam.app.v1.StorageConfig.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.StorageConfig.toObject = function(includeInstance, msg) { var f, obj = { -region: jspb.Message.getFieldWithDefault(msg, 1, "") + region: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -13077,15 +12746,15 @@ proto.viam.app.v1.Location.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.Location.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -parentLocationId: jspb.Message.getFieldWithDefault(msg, 4, ""), -auth: (f = msg.getAuth()) && proto.viam.app.v1.LocationAuth.toObject(includeInstance, f), -organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(), + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + parentLocationId: jspb.Message.getFieldWithDefault(msg, 4, ""), + auth: (f = msg.getAuth()) && proto.viam.app.v1.LocationAuth.toObject(includeInstance, f), + organizationsList: jspb.Message.toObjectList(msg.getOrganizationsList(), proto.viam.app.v1.LocationOrganization.toObject, includeInstance), -createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -robotCount: jspb.Message.getFieldWithDefault(msg, 7, 0), -config: (f = msg.getConfig()) && proto.viam.app.v1.StorageConfig.toObject(includeInstance, f) + createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + robotCount: jspb.Message.getFieldWithDefault(msg, 7, 0), + config: (f = msg.getConfig()) && proto.viam.app.v1.StorageConfig.toObject(includeInstance, f) }; if (includeInstance) { @@ -13503,10 +13172,10 @@ proto.viam.app.v1.SharedSecret.prototype.toObject = function(opt_includeInstance */ proto.viam.app.v1.SharedSecret.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -secret: jspb.Message.getFieldWithDefault(msg, 2, ""), -createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -state: jspb.Message.getFieldWithDefault(msg, 4, 0) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + secret: jspb.Message.getFieldWithDefault(msg, 2, ""), + createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + state: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { @@ -13753,9 +13422,9 @@ proto.viam.app.v1.CreateLocationRequest.prototype.toObject = function(opt_includ */ proto.viam.app.v1.CreateLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -parentLocationId: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + parentLocationId: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -13961,7 +13630,7 @@ proto.viam.app.v1.CreateLocationResponse.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.CreateLocationResponse.toObject = function(includeInstance, msg) { var f, obj = { -location: (f = msg.getLocation()) && proto.viam.app.v1.Location.toObject(includeInstance, f) + location: (f = msg.getLocation()) && proto.viam.app.v1.Location.toObject(includeInstance, f) }; if (includeInstance) { @@ -14112,7 +13781,7 @@ proto.viam.app.v1.GetLocationRequest.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.GetLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { -locationId: jspb.Message.getFieldWithDefault(msg, 1, "") + locationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -14242,7 +13911,7 @@ proto.viam.app.v1.GetLocationResponse.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.GetLocationResponse.toObject = function(includeInstance, msg) { var f, obj = { -location: (f = msg.getLocation()) && proto.viam.app.v1.Location.toObject(includeInstance, f) + location: (f = msg.getLocation()) && proto.viam.app.v1.Location.toObject(includeInstance, f) }; if (includeInstance) { @@ -14393,10 +14062,10 @@ proto.viam.app.v1.UpdateLocationRequest.prototype.toObject = function(opt_includ */ proto.viam.app.v1.UpdateLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { -locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, -parentLocationId: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, -region: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f + locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + parentLocationId: jspb.Message.getFieldWithDefault(msg, 3, ""), + region: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -14667,7 +14336,7 @@ proto.viam.app.v1.UpdateLocationResponse.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.UpdateLocationResponse.toObject = function(includeInstance, msg) { var f, obj = { -location: (f = msg.getLocation()) && proto.viam.app.v1.Location.toObject(includeInstance, f) + location: (f = msg.getLocation()) && proto.viam.app.v1.Location.toObject(includeInstance, f) }; if (includeInstance) { @@ -14818,7 +14487,7 @@ proto.viam.app.v1.DeleteLocationRequest.prototype.toObject = function(opt_includ */ proto.viam.app.v1.DeleteLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { -locationId: jspb.Message.getFieldWithDefault(msg, 1, "") + locationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -15049,7 +14718,7 @@ proto.viam.app.v1.GetOrganizationsWithAccessToLocationRequest.prototype.toObject */ proto.viam.app.v1.GetOrganizationsWithAccessToLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { -locationId: jspb.Message.getFieldWithDefault(msg, 1, "") + locationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -15186,7 +14855,7 @@ proto.viam.app.v1.GetOrganizationsWithAccessToLocationResponse.prototype.toObjec */ proto.viam.app.v1.GetOrganizationsWithAccessToLocationResponse.toObject = function(includeInstance, msg) { var f, obj = { -organizationIdentitiesList: jspb.Message.toObjectList(msg.getOrganizationIdentitiesList(), + organizationIdentitiesList: jspb.Message.toObjectList(msg.getOrganizationIdentitiesList(), proto.viam.app.v1.OrganizationIdentity.toObject, includeInstance) }; @@ -15339,7 +15008,7 @@ proto.viam.app.v1.ListLocationsRequest.prototype.toObject = function(opt_include */ proto.viam.app.v1.ListLocationsRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") + organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -15469,8 +15138,8 @@ proto.viam.app.v1.ShareLocationRequest.prototype.toObject = function(opt_include */ proto.viam.app.v1.ShareLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { -locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -organizationId: jspb.Message.getFieldWithDefault(msg, 2, "") + locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + organizationId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -15730,8 +15399,8 @@ proto.viam.app.v1.UnshareLocationRequest.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.UnshareLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { -locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -organizationId: jspb.Message.getFieldWithDefault(msg, 2, "") + locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + organizationId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -15998,7 +15667,7 @@ proto.viam.app.v1.ListLocationsResponse.prototype.toObject = function(opt_includ */ proto.viam.app.v1.ListLocationsResponse.toObject = function(includeInstance, msg) { var f, obj = { -locationsList: jspb.Message.toObjectList(msg.getLocationsList(), + locationsList: jspb.Message.toObjectList(msg.getLocationsList(), proto.viam.app.v1.Location.toObject, includeInstance) }; @@ -16151,7 +15820,7 @@ proto.viam.app.v1.CreateLocationSecretRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.CreateLocationSecretRequest.toObject = function(includeInstance, msg) { var f, obj = { -locationId: jspb.Message.getFieldWithDefault(msg, 1, "") + locationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -16281,7 +15950,7 @@ proto.viam.app.v1.CreateLocationSecretResponse.prototype.toObject = function(opt */ proto.viam.app.v1.CreateLocationSecretResponse.toObject = function(includeInstance, msg) { var f, obj = { -auth: (f = msg.getAuth()) && proto.viam.app.v1.LocationAuth.toObject(includeInstance, f) + auth: (f = msg.getAuth()) && proto.viam.app.v1.LocationAuth.toObject(includeInstance, f) }; if (includeInstance) { @@ -16432,8 +16101,8 @@ proto.viam.app.v1.DeleteLocationSecretRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.DeleteLocationSecretRequest.toObject = function(includeInstance, msg) { var f, obj = { -locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -secretId: jspb.Message.getFieldWithDefault(msg, 2, "") + locationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + secretId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -16693,7 +16362,7 @@ proto.viam.app.v1.LocationAuthRequest.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.LocationAuthRequest.toObject = function(includeInstance, msg) { var f, obj = { -locationId: jspb.Message.getFieldWithDefault(msg, 1, "") + locationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -16823,7 +16492,7 @@ proto.viam.app.v1.LocationAuthResponse.prototype.toObject = function(opt_include */ proto.viam.app.v1.LocationAuthResponse.toObject = function(includeInstance, msg) { var f, obj = { -auth: (f = msg.getAuth()) && proto.viam.app.v1.LocationAuth.toObject(includeInstance, f) + auth: (f = msg.getAuth()) && proto.viam.app.v1.LocationAuth.toObject(includeInstance, f) }; if (includeInstance) { @@ -16974,7 +16643,7 @@ proto.viam.app.v1.GetRobotRequest.prototype.toObject = function(opt_includeInsta */ proto.viam.app.v1.GetRobotRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -17104,7 +16773,7 @@ proto.viam.app.v1.GetRoverRentalRobotsRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.GetRoverRentalRobotsRequest.toObject = function(includeInstance, msg) { var f, obj = { -orgId: jspb.Message.getFieldWithDefault(msg, 1, "") + orgId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -17234,10 +16903,10 @@ proto.viam.app.v1.RoverRentalRobot.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.RoverRentalRobot.toObject = function(includeInstance, msg) { var f, obj = { -robotId: jspb.Message.getFieldWithDefault(msg, 1, ""), -locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), -robotName: jspb.Message.getFieldWithDefault(msg, 3, ""), -robotMainPartId: jspb.Message.getFieldWithDefault(msg, 4, "") + robotId: jspb.Message.getFieldWithDefault(msg, 1, ""), + locationId: jspb.Message.getFieldWithDefault(msg, 2, ""), + robotName: jspb.Message.getFieldWithDefault(msg, 3, ""), + robotMainPartId: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -17461,7 +17130,7 @@ proto.viam.app.v1.GetRoverRentalRobotsResponse.prototype.toObject = function(opt */ proto.viam.app.v1.GetRoverRentalRobotsResponse.toObject = function(includeInstance, msg) { var f, obj = { -robotsList: jspb.Message.toObjectList(msg.getRobotsList(), + robotsList: jspb.Message.toObjectList(msg.getRobotsList(), proto.viam.app.v1.RoverRentalRobot.toObject, includeInstance) }; @@ -17614,7 +17283,7 @@ proto.viam.app.v1.GetRobotResponse.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.GetRobotResponse.toObject = function(includeInstance, msg) { var f, obj = { -robot: (f = msg.getRobot()) && proto.viam.app.v1.Robot.toObject(includeInstance, f) + robot: (f = msg.getRobot()) && proto.viam.app.v1.Robot.toObject(includeInstance, f) }; if (includeInstance) { @@ -17765,7 +17434,7 @@ proto.viam.app.v1.GetRobotPartsRequest.prototype.toObject = function(opt_include */ proto.viam.app.v1.GetRobotPartsRequest.toObject = function(includeInstance, msg) { var f, obj = { -robotId: jspb.Message.getFieldWithDefault(msg, 1, "") + robotId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -17902,7 +17571,7 @@ proto.viam.app.v1.GetRobotPartsResponse.prototype.toObject = function(opt_includ */ proto.viam.app.v1.GetRobotPartsResponse.toObject = function(includeInstance, msg) { var f, obj = { -partsList: jspb.Message.toObjectList(msg.getPartsList(), + partsList: jspb.Message.toObjectList(msg.getPartsList(), proto.viam.app.v1.RobotPart.toObject, includeInstance) }; @@ -18055,7 +17724,7 @@ proto.viam.app.v1.GetRobotPartRequest.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.GetRobotPartRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -18185,8 +17854,8 @@ proto.viam.app.v1.GetRobotPartResponse.prototype.toObject = function(opt_include */ proto.viam.app.v1.GetRobotPartResponse.toObject = function(includeInstance, msg) { var f, obj = { -part: (f = msg.getPart()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f), -configJson: jspb.Message.getFieldWithDefault(msg, 2, "") + part: (f = msg.getPart()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f), + configJson: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -18373,15 +18042,15 @@ proto.viam.app.v1.GetRobotPartLogsRequest.prototype.toObject = function(opt_incl */ proto.viam.app.v1.GetRobotPartLogsRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -errorsOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), -filter: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, -pageToken: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, -levelsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, -start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -limit: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, -source: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + errorsOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + filter: jspb.Message.getFieldWithDefault(msg, 3, ""), + pageToken: jspb.Message.getFieldWithDefault(msg, 4, ""), + levelsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + limit: jspb.Message.getFieldWithDefault(msg, 8, 0), + source: jspb.Message.getFieldWithDefault(msg, 9, "") }; if (includeInstance) { @@ -18883,9 +18552,9 @@ proto.viam.app.v1.GetRobotPartLogsResponse.prototype.toObject = function(opt_inc */ proto.viam.app.v1.GetRobotPartLogsResponse.toObject = function(includeInstance, msg) { var f, obj = { -logsList: jspb.Message.toObjectList(msg.getLogsList(), + logsList: jspb.Message.toObjectList(msg.getLogsList(), common_v1_common_pb.LogEntry.toObject, includeInstance), -nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") + nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -19066,9 +18735,9 @@ proto.viam.app.v1.TailRobotPartLogsRequest.prototype.toObject = function(opt_inc */ proto.viam.app.v1.TailRobotPartLogsRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -errorsOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), -filter: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + errorsOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + filter: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -19281,7 +18950,7 @@ proto.viam.app.v1.TailRobotPartLogsResponse.prototype.toObject = function(opt_in */ proto.viam.app.v1.TailRobotPartLogsResponse.toObject = function(includeInstance, msg) { var f, obj = { -logsList: jspb.Message.toObjectList(msg.getLogsList(), + logsList: jspb.Message.toObjectList(msg.getLogsList(), common_v1_common_pb.LogEntry.toObject, includeInstance) }; @@ -19434,7 +19103,7 @@ proto.viam.app.v1.GetRobotPartHistoryRequest.prototype.toObject = function(opt_i */ proto.viam.app.v1.GetRobotPartHistoryRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -19571,7 +19240,7 @@ proto.viam.app.v1.GetRobotPartHistoryResponse.prototype.toObject = function(opt_ */ proto.viam.app.v1.GetRobotPartHistoryResponse.toObject = function(includeInstance, msg) { var f, obj = { -historyList: jspb.Message.toObjectList(msg.getHistoryList(), + historyList: jspb.Message.toObjectList(msg.getHistoryList(), proto.viam.app.v1.RobotPartHistoryEntry.toObject, includeInstance) }; @@ -19724,9 +19393,9 @@ proto.viam.app.v1.UpdateRobotPartRequest.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.UpdateRobotPartRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -robotConfig: (f = msg.getRobotConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + robotConfig: (f = msg.getRobotConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -19935,7 +19604,7 @@ proto.viam.app.v1.UpdateRobotPartResponse.prototype.toObject = function(opt_incl */ proto.viam.app.v1.UpdateRobotPartResponse.toObject = function(includeInstance, msg) { var f, obj = { -part: (f = msg.getPart()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f) + part: (f = msg.getPart()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f) }; if (includeInstance) { @@ -20086,8 +19755,8 @@ proto.viam.app.v1.NewRobotPartRequest.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.NewRobotPartRequest.toObject = function(includeInstance, msg) { var f, obj = { -robotId: jspb.Message.getFieldWithDefault(msg, 1, ""), -partName: jspb.Message.getFieldWithDefault(msg, 2, "") + robotId: jspb.Message.getFieldWithDefault(msg, 1, ""), + partName: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -20246,7 +19915,7 @@ proto.viam.app.v1.NewRobotPartResponse.prototype.toObject = function(opt_include */ proto.viam.app.v1.NewRobotPartResponse.toObject = function(includeInstance, msg) { var f, obj = { -partId: jspb.Message.getFieldWithDefault(msg, 1, "") + partId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -20376,7 +20045,7 @@ proto.viam.app.v1.DeleteRobotPartRequest.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.DeleteRobotPartRequest.toObject = function(includeInstance, msg) { var f, obj = { -partId: jspb.Message.getFieldWithDefault(msg, 1, "") + partId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -20506,7 +20175,7 @@ proto.viam.app.v1.GetRobotAPIKeysRequest.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.GetRobotAPIKeysRequest.toObject = function(includeInstance, msg) { var f, obj = { -robotId: jspb.Message.getFieldWithDefault(msg, 1, "") + robotId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -20636,10 +20305,10 @@ proto.viam.app.v1.APIKey.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.APIKey.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -key: jspb.Message.getFieldWithDefault(msg, 2, ""), -name: jspb.Message.getFieldWithDefault(msg, 3, ""), -createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + key: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -20884,7 +20553,7 @@ proto.viam.app.v1.GetRobotAPIKeysResponse.prototype.toObject = function(opt_incl */ proto.viam.app.v1.GetRobotAPIKeysResponse.toObject = function(includeInstance, msg) { var f, obj = { -apiKeysList: jspb.Message.toObjectList(msg.getApiKeysList(), + apiKeysList: jspb.Message.toObjectList(msg.getApiKeysList(), proto.viam.app.v1.APIKeyWithAuthorizations.toObject, includeInstance) }; @@ -21138,18 +20807,18 @@ proto.viam.app.v1.Fragment.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.Fragment.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -fragment: (f = msg.getFragment()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), -organizationOwner: jspb.Message.getFieldWithDefault(msg, 4, ""), -pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), -createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -organizationName: jspb.Message.getFieldWithDefault(msg, 7, ""), -robotPartCount: jspb.Message.getFieldWithDefault(msg, 9, 0), -organizationCount: jspb.Message.getFieldWithDefault(msg, 10, 0), -onlyUsedByOwner: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), -visibility: jspb.Message.getFieldWithDefault(msg, 12, 0), -lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + fragment: (f = msg.getFragment()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + organizationOwner: jspb.Message.getFieldWithDefault(msg, 4, ""), + pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + organizationName: jspb.Message.getFieldWithDefault(msg, 7, ""), + robotPartCount: jspb.Message.getFieldWithDefault(msg, 9, 0), + organizationCount: jspb.Message.getFieldWithDefault(msg, 10, 0), + onlyUsedByOwner: jspb.Message.getBooleanFieldWithDefault(msg, 11, false), + visibility: jspb.Message.getFieldWithDefault(msg, 12, 0), + lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -21661,10 +21330,10 @@ proto.viam.app.v1.FragmentHistoryEntry.prototype.toObject = function(opt_include */ proto.viam.app.v1.FragmentHistoryEntry.toObject = function(includeInstance, msg) { var f, obj = { -fragment: jspb.Message.getFieldWithDefault(msg, 1, ""), -editedOn: (f = msg.getEditedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -old: (f = msg.getOld()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f), -editedBy: (f = msg.getEditedBy()) && proto.viam.app.v1.AuthenticatorInfo.toObject(includeInstance, f) + fragment: jspb.Message.getFieldWithDefault(msg, 1, ""), + editedOn: (f = msg.getEditedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + old: (f = msg.getOld()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f), + editedBy: (f = msg.getEditedBy()) && proto.viam.app.v1.AuthenticatorInfo.toObject(includeInstance, f) }; if (includeInstance) { @@ -21944,9 +21613,9 @@ proto.viam.app.v1.FragmentError.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.FragmentError.toObject = function(includeInstance, msg) { var f, obj = { -errorType: jspb.Message.getFieldWithDefault(msg, 1, 0), -fragmentId: jspb.Message.getFieldWithDefault(msg, 2, ""), -detail: jspb.Message.getFieldWithDefault(msg, 3, "") + errorType: jspb.Message.getFieldWithDefault(msg, 1, 0), + fragmentId: jspb.Message.getFieldWithDefault(msg, 2, ""), + detail: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -22134,9 +21803,9 @@ proto.viam.app.v1.ResolvedFragment.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.ResolvedFragment.toObject = function(includeInstance, msg) { var f, obj = { -fragmentId: jspb.Message.getFieldWithDefault(msg, 1, ""), -resolvedConfig: (f = msg.getResolvedConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), -error: (f = msg.getError()) && proto.viam.app.v1.FragmentError.toObject(includeInstance, f) + fragmentId: jspb.Message.getFieldWithDefault(msg, 1, ""), + resolvedConfig: (f = msg.getResolvedConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + error: (f = msg.getError()) && proto.viam.app.v1.FragmentError.toObject(includeInstance, f) }; if (includeInstance) { @@ -22373,9 +22042,9 @@ proto.viam.app.v1.ListFragmentsRequest.prototype.toObject = function(opt_include */ proto.viam.app.v1.ListFragmentsRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -showPublic: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), -fragmentVisibilityList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + showPublic: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + fragmentVisibilityList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -22591,7 +22260,7 @@ proto.viam.app.v1.ListFragmentsResponse.prototype.toObject = function(opt_includ */ proto.viam.app.v1.ListFragmentsResponse.toObject = function(includeInstance, msg) { var f, obj = { -fragmentsList: jspb.Message.toObjectList(msg.getFragmentsList(), + fragmentsList: jspb.Message.toObjectList(msg.getFragmentsList(), proto.viam.app.v1.Fragment.toObject, includeInstance) }; @@ -22744,7 +22413,7 @@ proto.viam.app.v1.GetFragmentRequest.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.GetFragmentRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -22874,7 +22543,7 @@ proto.viam.app.v1.GetFragmentResponse.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.GetFragmentResponse.toObject = function(includeInstance, msg) { var f, obj = { -fragment: (f = msg.getFragment()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f) + fragment: (f = msg.getFragment()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f) }; if (includeInstance) { @@ -23025,10 +22694,10 @@ proto.viam.app.v1.CreateFragmentRequest.prototype.toObject = function(opt_includ */ proto.viam.app.v1.CreateFragmentRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), -organizationId: jspb.Message.getFieldWithDefault(msg, 3, ""), -visibility: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + organizationId: jspb.Message.getFieldWithDefault(msg, 3, ""), + visibility: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { @@ -23284,7 +22953,7 @@ proto.viam.app.v1.CreateFragmentResponse.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.CreateFragmentResponse.toObject = function(includeInstance, msg) { var f, obj = { -fragment: (f = msg.getFragment()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f) + fragment: (f = msg.getFragment()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f) }; if (includeInstance) { @@ -23435,11 +23104,11 @@ proto.viam.app.v1.UpdateFragmentRequest.prototype.toObject = function(opt_includ */ proto.viam.app.v1.UpdateFragmentRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), -pb_public: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f, -visibility: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), + visibility: jspb.Message.getFieldWithDefault(msg, 5, 0) }; if (includeInstance) { @@ -23742,7 +23411,7 @@ proto.viam.app.v1.UpdateFragmentResponse.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.UpdateFragmentResponse.toObject = function(includeInstance, msg) { var f, obj = { -fragment: (f = msg.getFragment()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f) + fragment: (f = msg.getFragment()) && proto.viam.app.v1.Fragment.toObject(includeInstance, f) }; if (includeInstance) { @@ -23893,7 +23562,7 @@ proto.viam.app.v1.DeleteFragmentRequest.prototype.toObject = function(opt_includ */ proto.viam.app.v1.DeleteFragmentRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -24124,9 +23793,9 @@ proto.viam.app.v1.GetFragmentHistoryRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.GetFragmentHistoryRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -pageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, -pageLimit: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + pageToken: jspb.Message.getFieldWithDefault(msg, 2, ""), + pageLimit: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -24357,9 +24026,9 @@ proto.viam.app.v1.GetFragmentHistoryResponse.prototype.toObject = function(opt_i */ proto.viam.app.v1.GetFragmentHistoryResponse.toObject = function(includeInstance, msg) { var f, obj = { -historyList: jspb.Message.toObjectList(msg.getHistoryList(), + historyList: jspb.Message.toObjectList(msg.getHistoryList(), proto.viam.app.v1.FragmentHistoryEntry.toObject, includeInstance), -nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") + nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -24540,7 +24209,7 @@ proto.viam.app.v1.ListRobotsRequest.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.ListRobotsRequest.toObject = function(includeInstance, msg) { var f, obj = { -locationId: jspb.Message.getFieldWithDefault(msg, 1, "") + locationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -24677,8 +24346,8 @@ proto.viam.app.v1.ListMachineFragmentsRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.ListMachineFragmentsRequest.toObject = function(includeInstance, msg) { var f, obj = { -machineId: jspb.Message.getFieldWithDefault(msg, 1, ""), -additionalFragmentIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f + machineId: jspb.Message.getFieldWithDefault(msg, 1, ""), + additionalFragmentIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -24863,9 +24532,9 @@ proto.viam.app.v1.ListMachineFragmentsResponse.prototype.toObject = function(opt */ proto.viam.app.v1.ListMachineFragmentsResponse.toObject = function(includeInstance, msg) { var f, obj = { -fragmentsList: jspb.Message.toObjectList(msg.getFragmentsList(), + fragmentsList: jspb.Message.toObjectList(msg.getFragmentsList(), proto.viam.app.v1.Fragment.toObject, includeInstance), -resolvedFragmentsList: jspb.Message.toObjectList(msg.getResolvedFragmentsList(), + resolvedFragmentsList: jspb.Message.toObjectList(msg.getResolvedFragmentsList(), proto.viam.app.v1.ResolvedFragment.toObject, includeInstance) }; @@ -25076,7 +24745,7 @@ proto.viam.app.v1.ListRobotsResponse.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.ListRobotsResponse.toObject = function(includeInstance, msg) { var f, obj = { -robotsList: jspb.Message.toObjectList(msg.getRobotsList(), + robotsList: jspb.Message.toObjectList(msg.getRobotsList(), proto.viam.app.v1.Robot.toObject, includeInstance) }; @@ -25229,8 +24898,8 @@ proto.viam.app.v1.NewRobotRequest.prototype.toObject = function(opt_includeInsta */ proto.viam.app.v1.NewRobotRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -location: jspb.Message.getFieldWithDefault(msg, 2, "") + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + location: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -25389,7 +25058,7 @@ proto.viam.app.v1.NewRobotResponse.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.NewRobotResponse.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -25519,9 +25188,9 @@ proto.viam.app.v1.UpdateRobotRequest.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.UpdateRobotRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -location: jspb.Message.getFieldWithDefault(msg, 3, "") + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + location: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -25709,7 +25378,7 @@ proto.viam.app.v1.UpdateRobotResponse.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.UpdateRobotResponse.toObject = function(includeInstance, msg) { var f, obj = { -robot: (f = msg.getRobot()) && proto.viam.app.v1.Robot.toObject(includeInstance, f) + robot: (f = msg.getRobot()) && proto.viam.app.v1.Robot.toObject(includeInstance, f) }; if (includeInstance) { @@ -25860,7 +25529,7 @@ proto.viam.app.v1.DeleteRobotRequest.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.DeleteRobotRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -26091,7 +25760,7 @@ proto.viam.app.v1.MarkPartAsMainRequest.prototype.toObject = function(opt_includ */ proto.viam.app.v1.MarkPartAsMainRequest.toObject = function(includeInstance, msg) { var f, obj = { -partId: jspb.Message.getFieldWithDefault(msg, 1, "") + partId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -26322,7 +25991,7 @@ proto.viam.app.v1.MarkPartForRestartRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.MarkPartForRestartRequest.toObject = function(includeInstance, msg) { var f, obj = { -partId: jspb.Message.getFieldWithDefault(msg, 1, "") + partId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -26553,7 +26222,7 @@ proto.viam.app.v1.CreateRobotPartSecretRequest.prototype.toObject = function(opt */ proto.viam.app.v1.CreateRobotPartSecretRequest.toObject = function(includeInstance, msg) { var f, obj = { -partId: jspb.Message.getFieldWithDefault(msg, 1, "") + partId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -26683,7 +26352,7 @@ proto.viam.app.v1.CreateRobotPartSecretResponse.prototype.toObject = function(op */ proto.viam.app.v1.CreateRobotPartSecretResponse.toObject = function(includeInstance, msg) { var f, obj = { -part: (f = msg.getPart()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f) + part: (f = msg.getPart()) && proto.viam.app.v1.RobotPart.toObject(includeInstance, f) }; if (includeInstance) { @@ -26834,8 +26503,8 @@ proto.viam.app.v1.DeleteRobotPartSecretRequest.prototype.toObject = function(opt */ proto.viam.app.v1.DeleteRobotPartSecretRequest.toObject = function(includeInstance, msg) { var f, obj = { -partId: jspb.Message.getFieldWithDefault(msg, 1, ""), -secretId: jspb.Message.getFieldWithDefault(msg, 2, "") + partId: jspb.Message.getFieldWithDefault(msg, 1, ""), + secretId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -27095,13 +26764,13 @@ proto.viam.app.v1.Authorization.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.Authorization.toObject = function(includeInstance, msg) { var f, obj = { -authorizationType: jspb.Message.getFieldWithDefault(msg, 1, ""), -authorizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), -resourceType: jspb.Message.getFieldWithDefault(msg, 3, ""), -resourceId: jspb.Message.getFieldWithDefault(msg, 4, ""), -identityId: jspb.Message.getFieldWithDefault(msg, 5, ""), -organizationId: jspb.Message.getFieldWithDefault(msg, 6, ""), -identityType: jspb.Message.getFieldWithDefault(msg, 7, "") + authorizationType: jspb.Message.getFieldWithDefault(msg, 1, ""), + authorizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), + resourceType: jspb.Message.getFieldWithDefault(msg, 3, ""), + resourceId: jspb.Message.getFieldWithDefault(msg, 4, ""), + identityId: jspb.Message.getFieldWithDefault(msg, 5, ""), + organizationId: jspb.Message.getFieldWithDefault(msg, 6, ""), + identityType: jspb.Message.getFieldWithDefault(msg, 7, "") }; if (includeInstance) { @@ -27405,7 +27074,7 @@ proto.viam.app.v1.AddRoleRequest.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.AddRoleRequest.toObject = function(includeInstance, msg) { var f, obj = { -authorization: (f = msg.getAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f) + authorization: (f = msg.getAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f) }; if (includeInstance) { @@ -27657,7 +27326,7 @@ proto.viam.app.v1.RemoveRoleRequest.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.RemoveRoleRequest.toObject = function(includeInstance, msg) { var f, obj = { -authorization: (f = msg.getAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f) + authorization: (f = msg.getAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f) }; if (includeInstance) { @@ -27909,8 +27578,8 @@ proto.viam.app.v1.ChangeRoleRequest.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.ChangeRoleRequest.toObject = function(includeInstance, msg) { var f, obj = { -oldAuthorization: (f = msg.getOldAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f), -newAuthorization: (f = msg.getNewAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f) + oldAuthorization: (f = msg.getOldAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f), + newAuthorization: (f = msg.getNewAuthorization()) && proto.viam.app.v1.Authorization.toObject(includeInstance, f) }; if (includeInstance) { @@ -28219,8 +27888,8 @@ proto.viam.app.v1.ListAuthorizationsRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.ListAuthorizationsRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -resourceIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + resourceIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -28405,7 +28074,7 @@ proto.viam.app.v1.ListAuthorizationsResponse.prototype.toObject = function(opt_i */ proto.viam.app.v1.ListAuthorizationsResponse.toObject = function(includeInstance, msg) { var f, obj = { -authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), + authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), proto.viam.app.v1.Authorization.toObject, includeInstance) }; @@ -28565,7 +28234,7 @@ proto.viam.app.v1.CheckPermissionsRequest.prototype.toObject = function(opt_incl */ proto.viam.app.v1.CheckPermissionsRequest.toObject = function(includeInstance, msg) { var f, obj = { -permissionsList: jspb.Message.toObjectList(msg.getPermissionsList(), + permissionsList: jspb.Message.toObjectList(msg.getPermissionsList(), proto.viam.app.v1.AuthorizedPermissions.toObject, includeInstance) }; @@ -28725,9 +28394,9 @@ proto.viam.app.v1.AuthorizedPermissions.prototype.toObject = function(opt_includ */ proto.viam.app.v1.AuthorizedPermissions.toObject = function(includeInstance, msg) { var f, obj = { -resourceType: jspb.Message.getFieldWithDefault(msg, 1, ""), -resourceId: jspb.Message.getFieldWithDefault(msg, 2, ""), -permissionsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f + resourceType: jspb.Message.getFieldWithDefault(msg, 1, ""), + resourceId: jspb.Message.getFieldWithDefault(msg, 2, ""), + permissionsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -28941,7 +28610,7 @@ proto.viam.app.v1.CheckPermissionsResponse.prototype.toObject = function(opt_inc */ proto.viam.app.v1.CheckPermissionsResponse.toObject = function(includeInstance, msg) { var f, obj = { -authorizedPermissionsList: jspb.Message.toObjectList(msg.getAuthorizedPermissionsList(), + authorizedPermissionsList: jspb.Message.toObjectList(msg.getAuthorizedPermissionsList(), proto.viam.app.v1.AuthorizedPermissions.toObject, includeInstance) }; @@ -29101,13 +28770,13 @@ proto.viam.app.v1.ModuleVersion.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.ModuleVersion.toObject = function(includeInstance, msg) { var f, obj = { -version: jspb.Message.getFieldWithDefault(msg, 1, ""), -filesList: jspb.Message.toObjectList(msg.getFilesList(), + version: jspb.Message.getFieldWithDefault(msg, 1, ""), + filesList: jspb.Message.toObjectList(msg.getFilesList(), proto.viam.app.v1.Uploads.toObject, includeInstance), -modelsList: jspb.Message.toObjectList(msg.getModelsList(), + modelsList: jspb.Message.toObjectList(msg.getModelsList(), proto.viam.app.v1.Model.toObject, includeInstance), -entrypoint: jspb.Message.getFieldWithDefault(msg, 4, ""), -firstRun: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f + entrypoint: jspb.Message.getFieldWithDefault(msg, 4, ""), + firstRun: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -29422,12 +29091,12 @@ proto.viam.app.v1.ModuleMetadata.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.ModuleMetadata.toObject = function(includeInstance, msg) { var f, obj = { -modelsList: jspb.Message.toObjectList(msg.getModelsList(), + modelsList: jspb.Message.toObjectList(msg.getModelsList(), proto.viam.app.v1.Model.toObject, includeInstance), -versionsList: jspb.Message.toObjectList(msg.getVersionsList(), + versionsList: jspb.Message.toObjectList(msg.getVersionsList(), proto.viam.app.v1.ModuleVersion.toObject, includeInstance), -entrypoint: jspb.Message.getFieldWithDefault(msg, 3, ""), -firstRun: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f + entrypoint: jspb.Message.getFieldWithDefault(msg, 3, ""), + firstRun: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -29713,9 +29382,9 @@ proto.viam.app.v1.MLModelMetadata.prototype.toObject = function(opt_includeInsta */ proto.viam.app.v1.MLModelMetadata.toObject = function(includeInstance, msg) { var f, obj = { -versionsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, -modelType: jspb.Message.getFieldWithDefault(msg, 2, 0), -modelFramework: jspb.Message.getFieldWithDefault(msg, 3, 0) + versionsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + modelType: jspb.Message.getFieldWithDefault(msg, 2, 0), + modelFramework: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -29922,8 +29591,8 @@ proto.viam.app.v1.MLTrainingVersion.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.MLTrainingVersion.toObject = function(includeInstance, msg) { var f, obj = { -version: jspb.Message.getFieldWithDefault(msg, 1, ""), -createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + version: jspb.Message.getFieldWithDefault(msg, 1, ""), + createdOn: (f = msg.getCreatedOn()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -30110,11 +29779,11 @@ proto.viam.app.v1.MLTrainingMetadata.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.MLTrainingMetadata.toObject = function(includeInstance, msg) { var f, obj = { -versionsList: jspb.Message.toObjectList(msg.getVersionsList(), + versionsList: jspb.Message.toObjectList(msg.getVersionsList(), proto.viam.app.v1.MLTrainingVersion.toObject, includeInstance), -modelType: jspb.Message.getFieldWithDefault(msg, 2, 0), -modelFramework: jspb.Message.getFieldWithDefault(msg, 3, 0), -draft: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) + modelType: jspb.Message.getFieldWithDefault(msg, 2, 0), + modelFramework: jspb.Message.getFieldWithDefault(msg, 3, 0), + draft: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) }; if (includeInstance) { @@ -30380,23 +30049,23 @@ proto.viam.app.v1.RegistryItem.prototype.toObject = function(opt_includeInstance */ proto.viam.app.v1.RegistryItem.toObject = function(includeInstance, msg) { var f, obj = { -itemId: jspb.Message.getFieldWithDefault(msg, 1, ""), -organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), -publicNamespace: jspb.Message.getFieldWithDefault(msg, 3, ""), -name: jspb.Message.getFieldWithDefault(msg, 4, ""), -type: jspb.Message.getFieldWithDefault(msg, 5, 0), -visibility: jspb.Message.getFieldWithDefault(msg, 6, 0), -url: jspb.Message.getFieldWithDefault(msg, 7, ""), -description: jspb.Message.getFieldWithDefault(msg, 8, ""), -totalRobotUsage: jspb.Message.getFieldWithDefault(msg, 9, 0), -totalExternalRobotUsage: jspb.Message.getFieldWithDefault(msg, 13, 0), -totalOrganizationUsage: jspb.Message.getFieldWithDefault(msg, 10, 0), -totalExternalOrganizationUsage: jspb.Message.getFieldWithDefault(msg, 14, 0), -moduleMetadata: (f = msg.getModuleMetadata()) && proto.viam.app.v1.ModuleMetadata.toObject(includeInstance, f), -mlModelMetadata: (f = msg.getMlModelMetadata()) && proto.viam.app.v1.MLModelMetadata.toObject(includeInstance, f), -mlTrainingMetadata: (f = msg.getMlTrainingMetadata()) && proto.viam.app.v1.MLTrainingMetadata.toObject(includeInstance, f), -createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + itemId: jspb.Message.getFieldWithDefault(msg, 1, ""), + organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), + publicNamespace: jspb.Message.getFieldWithDefault(msg, 3, ""), + name: jspb.Message.getFieldWithDefault(msg, 4, ""), + type: jspb.Message.getFieldWithDefault(msg, 5, 0), + visibility: jspb.Message.getFieldWithDefault(msg, 6, 0), + url: jspb.Message.getFieldWithDefault(msg, 7, ""), + description: jspb.Message.getFieldWithDefault(msg, 8, ""), + totalRobotUsage: jspb.Message.getFieldWithDefault(msg, 9, 0), + totalExternalRobotUsage: jspb.Message.getFieldWithDefault(msg, 13, 0), + totalOrganizationUsage: jspb.Message.getFieldWithDefault(msg, 10, 0), + totalExternalOrganizationUsage: jspb.Message.getFieldWithDefault(msg, 14, 0), + moduleMetadata: (f = msg.getModuleMetadata()) && proto.viam.app.v1.ModuleMetadata.toObject(includeInstance, f), + mlModelMetadata: (f = msg.getMlModelMetadata()) && proto.viam.app.v1.MLModelMetadata.toObject(includeInstance, f), + mlTrainingMetadata: (f = msg.getMlTrainingMetadata()) && proto.viam.app.v1.MLTrainingMetadata.toObject(includeInstance, f), + createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -31095,7 +30764,7 @@ proto.viam.app.v1.GetRegistryItemRequest.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.GetRegistryItemRequest.toObject = function(includeInstance, msg) { var f, obj = { -itemId: jspb.Message.getFieldWithDefault(msg, 1, "") + itemId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -31225,7 +30894,7 @@ proto.viam.app.v1.GetRegistryItemResponse.prototype.toObject = function(opt_incl */ proto.viam.app.v1.GetRegistryItemResponse.toObject = function(includeInstance, msg) { var f, obj = { -item: (f = msg.getItem()) && proto.viam.app.v1.RegistryItem.toObject(includeInstance, f) + item: (f = msg.getItem()) && proto.viam.app.v1.RegistryItem.toObject(includeInstance, f) }; if (includeInstance) { @@ -31376,9 +31045,9 @@ proto.viam.app.v1.CreateRegistryItemRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.CreateRegistryItemRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -type: jspb.Message.getFieldWithDefault(msg, 3, 0) + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + type: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -31667,11 +31336,11 @@ proto.viam.app.v1.UpdateRegistryItemRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.UpdateRegistryItemRequest.toObject = function(includeInstance, msg) { var f, obj = { -itemId: jspb.Message.getFieldWithDefault(msg, 1, ""), -type: jspb.Message.getFieldWithDefault(msg, 2, 0), -description: jspb.Message.getFieldWithDefault(msg, 3, ""), -visibility: jspb.Message.getFieldWithDefault(msg, 4, 0), -url: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f + itemId: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, 0), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + visibility: jspb.Message.getFieldWithDefault(msg, 4, 0), + url: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -32043,14 +31712,14 @@ proto.viam.app.v1.ListRegistryItemsRequest.prototype.toObject = function(opt_inc */ proto.viam.app.v1.ListRegistryItemsRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, -typesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, -visibilitiesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, -platformsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, -statusesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, -searchTerm: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, -pageToken: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, -publicNamespacesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + typesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + visibilitiesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, + platformsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, + statusesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + searchTerm: jspb.Message.getFieldWithDefault(msg, 6, ""), + pageToken: jspb.Message.getFieldWithDefault(msg, 7, ""), + publicNamespacesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f }; if (includeInstance) { @@ -32545,7 +32214,7 @@ proto.viam.app.v1.ListRegistryItemsResponse.prototype.toObject = function(opt_in */ proto.viam.app.v1.ListRegistryItemsResponse.toObject = function(includeInstance, msg) { var f, obj = { -itemsList: jspb.Message.toObjectList(msg.getItemsList(), + itemsList: jspb.Message.toObjectList(msg.getItemsList(), proto.viam.app.v1.RegistryItem.toObject, includeInstance) }; @@ -32698,7 +32367,7 @@ proto.viam.app.v1.DeleteRegistryItemRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.DeleteRegistryItemRequest.toObject = function(includeInstance, msg) { var f, obj = { -itemId: jspb.Message.getFieldWithDefault(msg, 1, "") + itemId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -32929,8 +32598,8 @@ proto.viam.app.v1.TransferRegistryItemRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.TransferRegistryItemRequest.toObject = function(includeInstance, msg) { var f, obj = { -itemId: jspb.Message.getFieldWithDefault(msg, 1, ""), -newPublicNamespace: jspb.Message.getFieldWithDefault(msg, 2, "") + itemId: jspb.Message.getFieldWithDefault(msg, 1, ""), + newPublicNamespace: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -33190,8 +32859,8 @@ proto.viam.app.v1.CreateModuleRequest.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.CreateModuleRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, "") + organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -33350,8 +33019,8 @@ proto.viam.app.v1.CreateModuleResponse.prototype.toObject = function(opt_include */ proto.viam.app.v1.CreateModuleResponse.toObject = function(includeInstance, msg) { var f, obj = { -moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), -url: jspb.Message.getFieldWithDefault(msg, 2, "") + moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -33517,14 +33186,14 @@ proto.viam.app.v1.UpdateModuleRequest.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.UpdateModuleRequest.toObject = function(includeInstance, msg) { var f, obj = { -moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), -visibility: jspb.Message.getFieldWithDefault(msg, 2, 0), -url: jspb.Message.getFieldWithDefault(msg, 3, ""), -description: jspb.Message.getFieldWithDefault(msg, 4, ""), -modelsList: jspb.Message.toObjectList(msg.getModelsList(), + moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), + visibility: jspb.Message.getFieldWithDefault(msg, 2, 0), + url: jspb.Message.getFieldWithDefault(msg, 3, ""), + description: jspb.Message.getFieldWithDefault(msg, 4, ""), + modelsList: jspb.Message.toObjectList(msg.getModelsList(), proto.viam.app.v1.Model.toObject, includeInstance), -entrypoint: jspb.Message.getFieldWithDefault(msg, 6, ""), -firstRun: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f + entrypoint: jspb.Message.getFieldWithDefault(msg, 6, ""), + firstRun: jspb.Message.getFieldWithDefault(msg, 7, "") }; if (includeInstance) { @@ -33868,7 +33537,7 @@ proto.viam.app.v1.UpdateModuleResponse.prototype.toObject = function(opt_include */ proto.viam.app.v1.UpdateModuleResponse.toObject = function(includeInstance, msg) { var f, obj = { -url: jspb.Message.getFieldWithDefault(msg, 1, "") + url: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -33998,8 +33667,8 @@ proto.viam.app.v1.Model.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.Model.toObject = function(includeInstance, msg) { var f, obj = { -api: jspb.Message.getFieldWithDefault(msg, 1, ""), -model: jspb.Message.getFieldWithDefault(msg, 2, "") + api: jspb.Message.getFieldWithDefault(msg, 1, ""), + model: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -34165,10 +33834,10 @@ proto.viam.app.v1.ModuleFileInfo.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.ModuleFileInfo.toObject = function(includeInstance, msg) { var f, obj = { -moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), -version: jspb.Message.getFieldWithDefault(msg, 2, ""), -platform: jspb.Message.getFieldWithDefault(msg, 3, ""), -platformTagsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f + moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), + version: jspb.Message.getFieldWithDefault(msg, 2, ""), + platform: jspb.Message.getFieldWithDefault(msg, 3, ""), + platformTagsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -34430,8 +34099,8 @@ proto.viam.app.v1.UploadModuleFileRequest.prototype.toObject = function(opt_incl */ proto.viam.app.v1.UploadModuleFileRequest.toObject = function(includeInstance, msg) { var f, obj = { -moduleFileInfo: (f = msg.getModuleFileInfo()) && proto.viam.app.v1.ModuleFileInfo.toObject(includeInstance, f), -file: msg.getFile_asB64() + moduleFileInfo: (f = msg.getModuleFileInfo()) && proto.viam.app.v1.ModuleFileInfo.toObject(includeInstance, f), + file: msg.getFile_asB64() }; if (includeInstance) { @@ -34653,7 +34322,7 @@ proto.viam.app.v1.UploadModuleFileResponse.prototype.toObject = function(opt_inc */ proto.viam.app.v1.UploadModuleFileResponse.toObject = function(includeInstance, msg) { var f, obj = { -url: jspb.Message.getFieldWithDefault(msg, 1, "") + url: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -34783,7 +34452,7 @@ proto.viam.app.v1.GetModuleRequest.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.GetModuleRequest.toObject = function(includeInstance, msg) { var f, obj = { -moduleId: jspb.Message.getFieldWithDefault(msg, 1, "") + moduleId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -34913,7 +34582,7 @@ proto.viam.app.v1.GetModuleResponse.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.GetModuleResponse.toObject = function(includeInstance, msg) { var f, obj = { -module: (f = msg.getModule()) && proto.viam.app.v1.Module.toObject(includeInstance, f) + module: (f = msg.getModule()) && proto.viam.app.v1.Module.toObject(includeInstance, f) }; if (includeInstance) { @@ -35071,21 +34740,21 @@ proto.viam.app.v1.Module.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.Module.toObject = function(includeInstance, msg) { var f, obj = { -moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -visibility: jspb.Message.getFieldWithDefault(msg, 3, 0), -versionsList: jspb.Message.toObjectList(msg.getVersionsList(), + moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + visibility: jspb.Message.getFieldWithDefault(msg, 3, 0), + versionsList: jspb.Message.toObjectList(msg.getVersionsList(), proto.viam.app.v1.VersionHistory.toObject, includeInstance), -url: jspb.Message.getFieldWithDefault(msg, 5, ""), -description: jspb.Message.getFieldWithDefault(msg, 6, ""), -modelsList: jspb.Message.toObjectList(msg.getModelsList(), + url: jspb.Message.getFieldWithDefault(msg, 5, ""), + description: jspb.Message.getFieldWithDefault(msg, 6, ""), + modelsList: jspb.Message.toObjectList(msg.getModelsList(), proto.viam.app.v1.Model.toObject, includeInstance), -totalRobotUsage: jspb.Message.getFieldWithDefault(msg, 8, 0), -totalOrganizationUsage: jspb.Message.getFieldWithDefault(msg, 9, 0), -organizationId: jspb.Message.getFieldWithDefault(msg, 10, ""), -entrypoint: jspb.Message.getFieldWithDefault(msg, 11, ""), -publicNamespace: jspb.Message.getFieldWithDefault(msg, 12, ""), -firstRun: (f = jspb.Message.getField(msg, 13)) == null ? undefined : f + totalRobotUsage: jspb.Message.getFieldWithDefault(msg, 8, 0), + totalOrganizationUsage: jspb.Message.getFieldWithDefault(msg, 9, 0), + organizationId: jspb.Message.getFieldWithDefault(msg, 10, ""), + entrypoint: jspb.Message.getFieldWithDefault(msg, 11, ""), + publicNamespace: jspb.Message.getFieldWithDefault(msg, 12, ""), + firstRun: jspb.Message.getFieldWithDefault(msg, 13, "") }; if (includeInstance) { @@ -35632,13 +35301,13 @@ proto.viam.app.v1.VersionHistory.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.VersionHistory.toObject = function(includeInstance, msg) { var f, obj = { -version: jspb.Message.getFieldWithDefault(msg, 1, ""), -filesList: jspb.Message.toObjectList(msg.getFilesList(), + version: jspb.Message.getFieldWithDefault(msg, 1, ""), + filesList: jspb.Message.toObjectList(msg.getFilesList(), proto.viam.app.v1.Uploads.toObject, includeInstance), -modelsList: jspb.Message.toObjectList(msg.getModelsList(), + modelsList: jspb.Message.toObjectList(msg.getModelsList(), proto.viam.app.v1.Model.toObject, includeInstance), -entrypoint: jspb.Message.getFieldWithDefault(msg, 4, ""), -firstRun: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f + entrypoint: jspb.Message.getFieldWithDefault(msg, 4, ""), + firstRun: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -35946,8 +35615,8 @@ proto.viam.app.v1.Uploads.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.Uploads.toObject = function(includeInstance, msg) { var f, obj = { -platform: jspb.Message.getFieldWithDefault(msg, 1, ""), -uploadedAt: (f = msg.getUploadedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + platform: jspb.Message.getFieldWithDefault(msg, 1, ""), + uploadedAt: (f = msg.getUploadedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -36127,7 +35796,7 @@ proto.viam.app.v1.ListModulesRequest.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.ListModulesRequest.toObject = function(includeInstance, msg) { var f, obj = { -organizationId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f + organizationId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -36282,7 +35951,7 @@ proto.viam.app.v1.ListModulesResponse.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.ListModulesResponse.toObject = function(includeInstance, msg) { var f, obj = { -modulesList: jspb.Message.toObjectList(msg.getModulesList(), + modulesList: jspb.Message.toObjectList(msg.getModulesList(), proto.viam.app.v1.Module.toObject, includeInstance) }; @@ -36435,7 +36104,7 @@ proto.viam.app.v1.GetUserIDByEmailRequest.prototype.toObject = function(opt_incl */ proto.viam.app.v1.GetUserIDByEmailRequest.toObject = function(includeInstance, msg) { var f, obj = { -email: jspb.Message.getFieldWithDefault(msg, 1, "") + email: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -36565,7 +36234,7 @@ proto.viam.app.v1.GetUserIDByEmailResponse.prototype.toObject = function(opt_inc */ proto.viam.app.v1.GetUserIDByEmailResponse.toObject = function(includeInstance, msg) { var f, obj = { -userId: jspb.Message.getFieldWithDefault(msg, 1, "") + userId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -36695,7 +36364,7 @@ proto.viam.app.v1.ListOrganizationsByUserRequest.prototype.toObject = function(o */ proto.viam.app.v1.ListOrganizationsByUserRequest.toObject = function(includeInstance, msg) { var f, obj = { -userId: jspb.Message.getFieldWithDefault(msg, 1, "") + userId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -36825,8 +36494,8 @@ proto.viam.app.v1.OrgDetails.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.OrgDetails.toObject = function(includeInstance, msg) { var f, obj = { -orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), -orgName: jspb.Message.getFieldWithDefault(msg, 2, "") + orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), + orgName: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -36992,7 +36661,7 @@ proto.viam.app.v1.ListOrganizationsByUserResponse.prototype.toObject = function( */ proto.viam.app.v1.ListOrganizationsByUserResponse.toObject = function(includeInstance, msg) { var f, obj = { -orgsList: jspb.Message.toObjectList(msg.getOrgsList(), + orgsList: jspb.Message.toObjectList(msg.getOrgsList(), proto.viam.app.v1.OrgDetails.toObject, includeInstance) }; @@ -37152,9 +36821,9 @@ proto.viam.app.v1.CreateKeyRequest.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.CreateKeyRequest.toObject = function(includeInstance, msg) { var f, obj = { -authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), + authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), proto.viam.app.v1.Authorization.toObject, includeInstance), -name: jspb.Message.getFieldWithDefault(msg, 2, "") + name: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -37335,8 +37004,8 @@ proto.viam.app.v1.CreateKeyResponse.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.CreateKeyResponse.toObject = function(includeInstance, msg) { var f, obj = { -key: jspb.Message.getFieldWithDefault(msg, 1, ""), -id: jspb.Message.getFieldWithDefault(msg, 2, "") + key: jspb.Message.getFieldWithDefault(msg, 1, ""), + id: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -37495,7 +37164,7 @@ proto.viam.app.v1.DeleteKeyRequest.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.DeleteKeyRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -37726,8 +37395,8 @@ proto.viam.app.v1.RenameKeyRequest.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.RenameKeyRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, "") + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -37886,8 +37555,8 @@ proto.viam.app.v1.RenameKeyResponse.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.RenameKeyResponse.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, "") + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -38046,11 +37715,11 @@ proto.viam.app.v1.AuthorizationDetails.prototype.toObject = function(opt_include */ proto.viam.app.v1.AuthorizationDetails.toObject = function(includeInstance, msg) { var f, obj = { -authorizationType: jspb.Message.getFieldWithDefault(msg, 1, ""), -authorizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), -resourceType: jspb.Message.getFieldWithDefault(msg, 3, ""), -resourceId: jspb.Message.getFieldWithDefault(msg, 4, ""), -orgId: jspb.Message.getFieldWithDefault(msg, 5, "") + authorizationType: jspb.Message.getFieldWithDefault(msg, 1, ""), + authorizationId: jspb.Message.getFieldWithDefault(msg, 2, ""), + resourceType: jspb.Message.getFieldWithDefault(msg, 3, ""), + resourceId: jspb.Message.getFieldWithDefault(msg, 4, ""), + orgId: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -38303,8 +37972,8 @@ proto.viam.app.v1.APIKeyWithAuthorizations.prototype.toObject = function(opt_inc */ proto.viam.app.v1.APIKeyWithAuthorizations.toObject = function(includeInstance, msg) { var f, obj = { -apiKey: (f = msg.getApiKey()) && proto.viam.app.v1.APIKey.toObject(includeInstance, f), -authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), + apiKey: (f = msg.getApiKey()) && proto.viam.app.v1.APIKey.toObject(includeInstance, f), + authorizationsList: jspb.Message.toObjectList(msg.getAuthorizationsList(), proto.viam.app.v1.AuthorizationDetails.toObject, includeInstance) }; @@ -38507,7 +38176,7 @@ proto.viam.app.v1.ListKeysRequest.prototype.toObject = function(opt_includeInsta */ proto.viam.app.v1.ListKeysRequest.toObject = function(includeInstance, msg) { var f, obj = { -orgId: jspb.Message.getFieldWithDefault(msg, 1, "") + orgId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -38644,7 +38313,7 @@ proto.viam.app.v1.ListKeysResponse.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.ListKeysResponse.toObject = function(includeInstance, msg) { var f, obj = { -apiKeysList: jspb.Message.toObjectList(msg.getApiKeysList(), + apiKeysList: jspb.Message.toObjectList(msg.getApiKeysList(), proto.viam.app.v1.APIKeyWithAuthorizations.toObject, includeInstance) }; @@ -38797,7 +38466,7 @@ proto.viam.app.v1.RotateKeyRequest.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.RotateKeyRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -38927,8 +38596,8 @@ proto.viam.app.v1.RotateKeyResponse.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.RotateKeyResponse.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -key: jspb.Message.getFieldWithDefault(msg, 2, "") + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + key: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -39087,7 +38756,7 @@ proto.viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest.prototype.toObje */ proto.viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -39217,8 +38886,8 @@ proto.viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse.prototype.toObj */ proto.viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -key: jspb.Message.getFieldWithDefault(msg, 2, "") + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + key: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/app/v1/app_pb_service.d.ts b/gen/js/app/v1/app_pb_service.d.ts index 2dd79a0a..007331ca 100644 --- a/gen/js/app/v1/app_pb_service.d.ts +++ b/gen/js/app/v1/app_pb_service.d.ts @@ -166,15 +166,6 @@ type AppServiceUpdateBillingService = { readonly responseType: typeof app_v1_app_pb.UpdateBillingServiceResponse; }; -type AppServiceGetBillingService = { - readonly methodName: string; - readonly service: typeof AppService; - readonly requestStream: false; - readonly responseStream: false; - readonly requestType: typeof app_v1_app_pb.GetBillingServiceRequest; - readonly responseType: typeof app_v1_app_pb.GetBillingServiceResponse; -}; - type AppServiceOrganizationSetSupportEmail = { readonly methodName: string; readonly service: typeof AppService; @@ -735,7 +726,6 @@ export class AppService { static readonly EnableBillingService: AppServiceEnableBillingService; static readonly DisableBillingService: AppServiceDisableBillingService; static readonly UpdateBillingService: AppServiceUpdateBillingService; - static readonly GetBillingService: AppServiceGetBillingService; static readonly OrganizationSetSupportEmail: AppServiceOrganizationSetSupportEmail; static readonly OrganizationGetSupportEmail: AppServiceOrganizationGetSupportEmail; static readonly CreateLocation: AppServiceCreateLocation; @@ -992,15 +982,6 @@ export class AppServiceClient { requestMessage: app_v1_app_pb.UpdateBillingServiceRequest, callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.UpdateBillingServiceResponse|null) => void ): UnaryResponse; - getBillingService( - requestMessage: app_v1_app_pb.GetBillingServiceRequest, - metadata: grpc.Metadata, - callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetBillingServiceResponse|null) => void - ): UnaryResponse; - getBillingService( - requestMessage: app_v1_app_pb.GetBillingServiceRequest, - callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetBillingServiceResponse|null) => void - ): UnaryResponse; organizationSetSupportEmail( requestMessage: app_v1_app_pb.OrganizationSetSupportEmailRequest, metadata: grpc.Metadata, diff --git a/gen/js/app/v1/app_pb_service.js b/gen/js/app/v1/app_pb_service.js index f85d7c7c..8d21edd1 100644 --- a/gen/js/app/v1/app_pb_service.js +++ b/gen/js/app/v1/app_pb_service.js @@ -172,15 +172,6 @@ AppService.UpdateBillingService = { responseType: app_v1_app_pb.UpdateBillingServiceResponse }; -AppService.GetBillingService = { - methodName: "GetBillingService", - service: AppService, - requestStream: false, - responseStream: false, - requestType: app_v1_app_pb.GetBillingServiceRequest, - responseType: app_v1_app_pb.GetBillingServiceResponse -}; - AppService.OrganizationSetSupportEmail = { methodName: "OrganizationSetSupportEmail", service: AppService, @@ -1286,37 +1277,6 @@ AppServiceClient.prototype.updateBillingService = function updateBillingService( }; }; -AppServiceClient.prototype.getBillingService = function getBillingService(requestMessage, metadata, callback) { - if (arguments.length === 2) { - callback = arguments[1]; - } - var client = grpc.unary(AppService.GetBillingService, { - request: requestMessage, - host: this.serviceHost, - metadata: metadata, - transport: this.options.transport, - debug: this.options.debug, - onEnd: function (response) { - if (callback) { - if (response.status !== grpc.Code.OK) { - var err = new Error(response.statusMessage); - err.code = response.status; - err.metadata = response.trailers; - callback(err, null); - } else { - callback(null, response.message); - } - } - } - }); - return { - cancel: function () { - callback = null; - client.close(); - } - }; -}; - AppServiceClient.prototype.organizationSetSupportEmail = function organizationSetSupportEmail(requestMessage, metadata, callback) { if (arguments.length === 2) { callback = arguments[1]; diff --git a/gen/js/app/v1/billing_pb.js b/gen/js/app/v1/billing_pb.js index e0c7cfeb..18873586 100644 --- a/gen/js/app/v1/billing_pb.js +++ b/gen/js/app/v1/billing_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb); @@ -388,12 +382,12 @@ proto.viam.app.v1.InvoiceSummary.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.InvoiceSummary.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -invoiceDate: (f = msg.getInvoiceDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -invoiceAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -status: jspb.Message.getFieldWithDefault(msg, 4, ""), -dueDate: (f = msg.getDueDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -paidDate: (f = msg.getPaidDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + invoiceDate: (f = msg.getInvoiceDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + invoiceAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + status: jspb.Message.getFieldWithDefault(msg, 4, ""), + dueDate: (f = msg.getDueDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + paidDate: (f = msg.getPaidDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -731,8 +725,8 @@ proto.viam.app.v1.PaymentMethodCard.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.PaymentMethodCard.toObject = function(includeInstance, msg) { var f, obj = { -brand: jspb.Message.getFieldWithDefault(msg, 1, ""), -lastFourDigits: jspb.Message.getFieldWithDefault(msg, 2, "") + brand: jspb.Message.getFieldWithDefault(msg, 1, ""), + lastFourDigits: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -891,7 +885,7 @@ proto.viam.app.v1.GetCurrentMonthUsageRequest.prototype.toObject = function(opt_ */ proto.viam.app.v1.GetCurrentMonthUsageRequest.toObject = function(includeInstance, msg) { var f, obj = { -orgId: jspb.Message.getFieldWithDefault(msg, 1, "") + orgId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1021,8 +1015,8 @@ proto.viam.app.v1.UsageCost.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.UsageCost.toObject = function(includeInstance, msg) { var f, obj = { -resourceType: jspb.Message.getFieldWithDefault(msg, 1, 0), -cost: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) + resourceType: jspb.Message.getFieldWithDefault(msg, 1, 0), + cost: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -1181,9 +1175,9 @@ proto.viam.app.v1.ResourceUsageCostsBySource.prototype.toObject = function(opt_i */ proto.viam.app.v1.ResourceUsageCostsBySource.toObject = function(includeInstance, msg) { var f, obj = { -sourceType: jspb.Message.getFieldWithDefault(msg, 1, 0), -resourceUsageCosts: (f = msg.getResourceUsageCosts()) && proto.viam.app.v1.ResourceUsageCosts.toObject(includeInstance, f), -tierName: jspb.Message.getFieldWithDefault(msg, 3, "") + sourceType: jspb.Message.getFieldWithDefault(msg, 1, 0), + resourceUsageCosts: (f = msg.getResourceUsageCosts()) && proto.viam.app.v1.ResourceUsageCosts.toObject(includeInstance, f), + tierName: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1399,11 +1393,11 @@ proto.viam.app.v1.ResourceUsageCosts.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.ResourceUsageCosts.toObject = function(includeInstance, msg) { var f, obj = { -usageCostsList: jspb.Message.toObjectList(msg.getUsageCostsList(), + usageCostsList: jspb.Message.toObjectList(msg.getUsageCostsList(), proto.viam.app.v1.UsageCost.toObject, includeInstance), -discount: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -totalWithDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -totalWithoutDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) + discount: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + totalWithDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + totalWithoutDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -1649,22 +1643,22 @@ proto.viam.app.v1.GetCurrentMonthUsageResponse.prototype.toObject = function(opt */ proto.viam.app.v1.GetCurrentMonthUsageResponse.toObject = function(includeInstance, msg) { var f, obj = { -startDate: (f = msg.getStartDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -endDate: (f = msg.getEndDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -resourceUsageCostsBySourceList: jspb.Message.toObjectList(msg.getResourceUsageCostsBySourceList(), + startDate: (f = msg.getStartDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + endDate: (f = msg.getEndDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + resourceUsageCostsBySourceList: jspb.Message.toObjectList(msg.getResourceUsageCostsBySourceList(), proto.viam.app.v1.ResourceUsageCostsBySource.toObject, includeInstance), -subtotal: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0), -cloudStorageUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -dataUploadUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), -dataEgresUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), -remoteControlUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0), -standardComputeUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0), -discountAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0), -totalUsageWithDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0), -totalUsageWithoutDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), -perMachineUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), -binaryDataCloudStorageUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0), -otherCloudStorageUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0) + subtotal: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0), + cloudStorageUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + dataUploadUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), + dataEgresUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), + remoteControlUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0), + standardComputeUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0), + discountAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0), + totalUsageWithDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0), + totalUsageWithoutDiscount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0), + perMachineUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0), + binaryDataCloudStorageUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0), + otherCloudStorageUsageCost: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0) }; if (includeInstance) { @@ -2264,7 +2258,7 @@ proto.viam.app.v1.GetOrgBillingInformationRequest.prototype.toObject = function( */ proto.viam.app.v1.GetOrgBillingInformationRequest.toObject = function(includeInstance, msg) { var f, obj = { -orgId: jspb.Message.getFieldWithDefault(msg, 1, "") + orgId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2394,10 +2388,10 @@ proto.viam.app.v1.GetOrgBillingInformationResponse.prototype.toObject = function */ proto.viam.app.v1.GetOrgBillingInformationResponse.toObject = function(includeInstance, msg) { var f, obj = { -type: jspb.Message.getFieldWithDefault(msg, 1, 0), -billingEmail: jspb.Message.getFieldWithDefault(msg, 2, ""), -method: (f = msg.getMethod()) && proto.viam.app.v1.PaymentMethodCard.toObject(includeInstance, f), -billingTier: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + billingEmail: jspb.Message.getFieldWithDefault(msg, 2, ""), + method: (f = msg.getMethod()) && proto.viam.app.v1.PaymentMethodCard.toObject(includeInstance, f), + billingTier: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -2653,7 +2647,7 @@ proto.viam.app.v1.GetInvoicesSummaryRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.GetInvoicesSummaryRequest.toObject = function(includeInstance, msg) { var f, obj = { -orgId: jspb.Message.getFieldWithDefault(msg, 1, "") + orgId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2790,8 +2784,8 @@ proto.viam.app.v1.GetInvoicesSummaryResponse.prototype.toObject = function(opt_i */ proto.viam.app.v1.GetInvoicesSummaryResponse.toObject = function(includeInstance, msg) { var f, obj = { -outstandingBalance: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -invoicesList: jspb.Message.toObjectList(msg.getInvoicesList(), + outstandingBalance: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + invoicesList: jspb.Message.toObjectList(msg.getInvoicesList(), proto.viam.app.v1.InvoiceSummary.toObject, includeInstance) }; @@ -2973,8 +2967,8 @@ proto.viam.app.v1.GetInvoicePdfRequest.prototype.toObject = function(opt_include */ proto.viam.app.v1.GetInvoicePdfRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -orgId: jspb.Message.getFieldWithDefault(msg, 2, "") + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + orgId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -3133,7 +3127,7 @@ proto.viam.app.v1.GetInvoicePdfResponse.prototype.toObject = function(opt_includ */ proto.viam.app.v1.GetInvoicePdfResponse.toObject = function(includeInstance, msg) { var f, obj = { -chunk: msg.getChunk_asB64() + chunk: msg.getChunk_asB64() }; if (includeInstance) { @@ -3287,8 +3281,8 @@ proto.viam.app.v1.SendPaymentRequiredEmailRequest.prototype.toObject = function( */ proto.viam.app.v1.SendPaymentRequiredEmailRequest.toObject = function(includeInstance, msg) { var f, obj = { -customerOrgId: jspb.Message.getFieldWithDefault(msg, 1, ""), -billingOwnerOrgId: jspb.Message.getFieldWithDefault(msg, 2, "") + customerOrgId: jspb.Message.getFieldWithDefault(msg, 1, ""), + billingOwnerOrgId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/app/v1/end_user_pb.js b/gen/js/app/v1/end_user_pb.js index 75c84229..8281b163 100644 --- a/gen/js/app/v1/end_user_pb.js +++ b/gen/js/app/v1/end_user_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.viam.app.v1.AcceptLegalRequest', null, global); goog.exportSymbol('proto.viam.app.v1.AcceptLegalResponse', null, global); @@ -374,7 +368,7 @@ proto.viam.app.v1.IsLegalAcceptedResponse.prototype.toObject = function(opt_incl */ proto.viam.app.v1.IsLegalAcceptedResponse.toObject = function(includeInstance, msg) { var f, obj = { -acceptedLegal: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + acceptedLegal: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -713,11 +707,11 @@ proto.viam.app.v1.RegisterAuthApplicationRequest.prototype.toObject = function(o */ proto.viam.app.v1.RegisterAuthApplicationRequest.toObject = function(includeInstance, msg) { var f, obj = { -applicationName: jspb.Message.getFieldWithDefault(msg, 1, ""), -orgId: jspb.Message.getFieldWithDefault(msg, 2, ""), -originUrisList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, -redirectUrisList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, -logoutUri: jspb.Message.getFieldWithDefault(msg, 5, "") + applicationName: jspb.Message.getFieldWithDefault(msg, 1, ""), + orgId: jspb.Message.getFieldWithDefault(msg, 2, ""), + originUrisList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, + redirectUrisList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, + logoutUri: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -1001,9 +995,9 @@ proto.viam.app.v1.RegisterAuthApplicationResponse.prototype.toObject = function( */ proto.viam.app.v1.RegisterAuthApplicationResponse.toObject = function(includeInstance, msg) { var f, obj = { -applicationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -applicationName: jspb.Message.getFieldWithDefault(msg, 2, ""), -clientSecret: jspb.Message.getFieldWithDefault(msg, 3, "") + applicationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + applicationName: jspb.Message.getFieldWithDefault(msg, 2, ""), + clientSecret: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1198,12 +1192,12 @@ proto.viam.app.v1.UpdateAuthApplicationRequest.prototype.toObject = function(opt */ proto.viam.app.v1.UpdateAuthApplicationRequest.toObject = function(includeInstance, msg) { var f, obj = { -orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), -applicationId: jspb.Message.getFieldWithDefault(msg, 2, ""), -applicationName: jspb.Message.getFieldWithDefault(msg, 3, ""), -originUrisList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, -redirectUrisList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, -logoutUri: jspb.Message.getFieldWithDefault(msg, 6, "") + orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), + applicationId: jspb.Message.getFieldWithDefault(msg, 2, ""), + applicationName: jspb.Message.getFieldWithDefault(msg, 3, ""), + originUrisList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, + redirectUrisList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + logoutUri: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { @@ -1516,8 +1510,8 @@ proto.viam.app.v1.UpdateAuthApplicationResponse.prototype.toObject = function(op */ proto.viam.app.v1.UpdateAuthApplicationResponse.toObject = function(includeInstance, msg) { var f, obj = { -applicationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -applicationName: jspb.Message.getFieldWithDefault(msg, 2, "") + applicationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + applicationName: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1676,8 +1670,8 @@ proto.viam.app.v1.GetAuthApplicationRequest.prototype.toObject = function(opt_in */ proto.viam.app.v1.GetAuthApplicationRequest.toObject = function(includeInstance, msg) { var f, obj = { -orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), -applicationId: jspb.Message.getFieldWithDefault(msg, 2, "") + orgId: jspb.Message.getFieldWithDefault(msg, 1, ""), + applicationId: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1843,12 +1837,12 @@ proto.viam.app.v1.GetAuthApplicationResponse.prototype.toObject = function(opt_i */ proto.viam.app.v1.GetAuthApplicationResponse.toObject = function(includeInstance, msg) { var f, obj = { -applicationId: jspb.Message.getFieldWithDefault(msg, 1, ""), -applicationName: jspb.Message.getFieldWithDefault(msg, 2, ""), -clientSecret: jspb.Message.getFieldWithDefault(msg, 3, ""), -originUrisList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, -redirectUrisList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, -logoutUri: jspb.Message.getFieldWithDefault(msg, 6, "") + applicationId: jspb.Message.getFieldWithDefault(msg, 1, ""), + applicationName: jspb.Message.getFieldWithDefault(msg, 2, ""), + clientSecret: jspb.Message.getFieldWithDefault(msg, 3, ""), + originUrisList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, + redirectUrisList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + logoutUri: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { diff --git a/gen/js/app/v1/robot_pb.js b/gen/js/app/v1/robot_pb.js index c5e92b6a..ec8e7e34 100644 --- a/gen/js/app/v1/robot_pb.js +++ b/gen/js/app/v1/robot_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -950,30 +944,30 @@ proto.viam.app.v1.RobotConfig.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.RobotConfig.toObject = function(includeInstance, msg) { var f, obj = { -cloud: (f = msg.getCloud()) && proto.viam.app.v1.CloudConfig.toObject(includeInstance, f), -remotesList: jspb.Message.toObjectList(msg.getRemotesList(), + cloud: (f = msg.getCloud()) && proto.viam.app.v1.CloudConfig.toObject(includeInstance, f), + remotesList: jspb.Message.toObjectList(msg.getRemotesList(), proto.viam.app.v1.RemoteConfig.toObject, includeInstance), -componentsList: jspb.Message.toObjectList(msg.getComponentsList(), + componentsList: jspb.Message.toObjectList(msg.getComponentsList(), proto.viam.app.v1.ComponentConfig.toObject, includeInstance), -processesList: jspb.Message.toObjectList(msg.getProcessesList(), + processesList: jspb.Message.toObjectList(msg.getProcessesList(), proto.viam.app.v1.ProcessConfig.toObject, includeInstance), -servicesList: jspb.Message.toObjectList(msg.getServicesList(), + servicesList: jspb.Message.toObjectList(msg.getServicesList(), proto.viam.app.v1.ServiceConfig.toObject, includeInstance), -network: (f = msg.getNetwork()) && proto.viam.app.v1.NetworkConfig.toObject(includeInstance, f), -auth: (f = msg.getAuth()) && proto.viam.app.v1.AuthConfig.toObject(includeInstance, f), -debug: (f = jspb.Message.getBooleanField(msg, 8)) == null ? undefined : f, -modulesList: jspb.Message.toObjectList(msg.getModulesList(), + network: (f = msg.getNetwork()) && proto.viam.app.v1.NetworkConfig.toObject(includeInstance, f), + auth: (f = msg.getAuth()) && proto.viam.app.v1.AuthConfig.toObject(includeInstance, f), + debug: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + modulesList: jspb.Message.toObjectList(msg.getModulesList(), proto.viam.app.v1.ModuleConfig.toObject, includeInstance), -disablePartialStart: (f = jspb.Message.getBooleanField(msg, 10)) == null ? undefined : f, -packagesList: jspb.Message.toObjectList(msg.getPackagesList(), + disablePartialStart: jspb.Message.getBooleanFieldWithDefault(msg, 10, false), + packagesList: jspb.Message.toObjectList(msg.getPackagesList(), proto.viam.app.v1.PackageConfig.toObject, includeInstance), -overwriteFragmentStatusList: jspb.Message.toObjectList(msg.getOverwriteFragmentStatusList(), + overwriteFragmentStatusList: jspb.Message.toObjectList(msg.getOverwriteFragmentStatusList(), proto.viam.app.v1.AppValidationStatus.toObject, includeInstance), -enableWebProfile: jspb.Message.getBooleanFieldWithDefault(msg, 13, false), -logList: jspb.Message.toObjectList(msg.getLogList(), + enableWebProfile: jspb.Message.getBooleanFieldWithDefault(msg, 13, false), + logList: jspb.Message.toObjectList(msg.getLogList(), proto.viam.app.v1.LogPatternConfig.toObject, includeInstance), -revision: jspb.Message.getFieldWithDefault(msg, 15, ""), -maintenance: (f = msg.getMaintenance()) && proto.viam.app.v1.MaintenanceConfig.toObject(includeInstance, f) + revision: jspb.Message.getFieldWithDefault(msg, 15, ""), + maintenance: (f = msg.getMaintenance()) && proto.viam.app.v1.MaintenanceConfig.toObject(includeInstance, f) }; if (includeInstance) { @@ -1834,8 +1828,8 @@ proto.viam.app.v1.LogPatternConfig.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.LogPatternConfig.toObject = function(includeInstance, msg) { var f, obj = { -pattern: jspb.Message.getFieldWithDefault(msg, 1, ""), -level: jspb.Message.getFieldWithDefault(msg, 2, "") + pattern: jspb.Message.getFieldWithDefault(msg, 1, ""), + level: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1994,8 +1988,8 @@ proto.viam.app.v1.LocationSecret.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.LocationSecret.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -secret: jspb.Message.getFieldWithDefault(msg, 2, "") + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + secret: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -2154,7 +2148,7 @@ proto.viam.app.v1.AppValidationStatus.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.AppValidationStatus.toObject = function(includeInstance, msg) { var f, obj = { -error: jspb.Message.getFieldWithDefault(msg, 1, "") + error: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2291,19 +2285,19 @@ proto.viam.app.v1.CloudConfig.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.CloudConfig.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -fqdn: jspb.Message.getFieldWithDefault(msg, 2, ""), -localFqdn: jspb.Message.getFieldWithDefault(msg, 3, ""), -managedBy: jspb.Message.getFieldWithDefault(msg, 4, ""), -signalingAddress: jspb.Message.getFieldWithDefault(msg, 5, ""), -signalingInsecure: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), -locationSecret: jspb.Message.getFieldWithDefault(msg, 7, ""), -secret: jspb.Message.getFieldWithDefault(msg, 8, ""), -locationSecretsList: jspb.Message.toObjectList(msg.getLocationSecretsList(), + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + fqdn: jspb.Message.getFieldWithDefault(msg, 2, ""), + localFqdn: jspb.Message.getFieldWithDefault(msg, 3, ""), + managedBy: jspb.Message.getFieldWithDefault(msg, 4, ""), + signalingAddress: jspb.Message.getFieldWithDefault(msg, 5, ""), + signalingInsecure: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + locationSecret: jspb.Message.getFieldWithDefault(msg, 7, ""), + secret: jspb.Message.getFieldWithDefault(msg, 8, ""), + locationSecretsList: jspb.Message.toObjectList(msg.getLocationSecretsList(), proto.viam.app.v1.LocationSecret.toObject, includeInstance), -primaryOrgId: jspb.Message.getFieldWithDefault(msg, 10, ""), -locationId: jspb.Message.getFieldWithDefault(msg, 11, ""), -machineId: jspb.Message.getFieldWithDefault(msg, 12, "") + primaryOrgId: jspb.Message.getFieldWithDefault(msg, 10, ""), + locationId: jspb.Message.getFieldWithDefault(msg, 11, ""), + machineId: jspb.Message.getFieldWithDefault(msg, 12, "") }; if (includeInstance) { @@ -2781,17 +2775,17 @@ proto.viam.app.v1.ComponentConfig.prototype.toObject = function(opt_includeInsta */ proto.viam.app.v1.ComponentConfig.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -namespace: jspb.Message.getFieldWithDefault(msg, 2, ""), -type: jspb.Message.getFieldWithDefault(msg, 3, ""), -model: jspb.Message.getFieldWithDefault(msg, 4, ""), -frame: (f = msg.getFrame()) && proto.viam.app.v1.Frame.toObject(includeInstance, f), -dependsOnList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, -serviceConfigsList: jspb.Message.toObjectList(msg.getServiceConfigsList(), + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + namespace: jspb.Message.getFieldWithDefault(msg, 2, ""), + type: jspb.Message.getFieldWithDefault(msg, 3, ""), + model: jspb.Message.getFieldWithDefault(msg, 4, ""), + frame: (f = msg.getFrame()) && proto.viam.app.v1.Frame.toObject(includeInstance, f), + dependsOnList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, + serviceConfigsList: jspb.Message.toObjectList(msg.getServiceConfigsList(), proto.viam.app.v1.ResourceLevelServiceConfig.toObject, includeInstance), -attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), -api: jspb.Message.getFieldWithDefault(msg, 9, ""), -logConfiguration: (f = msg.getLogConfiguration()) && proto.viam.app.v1.LogConfiguration.toObject(includeInstance, f) + attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + api: jspb.Message.getFieldWithDefault(msg, 9, ""), + logConfiguration: (f = msg.getLogConfiguration()) && proto.viam.app.v1.LogConfiguration.toObject(includeInstance, f) }; if (includeInstance) { @@ -3286,8 +3280,8 @@ proto.viam.app.v1.ResourceLevelServiceConfig.prototype.toObject = function(opt_i */ proto.viam.app.v1.ResourceLevelServiceConfig.toObject = function(includeInstance, msg) { var f, obj = { -type: jspb.Message.getFieldWithDefault(msg, 1, ""), -attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + type: jspb.Message.getFieldWithDefault(msg, 1, ""), + attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3474,16 +3468,16 @@ proto.viam.app.v1.ProcessConfig.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.ProcessConfig.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -argsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, -cwd: jspb.Message.getFieldWithDefault(msg, 4, ""), -oneShot: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), -log: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), -stopSignal: jspb.Message.getFieldWithDefault(msg, 7, 0), -stopTimeout: (f = msg.getStopTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), -envMap: (f = msg.getEnvMap()) ? f.toObject(includeInstance, undefined) : [], -username: jspb.Message.getFieldWithDefault(msg, 10, "") + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + argsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, + cwd: jspb.Message.getFieldWithDefault(msg, 4, ""), + oneShot: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + log: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + stopSignal: jspb.Message.getFieldWithDefault(msg, 7, 0), + stopTimeout: (f = msg.getStopTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), + envMap: (f = msg.getEnvMap()) ? f.toObject(includeInstance, undefined) : [], + username: jspb.Message.getFieldWithDefault(msg, 10, "") }; if (includeInstance) { @@ -3864,8 +3858,7 @@ proto.viam.app.v1.ProcessConfig.prototype.getEnvMap = function(opt_noLazyCreate) */ proto.viam.app.v1.ProcessConfig.prototype.clearEnvMap = function() { this.getEnvMap().clear(); - return this; -}; + return this;}; /** @@ -3925,16 +3918,16 @@ proto.viam.app.v1.ServiceConfig.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.ServiceConfig.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -namespace: jspb.Message.getFieldWithDefault(msg, 2, ""), -type: jspb.Message.getFieldWithDefault(msg, 3, ""), -attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), -dependsOnList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, -model: jspb.Message.getFieldWithDefault(msg, 6, ""), -api: jspb.Message.getFieldWithDefault(msg, 9, ""), -serviceConfigsList: jspb.Message.toObjectList(msg.getServiceConfigsList(), + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + namespace: jspb.Message.getFieldWithDefault(msg, 2, ""), + type: jspb.Message.getFieldWithDefault(msg, 3, ""), + attributes: (f = msg.getAttributes()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + dependsOnList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + model: jspb.Message.getFieldWithDefault(msg, 6, ""), + api: jspb.Message.getFieldWithDefault(msg, 9, ""), + serviceConfigsList: jspb.Message.toObjectList(msg.getServiceConfigsList(), proto.viam.app.v1.ResourceLevelServiceConfig.toObject, includeInstance), -logConfiguration: (f = msg.getLogConfiguration()) && proto.viam.app.v1.LogConfiguration.toObject(includeInstance, f) + logConfiguration: (f = msg.getLogConfiguration()) && proto.viam.app.v1.LogConfiguration.toObject(includeInstance, f) }; if (includeInstance) { @@ -4379,11 +4372,11 @@ proto.viam.app.v1.NetworkConfig.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.NetworkConfig.toObject = function(includeInstance, msg) { var f, obj = { -fqdn: jspb.Message.getFieldWithDefault(msg, 1, ""), -bindAddress: jspb.Message.getFieldWithDefault(msg, 2, ""), -tlsCertFile: jspb.Message.getFieldWithDefault(msg, 3, ""), -tlsKeyFile: jspb.Message.getFieldWithDefault(msg, 4, ""), -sessions: (f = msg.getSessions()) && proto.viam.app.v1.SessionsConfig.toObject(includeInstance, f) + fqdn: jspb.Message.getFieldWithDefault(msg, 1, ""), + bindAddress: jspb.Message.getFieldWithDefault(msg, 2, ""), + tlsCertFile: jspb.Message.getFieldWithDefault(msg, 3, ""), + tlsKeyFile: jspb.Message.getFieldWithDefault(msg, 4, ""), + sessions: (f = msg.getSessions()) && proto.viam.app.v1.SessionsConfig.toObject(includeInstance, f) }; if (includeInstance) { @@ -4650,7 +4643,7 @@ proto.viam.app.v1.SessionsConfig.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.SessionsConfig.toObject = function(includeInstance, msg) { var f, obj = { -heartbeatWindow: (f = msg.getHeartbeatWindow()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) + heartbeatWindow: (f = msg.getHeartbeatWindow()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -4808,10 +4801,10 @@ proto.viam.app.v1.AuthConfig.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.AuthConfig.toObject = function(includeInstance, msg) { var f, obj = { -handlersList: jspb.Message.toObjectList(msg.getHandlersList(), + handlersList: jspb.Message.toObjectList(msg.getHandlersList(), proto.viam.app.v1.AuthHandlerConfig.toObject, includeInstance), -tlsAuthEntitiesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, -externalAuthConfig: (f = msg.getExternalAuthConfig()) && proto.viam.app.v1.ExternalAuthConfig.toObject(includeInstance, f) + tlsAuthEntitiesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + externalAuthConfig: (f = msg.getExternalAuthConfig()) && proto.viam.app.v1.ExternalAuthConfig.toObject(includeInstance, f) }; if (includeInstance) { @@ -5061,7 +5054,7 @@ proto.viam.app.v1.JWKSFile.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.JWKSFile.toObject = function(includeInstance, msg) { var f, obj = { -json: (f = msg.getJson()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + json: (f = msg.getJson()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -5212,7 +5205,7 @@ proto.viam.app.v1.ExternalAuthConfig.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.ExternalAuthConfig.toObject = function(includeInstance, msg) { var f, obj = { -jwks: (f = msg.getJwks()) && proto.viam.app.v1.JWKSFile.toObject(includeInstance, f) + jwks: (f = msg.getJwks()) && proto.viam.app.v1.JWKSFile.toObject(includeInstance, f) }; if (includeInstance) { @@ -5363,8 +5356,8 @@ proto.viam.app.v1.AuthHandlerConfig.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.AuthHandlerConfig.toObject = function(includeInstance, msg) { var f, obj = { -type: jspb.Message.getFieldWithDefault(msg, 1, 0), -config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -5544,10 +5537,10 @@ proto.viam.app.v1.Frame.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.Frame.toObject = function(includeInstance, msg) { var f, obj = { -parent: jspb.Message.getFieldWithDefault(msg, 1, ""), -translation: (f = msg.getTranslation()) && proto.viam.app.v1.Translation.toObject(includeInstance, f), -orientation: (f = msg.getOrientation()) && proto.viam.app.v1.Orientation.toObject(includeInstance, f), -geometry: (f = msg.getGeometry()) && common_v1_common_pb.Geometry.toObject(includeInstance, f) + parent: jspb.Message.getFieldWithDefault(msg, 1, ""), + translation: (f = msg.getTranslation()) && proto.viam.app.v1.Translation.toObject(includeInstance, f), + orientation: (f = msg.getOrientation()) && proto.viam.app.v1.Orientation.toObject(includeInstance, f), + geometry: (f = msg.getGeometry()) && common_v1_common_pb.Geometry.toObject(includeInstance, f) }; if (includeInstance) { @@ -5827,7 +5820,7 @@ proto.viam.app.v1.LogConfiguration.prototype.toObject = function(opt_includeInst */ proto.viam.app.v1.LogConfiguration.toObject = function(includeInstance, msg) { var f, obj = { -level: jspb.Message.getFieldWithDefault(msg, 1, "") + level: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -5957,9 +5950,9 @@ proto.viam.app.v1.Translation.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.Translation.toObject = function(includeInstance, msg) { var f, obj = { -x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) + x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) }; if (includeInstance) { @@ -6177,12 +6170,12 @@ proto.viam.app.v1.Orientation.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.Orientation.toObject = function(includeInstance, msg) { var f, obj = { -noOrientation: (f = msg.getNoOrientation()) && proto.viam.app.v1.Orientation.NoOrientation.toObject(includeInstance, f), -vectorRadians: (f = msg.getVectorRadians()) && proto.viam.app.v1.Orientation.OrientationVectorRadians.toObject(includeInstance, f), -vectorDegrees: (f = msg.getVectorDegrees()) && proto.viam.app.v1.Orientation.OrientationVectorDegrees.toObject(includeInstance, f), -eulerAngles: (f = msg.getEulerAngles()) && proto.viam.app.v1.Orientation.EulerAngles.toObject(includeInstance, f), -axisAngles: (f = msg.getAxisAngles()) && proto.viam.app.v1.Orientation.AxisAngles.toObject(includeInstance, f), -quaternion: (f = msg.getQuaternion()) && proto.viam.app.v1.Orientation.Quaternion.toObject(includeInstance, f) + noOrientation: (f = msg.getNoOrientation()) && proto.viam.app.v1.Orientation.NoOrientation.toObject(includeInstance, f), + vectorRadians: (f = msg.getVectorRadians()) && proto.viam.app.v1.Orientation.OrientationVectorRadians.toObject(includeInstance, f), + vectorDegrees: (f = msg.getVectorDegrees()) && proto.viam.app.v1.Orientation.OrientationVectorDegrees.toObject(includeInstance, f), + eulerAngles: (f = msg.getEulerAngles()) && proto.viam.app.v1.Orientation.EulerAngles.toObject(includeInstance, f), + axisAngles: (f = msg.getAxisAngles()) && proto.viam.app.v1.Orientation.AxisAngles.toObject(includeInstance, f), + quaternion: (f = msg.getQuaternion()) && proto.viam.app.v1.Orientation.Quaternion.toObject(includeInstance, f) }; if (includeInstance) { @@ -6462,10 +6455,10 @@ proto.viam.app.v1.Orientation.OrientationVectorRadians.prototype.toObject = func */ proto.viam.app.v1.Orientation.OrientationVectorRadians.toObject = function(includeInstance, msg) { var f, obj = { -theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) + theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -6682,10 +6675,10 @@ proto.viam.app.v1.Orientation.OrientationVectorDegrees.prototype.toObject = func */ proto.viam.app.v1.Orientation.OrientationVectorDegrees.toObject = function(includeInstance, msg) { var f, obj = { -theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) + theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -6902,9 +6895,9 @@ proto.viam.app.v1.Orientation.EulerAngles.prototype.toObject = function(opt_incl */ proto.viam.app.v1.Orientation.EulerAngles.toObject = function(includeInstance, msg) { var f, obj = { -roll: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -pitch: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -yaw: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) + roll: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + pitch: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + yaw: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) }; if (includeInstance) { @@ -7092,10 +7085,10 @@ proto.viam.app.v1.Orientation.AxisAngles.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.Orientation.AxisAngles.toObject = function(includeInstance, msg) { var f, obj = { -theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) + theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -7312,10 +7305,10 @@ proto.viam.app.v1.Orientation.Quaternion.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.Orientation.Quaternion.toObject = function(includeInstance, msg) { var f, obj = { -w: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) + w: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + x: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + y: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + z: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -7761,17 +7754,17 @@ proto.viam.app.v1.RemoteConfig.prototype.toObject = function(opt_includeInstance */ proto.viam.app.v1.RemoteConfig.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -address: jspb.Message.getFieldWithDefault(msg, 2, ""), -frame: (f = msg.getFrame()) && proto.viam.app.v1.Frame.toObject(includeInstance, f), -auth: (f = msg.getAuth()) && proto.viam.app.v1.RemoteAuth.toObject(includeInstance, f), -managedBy: jspb.Message.getFieldWithDefault(msg, 5, ""), -insecure: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), -connectionCheckInterval: (f = msg.getConnectionCheckInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), -reconnectInterval: (f = msg.getReconnectInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), -serviceConfigsList: jspb.Message.toObjectList(msg.getServiceConfigsList(), + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + address: jspb.Message.getFieldWithDefault(msg, 2, ""), + frame: (f = msg.getFrame()) && proto.viam.app.v1.Frame.toObject(includeInstance, f), + auth: (f = msg.getAuth()) && proto.viam.app.v1.RemoteAuth.toObject(includeInstance, f), + managedBy: jspb.Message.getFieldWithDefault(msg, 5, ""), + insecure: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + connectionCheckInterval: (f = msg.getConnectionCheckInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), + reconnectInterval: (f = msg.getReconnectInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), + serviceConfigsList: jspb.Message.toObjectList(msg.getServiceConfigsList(), proto.viam.app.v1.ResourceLevelServiceConfig.toObject, includeInstance), -secret: jspb.Message.getFieldWithDefault(msg, 10, "") + secret: jspb.Message.getFieldWithDefault(msg, 10, "") }; if (includeInstance) { @@ -8268,8 +8261,8 @@ proto.viam.app.v1.RemoteAuth.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.RemoteAuth.toObject = function(includeInstance, msg) { var f, obj = { -credentials: (f = msg.getCredentials()) && proto.viam.app.v1.RemoteAuth.Credentials.toObject(includeInstance, f), -entity: jspb.Message.getFieldWithDefault(msg, 2, "") + credentials: (f = msg.getCredentials()) && proto.viam.app.v1.RemoteAuth.Credentials.toObject(includeInstance, f), + entity: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -8394,8 +8387,8 @@ proto.viam.app.v1.RemoteAuth.Credentials.prototype.toObject = function(opt_inclu */ proto.viam.app.v1.RemoteAuth.Credentials.toObject = function(includeInstance, msg) { var f, obj = { -type: jspb.Message.getFieldWithDefault(msg, 1, 0), -payload: jspb.Message.getFieldWithDefault(msg, 2, "") + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + payload: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -8616,13 +8609,13 @@ proto.viam.app.v1.AgentInfo.prototype.toObject = function(opt_includeInstance) { */ proto.viam.app.v1.AgentInfo.toObject = function(includeInstance, msg) { var f, obj = { -host: jspb.Message.getFieldWithDefault(msg, 1, ""), -os: jspb.Message.getFieldWithDefault(msg, 2, ""), -ipsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, -version: jspb.Message.getFieldWithDefault(msg, 4, ""), -gitRevision: jspb.Message.getFieldWithDefault(msg, 5, ""), -platform: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, -platformTagsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f + host: jspb.Message.getFieldWithDefault(msg, 1, ""), + os: jspb.Message.getFieldWithDefault(msg, 2, ""), + ipsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, + version: jspb.Message.getFieldWithDefault(msg, 4, ""), + gitRevision: jspb.Message.getFieldWithDefault(msg, 5, ""), + platform: jspb.Message.getFieldWithDefault(msg, 6, ""), + platformTagsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f }; if (includeInstance) { @@ -8982,8 +8975,8 @@ proto.viam.app.v1.ConfigRequest.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.ConfigRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -agentInfo: (f = msg.getAgentInfo()) && proto.viam.app.v1.AgentInfo.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + agentInfo: (f = msg.getAgentInfo()) && proto.viam.app.v1.AgentInfo.toObject(includeInstance, f) }; if (includeInstance) { @@ -9163,7 +9156,7 @@ proto.viam.app.v1.ConfigResponse.prototype.toObject = function(opt_includeInstan */ proto.viam.app.v1.ConfigResponse.toObject = function(includeInstance, msg) { var f, obj = { -config: (f = msg.getConfig()) && proto.viam.app.v1.RobotConfig.toObject(includeInstance, f) + config: (f = msg.getConfig()) && proto.viam.app.v1.RobotConfig.toObject(includeInstance, f) }; if (includeInstance) { @@ -9314,7 +9307,7 @@ proto.viam.app.v1.CertificateRequest.prototype.toObject = function(opt_includeIn */ proto.viam.app.v1.CertificateRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -9444,9 +9437,9 @@ proto.viam.app.v1.CertificateResponse.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.CertificateResponse.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -tlsCertificate: jspb.Message.getFieldWithDefault(msg, 2, ""), -tlsPrivateKey: jspb.Message.getFieldWithDefault(msg, 3, "") + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + tlsCertificate: jspb.Message.getFieldWithDefault(msg, 2, ""), + tlsPrivateKey: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -9641,8 +9634,8 @@ proto.viam.app.v1.LogRequest.prototype.toObject = function(opt_includeInstance) */ proto.viam.app.v1.LogRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -logsList: jspb.Message.toObjectList(msg.getLogsList(), + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + logsList: jspb.Message.toObjectList(msg.getLogsList(), common_v1_common_pb.LogEntry.toObject, includeInstance) }; @@ -9925,7 +9918,7 @@ proto.viam.app.v1.NeedsRestartRequest.prototype.toObject = function(opt_includeI */ proto.viam.app.v1.NeedsRestartRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -10055,9 +10048,9 @@ proto.viam.app.v1.NeedsRestartResponse.prototype.toObject = function(opt_include */ proto.viam.app.v1.NeedsRestartResponse.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -mustRestart: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), -restartCheckInterval: (f = msg.getRestartCheckInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + mustRestart: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + restartCheckInterval: (f = msg.getRestartCheckInterval()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -10266,14 +10259,14 @@ proto.viam.app.v1.ModuleConfig.prototype.toObject = function(opt_includeInstance */ proto.viam.app.v1.ModuleConfig.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -path: jspb.Message.getFieldWithDefault(msg, 2, ""), -logLevel: jspb.Message.getFieldWithDefault(msg, 3, ""), -type: jspb.Message.getFieldWithDefault(msg, 4, ""), -moduleId: jspb.Message.getFieldWithDefault(msg, 5, ""), -envMap: (f = msg.getEnvMap()) ? f.toObject(includeInstance, undefined) : [], -status: (f = msg.getStatus()) && proto.viam.app.v1.AppValidationStatus.toObject(includeInstance, f), -firstRunTimeout: (f = msg.getFirstRunTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + path: jspb.Message.getFieldWithDefault(msg, 2, ""), + logLevel: jspb.Message.getFieldWithDefault(msg, 3, ""), + type: jspb.Message.getFieldWithDefault(msg, 4, ""), + moduleId: jspb.Message.getFieldWithDefault(msg, 5, ""), + envMap: (f = msg.getEnvMap()) ? f.toObject(includeInstance, undefined) : [], + status: (f = msg.getStatus()) && proto.viam.app.v1.AppValidationStatus.toObject(includeInstance, f), + firstRunTimeout: (f = msg.getFirstRunTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -10542,8 +10535,7 @@ proto.viam.app.v1.ModuleConfig.prototype.getEnvMap = function(opt_noLazyCreate) */ proto.viam.app.v1.ModuleConfig.prototype.clearEnvMap = function() { this.getEnvMap().clear(); - return this; -}; + return this;}; /** @@ -10652,11 +10644,11 @@ proto.viam.app.v1.PackageConfig.prototype.toObject = function(opt_includeInstanc */ proto.viam.app.v1.PackageConfig.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -pb_package: jspb.Message.getFieldWithDefault(msg, 2, ""), -version: jspb.Message.getFieldWithDefault(msg, 3, ""), -type: jspb.Message.getFieldWithDefault(msg, 4, ""), -status: (f = msg.getStatus()) && proto.viam.app.v1.AppValidationStatus.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + pb_package: jspb.Message.getFieldWithDefault(msg, 2, ""), + version: jspb.Message.getFieldWithDefault(msg, 3, ""), + type: jspb.Message.getFieldWithDefault(msg, 4, ""), + status: (f = msg.getStatus()) && proto.viam.app.v1.AppValidationStatus.toObject(includeInstance, f) }; if (includeInstance) { @@ -10923,8 +10915,8 @@ proto.viam.app.v1.MaintenanceConfig.prototype.toObject = function(opt_includeIns */ proto.viam.app.v1.MaintenanceConfig.toObject = function(includeInstance, msg) { var f, obj = { -sensorName: (f = msg.getSensorName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -maintenanceAllowedKey: jspb.Message.getFieldWithDefault(msg, 2, "") + sensorName: (f = msg.getSensorName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + maintenanceAllowedKey: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/common/v1/common_pb.js b/gen/js/common/v1/common_pb.js index a615ef11..105a8eb0 100644 --- a/gen/js/common/v1/common_pb.js +++ b/gen/js/common/v1/common_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); goog.object.extend(proto, google_protobuf_descriptor_pb); @@ -641,12 +635,12 @@ proto.viam.common.v1.ResourceName.prototype.toObject = function(opt_includeInsta */ proto.viam.common.v1.ResourceName.toObject = function(includeInstance, msg) { var f, obj = { -namespace: jspb.Message.getFieldWithDefault(msg, 1, ""), -type: jspb.Message.getFieldWithDefault(msg, 2, ""), -subtype: jspb.Message.getFieldWithDefault(msg, 3, ""), -name: jspb.Message.getFieldWithDefault(msg, 4, ""), -remotePathList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, -localName: jspb.Message.getFieldWithDefault(msg, 6, "") + namespace: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + subtype: jspb.Message.getFieldWithDefault(msg, 3, ""), + name: jspb.Message.getFieldWithDefault(msg, 4, ""), + remotePathList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + localName: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { @@ -940,13 +934,13 @@ proto.viam.common.v1.Pose.prototype.toObject = function(opt_includeInstance) { */ proto.viam.common.v1.Pose.toObject = function(includeInstance, msg) { var f, obj = { -x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -oX: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), -oY: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), -oZ: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0), -theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0) + x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + oX: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), + oY: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), + oZ: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0), + theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0) }; if (includeInstance) { @@ -1250,10 +1244,10 @@ proto.viam.common.v1.Orientation.prototype.toObject = function(opt_includeInstan */ proto.viam.common.v1.Orientation.toObject = function(includeInstance, msg) { var f, obj = { -oX: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -oY: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -oZ: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) + oX: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + oY: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + oZ: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + theta: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -1470,8 +1464,8 @@ proto.viam.common.v1.PoseInFrame.prototype.toObject = function(opt_includeInstan */ proto.viam.common.v1.PoseInFrame.toObject = function(includeInstance, msg) { var f, obj = { -referenceFrame: jspb.Message.getFieldWithDefault(msg, 1, ""), -pose: (f = msg.getPose()) && proto.viam.common.v1.Pose.toObject(includeInstance, f) + referenceFrame: jspb.Message.getFieldWithDefault(msg, 1, ""), + pose: (f = msg.getPose()) && proto.viam.common.v1.Pose.toObject(includeInstance, f) }; if (includeInstance) { @@ -1651,9 +1645,9 @@ proto.viam.common.v1.Vector3.prototype.toObject = function(opt_includeInstance) */ proto.viam.common.v1.Vector3.toObject = function(includeInstance, msg) { var f, obj = { -x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) + x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) }; if (includeInstance) { @@ -1841,7 +1835,7 @@ proto.viam.common.v1.Sphere.prototype.toObject = function(opt_includeInstance) { */ proto.viam.common.v1.Sphere.toObject = function(includeInstance, msg) { var f, obj = { -radiusMm: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) + radiusMm: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) }; if (includeInstance) { @@ -1971,8 +1965,8 @@ proto.viam.common.v1.Capsule.prototype.toObject = function(opt_includeInstance) */ proto.viam.common.v1.Capsule.toObject = function(includeInstance, msg) { var f, obj = { -radiusMm: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -lengthMm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) + radiusMm: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + lengthMm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -2131,7 +2125,7 @@ proto.viam.common.v1.RectangularPrism.prototype.toObject = function(opt_includeI */ proto.viam.common.v1.RectangularPrism.toObject = function(includeInstance, msg) { var f, obj = { -dimsMm: (f = msg.getDimsMm()) && proto.viam.common.v1.Vector3.toObject(includeInstance, f) + dimsMm: (f = msg.getDimsMm()) && proto.viam.common.v1.Vector3.toObject(includeInstance, f) }; if (includeInstance) { @@ -2309,11 +2303,11 @@ proto.viam.common.v1.Geometry.prototype.toObject = function(opt_includeInstance) */ proto.viam.common.v1.Geometry.toObject = function(includeInstance, msg) { var f, obj = { -center: (f = msg.getCenter()) && proto.viam.common.v1.Pose.toObject(includeInstance, f), -sphere: (f = msg.getSphere()) && proto.viam.common.v1.Sphere.toObject(includeInstance, f), -box: (f = msg.getBox()) && proto.viam.common.v1.RectangularPrism.toObject(includeInstance, f), -capsule: (f = msg.getCapsule()) && proto.viam.common.v1.Capsule.toObject(includeInstance, f), -label: jspb.Message.getFieldWithDefault(msg, 4, "") + center: (f = msg.getCenter()) && proto.viam.common.v1.Pose.toObject(includeInstance, f), + sphere: (f = msg.getSphere()) && proto.viam.common.v1.Sphere.toObject(includeInstance, f), + box: (f = msg.getBox()) && proto.viam.common.v1.RectangularPrism.toObject(includeInstance, f), + capsule: (f = msg.getCapsule()) && proto.viam.common.v1.Capsule.toObject(includeInstance, f), + label: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -2650,8 +2644,8 @@ proto.viam.common.v1.GeometriesInFrame.prototype.toObject = function(opt_include */ proto.viam.common.v1.GeometriesInFrame.toObject = function(includeInstance, msg) { var f, obj = { -referenceFrame: jspb.Message.getFieldWithDefault(msg, 1, ""), -geometriesList: jspb.Message.toObjectList(msg.getGeometriesList(), + referenceFrame: jspb.Message.getFieldWithDefault(msg, 1, ""), + geometriesList: jspb.Message.toObjectList(msg.getGeometriesList(), proto.viam.common.v1.Geometry.toObject, includeInstance) }; @@ -2833,8 +2827,8 @@ proto.viam.common.v1.PointCloudObject.prototype.toObject = function(opt_includeI */ proto.viam.common.v1.PointCloudObject.toObject = function(includeInstance, msg) { var f, obj = { -pointCloud: msg.getPointCloud_asB64(), -geometries: (f = msg.getGeometries()) && proto.viam.common.v1.GeometriesInFrame.toObject(includeInstance, f) + pointCloud: msg.getPointCloud_asB64(), + geometries: (f = msg.getGeometries()) && proto.viam.common.v1.GeometriesInFrame.toObject(includeInstance, f) }; if (includeInstance) { @@ -3038,8 +3032,8 @@ proto.viam.common.v1.GeoPoint.prototype.toObject = function(opt_includeInstance) */ proto.viam.common.v1.GeoPoint.toObject = function(includeInstance, msg) { var f, obj = { -latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) + latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -3205,8 +3199,8 @@ proto.viam.common.v1.GeoGeometry.prototype.toObject = function(opt_includeInstan */ proto.viam.common.v1.GeoGeometry.toObject = function(includeInstance, msg) { var f, obj = { -location: (f = msg.getLocation()) && proto.viam.common.v1.GeoPoint.toObject(includeInstance, f), -geometriesList: jspb.Message.toObjectList(msg.getGeometriesList(), + location: (f = msg.getLocation()) && proto.viam.common.v1.GeoPoint.toObject(includeInstance, f), + geometriesList: jspb.Message.toObjectList(msg.getGeometriesList(), proto.viam.common.v1.Geometry.toObject, includeInstance) }; @@ -3409,9 +3403,9 @@ proto.viam.common.v1.Transform.prototype.toObject = function(opt_includeInstance */ proto.viam.common.v1.Transform.toObject = function(includeInstance, msg) { var f, obj = { -referenceFrame: jspb.Message.getFieldWithDefault(msg, 1, ""), -poseInObserverFrame: (f = msg.getPoseInObserverFrame()) && proto.viam.common.v1.PoseInFrame.toObject(includeInstance, f), -physicalObject: (f = msg.getPhysicalObject()) && proto.viam.common.v1.Geometry.toObject(includeInstance, f) + referenceFrame: jspb.Message.getFieldWithDefault(msg, 1, ""), + poseInObserverFrame: (f = msg.getPoseInObserverFrame()) && proto.viam.common.v1.PoseInFrame.toObject(includeInstance, f), + physicalObject: (f = msg.getPhysicalObject()) && proto.viam.common.v1.Geometry.toObject(includeInstance, f) }; if (includeInstance) { @@ -3648,9 +3642,9 @@ proto.viam.common.v1.WorldState.prototype.toObject = function(opt_includeInstanc */ proto.viam.common.v1.WorldState.toObject = function(includeInstance, msg) { var f, obj = { -obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), + obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), proto.viam.common.v1.GeometriesInFrame.toObject, includeInstance), -transformsList: jspb.Message.toObjectList(msg.getTransformsList(), + transformsList: jspb.Message.toObjectList(msg.getTransformsList(), proto.viam.common.v1.Transform.toObject, includeInstance) }; @@ -3854,7 +3848,7 @@ proto.viam.common.v1.ActuatorStatus.prototype.toObject = function(opt_includeIns */ proto.viam.common.v1.ActuatorStatus.toObject = function(includeInstance, msg) { var f, obj = { -isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -3984,7 +3978,7 @@ proto.viam.common.v1.ResponseMetadata.prototype.toObject = function(opt_includeI */ proto.viam.common.v1.ResponseMetadata.toObject = function(includeInstance, msg) { var f, obj = { -capturedAt: (f = msg.getCapturedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + capturedAt: (f = msg.getCapturedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -4135,8 +4129,8 @@ proto.viam.common.v1.DoCommandRequest.prototype.toObject = function(opt_includeI */ proto.viam.common.v1.DoCommandRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -command: (f = msg.getCommand()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + command: (f = msg.getCommand()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -4316,7 +4310,7 @@ proto.viam.common.v1.DoCommandResponse.prototype.toObject = function(opt_include */ proto.viam.common.v1.DoCommandResponse.toObject = function(includeInstance, msg) { var f, obj = { -result: (f = msg.getResult()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + result: (f = msg.getResult()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -4467,8 +4461,8 @@ proto.viam.common.v1.GetKinematicsRequest.prototype.toObject = function(opt_incl */ proto.viam.common.v1.GetKinematicsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -4648,8 +4642,8 @@ proto.viam.common.v1.GetKinematicsResponse.prototype.toObject = function(opt_inc */ proto.viam.common.v1.GetKinematicsResponse.toObject = function(includeInstance, msg) { var f, obj = { -format: jspb.Message.getFieldWithDefault(msg, 1, 0), -kinematicsData: msg.getKinematicsData_asB64() + format: jspb.Message.getFieldWithDefault(msg, 1, 0), + kinematicsData: msg.getKinematicsData_asB64() }; if (includeInstance) { @@ -4832,8 +4826,8 @@ proto.viam.common.v1.GetGeometriesRequest.prototype.toObject = function(opt_incl */ proto.viam.common.v1.GetGeometriesRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -5020,7 +5014,7 @@ proto.viam.common.v1.GetGeometriesResponse.prototype.toObject = function(opt_inc */ proto.viam.common.v1.GetGeometriesResponse.toObject = function(includeInstance, msg) { var f, obj = { -geometriesList: jspb.Message.toObjectList(msg.getGeometriesList(), + geometriesList: jspb.Message.toObjectList(msg.getGeometriesList(), proto.viam.common.v1.Geometry.toObject, includeInstance) }; @@ -5173,8 +5167,8 @@ proto.viam.common.v1.GetReadingsRequest.prototype.toObject = function(opt_includ */ proto.viam.common.v1.GetReadingsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -5354,7 +5348,7 @@ proto.viam.common.v1.GetReadingsResponse.prototype.toObject = function(opt_inclu */ proto.viam.common.v1.GetReadingsResponse.toObject = function(includeInstance, msg) { var f, obj = { -readingsMap: (f = msg.getReadingsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + readingsMap: (f = msg.getReadingsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] }; if (includeInstance) { @@ -5452,8 +5446,7 @@ proto.viam.common.v1.GetReadingsResponse.prototype.getReadingsMap = function(opt */ proto.viam.common.v1.GetReadingsResponse.prototype.clearReadingsMap = function() { this.getReadingsMap().clear(); - return this; -}; + return this;}; @@ -5495,14 +5488,14 @@ proto.viam.common.v1.LogEntry.prototype.toObject = function(opt_includeInstance) */ proto.viam.common.v1.LogEntry.toObject = function(includeInstance, msg) { var f, obj = { -host: jspb.Message.getFieldWithDefault(msg, 1, ""), -level: jspb.Message.getFieldWithDefault(msg, 2, ""), -time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -loggerName: jspb.Message.getFieldWithDefault(msg, 4, ""), -message: jspb.Message.getFieldWithDefault(msg, 5, ""), -caller: (f = msg.getCaller()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), -stack: jspb.Message.getFieldWithDefault(msg, 7, ""), -fieldsList: jspb.Message.toObjectList(msg.getFieldsList(), + host: jspb.Message.getFieldWithDefault(msg, 1, ""), + level: jspb.Message.getFieldWithDefault(msg, 2, ""), + time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + loggerName: jspb.Message.getFieldWithDefault(msg, 4, ""), + message: jspb.Message.getFieldWithDefault(msg, 5, ""), + caller: (f = msg.getCaller()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + stack: jspb.Message.getFieldWithDefault(msg, 7, ""), + fieldsList: jspb.Message.toObjectList(msg.getFieldsList(), google_protobuf_struct_pb.Struct.toObject, includeInstance) }; diff --git a/gen/js/component/arm/v1/arm_pb.js b/gen/js/component/arm/v1/arm_pb.js index f952b900..f77f25db 100644 --- a/gen/js/component/arm/v1/arm_pb.js +++ b/gen/js/component/arm/v1/arm_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -433,8 +427,8 @@ proto.viam.component.arm.v1.GetEndPositionRequest.prototype.toObject = function( */ proto.viam.component.arm.v1.GetEndPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -614,7 +608,7 @@ proto.viam.component.arm.v1.GetEndPositionResponse.prototype.toObject = function */ proto.viam.component.arm.v1.GetEndPositionResponse.toObject = function(includeInstance, msg) { var f, obj = { -pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) + pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) }; if (includeInstance) { @@ -772,7 +766,7 @@ proto.viam.component.arm.v1.JointPositions.prototype.toObject = function(opt_inc */ proto.viam.component.arm.v1.JointPositions.toObject = function(includeInstance, msg) { var f, obj = { -valuesList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f + valuesList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -923,8 +917,8 @@ proto.viam.component.arm.v1.GetJointPositionsRequest.prototype.toObject = functi */ proto.viam.component.arm.v1.GetJointPositionsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1104,7 +1098,7 @@ proto.viam.component.arm.v1.GetJointPositionsResponse.prototype.toObject = funct */ proto.viam.component.arm.v1.GetJointPositionsResponse.toObject = function(includeInstance, msg) { var f, obj = { -positions: (f = msg.getPositions()) && proto.viam.component.arm.v1.JointPositions.toObject(includeInstance, f) + positions: (f = msg.getPositions()) && proto.viam.component.arm.v1.JointPositions.toObject(includeInstance, f) }; if (includeInstance) { @@ -1255,9 +1249,9 @@ proto.viam.component.arm.v1.MoveToPositionRequest.prototype.toObject = function( */ proto.viam.component.arm.v1.MoveToPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -to: (f = msg.getTo()) && common_v1_common_pb.Pose.toObject(includeInstance, f), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + to: (f = msg.getTo()) && common_v1_common_pb.Pose.toObject(includeInstance, f), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1588,9 +1582,9 @@ proto.viam.component.arm.v1.MoveToJointPositionsRequest.prototype.toObject = fun */ proto.viam.component.arm.v1.MoveToJointPositionsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -positions: (f = msg.getPositions()) && proto.viam.component.arm.v1.JointPositions.toObject(includeInstance, f), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + positions: (f = msg.getPositions()) && proto.viam.component.arm.v1.JointPositions.toObject(includeInstance, f), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1928,11 +1922,11 @@ proto.viam.component.arm.v1.MoveThroughJointPositionsRequest.prototype.toObject */ proto.viam.component.arm.v1.MoveThroughJointPositionsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -positionsList: jspb.Message.toObjectList(msg.getPositionsList(), + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + positionsList: jspb.Message.toObjectList(msg.getPositionsList(), proto.viam.component.arm.v1.JointPositions.toObject, includeInstance), -options: (f = msg.getOptions()) && proto.viam.component.arm.v1.MoveOptions.toObject(includeInstance, f), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + options: (f = msg.getOptions()) && proto.viam.component.arm.v1.MoveOptions.toObject(includeInstance, f), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2314,8 +2308,8 @@ proto.viam.component.arm.v1.StopRequest.prototype.toObject = function(opt_includ */ proto.viam.component.arm.v1.StopRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2596,9 +2590,9 @@ proto.viam.component.arm.v1.Status.prototype.toObject = function(opt_includeInst */ proto.viam.component.arm.v1.Status.toObject = function(includeInstance, msg) { var f, obj = { -endPosition: (f = msg.getEndPosition()) && common_v1_common_pb.Pose.toObject(includeInstance, f), -jointPositions: (f = msg.getJointPositions()) && proto.viam.component.arm.v1.JointPositions.toObject(includeInstance, f), -isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + endPosition: (f = msg.getEndPosition()) && common_v1_common_pb.Pose.toObject(includeInstance, f), + jointPositions: (f = msg.getJointPositions()) && proto.viam.component.arm.v1.JointPositions.toObject(includeInstance, f), + isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -2828,7 +2822,7 @@ proto.viam.component.arm.v1.IsMovingRequest.prototype.toObject = function(opt_in */ proto.viam.component.arm.v1.IsMovingRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2958,7 +2952,7 @@ proto.viam.component.arm.v1.IsMovingResponse.prototype.toObject = function(opt_i */ proto.viam.component.arm.v1.IsMovingResponse.toObject = function(includeInstance, msg) { var f, obj = { -isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -3088,8 +3082,8 @@ proto.viam.component.arm.v1.MoveOptions.prototype.toObject = function(opt_includ */ proto.viam.component.arm.v1.MoveOptions.toObject = function(includeInstance, msg) { var f, obj = { -maxVelDegsPerSec: (f = jspb.Message.getOptionalFloatingPointField(msg, 1)) == null ? undefined : f, -maxAccDegsPerSec2: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f + maxVelDegsPerSec: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + maxAccDegsPerSec2: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { diff --git a/gen/js/component/audioinput/v1/audioinput_pb.js b/gen/js/component/audioinput/v1/audioinput_pb.js index 0a5f5870..09368651 100644 --- a/gen/js/component/audioinput/v1/audioinput_pb.js +++ b/gen/js/component/audioinput/v1/audioinput_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -217,8 +211,8 @@ proto.viam.component.audioinput.v1.RecordRequest.prototype.toObject = function(o */ proto.viam.component.audioinput.v1.RecordRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -duration: (f = msg.getDuration()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + duration: (f = msg.getDuration()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -398,9 +392,9 @@ proto.viam.component.audioinput.v1.AudioChunkInfo.prototype.toObject = function( */ proto.viam.component.audioinput.v1.AudioChunkInfo.toObject = function(includeInstance, msg) { var f, obj = { -sampleFormat: jspb.Message.getFieldWithDefault(msg, 1, 0), -channels: jspb.Message.getFieldWithDefault(msg, 2, 0), -samplingRate: jspb.Message.getFieldWithDefault(msg, 3, 0) + sampleFormat: jspb.Message.getFieldWithDefault(msg, 1, 0), + channels: jspb.Message.getFieldWithDefault(msg, 2, 0), + samplingRate: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -588,8 +582,8 @@ proto.viam.component.audioinput.v1.AudioChunk.prototype.toObject = function(opt_ */ proto.viam.component.audioinput.v1.AudioChunk.toObject = function(includeInstance, msg) { var f, obj = { -data: msg.getData_asB64(), -length: jspb.Message.getFieldWithDefault(msg, 2, 0) + data: msg.getData_asB64(), + length: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -772,8 +766,8 @@ proto.viam.component.audioinput.v1.ChunksRequest.prototype.toObject = function(o */ proto.viam.component.audioinput.v1.ChunksRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -sampleFormat: jspb.Message.getFieldWithDefault(msg, 2, 0) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + sampleFormat: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -958,8 +952,8 @@ proto.viam.component.audioinput.v1.ChunksResponse.prototype.toObject = function( */ proto.viam.component.audioinput.v1.ChunksResponse.toObject = function(includeInstance, msg) { var f, obj = { -info: (f = msg.getInfo()) && proto.viam.component.audioinput.v1.AudioChunkInfo.toObject(includeInstance, f), -chunk: (f = msg.getChunk()) && proto.viam.component.audioinput.v1.AudioChunk.toObject(includeInstance, f) + info: (f = msg.getInfo()) && proto.viam.component.audioinput.v1.AudioChunkInfo.toObject(includeInstance, f), + chunk: (f = msg.getChunk()) && proto.viam.component.audioinput.v1.AudioChunk.toObject(includeInstance, f) }; if (includeInstance) { @@ -1160,7 +1154,7 @@ proto.viam.component.audioinput.v1.PropertiesRequest.prototype.toObject = functi */ proto.viam.component.audioinput.v1.PropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1290,13 +1284,13 @@ proto.viam.component.audioinput.v1.PropertiesResponse.prototype.toObject = funct */ proto.viam.component.audioinput.v1.PropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { -channelCount: jspb.Message.getFieldWithDefault(msg, 1, 0), -latency: (f = msg.getLatency()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), -sampleRate: jspb.Message.getFieldWithDefault(msg, 3, 0), -sampleSize: jspb.Message.getFieldWithDefault(msg, 4, 0), -isBigEndian: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), -isFloat: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), -isInterleaved: jspb.Message.getBooleanFieldWithDefault(msg, 7, false) + channelCount: jspb.Message.getFieldWithDefault(msg, 1, 0), + latency: (f = msg.getLatency()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), + sampleRate: jspb.Message.getFieldWithDefault(msg, 3, 0), + sampleSize: jspb.Message.getFieldWithDefault(msg, 4, 0), + isBigEndian: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + isFloat: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + isInterleaved: jspb.Message.getBooleanFieldWithDefault(msg, 7, false) }; if (includeInstance) { diff --git a/gen/js/component/base/v1/base_pb.js b/gen/js/component/base/v1/base_pb.js index 73900094..e46ecff5 100644 --- a/gen/js/component/base/v1/base_pb.js +++ b/gen/js/component/base/v1/base_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -367,10 +361,10 @@ proto.viam.component.base.v1.MoveStraightRequest.prototype.toObject = function(o */ proto.viam.component.base.v1.MoveStraightRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -distanceMm: jspb.Message.getFieldWithDefault(msg, 2, 0), -mmPerSec: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + distanceMm: jspb.Message.getFieldWithDefault(msg, 2, 0), + mmPerSec: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -709,10 +703,10 @@ proto.viam.component.base.v1.SpinRequest.prototype.toObject = function(opt_inclu */ proto.viam.component.base.v1.SpinRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -angleDeg: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -degsPerSec: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + angleDeg: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + degsPerSec: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1051,8 +1045,8 @@ proto.viam.component.base.v1.StopRequest.prototype.toObject = function(opt_inclu */ proto.viam.component.base.v1.StopRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1333,10 +1327,10 @@ proto.viam.component.base.v1.SetPowerRequest.prototype.toObject = function(opt_i */ proto.viam.component.base.v1.SetPowerRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -linear: (f = msg.getLinear()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), -angular: (f = msg.getAngular()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + linear: (f = msg.getLinear()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), + angular: (f = msg.getAngular()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1717,10 +1711,10 @@ proto.viam.component.base.v1.SetVelocityRequest.prototype.toObject = function(op */ proto.viam.component.base.v1.SetVelocityRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -linear: (f = msg.getLinear()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), -angular: (f = msg.getAngular()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + linear: (f = msg.getLinear()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), + angular: (f = msg.getAngular()) && common_v1_common_pb.Vector3.toObject(includeInstance, f), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2101,7 +2095,7 @@ proto.viam.component.base.v1.IsMovingRequest.prototype.toObject = function(opt_i */ proto.viam.component.base.v1.IsMovingRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2231,7 +2225,7 @@ proto.viam.component.base.v1.IsMovingResponse.prototype.toObject = function(opt_ */ proto.viam.component.base.v1.IsMovingResponse.toObject = function(includeInstance, msg) { var f, obj = { -isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -2361,8 +2355,8 @@ proto.viam.component.base.v1.GetPropertiesRequest.prototype.toObject = function( */ proto.viam.component.base.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2542,9 +2536,9 @@ proto.viam.component.base.v1.GetPropertiesResponse.prototype.toObject = function */ proto.viam.component.base.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { -widthMeters: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -turningRadiusMeters: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -wheelCircumferenceMeters: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) + widthMeters: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + turningRadiusMeters: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + wheelCircumferenceMeters: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0) }; if (includeInstance) { diff --git a/gen/js/component/board/v1/board_pb.js b/gen/js/component/board/v1/board_pb.js index 85ce9b19..670c970d 100644 --- a/gen/js/component/board/v1/board_pb.js +++ b/gen/js/component/board/v1/board_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -568,8 +562,8 @@ proto.viam.component.board.v1.Status.prototype.toObject = function(opt_includeIn */ proto.viam.component.board.v1.Status.toObject = function(includeInstance, msg) { var f, obj = { -analogsMap: (f = msg.getAnalogsMap()) ? f.toObject(includeInstance, undefined) : [], -digitalInterruptsMap: (f = msg.getDigitalInterruptsMap()) ? f.toObject(includeInstance, undefined) : [] + analogsMap: (f = msg.getAnalogsMap()) ? f.toObject(includeInstance, undefined) : [], + digitalInterruptsMap: (f = msg.getDigitalInterruptsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -677,8 +671,7 @@ proto.viam.component.board.v1.Status.prototype.getAnalogsMap = function(opt_noLa */ proto.viam.component.board.v1.Status.prototype.clearAnalogsMap = function() { this.getAnalogsMap().clear(); - return this; -}; + return this;}; /** @@ -700,8 +693,7 @@ proto.viam.component.board.v1.Status.prototype.getDigitalInterruptsMap = functio */ proto.viam.component.board.v1.Status.prototype.clearDigitalInterruptsMap = function() { this.getDigitalInterruptsMap().clear(); - return this; -}; + return this;}; @@ -736,10 +728,10 @@ proto.viam.component.board.v1.SetGPIORequest.prototype.toObject = function(opt_i */ proto.viam.component.board.v1.SetGPIORequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -pin: jspb.Message.getFieldWithDefault(msg, 2, ""), -high: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + pin: jspb.Message.getFieldWithDefault(msg, 2, ""), + high: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1078,9 +1070,9 @@ proto.viam.component.board.v1.GetGPIORequest.prototype.toObject = function(opt_i */ proto.viam.component.board.v1.GetGPIORequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -pin: jspb.Message.getFieldWithDefault(msg, 2, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + pin: jspb.Message.getFieldWithDefault(msg, 2, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1289,7 +1281,7 @@ proto.viam.component.board.v1.GetGPIOResponse.prototype.toObject = function(opt_ */ proto.viam.component.board.v1.GetGPIOResponse.toObject = function(includeInstance, msg) { var f, obj = { -high: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + high: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -1419,9 +1411,9 @@ proto.viam.component.board.v1.PWMRequest.prototype.toObject = function(opt_inclu */ proto.viam.component.board.v1.PWMRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -pin: jspb.Message.getFieldWithDefault(msg, 2, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + pin: jspb.Message.getFieldWithDefault(msg, 2, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1630,7 +1622,7 @@ proto.viam.component.board.v1.PWMResponse.prototype.toObject = function(opt_incl */ proto.viam.component.board.v1.PWMResponse.toObject = function(includeInstance, msg) { var f, obj = { -dutyCyclePct: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) + dutyCyclePct: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) }; if (includeInstance) { @@ -1760,10 +1752,10 @@ proto.viam.component.board.v1.SetPWMRequest.prototype.toObject = function(opt_in */ proto.viam.component.board.v1.SetPWMRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -pin: jspb.Message.getFieldWithDefault(msg, 2, ""), -dutyCyclePct: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + pin: jspb.Message.getFieldWithDefault(msg, 2, ""), + dutyCyclePct: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2102,9 +2094,9 @@ proto.viam.component.board.v1.PWMFrequencyRequest.prototype.toObject = function( */ proto.viam.component.board.v1.PWMFrequencyRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -pin: jspb.Message.getFieldWithDefault(msg, 2, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + pin: jspb.Message.getFieldWithDefault(msg, 2, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2313,7 +2305,7 @@ proto.viam.component.board.v1.PWMFrequencyResponse.prototype.toObject = function */ proto.viam.component.board.v1.PWMFrequencyResponse.toObject = function(includeInstance, msg) { var f, obj = { -frequencyHz: jspb.Message.getFieldWithDefault(msg, 1, 0) + frequencyHz: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -2443,10 +2435,10 @@ proto.viam.component.board.v1.SetPWMFrequencyRequest.prototype.toObject = functi */ proto.viam.component.board.v1.SetPWMFrequencyRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -pin: jspb.Message.getFieldWithDefault(msg, 2, ""), -frequencyHz: jspb.Message.getFieldWithDefault(msg, 3, 0), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + pin: jspb.Message.getFieldWithDefault(msg, 2, ""), + frequencyHz: jspb.Message.getFieldWithDefault(msg, 3, 0), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2785,9 +2777,9 @@ proto.viam.component.board.v1.ReadAnalogReaderRequest.prototype.toObject = funct */ proto.viam.component.board.v1.ReadAnalogReaderRequest.toObject = function(includeInstance, msg) { var f, obj = { -boardName: jspb.Message.getFieldWithDefault(msg, 1, ""), -analogReaderName: jspb.Message.getFieldWithDefault(msg, 2, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + boardName: jspb.Message.getFieldWithDefault(msg, 1, ""), + analogReaderName: jspb.Message.getFieldWithDefault(msg, 2, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2996,10 +2988,10 @@ proto.viam.component.board.v1.ReadAnalogReaderResponse.prototype.toObject = func */ proto.viam.component.board.v1.ReadAnalogReaderResponse.toObject = function(includeInstance, msg) { var f, obj = { -value: jspb.Message.getFieldWithDefault(msg, 1, 0), -minRange: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -maxRange: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -stepSize: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) + value: jspb.Message.getFieldWithDefault(msg, 1, 0), + minRange: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + maxRange: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + stepSize: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -3216,10 +3208,10 @@ proto.viam.component.board.v1.WriteAnalogRequest.prototype.toObject = function(o */ proto.viam.component.board.v1.WriteAnalogRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -pin: jspb.Message.getFieldWithDefault(msg, 2, ""), -value: jspb.Message.getFieldWithDefault(msg, 3, 0), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + pin: jspb.Message.getFieldWithDefault(msg, 2, ""), + value: jspb.Message.getFieldWithDefault(msg, 3, 0), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3558,9 +3550,9 @@ proto.viam.component.board.v1.GetDigitalInterruptValueRequest.prototype.toObject */ proto.viam.component.board.v1.GetDigitalInterruptValueRequest.toObject = function(includeInstance, msg) { var f, obj = { -boardName: jspb.Message.getFieldWithDefault(msg, 1, ""), -digitalInterruptName: jspb.Message.getFieldWithDefault(msg, 2, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + boardName: jspb.Message.getFieldWithDefault(msg, 1, ""), + digitalInterruptName: jspb.Message.getFieldWithDefault(msg, 2, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3769,7 +3761,7 @@ proto.viam.component.board.v1.GetDigitalInterruptValueResponse.prototype.toObjec */ proto.viam.component.board.v1.GetDigitalInterruptValueResponse.toObject = function(includeInstance, msg) { var f, obj = { -value: jspb.Message.getFieldWithDefault(msg, 1, 0) + value: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -3906,9 +3898,9 @@ proto.viam.component.board.v1.StreamTicksRequest.prototype.toObject = function(o */ proto.viam.component.board.v1.StreamTicksRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -pinNamesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + pinNamesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -4136,9 +4128,9 @@ proto.viam.component.board.v1.StreamTicksResponse.prototype.toObject = function( */ proto.viam.component.board.v1.StreamTicksResponse.toObject = function(includeInstance, msg) { var f, obj = { -pinName: jspb.Message.getFieldWithDefault(msg, 1, ""), -time: jspb.Message.getFieldWithDefault(msg, 2, 0), -high: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + pinName: jspb.Message.getFieldWithDefault(msg, 1, ""), + time: jspb.Message.getFieldWithDefault(msg, 2, 0), + high: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -4326,10 +4318,10 @@ proto.viam.component.board.v1.SetPowerModeRequest.prototype.toObject = function( */ proto.viam.component.board.v1.SetPowerModeRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -powerMode: jspb.Message.getFieldWithDefault(msg, 2, 0), -duration: (f = msg.getDuration()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + powerMode: jspb.Message.getFieldWithDefault(msg, 2, 0), + duration: (f = msg.getDuration()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/component/camera/v1/camera_pb.js b/gen/js/component/camera/v1/camera_pb.js index 2164f33a..b47abff4 100644 --- a/gen/js/component/camera/v1/camera_pb.js +++ b/gen/js/component/camera/v1/camera_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -392,9 +386,9 @@ proto.viam.component.camera.v1.GetImageRequest.prototype.toObject = function(opt */ proto.viam.component.camera.v1.GetImageRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -mimeType: jspb.Message.getFieldWithDefault(msg, 2, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + mimeType: jspb.Message.getFieldWithDefault(msg, 2, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -603,8 +597,8 @@ proto.viam.component.camera.v1.GetImageResponse.prototype.toObject = function(op */ proto.viam.component.camera.v1.GetImageResponse.toObject = function(includeInstance, msg) { var f, obj = { -mimeType: jspb.Message.getFieldWithDefault(msg, 1, ""), -image: msg.getImage_asB64() + mimeType: jspb.Message.getFieldWithDefault(msg, 1, ""), + image: msg.getImage_asB64() }; if (includeInstance) { @@ -787,7 +781,7 @@ proto.viam.component.camera.v1.GetImagesRequest.prototype.toObject = function(op */ proto.viam.component.camera.v1.GetImagesRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -924,9 +918,9 @@ proto.viam.component.camera.v1.GetImagesResponse.prototype.toObject = function(o */ proto.viam.component.camera.v1.GetImagesResponse.toObject = function(includeInstance, msg) { var f, obj = { -imagesList: jspb.Message.toObjectList(msg.getImagesList(), + imagesList: jspb.Message.toObjectList(msg.getImagesList(), proto.viam.component.camera.v1.Image.toObject, includeInstance), -responseMetadata: (f = msg.getResponseMetadata()) && common_v1_common_pb.ResponseMetadata.toObject(includeInstance, f) + responseMetadata: (f = msg.getResponseMetadata()) && common_v1_common_pb.ResponseMetadata.toObject(includeInstance, f) }; if (includeInstance) { @@ -1128,9 +1122,9 @@ proto.viam.component.camera.v1.Image.prototype.toObject = function(opt_includeIn */ proto.viam.component.camera.v1.Image.toObject = function(includeInstance, msg) { var f, obj = { -sourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), -format: jspb.Message.getFieldWithDefault(msg, 2, 0), -image: msg.getImage_asB64() + sourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), + format: jspb.Message.getFieldWithDefault(msg, 2, 0), + image: msg.getImage_asB64() }; if (includeInstance) { @@ -1342,9 +1336,9 @@ proto.viam.component.camera.v1.RenderFrameRequest.prototype.toObject = function( */ proto.viam.component.camera.v1.RenderFrameRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -mimeType: jspb.Message.getFieldWithDefault(msg, 2, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + mimeType: jspb.Message.getFieldWithDefault(msg, 2, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1553,9 +1547,9 @@ proto.viam.component.camera.v1.GetPointCloudRequest.prototype.toObject = functio */ proto.viam.component.camera.v1.GetPointCloudRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -mimeType: jspb.Message.getFieldWithDefault(msg, 2, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + mimeType: jspb.Message.getFieldWithDefault(msg, 2, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1764,8 +1758,8 @@ proto.viam.component.camera.v1.GetPointCloudResponse.prototype.toObject = functi */ proto.viam.component.camera.v1.GetPointCloudResponse.toObject = function(includeInstance, msg) { var f, obj = { -mimeType: jspb.Message.getFieldWithDefault(msg, 1, ""), -pointCloud: msg.getPointCloud_asB64() + mimeType: jspb.Message.getFieldWithDefault(msg, 1, ""), + pointCloud: msg.getPointCloud_asB64() }; if (includeInstance) { @@ -1948,7 +1942,7 @@ proto.viam.component.camera.v1.GetPropertiesRequest.prototype.toObject = functio */ proto.viam.component.camera.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2085,11 +2079,11 @@ proto.viam.component.camera.v1.GetPropertiesResponse.prototype.toObject = functi */ proto.viam.component.camera.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { -supportsPcd: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), -intrinsicParameters: (f = msg.getIntrinsicParameters()) && proto.viam.component.camera.v1.IntrinsicParameters.toObject(includeInstance, f), -distortionParameters: (f = msg.getDistortionParameters()) && proto.viam.component.camera.v1.DistortionParameters.toObject(includeInstance, f), -mimeTypesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, -frameRate: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f + supportsPcd: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + intrinsicParameters: (f = msg.getIntrinsicParameters()) && proto.viam.component.camera.v1.IntrinsicParameters.toObject(includeInstance, f), + distortionParameters: (f = msg.getDistortionParameters()) && proto.viam.component.camera.v1.DistortionParameters.toObject(includeInstance, f), + mimeTypesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, + frameRate: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0) }; if (includeInstance) { @@ -2421,7 +2415,7 @@ proto.viam.component.camera.v1.Webcams.prototype.toObject = function(opt_include */ proto.viam.component.camera.v1.Webcams.toObject = function(includeInstance, msg) { var f, obj = { -webcamsList: jspb.Message.toObjectList(msg.getWebcamsList(), + webcamsList: jspb.Message.toObjectList(msg.getWebcamsList(), proto.viam.component.camera.v1.Webcam.toObject, includeInstance) }; @@ -2581,12 +2575,12 @@ proto.viam.component.camera.v1.Webcam.prototype.toObject = function(opt_includeI */ proto.viam.component.camera.v1.Webcam.toObject = function(includeInstance, msg) { var f, obj = { -label: jspb.Message.getFieldWithDefault(msg, 1, ""), -status: jspb.Message.getFieldWithDefault(msg, 2, ""), -propertiesList: jspb.Message.toObjectList(msg.getPropertiesList(), + label: jspb.Message.getFieldWithDefault(msg, 1, ""), + status: jspb.Message.getFieldWithDefault(msg, 2, ""), + propertiesList: jspb.Message.toObjectList(msg.getPropertiesList(), proto.viam.component.camera.v1.Property.toObject, includeInstance), -name: jspb.Message.getFieldWithDefault(msg, 4, ""), -id: jspb.Message.getFieldWithDefault(msg, 5, "") + name: jspb.Message.getFieldWithDefault(msg, 4, ""), + id: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -2854,10 +2848,10 @@ proto.viam.component.camera.v1.Property.prototype.toObject = function(opt_includ */ proto.viam.component.camera.v1.Property.toObject = function(includeInstance, msg) { var f, obj = { -widthPx: jspb.Message.getFieldWithDefault(msg, 1, 0), -heightPx: jspb.Message.getFieldWithDefault(msg, 2, 0), -frameFormat: jspb.Message.getFieldWithDefault(msg, 3, ""), -frameRate: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) + widthPx: jspb.Message.getFieldWithDefault(msg, 1, 0), + heightPx: jspb.Message.getFieldWithDefault(msg, 2, 0), + frameFormat: jspb.Message.getFieldWithDefault(msg, 3, ""), + frameRate: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -3074,12 +3068,12 @@ proto.viam.component.camera.v1.IntrinsicParameters.prototype.toObject = function */ proto.viam.component.camera.v1.IntrinsicParameters.toObject = function(includeInstance, msg) { var f, obj = { -widthPx: jspb.Message.getFieldWithDefault(msg, 1, 0), -heightPx: jspb.Message.getFieldWithDefault(msg, 2, 0), -focalXPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -focalYPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), -centerXPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), -centerYPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0) + widthPx: jspb.Message.getFieldWithDefault(msg, 1, 0), + heightPx: jspb.Message.getFieldWithDefault(msg, 2, 0), + focalXPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + focalYPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), + centerXPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), + centerYPx: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0) }; if (includeInstance) { @@ -3361,8 +3355,8 @@ proto.viam.component.camera.v1.DistortionParameters.prototype.toObject = functio */ proto.viam.component.camera.v1.DistortionParameters.toObject = function(includeInstance, msg) { var f, obj = { -model: jspb.Message.getFieldWithDefault(msg, 1, ""), -parametersList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 2)) == null ? undefined : f + model: jspb.Message.getFieldWithDefault(msg, 1, ""), + parametersList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 2)) == null ? undefined : f }; if (includeInstance) { diff --git a/gen/js/component/encoder/v1/encoder_pb.js b/gen/js/component/encoder/v1/encoder_pb.js index 08ca4d30..0a28d000 100644 --- a/gen/js/component/encoder/v1/encoder_pb.js +++ b/gen/js/component/encoder/v1/encoder_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -192,9 +186,9 @@ proto.viam.component.encoder.v1.GetPositionRequest.prototype.toObject = function */ proto.viam.component.encoder.v1.GetPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -positionType: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + positionType: jspb.Message.getFieldWithDefault(msg, 2, 0), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -421,8 +415,8 @@ proto.viam.component.encoder.v1.GetPositionResponse.prototype.toObject = functio */ proto.viam.component.encoder.v1.GetPositionResponse.toObject = function(includeInstance, msg) { var f, obj = { -value: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -positionType: jspb.Message.getFieldWithDefault(msg, 2, 0) + value: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + positionType: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -581,8 +575,8 @@ proto.viam.component.encoder.v1.ResetPositionRequest.prototype.toObject = functi */ proto.viam.component.encoder.v1.ResetPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -863,8 +857,8 @@ proto.viam.component.encoder.v1.GetPropertiesRequest.prototype.toObject = functi */ proto.viam.component.encoder.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1044,8 +1038,8 @@ proto.viam.component.encoder.v1.GetPropertiesResponse.prototype.toObject = funct */ proto.viam.component.encoder.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { -ticksCountSupported: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), -angleDegreesSupported: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + ticksCountSupported: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + angleDegreesSupported: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { diff --git a/gen/js/component/gantry/v1/gantry_pb.js b/gen/js/component/gantry/v1/gantry_pb.js index 32ead892..3c4dad87 100644 --- a/gen/js/component/gantry/v1/gantry_pb.js +++ b/gen/js/component/gantry/v1/gantry_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -345,8 +339,8 @@ proto.viam.component.gantry.v1.GetPositionRequest.prototype.toObject = function( */ proto.viam.component.gantry.v1.GetPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -533,7 +527,7 @@ proto.viam.component.gantry.v1.GetPositionResponse.prototype.toObject = function */ proto.viam.component.gantry.v1.GetPositionResponse.toObject = function(includeInstance, msg) { var f, obj = { -positionsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f + positionsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -691,10 +685,10 @@ proto.viam.component.gantry.v1.MoveToPositionRequest.prototype.toObject = functi */ proto.viam.component.gantry.v1.MoveToPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -positionsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 2)) == null ? undefined : f, -speedsMmPerSecList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 3)) == null ? undefined : f, -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + positionsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 2)) == null ? undefined : f, + speedsMmPerSecList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 3)) == null ? undefined : f, + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1075,8 +1069,8 @@ proto.viam.component.gantry.v1.HomeRequest.prototype.toObject = function(opt_inc */ proto.viam.component.gantry.v1.HomeRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1256,7 +1250,7 @@ proto.viam.component.gantry.v1.HomeResponse.prototype.toObject = function(opt_in */ proto.viam.component.gantry.v1.HomeResponse.toObject = function(includeInstance, msg) { var f, obj = { -homed: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + homed: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -1386,8 +1380,8 @@ proto.viam.component.gantry.v1.GetLengthsRequest.prototype.toObject = function(o */ proto.viam.component.gantry.v1.GetLengthsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1574,7 +1568,7 @@ proto.viam.component.gantry.v1.GetLengthsResponse.prototype.toObject = function( */ proto.viam.component.gantry.v1.GetLengthsResponse.toObject = function(includeInstance, msg) { var f, obj = { -lengthsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f + lengthsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -1725,8 +1719,8 @@ proto.viam.component.gantry.v1.StopRequest.prototype.toObject = function(opt_inc */ proto.viam.component.gantry.v1.StopRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2014,9 +2008,9 @@ proto.viam.component.gantry.v1.Status.prototype.toObject = function(opt_includeI */ proto.viam.component.gantry.v1.Status.toObject = function(includeInstance, msg) { var f, obj = { -positionsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f, -lengthsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 2)) == null ? undefined : f, -isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + positionsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f, + lengthsMmList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 2)) == null ? undefined : f, + isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -2246,7 +2240,7 @@ proto.viam.component.gantry.v1.IsMovingRequest.prototype.toObject = function(opt */ proto.viam.component.gantry.v1.IsMovingRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -2376,7 +2370,7 @@ proto.viam.component.gantry.v1.IsMovingResponse.prototype.toObject = function(op */ proto.viam.component.gantry.v1.IsMovingResponse.toObject = function(includeInstance, msg) { var f, obj = { -isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { diff --git a/gen/js/component/generic/v1/generic_pb.js b/gen/js/component/generic/v1/generic_pb.js index 6defcf53..1a9c660b 100644 --- a/gen/js/component/generic/v1/generic_pb.js +++ b/gen/js/component/generic/v1/generic_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); diff --git a/gen/js/component/gripper/v1/gripper_pb.js b/gen/js/component/gripper/v1/gripper_pb.js index e40711f7..3e75fef7 100644 --- a/gen/js/component/gripper/v1/gripper_pb.js +++ b/gen/js/component/gripper/v1/gripper_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -235,8 +229,8 @@ proto.viam.component.gripper.v1.OpenRequest.prototype.toObject = function(opt_in */ proto.viam.component.gripper.v1.OpenRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -517,8 +511,8 @@ proto.viam.component.gripper.v1.GrabRequest.prototype.toObject = function(opt_in */ proto.viam.component.gripper.v1.GrabRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -698,8 +692,8 @@ proto.viam.component.gripper.v1.GrabResponse.prototype.toObject = function(opt_i */ proto.viam.component.gripper.v1.GrabResponse.toObject = function(includeInstance, msg) { var f, obj = { -success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -879,8 +873,8 @@ proto.viam.component.gripper.v1.StopRequest.prototype.toObject = function(opt_in */ proto.viam.component.gripper.v1.StopRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1161,7 +1155,7 @@ proto.viam.component.gripper.v1.IsMovingRequest.prototype.toObject = function(op */ proto.viam.component.gripper.v1.IsMovingRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1291,7 +1285,7 @@ proto.viam.component.gripper.v1.IsMovingResponse.prototype.toObject = function(o */ proto.viam.component.gripper.v1.IsMovingResponse.toObject = function(includeInstance, msg) { var f, obj = { -isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { diff --git a/gen/js/component/inputcontroller/v1/input_controller_pb.js b/gen/js/component/inputcontroller/v1/input_controller_pb.js index cf31f6e3..bde399d5 100644 --- a/gen/js/component/inputcontroller/v1/input_controller_pb.js +++ b/gen/js/component/inputcontroller/v1/input_controller_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -303,8 +297,8 @@ proto.viam.component.inputcontroller.v1.GetControlsRequest.prototype.toObject = */ proto.viam.component.inputcontroller.v1.GetControlsRequest.toObject = function(includeInstance, msg) { var f, obj = { -controller: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + controller: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -491,7 +485,7 @@ proto.viam.component.inputcontroller.v1.GetControlsResponse.prototype.toObject = */ proto.viam.component.inputcontroller.v1.GetControlsResponse.toObject = function(includeInstance, msg) { var f, obj = { -controlsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + controlsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -640,8 +634,8 @@ proto.viam.component.inputcontroller.v1.GetEventsRequest.prototype.toObject = fu */ proto.viam.component.inputcontroller.v1.GetEventsRequest.toObject = function(includeInstance, msg) { var f, obj = { -controller: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + controller: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -828,7 +822,7 @@ proto.viam.component.inputcontroller.v1.GetEventsResponse.prototype.toObject = f */ proto.viam.component.inputcontroller.v1.GetEventsResponse.toObject = function(includeInstance, msg) { var f, obj = { -eventsList: jspb.Message.toObjectList(msg.getEventsList(), + eventsList: jspb.Message.toObjectList(msg.getEventsList(), proto.viam.component.inputcontroller.v1.Event.toObject, includeInstance) }; @@ -981,9 +975,9 @@ proto.viam.component.inputcontroller.v1.TriggerEventRequest.prototype.toObject = */ proto.viam.component.inputcontroller.v1.TriggerEventRequest.toObject = function(includeInstance, msg) { var f, obj = { -controller: jspb.Message.getFieldWithDefault(msg, 1, ""), -event: (f = msg.getEvent()) && proto.viam.component.inputcontroller.v1.Event.toObject(includeInstance, f), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + controller: jspb.Message.getFieldWithDefault(msg, 1, ""), + event: (f = msg.getEvent()) && proto.viam.component.inputcontroller.v1.Event.toObject(includeInstance, f), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1314,10 +1308,10 @@ proto.viam.component.inputcontroller.v1.Event.prototype.toObject = function(opt_ */ proto.viam.component.inputcontroller.v1.Event.toObject = function(includeInstance, msg) { var f, obj = { -time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -event: jspb.Message.getFieldWithDefault(msg, 2, ""), -control: jspb.Message.getFieldWithDefault(msg, 3, ""), -value: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) + time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + event: jspb.Message.getFieldWithDefault(msg, 2, ""), + control: jspb.Message.getFieldWithDefault(msg, 3, ""), + value: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { @@ -1562,10 +1556,10 @@ proto.viam.component.inputcontroller.v1.StreamEventsRequest.prototype.toObject = */ proto.viam.component.inputcontroller.v1.StreamEventsRequest.toObject = function(includeInstance, msg) { var f, obj = { -controller: jspb.Message.getFieldWithDefault(msg, 1, ""), -eventsList: jspb.Message.toObjectList(msg.getEventsList(), + controller: jspb.Message.getFieldWithDefault(msg, 1, ""), + eventsList: jspb.Message.toObjectList(msg.getEventsList(), proto.viam.component.inputcontroller.v1.StreamEventsRequest.Events.toObject, includeInstance), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1710,9 +1704,9 @@ proto.viam.component.inputcontroller.v1.StreamEventsRequest.Events.prototype.toO */ proto.viam.component.inputcontroller.v1.StreamEventsRequest.Events.toObject = function(includeInstance, msg) { var f, obj = { -control: jspb.Message.getFieldWithDefault(msg, 1, ""), -eventsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, -cancelledEventsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f + control: jspb.Message.getFieldWithDefault(msg, 1, ""), + eventsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + cancelledEventsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -2031,7 +2025,7 @@ proto.viam.component.inputcontroller.v1.StreamEventsResponse.prototype.toObject */ proto.viam.component.inputcontroller.v1.StreamEventsResponse.toObject = function(includeInstance, msg) { var f, obj = { -event: (f = msg.getEvent()) && proto.viam.component.inputcontroller.v1.Event.toObject(includeInstance, f) + event: (f = msg.getEvent()) && proto.viam.component.inputcontroller.v1.Event.toObject(includeInstance, f) }; if (includeInstance) { @@ -2189,7 +2183,7 @@ proto.viam.component.inputcontroller.v1.Status.prototype.toObject = function(opt */ proto.viam.component.inputcontroller.v1.Status.toObject = function(includeInstance, msg) { var f, obj = { -eventsList: jspb.Message.toObjectList(msg.getEventsList(), + eventsList: jspb.Message.toObjectList(msg.getEventsList(), proto.viam.component.inputcontroller.v1.Event.toObject, includeInstance) }; diff --git a/gen/js/component/motor/v1/motor_pb.js b/gen/js/component/motor/v1/motor_pb.js index 61a40237..fd0117d7 100644 --- a/gen/js/component/motor/v1/motor_pb.js +++ b/gen/js/component/motor/v1/motor_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -521,9 +515,9 @@ proto.viam.component.motor.v1.SetPowerRequest.prototype.toObject = function(opt_ */ proto.viam.component.motor.v1.SetPowerRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -powerPct: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + powerPct: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -833,10 +827,10 @@ proto.viam.component.motor.v1.GoForRequest.prototype.toObject = function(opt_inc */ proto.viam.component.motor.v1.GoForRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -rpm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -revolutions: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + rpm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + revolutions: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1175,10 +1169,10 @@ proto.viam.component.motor.v1.GoToRequest.prototype.toObject = function(opt_incl */ proto.viam.component.motor.v1.GoToRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -rpm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -positionRevolutions: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + rpm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + positionRevolutions: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1517,9 +1511,9 @@ proto.viam.component.motor.v1.SetRPMRequest.prototype.toObject = function(opt_in */ proto.viam.component.motor.v1.SetRPMRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -rpm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + rpm: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1829,9 +1823,9 @@ proto.viam.component.motor.v1.ResetZeroPositionRequest.prototype.toObject = func */ proto.viam.component.motor.v1.ResetZeroPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -offset: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + offset: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2141,8 +2135,8 @@ proto.viam.component.motor.v1.GetPositionRequest.prototype.toObject = function(o */ proto.viam.component.motor.v1.GetPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2322,7 +2316,7 @@ proto.viam.component.motor.v1.GetPositionResponse.prototype.toObject = function( */ proto.viam.component.motor.v1.GetPositionResponse.toObject = function(includeInstance, msg) { var f, obj = { -position: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) + position: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) }; if (includeInstance) { @@ -2452,8 +2446,8 @@ proto.viam.component.motor.v1.StopRequest.prototype.toObject = function(opt_incl */ proto.viam.component.motor.v1.StopRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2734,8 +2728,8 @@ proto.viam.component.motor.v1.IsPoweredRequest.prototype.toObject = function(opt */ proto.viam.component.motor.v1.IsPoweredRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2915,8 +2909,8 @@ proto.viam.component.motor.v1.IsPoweredResponse.prototype.toObject = function(op */ proto.viam.component.motor.v1.IsPoweredResponse.toObject = function(includeInstance, msg) { var f, obj = { -isOn: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), -powerPct: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) + isOn: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + powerPct: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -3075,8 +3069,8 @@ proto.viam.component.motor.v1.GetPropertiesRequest.prototype.toObject = function */ proto.viam.component.motor.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3256,7 +3250,7 @@ proto.viam.component.motor.v1.GetPropertiesResponse.prototype.toObject = functio */ proto.viam.component.motor.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { -positionReporting: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + positionReporting: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -3386,9 +3380,9 @@ proto.viam.component.motor.v1.Status.prototype.toObject = function(opt_includeIn */ proto.viam.component.motor.v1.Status.toObject = function(includeInstance, msg) { var f, obj = { -isPowered: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), -position: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) + isPowered: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + position: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) }; if (includeInstance) { @@ -3576,7 +3570,7 @@ proto.viam.component.motor.v1.IsMovingRequest.prototype.toObject = function(opt_ */ proto.viam.component.motor.v1.IsMovingRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -3706,7 +3700,7 @@ proto.viam.component.motor.v1.IsMovingResponse.prototype.toObject = function(opt */ proto.viam.component.motor.v1.IsMovingResponse.toObject = function(includeInstance, msg) { var f, obj = { -isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { diff --git a/gen/js/component/movementsensor/v1/movementsensor_pb.js b/gen/js/component/movementsensor/v1/movementsensor_pb.js index 037e515e..baf4c9aa 100644 --- a/gen/js/component/movementsensor/v1/movementsensor_pb.js +++ b/gen/js/component/movementsensor/v1/movementsensor_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -411,8 +405,8 @@ proto.viam.component.movementsensor.v1.GetLinearVelocityRequest.prototype.toObje */ proto.viam.component.movementsensor.v1.GetLinearVelocityRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -592,7 +586,7 @@ proto.viam.component.movementsensor.v1.GetLinearVelocityResponse.prototype.toObj */ proto.viam.component.movementsensor.v1.GetLinearVelocityResponse.toObject = function(includeInstance, msg) { var f, obj = { -linearVelocity: (f = msg.getLinearVelocity()) && common_v1_common_pb.Vector3.toObject(includeInstance, f) + linearVelocity: (f = msg.getLinearVelocity()) && common_v1_common_pb.Vector3.toObject(includeInstance, f) }; if (includeInstance) { @@ -743,8 +737,8 @@ proto.viam.component.movementsensor.v1.GetAngularVelocityRequest.prototype.toObj */ proto.viam.component.movementsensor.v1.GetAngularVelocityRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -924,7 +918,7 @@ proto.viam.component.movementsensor.v1.GetAngularVelocityResponse.prototype.toOb */ proto.viam.component.movementsensor.v1.GetAngularVelocityResponse.toObject = function(includeInstance, msg) { var f, obj = { -angularVelocity: (f = msg.getAngularVelocity()) && common_v1_common_pb.Vector3.toObject(includeInstance, f) + angularVelocity: (f = msg.getAngularVelocity()) && common_v1_common_pb.Vector3.toObject(includeInstance, f) }; if (includeInstance) { @@ -1075,8 +1069,8 @@ proto.viam.component.movementsensor.v1.GetCompassHeadingRequest.prototype.toObje */ proto.viam.component.movementsensor.v1.GetCompassHeadingRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1256,7 +1250,7 @@ proto.viam.component.movementsensor.v1.GetCompassHeadingResponse.prototype.toObj */ proto.viam.component.movementsensor.v1.GetCompassHeadingResponse.toObject = function(includeInstance, msg) { var f, obj = { -value: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) + value: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) }; if (includeInstance) { @@ -1386,8 +1380,8 @@ proto.viam.component.movementsensor.v1.GetOrientationRequest.prototype.toObject */ proto.viam.component.movementsensor.v1.GetOrientationRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1567,7 +1561,7 @@ proto.viam.component.movementsensor.v1.GetOrientationResponse.prototype.toObject */ proto.viam.component.movementsensor.v1.GetOrientationResponse.toObject = function(includeInstance, msg) { var f, obj = { -orientation: (f = msg.getOrientation()) && common_v1_common_pb.Orientation.toObject(includeInstance, f) + orientation: (f = msg.getOrientation()) && common_v1_common_pb.Orientation.toObject(includeInstance, f) }; if (includeInstance) { @@ -1718,8 +1712,8 @@ proto.viam.component.movementsensor.v1.GetPositionRequest.prototype.toObject = f */ proto.viam.component.movementsensor.v1.GetPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1899,8 +1893,8 @@ proto.viam.component.movementsensor.v1.GetPositionResponse.prototype.toObject = */ proto.viam.component.movementsensor.v1.GetPositionResponse.toObject = function(includeInstance, msg) { var f, obj = { -coordinate: (f = msg.getCoordinate()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), -altitudeM: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) + coordinate: (f = msg.getCoordinate()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), + altitudeM: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -2080,8 +2074,8 @@ proto.viam.component.movementsensor.v1.GetPropertiesRequest.prototype.toObject = */ proto.viam.component.movementsensor.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2261,12 +2255,12 @@ proto.viam.component.movementsensor.v1.GetPropertiesResponse.prototype.toObject */ proto.viam.component.movementsensor.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { -linearVelocitySupported: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), -angularVelocitySupported: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), -orientationSupported: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), -positionSupported: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), -compassHeadingSupported: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), -linearAccelerationSupported: jspb.Message.getBooleanFieldWithDefault(msg, 6, false) + linearVelocitySupported: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + angularVelocitySupported: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + orientationSupported: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + positionSupported: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), + compassHeadingSupported: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + linearAccelerationSupported: jspb.Message.getBooleanFieldWithDefault(msg, 6, false) }; if (includeInstance) { @@ -2541,8 +2535,8 @@ proto.viam.component.movementsensor.v1.GetAccuracyRequest.prototype.toObject = f */ proto.viam.component.movementsensor.v1.GetAccuracyRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2722,11 +2716,11 @@ proto.viam.component.movementsensor.v1.GetAccuracyResponse.prototype.toObject = */ proto.viam.component.movementsensor.v1.GetAccuracyResponse.toObject = function(includeInstance, msg) { var f, obj = { -accuracyMap: (f = msg.getAccuracyMap()) ? f.toObject(includeInstance, undefined) : [], -positionHdop: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f, -positionVdop: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f, -positionNmeaGgaFix: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, -compassDegreesError: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f + accuracyMap: (f = msg.getAccuracyMap()) ? f.toObject(includeInstance, undefined) : [], + positionHdop: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + positionVdop: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + positionNmeaGgaFix: jspb.Message.getFieldWithDefault(msg, 4, 0), + compassDegreesError: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0) }; if (includeInstance) { @@ -2868,8 +2862,7 @@ proto.viam.component.movementsensor.v1.GetAccuracyResponse.prototype.getAccuracy */ proto.viam.component.movementsensor.v1.GetAccuracyResponse.prototype.clearAccuracyMap = function() { this.getAccuracyMap().clear(); - return this; -}; + return this;}; /** @@ -3048,8 +3041,8 @@ proto.viam.component.movementsensor.v1.GetLinearAccelerationRequest.prototype.to */ proto.viam.component.movementsensor.v1.GetLinearAccelerationRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3229,7 +3222,7 @@ proto.viam.component.movementsensor.v1.GetLinearAccelerationResponse.prototype.t */ proto.viam.component.movementsensor.v1.GetLinearAccelerationResponse.toObject = function(includeInstance, msg) { var f, obj = { -linearAcceleration: (f = msg.getLinearAcceleration()) && common_v1_common_pb.Vector3.toObject(includeInstance, f) + linearAcceleration: (f = msg.getLinearAcceleration()) && common_v1_common_pb.Vector3.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/component/posetracker/v1/pose_tracker_pb.js b/gen/js/component/posetracker/v1/pose_tracker_pb.js index 40fa597e..7fe03ad6 100644 --- a/gen/js/component/posetracker/v1/pose_tracker_pb.js +++ b/gen/js/component/posetracker/v1/pose_tracker_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -110,9 +104,9 @@ proto.viam.component.posetracker.v1.GetPosesRequest.prototype.toObject = functio */ proto.viam.component.posetracker.v1.GetPosesRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -bodyNamesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + bodyNamesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -340,7 +334,7 @@ proto.viam.component.posetracker.v1.GetPosesResponse.prototype.toObject = functi */ proto.viam.component.posetracker.v1.GetPosesResponse.toObject = function(includeInstance, msg) { var f, obj = { -bodyPosesMap: (f = msg.getBodyPosesMap()) ? f.toObject(includeInstance, proto.viam.common.v1.PoseInFrame.toObject) : [] + bodyPosesMap: (f = msg.getBodyPosesMap()) ? f.toObject(includeInstance, proto.viam.common.v1.PoseInFrame.toObject) : [] }; if (includeInstance) { @@ -438,8 +432,7 @@ proto.viam.component.posetracker.v1.GetPosesResponse.prototype.getBodyPosesMap = */ proto.viam.component.posetracker.v1.GetPosesResponse.prototype.clearBodyPosesMap = function() { this.getBodyPosesMap().clear(); - return this; -}; + return this;}; goog.object.extend(exports, proto.viam.component.posetracker.v1); diff --git a/gen/js/component/powersensor/v1/powersensor_pb.js b/gen/js/component/powersensor/v1/powersensor_pb.js index 8e0e2a1c..781adb70 100644 --- a/gen/js/component/powersensor/v1/powersensor_pb.js +++ b/gen/js/component/powersensor/v1/powersensor_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -191,8 +185,8 @@ proto.viam.component.powersensor.v1.GetVoltageRequest.prototype.toObject = funct */ proto.viam.component.powersensor.v1.GetVoltageRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -372,8 +366,8 @@ proto.viam.component.powersensor.v1.GetVoltageResponse.prototype.toObject = func */ proto.viam.component.powersensor.v1.GetVoltageResponse.toObject = function(includeInstance, msg) { var f, obj = { -volts: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -isAc: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + volts: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + isAc: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -532,8 +526,8 @@ proto.viam.component.powersensor.v1.GetCurrentRequest.prototype.toObject = funct */ proto.viam.component.powersensor.v1.GetCurrentRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -713,8 +707,8 @@ proto.viam.component.powersensor.v1.GetCurrentResponse.prototype.toObject = func */ proto.viam.component.powersensor.v1.GetCurrentResponse.toObject = function(includeInstance, msg) { var f, obj = { -amperes: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -isAc: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + amperes: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + isAc: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -873,8 +867,8 @@ proto.viam.component.powersensor.v1.GetPowerRequest.prototype.toObject = functio */ proto.viam.component.powersensor.v1.GetPowerRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1054,7 +1048,7 @@ proto.viam.component.powersensor.v1.GetPowerResponse.prototype.toObject = functi */ proto.viam.component.powersensor.v1.GetPowerResponse.toObject = function(includeInstance, msg) { var f, obj = { -watts: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) + watts: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) }; if (includeInstance) { diff --git a/gen/js/component/sensor/v1/sensor_pb.js b/gen/js/component/sensor/v1/sensor_pb.js index e84d35d0..93a85703 100644 --- a/gen/js/component/sensor/v1/sensor_pb.js +++ b/gen/js/component/sensor/v1/sensor_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); diff --git a/gen/js/component/servo/v1/servo_pb.js b/gen/js/component/servo/v1/servo_pb.js index 6a322263..255e1cb4 100644 --- a/gen/js/component/servo/v1/servo_pb.js +++ b/gen/js/component/servo/v1/servo_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -257,9 +251,9 @@ proto.viam.component.servo.v1.MoveRequest.prototype.toObject = function(opt_incl */ proto.viam.component.servo.v1.MoveRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -angleDeg: jspb.Message.getFieldWithDefault(msg, 2, 0), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + angleDeg: jspb.Message.getFieldWithDefault(msg, 2, 0), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -569,8 +563,8 @@ proto.viam.component.servo.v1.GetPositionRequest.prototype.toObject = function(o */ proto.viam.component.servo.v1.GetPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -750,7 +744,7 @@ proto.viam.component.servo.v1.GetPositionResponse.prototype.toObject = function( */ proto.viam.component.servo.v1.GetPositionResponse.toObject = function(includeInstance, msg) { var f, obj = { -positionDeg: jspb.Message.getFieldWithDefault(msg, 1, 0) + positionDeg: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -880,8 +874,8 @@ proto.viam.component.servo.v1.StopRequest.prototype.toObject = function(opt_incl */ proto.viam.component.servo.v1.StopRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1162,8 +1156,8 @@ proto.viam.component.servo.v1.Status.prototype.toObject = function(opt_includeIn */ proto.viam.component.servo.v1.Status.toObject = function(includeInstance, msg) { var f, obj = { -positionDeg: jspb.Message.getFieldWithDefault(msg, 1, 0), -isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + positionDeg: jspb.Message.getFieldWithDefault(msg, 1, 0), + isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -1322,7 +1316,7 @@ proto.viam.component.servo.v1.IsMovingRequest.prototype.toObject = function(opt_ */ proto.viam.component.servo.v1.IsMovingRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1452,7 +1446,7 @@ proto.viam.component.servo.v1.IsMovingResponse.prototype.toObject = function(opt */ proto.viam.component.servo.v1.IsMovingResponse.toObject = function(includeInstance, msg) { var f, obj = { -isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + isMoving: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { diff --git a/gen/js/component/testecho/v1/testecho_pb.js b/gen/js/component/testecho/v1/testecho_pb.js index a2cba33e..e2063204 100644 --- a/gen/js/component/testecho/v1/testecho_pb.js +++ b/gen/js/component/testecho/v1/testecho_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -231,8 +225,8 @@ proto.viam.component.testecho.v1.EchoRequest.prototype.toObject = function(opt_i */ proto.viam.component.testecho.v1.EchoRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -message: jspb.Message.getFieldWithDefault(msg, 2, "") + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -391,7 +385,7 @@ proto.viam.component.testecho.v1.EchoResponse.prototype.toObject = function(opt_ */ proto.viam.component.testecho.v1.EchoResponse.toObject = function(includeInstance, msg) { var f, obj = { -message: jspb.Message.getFieldWithDefault(msg, 1, "") + message: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -521,8 +515,8 @@ proto.viam.component.testecho.v1.EchoMultipleRequest.prototype.toObject = functi */ proto.viam.component.testecho.v1.EchoMultipleRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -message: jspb.Message.getFieldWithDefault(msg, 2, "") + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -681,7 +675,7 @@ proto.viam.component.testecho.v1.EchoMultipleResponse.prototype.toObject = funct */ proto.viam.component.testecho.v1.EchoMultipleResponse.toObject = function(includeInstance, msg) { var f, obj = { -message: jspb.Message.getFieldWithDefault(msg, 1, "") + message: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -811,8 +805,8 @@ proto.viam.component.testecho.v1.EchoBiDiRequest.prototype.toObject = function(o */ proto.viam.component.testecho.v1.EchoBiDiRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -message: jspb.Message.getFieldWithDefault(msg, 2, "") + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -971,7 +965,7 @@ proto.viam.component.testecho.v1.EchoBiDiResponse.prototype.toObject = function( */ proto.viam.component.testecho.v1.EchoBiDiResponse.toObject = function(includeInstance, msg) { var f, obj = { -message: jspb.Message.getFieldWithDefault(msg, 1, "") + message: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1101,7 +1095,7 @@ proto.viam.component.testecho.v1.StopRequest.prototype.toObject = function(opt_i */ proto.viam.component.testecho.v1.StopRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { diff --git a/gen/js/google/api/annotations_pb.js b/gen/js/google/api/annotations_pb.js index 53c05ed0..58397dcb 100644 --- a/gen/js/google/api/annotations_pb.js +++ b/gen/js/google/api/annotations_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_api_http_pb = require('../../google/api/http_pb.js'); goog.object.extend(proto, google_api_http_pb); diff --git a/gen/js/google/api/client_pb.js b/gen/js/google/api/client_pb.js index 865bb4b5..67cc5960 100644 --- a/gen/js/google/api/client_pb.js +++ b/gen/js/google/api/client_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_api_launch_stage_pb = require('../../google/api/launch_stage_pb.js'); goog.object.extend(proto, google_api_launch_stage_pb); @@ -402,9 +396,9 @@ proto.google.api.CommonLanguageSettings.prototype.toObject = function(opt_includ */ proto.google.api.CommonLanguageSettings.toObject = function(includeInstance, msg) { var f, obj = { -referenceDocsUri: jspb.Message.getFieldWithDefault(msg, 1, ""), -destinationsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, -selectiveGapicGeneration: (f = msg.getSelectiveGapicGeneration()) && proto.google.api.SelectiveGapicGeneration.toObject(includeInstance, f) + referenceDocsUri: jspb.Message.getFieldWithDefault(msg, 1, ""), + destinationsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + selectiveGapicGeneration: (f = msg.getSelectiveGapicGeneration()) && proto.google.api.SelectiveGapicGeneration.toObject(includeInstance, f) }; if (includeInstance) { @@ -634,17 +628,17 @@ proto.google.api.ClientLibrarySettings.prototype.toObject = function(opt_include */ proto.google.api.ClientLibrarySettings.toObject = function(includeInstance, msg) { var f, obj = { -version: jspb.Message.getFieldWithDefault(msg, 1, ""), -launchStage: jspb.Message.getFieldWithDefault(msg, 2, 0), -restNumericEnums: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), -javaSettings: (f = msg.getJavaSettings()) && proto.google.api.JavaSettings.toObject(includeInstance, f), -cppSettings: (f = msg.getCppSettings()) && proto.google.api.CppSettings.toObject(includeInstance, f), -phpSettings: (f = msg.getPhpSettings()) && proto.google.api.PhpSettings.toObject(includeInstance, f), -pythonSettings: (f = msg.getPythonSettings()) && proto.google.api.PythonSettings.toObject(includeInstance, f), -nodeSettings: (f = msg.getNodeSettings()) && proto.google.api.NodeSettings.toObject(includeInstance, f), -dotnetSettings: (f = msg.getDotnetSettings()) && proto.google.api.DotnetSettings.toObject(includeInstance, f), -rubySettings: (f = msg.getRubySettings()) && proto.google.api.RubySettings.toObject(includeInstance, f), -goSettings: (f = msg.getGoSettings()) && proto.google.api.GoSettings.toObject(includeInstance, f) + version: jspb.Message.getFieldWithDefault(msg, 1, ""), + launchStage: jspb.Message.getFieldWithDefault(msg, 2, 0), + restNumericEnums: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + javaSettings: (f = msg.getJavaSettings()) && proto.google.api.JavaSettings.toObject(includeInstance, f), + cppSettings: (f = msg.getCppSettings()) && proto.google.api.CppSettings.toObject(includeInstance, f), + phpSettings: (f = msg.getPhpSettings()) && proto.google.api.PhpSettings.toObject(includeInstance, f), + pythonSettings: (f = msg.getPythonSettings()) && proto.google.api.PythonSettings.toObject(includeInstance, f), + nodeSettings: (f = msg.getNodeSettings()) && proto.google.api.NodeSettings.toObject(includeInstance, f), + dotnetSettings: (f = msg.getDotnetSettings()) && proto.google.api.DotnetSettings.toObject(includeInstance, f), + rubySettings: (f = msg.getRubySettings()) && proto.google.api.RubySettings.toObject(includeInstance, f), + goSettings: (f = msg.getGoSettings()) && proto.google.api.GoSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -1239,19 +1233,19 @@ proto.google.api.Publishing.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.Publishing.toObject = function(includeInstance, msg) { var f, obj = { -methodSettingsList: jspb.Message.toObjectList(msg.getMethodSettingsList(), + methodSettingsList: jspb.Message.toObjectList(msg.getMethodSettingsList(), proto.google.api.MethodSettings.toObject, includeInstance), -newIssueUri: jspb.Message.getFieldWithDefault(msg, 101, ""), -documentationUri: jspb.Message.getFieldWithDefault(msg, 102, ""), -apiShortName: jspb.Message.getFieldWithDefault(msg, 103, ""), -githubLabel: jspb.Message.getFieldWithDefault(msg, 104, ""), -codeownerGithubTeamsList: (f = jspb.Message.getRepeatedField(msg, 105)) == null ? undefined : f, -docTagPrefix: jspb.Message.getFieldWithDefault(msg, 106, ""), -organization: jspb.Message.getFieldWithDefault(msg, 107, 0), -librarySettingsList: jspb.Message.toObjectList(msg.getLibrarySettingsList(), + newIssueUri: jspb.Message.getFieldWithDefault(msg, 101, ""), + documentationUri: jspb.Message.getFieldWithDefault(msg, 102, ""), + apiShortName: jspb.Message.getFieldWithDefault(msg, 103, ""), + githubLabel: jspb.Message.getFieldWithDefault(msg, 104, ""), + codeownerGithubTeamsList: (f = jspb.Message.getRepeatedField(msg, 105)) == null ? undefined : f, + docTagPrefix: jspb.Message.getFieldWithDefault(msg, 106, ""), + organization: jspb.Message.getFieldWithDefault(msg, 107, 0), + librarySettingsList: jspb.Message.toObjectList(msg.getLibrarySettingsList(), proto.google.api.ClientLibrarySettings.toObject, includeInstance), -protoReferenceDocumentationUri: jspb.Message.getFieldWithDefault(msg, 110, ""), -restReferenceDocumentationUri: jspb.Message.getFieldWithDefault(msg, 111, "") + protoReferenceDocumentationUri: jspb.Message.getFieldWithDefault(msg, 110, ""), + restReferenceDocumentationUri: jspb.Message.getFieldWithDefault(msg, 111, "") }; if (includeInstance) { @@ -1734,9 +1728,9 @@ proto.google.api.JavaSettings.prototype.toObject = function(opt_includeInstance) */ proto.google.api.JavaSettings.toObject = function(includeInstance, msg) { var f, obj = { -libraryPackage: jspb.Message.getFieldWithDefault(msg, 1, ""), -serviceClassNamesMap: (f = msg.getServiceClassNamesMap()) ? f.toObject(includeInstance, undefined) : [], -common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) + libraryPackage: jspb.Message.getFieldWithDefault(msg, 1, ""), + serviceClassNamesMap: (f = msg.getServiceClassNamesMap()) ? f.toObject(includeInstance, undefined) : [], + common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -1876,8 +1870,7 @@ proto.google.api.JavaSettings.prototype.getServiceClassNamesMap = function(opt_n */ proto.google.api.JavaSettings.prototype.clearServiceClassNamesMap = function() { this.getServiceClassNamesMap().clear(); - return this; -}; + return this;}; /** @@ -1949,7 +1942,7 @@ proto.google.api.CppSettings.prototype.toObject = function(opt_includeInstance) */ proto.google.api.CppSettings.toObject = function(includeInstance, msg) { var f, obj = { -common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) + common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -2100,7 +2093,7 @@ proto.google.api.PhpSettings.prototype.toObject = function(opt_includeInstance) */ proto.google.api.PhpSettings.toObject = function(includeInstance, msg) { var f, obj = { -common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) + common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -2251,8 +2244,8 @@ proto.google.api.PythonSettings.prototype.toObject = function(opt_includeInstanc */ proto.google.api.PythonSettings.toObject = function(includeInstance, msg) { var f, obj = { -common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f), -experimentalFeatures: (f = msg.getExperimentalFeatures()) && proto.google.api.PythonSettings.ExperimentalFeatures.toObject(includeInstance, f) + common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f), + experimentalFeatures: (f = msg.getExperimentalFeatures()) && proto.google.api.PythonSettings.ExperimentalFeatures.toObject(includeInstance, f) }; if (includeInstance) { @@ -2379,8 +2372,8 @@ proto.google.api.PythonSettings.ExperimentalFeatures.prototype.toObject = functi */ proto.google.api.PythonSettings.ExperimentalFeatures.toObject = function(includeInstance, msg) { var f, obj = { -restAsyncIoEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), -protobufPythonicTypesEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + restAsyncIoEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + protobufPythonicTypesEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -2613,7 +2606,7 @@ proto.google.api.NodeSettings.prototype.toObject = function(opt_includeInstance) */ proto.google.api.NodeSettings.toObject = function(includeInstance, msg) { var f, obj = { -common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) + common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -2771,12 +2764,12 @@ proto.google.api.DotnetSettings.prototype.toObject = function(opt_includeInstanc */ proto.google.api.DotnetSettings.toObject = function(includeInstance, msg) { var f, obj = { -common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f), -renamedServicesMap: (f = msg.getRenamedServicesMap()) ? f.toObject(includeInstance, undefined) : [], -renamedResourcesMap: (f = msg.getRenamedResourcesMap()) ? f.toObject(includeInstance, undefined) : [], -ignoredResourcesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, -forcedNamespaceAliasesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, -handwrittenSignaturesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f + common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f), + renamedServicesMap: (f = msg.getRenamedServicesMap()) ? f.toObject(includeInstance, undefined) : [], + renamedResourcesMap: (f = msg.getRenamedResourcesMap()) ? f.toObject(includeInstance, undefined) : [], + ignoredResourcesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, + forcedNamespaceAliasesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, + handwrittenSignaturesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f }; if (includeInstance) { @@ -2967,8 +2960,7 @@ proto.google.api.DotnetSettings.prototype.getRenamedServicesMap = function(opt_n */ proto.google.api.DotnetSettings.prototype.clearRenamedServicesMap = function() { this.getRenamedServicesMap().clear(); - return this; -}; + return this;}; /** @@ -2990,8 +2982,7 @@ proto.google.api.DotnetSettings.prototype.getRenamedResourcesMap = function(opt_ */ proto.google.api.DotnetSettings.prototype.clearRenamedResourcesMap = function() { this.getRenamedResourcesMap().clear(); - return this; -}; + return this;}; /** @@ -3137,7 +3128,7 @@ proto.google.api.RubySettings.prototype.toObject = function(opt_includeInstance) */ proto.google.api.RubySettings.toObject = function(includeInstance, msg) { var f, obj = { -common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) + common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -3288,7 +3279,7 @@ proto.google.api.GoSettings.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.GoSettings.toObject = function(includeInstance, msg) { var f, obj = { -common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) + common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -3446,9 +3437,9 @@ proto.google.api.MethodSettings.prototype.toObject = function(opt_includeInstanc */ proto.google.api.MethodSettings.toObject = function(includeInstance, msg) { var f, obj = { -selector: jspb.Message.getFieldWithDefault(msg, 1, ""), -longRunning: (f = msg.getLongRunning()) && proto.google.api.MethodSettings.LongRunning.toObject(includeInstance, f), -autoPopulatedFieldsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f + selector: jspb.Message.getFieldWithDefault(msg, 1, ""), + longRunning: (f = msg.getLongRunning()) && proto.google.api.MethodSettings.LongRunning.toObject(includeInstance, f), + autoPopulatedFieldsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -3584,10 +3575,10 @@ proto.google.api.MethodSettings.LongRunning.prototype.toObject = function(opt_in */ proto.google.api.MethodSettings.LongRunning.toObject = function(includeInstance, msg) { var f, obj = { -initialPollDelay: (f = msg.getInitialPollDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), -pollDelayMultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -maxPollDelay: (f = msg.getMaxPollDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), -totalPollTimeout: (f = msg.getTotalPollTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) + initialPollDelay: (f = msg.getInitialPollDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), + pollDelayMultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + maxPollDelay: (f = msg.getMaxPollDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), + totalPollTimeout: (f = msg.getTotalPollTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -3966,7 +3957,7 @@ proto.google.api.SelectiveGapicGeneration.prototype.toObject = function(opt_incl */ proto.google.api.SelectiveGapicGeneration.toObject = function(includeInstance, msg) { var f, obj = { -methodsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + methodsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1alpha1/checked_pb.js b/gen/js/google/api/expr/v1alpha1/checked_pb.js index 7292e1eb..370837f2 100644 --- a/gen/js/google/api/expr/v1alpha1/checked_pb.js +++ b/gen/js/google/api/expr/v1alpha1/checked_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_api_expr_v1alpha1_syntax_pb = require('../../../../google/api/expr/v1alpha1/syntax_pb.js'); goog.object.extend(proto, google_api_expr_v1alpha1_syntax_pb); @@ -305,11 +299,11 @@ proto.google.api.expr.v1alpha1.CheckedExpr.prototype.toObject = function(opt_inc */ proto.google.api.expr.v1alpha1.CheckedExpr.toObject = function(includeInstance, msg) { var f, obj = { -referenceMapMap: (f = msg.getReferenceMapMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Reference.toObject) : [], -typeMapMap: (f = msg.getTypeMapMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Type.toObject) : [], -sourceInfo: (f = msg.getSourceInfo()) && google_api_expr_v1alpha1_syntax_pb.SourceInfo.toObject(includeInstance, f), -exprVersion: jspb.Message.getFieldWithDefault(msg, 6, ""), -expr: (f = msg.getExpr()) && google_api_expr_v1alpha1_syntax_pb.Expr.toObject(includeInstance, f) + referenceMapMap: (f = msg.getReferenceMapMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Reference.toObject) : [], + typeMapMap: (f = msg.getTypeMapMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Type.toObject) : [], + sourceInfo: (f = msg.getSourceInfo()) && google_api_expr_v1alpha1_syntax_pb.SourceInfo.toObject(includeInstance, f), + exprVersion: jspb.Message.getFieldWithDefault(msg, 6, ""), + expr: (f = msg.getExpr()) && google_api_expr_v1alpha1_syntax_pb.Expr.toObject(includeInstance, f) }; if (includeInstance) { @@ -454,8 +448,7 @@ proto.google.api.expr.v1alpha1.CheckedExpr.prototype.getReferenceMapMap = functi */ proto.google.api.expr.v1alpha1.CheckedExpr.prototype.clearReferenceMapMap = function() { this.getReferenceMapMap().clear(); - return this; -}; + return this;}; /** @@ -477,8 +470,7 @@ proto.google.api.expr.v1alpha1.CheckedExpr.prototype.getTypeMapMap = function(op */ proto.google.api.expr.v1alpha1.CheckedExpr.prototype.clearTypeMapMap = function() { this.getTypeMapMap().clear(); - return this; -}; + return this;}; /** @@ -642,19 +634,19 @@ proto.google.api.expr.v1alpha1.Type.prototype.toObject = function(opt_includeIns */ proto.google.api.expr.v1alpha1.Type.toObject = function(includeInstance, msg) { var f, obj = { -dyn: (f = msg.getDyn()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f), -pb_null: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, -primitive: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, -wrapper: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, -wellKnown: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, -listType: (f = msg.getListType()) && proto.google.api.expr.v1alpha1.Type.ListType.toObject(includeInstance, f), -mapType: (f = msg.getMapType()) && proto.google.api.expr.v1alpha1.Type.MapType.toObject(includeInstance, f), -pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1alpha1.Type.FunctionType.toObject(includeInstance, f), -messageType: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, -typeParam: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, -type: (f = msg.getType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), -error: (f = msg.getError()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f), -abstractType: (f = msg.getAbstractType()) && proto.google.api.expr.v1alpha1.Type.AbstractType.toObject(includeInstance, f) + dyn: (f = msg.getDyn()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f), + pb_null: jspb.Message.getFieldWithDefault(msg, 2, 0), + primitive: jspb.Message.getFieldWithDefault(msg, 3, 0), + wrapper: jspb.Message.getFieldWithDefault(msg, 4, 0), + wellKnown: jspb.Message.getFieldWithDefault(msg, 5, 0), + listType: (f = msg.getListType()) && proto.google.api.expr.v1alpha1.Type.ListType.toObject(includeInstance, f), + mapType: (f = msg.getMapType()) && proto.google.api.expr.v1alpha1.Type.MapType.toObject(includeInstance, f), + pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1alpha1.Type.FunctionType.toObject(includeInstance, f), + messageType: jspb.Message.getFieldWithDefault(msg, 9, ""), + typeParam: jspb.Message.getFieldWithDefault(msg, 10, ""), + type: (f = msg.getType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), + error: (f = msg.getError()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f), + abstractType: (f = msg.getAbstractType()) && proto.google.api.expr.v1alpha1.Type.AbstractType.toObject(includeInstance, f) }; if (includeInstance) { @@ -935,7 +927,7 @@ proto.google.api.expr.v1alpha1.Type.ListType.prototype.toObject = function(opt_i */ proto.google.api.expr.v1alpha1.Type.ListType.toObject = function(includeInstance, msg) { var f, obj = { -elemType: (f = msg.getElemType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f) + elemType: (f = msg.getElemType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f) }; if (includeInstance) { @@ -1086,8 +1078,8 @@ proto.google.api.expr.v1alpha1.Type.MapType.prototype.toObject = function(opt_in */ proto.google.api.expr.v1alpha1.Type.MapType.toObject = function(includeInstance, msg) { var f, obj = { -keyType: (f = msg.getKeyType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), -valueType: (f = msg.getValueType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f) + keyType: (f = msg.getKeyType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), + valueType: (f = msg.getValueType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f) }; if (includeInstance) { @@ -1295,8 +1287,8 @@ proto.google.api.expr.v1alpha1.Type.FunctionType.prototype.toObject = function(o */ proto.google.api.expr.v1alpha1.Type.FunctionType.toObject = function(includeInstance, msg) { var f, obj = { -resultType: (f = msg.getResultType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), -argTypesList: jspb.Message.toObjectList(msg.getArgTypesList(), + resultType: (f = msg.getResultType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), + argTypesList: jspb.Message.toObjectList(msg.getArgTypesList(), proto.google.api.expr.v1alpha1.Type.toObject, includeInstance) }; @@ -1506,8 +1498,8 @@ proto.google.api.expr.v1alpha1.Type.AbstractType.prototype.toObject = function(o */ proto.google.api.expr.v1alpha1.Type.AbstractType.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -parameterTypesList: jspb.Message.toObjectList(msg.getParameterTypesList(), + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + parameterTypesList: jspb.Message.toObjectList(msg.getParameterTypesList(), proto.google.api.expr.v1alpha1.Type.toObject, includeInstance) }; @@ -2190,9 +2182,9 @@ proto.google.api.expr.v1alpha1.Decl.prototype.toObject = function(opt_includeIns */ proto.google.api.expr.v1alpha1.Decl.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -ident: (f = msg.getIdent()) && proto.google.api.expr.v1alpha1.Decl.IdentDecl.toObject(includeInstance, f), -pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1alpha1.Decl.FunctionDecl.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + ident: (f = msg.getIdent()) && proto.google.api.expr.v1alpha1.Decl.IdentDecl.toObject(includeInstance, f), + pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1alpha1.Decl.FunctionDecl.toObject(includeInstance, f) }; if (includeInstance) { @@ -2330,9 +2322,9 @@ proto.google.api.expr.v1alpha1.Decl.IdentDecl.prototype.toObject = function(opt_ */ proto.google.api.expr.v1alpha1.Decl.IdentDecl.toObject = function(includeInstance, msg) { var f, obj = { -type: (f = msg.getType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), -value: (f = msg.getValue()) && google_api_expr_v1alpha1_syntax_pb.Constant.toObject(includeInstance, f), -doc: jspb.Message.getFieldWithDefault(msg, 3, "") + type: (f = msg.getType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), + value: (f = msg.getValue()) && google_api_expr_v1alpha1_syntax_pb.Constant.toObject(includeInstance, f), + doc: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -2569,7 +2561,7 @@ proto.google.api.expr.v1alpha1.Decl.FunctionDecl.prototype.toObject = function(o */ proto.google.api.expr.v1alpha1.Decl.FunctionDecl.toObject = function(includeInstance, msg) { var f, obj = { -overloadsList: jspb.Message.toObjectList(msg.getOverloadsList(), + overloadsList: jspb.Message.toObjectList(msg.getOverloadsList(), proto.google.api.expr.v1alpha1.Decl.FunctionDecl.Overload.toObject, includeInstance) }; @@ -2691,13 +2683,13 @@ proto.google.api.expr.v1alpha1.Decl.FunctionDecl.Overload.prototype.toObject = f */ proto.google.api.expr.v1alpha1.Decl.FunctionDecl.Overload.toObject = function(includeInstance, msg) { var f, obj = { -overloadId: jspb.Message.getFieldWithDefault(msg, 1, ""), -paramsList: jspb.Message.toObjectList(msg.getParamsList(), + overloadId: jspb.Message.getFieldWithDefault(msg, 1, ""), + paramsList: jspb.Message.toObjectList(msg.getParamsList(), proto.google.api.expr.v1alpha1.Type.toObject, includeInstance), -typeParamsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, -resultType: (f = msg.getResultType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), -isInstanceFunction: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), -doc: jspb.Message.getFieldWithDefault(msg, 6, "") + typeParamsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, + resultType: (f = msg.getResultType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), + isInstanceFunction: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + doc: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { @@ -3171,9 +3163,9 @@ proto.google.api.expr.v1alpha1.Reference.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.Reference.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -overloadIdList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, -value: (f = msg.getValue()) && google_api_expr_v1alpha1_syntax_pb.Constant.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + overloadIdList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, + value: (f = msg.getValue()) && google_api_expr_v1alpha1_syntax_pb.Constant.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1alpha1/eval_pb.js b/gen/js/google/api/expr/v1alpha1/eval_pb.js index b95633e6..9a60c759 100644 --- a/gen/js/google/api/expr/v1alpha1/eval_pb.js +++ b/gen/js/google/api/expr/v1alpha1/eval_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_api_expr_v1alpha1_value_pb = require('../../../../google/api/expr/v1alpha1/value_pb.js'); goog.object.extend(proto, google_api_expr_v1alpha1_value_pb); @@ -175,9 +169,9 @@ proto.google.api.expr.v1alpha1.EvalState.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.EvalState.toObject = function(includeInstance, msg) { var f, obj = { -valuesList: jspb.Message.toObjectList(msg.getValuesList(), + valuesList: jspb.Message.toObjectList(msg.getValuesList(), proto.google.api.expr.v1alpha1.ExprValue.toObject, includeInstance), -resultsList: jspb.Message.toObjectList(msg.getResultsList(), + resultsList: jspb.Message.toObjectList(msg.getResultsList(), proto.google.api.expr.v1alpha1.EvalState.Result.toObject, includeInstance) }; @@ -305,8 +299,8 @@ proto.google.api.expr.v1alpha1.EvalState.Result.prototype.toObject = function(op */ proto.google.api.expr.v1alpha1.EvalState.Result.toObject = function(includeInstance, msg) { var f, obj = { -expr: jspb.Message.getFieldWithDefault(msg, 1, 0), -value: jspb.Message.getFieldWithDefault(msg, 2, 0) + expr: jspb.Message.getFieldWithDefault(msg, 1, 0), + value: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -568,9 +562,9 @@ proto.google.api.expr.v1alpha1.ExprValue.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.ExprValue.toObject = function(includeInstance, msg) { var f, obj = { -value: (f = msg.getValue()) && google_api_expr_v1alpha1_value_pb.Value.toObject(includeInstance, f), -error: (f = msg.getError()) && proto.google.api.expr.v1alpha1.ErrorSet.toObject(includeInstance, f), -unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1alpha1.UnknownSet.toObject(includeInstance, f) + value: (f = msg.getValue()) && google_api_expr_v1alpha1_value_pb.Value.toObject(includeInstance, f), + error: (f = msg.getError()) && proto.google.api.expr.v1alpha1.ErrorSet.toObject(includeInstance, f), + unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1alpha1.UnknownSet.toObject(includeInstance, f) }; if (includeInstance) { @@ -828,7 +822,7 @@ proto.google.api.expr.v1alpha1.ErrorSet.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1alpha1.ErrorSet.toObject = function(includeInstance, msg) { var f, obj = { -errorsList: jspb.Message.toObjectList(msg.getErrorsList(), + errorsList: jspb.Message.toObjectList(msg.getErrorsList(), google_rpc_status_pb.Status.toObject, includeInstance) }; @@ -988,7 +982,7 @@ proto.google.api.expr.v1alpha1.UnknownSet.prototype.toObject = function(opt_incl */ proto.google.api.expr.v1alpha1.UnknownSet.toObject = function(includeInstance, msg) { var f, obj = { -exprsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + exprsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1alpha1/explain_pb.js b/gen/js/google/api/expr/v1alpha1/explain_pb.js index 83643744..b8bbc99a 100644 --- a/gen/js/google/api/expr/v1alpha1/explain_pb.js +++ b/gen/js/google/api/expr/v1alpha1/explain_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_api_expr_v1alpha1_value_pb = require('../../../../google/api/expr/v1alpha1/value_pb.js'); goog.object.extend(proto, google_api_expr_v1alpha1_value_pb); @@ -106,9 +100,9 @@ proto.google.api.expr.v1alpha1.Explain.prototype.toObject = function(opt_include */ proto.google.api.expr.v1alpha1.Explain.toObject = function(includeInstance, msg) { var f, obj = { -valuesList: jspb.Message.toObjectList(msg.getValuesList(), + valuesList: jspb.Message.toObjectList(msg.getValuesList(), google_api_expr_v1alpha1_value_pb.Value.toObject, includeInstance), -exprStepsList: jspb.Message.toObjectList(msg.getExprStepsList(), + exprStepsList: jspb.Message.toObjectList(msg.getExprStepsList(), proto.google.api.expr.v1alpha1.Explain.ExprStep.toObject, includeInstance) }; @@ -236,8 +230,8 @@ proto.google.api.expr.v1alpha1.Explain.ExprStep.prototype.toObject = function(op */ proto.google.api.expr.v1alpha1.Explain.ExprStep.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, 0), -valueIndex: jspb.Message.getFieldWithDefault(msg, 2, 0) + id: jspb.Message.getFieldWithDefault(msg, 1, 0), + valueIndex: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1alpha1/syntax_pb.js b/gen/js/google/api/expr/v1alpha1/syntax_pb.js index 2f0347fd..4f90b7b0 100644 --- a/gen/js/google/api/expr/v1alpha1/syntax_pb.js +++ b/gen/js/google/api/expr/v1alpha1/syntax_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js'); goog.object.extend(proto, google_protobuf_duration_pb); @@ -371,8 +365,8 @@ proto.google.api.expr.v1alpha1.ParsedExpr.prototype.toObject = function(opt_incl */ proto.google.api.expr.v1alpha1.ParsedExpr.toObject = function(includeInstance, msg) { var f, obj = { -expr: (f = msg.getExpr()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), -sourceInfo: (f = msg.getSourceInfo()) && proto.google.api.expr.v1alpha1.SourceInfo.toObject(includeInstance, f) + expr: (f = msg.getExpr()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), + sourceInfo: (f = msg.getSourceInfo()) && proto.google.api.expr.v1alpha1.SourceInfo.toObject(includeInstance, f) }; if (includeInstance) { @@ -604,14 +598,14 @@ proto.google.api.expr.v1alpha1.Expr.prototype.toObject = function(opt_includeIns */ proto.google.api.expr.v1alpha1.Expr.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 2, 0), -constExpr: (f = msg.getConstExpr()) && proto.google.api.expr.v1alpha1.Constant.toObject(includeInstance, f), -identExpr: (f = msg.getIdentExpr()) && proto.google.api.expr.v1alpha1.Expr.Ident.toObject(includeInstance, f), -selectExpr: (f = msg.getSelectExpr()) && proto.google.api.expr.v1alpha1.Expr.Select.toObject(includeInstance, f), -callExpr: (f = msg.getCallExpr()) && proto.google.api.expr.v1alpha1.Expr.Call.toObject(includeInstance, f), -listExpr: (f = msg.getListExpr()) && proto.google.api.expr.v1alpha1.Expr.CreateList.toObject(includeInstance, f), -structExpr: (f = msg.getStructExpr()) && proto.google.api.expr.v1alpha1.Expr.CreateStruct.toObject(includeInstance, f), -comprehensionExpr: (f = msg.getComprehensionExpr()) && proto.google.api.expr.v1alpha1.Expr.Comprehension.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 2, 0), + constExpr: (f = msg.getConstExpr()) && proto.google.api.expr.v1alpha1.Constant.toObject(includeInstance, f), + identExpr: (f = msg.getIdentExpr()) && proto.google.api.expr.v1alpha1.Expr.Ident.toObject(includeInstance, f), + selectExpr: (f = msg.getSelectExpr()) && proto.google.api.expr.v1alpha1.Expr.Select.toObject(includeInstance, f), + callExpr: (f = msg.getCallExpr()) && proto.google.api.expr.v1alpha1.Expr.Call.toObject(includeInstance, f), + listExpr: (f = msg.getListExpr()) && proto.google.api.expr.v1alpha1.Expr.CreateList.toObject(includeInstance, f), + structExpr: (f = msg.getStructExpr()) && proto.google.api.expr.v1alpha1.Expr.CreateStruct.toObject(includeInstance, f), + comprehensionExpr: (f = msg.getComprehensionExpr()) && proto.google.api.expr.v1alpha1.Expr.Comprehension.toObject(includeInstance, f) }; if (includeInstance) { @@ -814,7 +808,7 @@ proto.google.api.expr.v1alpha1.Expr.Ident.prototype.toObject = function(opt_incl */ proto.google.api.expr.v1alpha1.Expr.Ident.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -944,9 +938,9 @@ proto.google.api.expr.v1alpha1.Expr.Select.prototype.toObject = function(opt_inc */ proto.google.api.expr.v1alpha1.Expr.Select.toObject = function(includeInstance, msg) { var f, obj = { -operand: (f = msg.getOperand()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), -field: jspb.Message.getFieldWithDefault(msg, 2, ""), -testOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + operand: (f = msg.getOperand()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), + field: jspb.Message.getFieldWithDefault(msg, 2, ""), + testOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -1162,9 +1156,9 @@ proto.google.api.expr.v1alpha1.Expr.Call.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.Expr.Call.toObject = function(includeInstance, msg) { var f, obj = { -target: (f = msg.getTarget()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), -pb_function: jspb.Message.getFieldWithDefault(msg, 2, ""), -argsList: jspb.Message.toObjectList(msg.getArgsList(), + target: (f = msg.getTarget()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), + pb_function: jspb.Message.getFieldWithDefault(msg, 2, ""), + argsList: jspb.Message.toObjectList(msg.getArgsList(), proto.google.api.expr.v1alpha1.Expr.toObject, includeInstance) }; @@ -1403,9 +1397,9 @@ proto.google.api.expr.v1alpha1.Expr.CreateList.prototype.toObject = function(opt */ proto.google.api.expr.v1alpha1.Expr.CreateList.toObject = function(includeInstance, msg) { var f, obj = { -elementsList: jspb.Message.toObjectList(msg.getElementsList(), + elementsList: jspb.Message.toObjectList(msg.getElementsList(), proto.google.api.expr.v1alpha1.Expr.toObject, includeInstance), -optionalIndicesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f + optionalIndicesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -1614,8 +1608,8 @@ proto.google.api.expr.v1alpha1.Expr.CreateStruct.prototype.toObject = function(o */ proto.google.api.expr.v1alpha1.Expr.CreateStruct.toObject = function(includeInstance, msg) { var f, obj = { -messageName: jspb.Message.getFieldWithDefault(msg, 1, ""), -entriesList: jspb.Message.toObjectList(msg.getEntriesList(), + messageName: jspb.Message.getFieldWithDefault(msg, 1, ""), + entriesList: jspb.Message.toObjectList(msg.getEntriesList(), proto.google.api.expr.v1alpha1.Expr.CreateStruct.Entry.toObject, includeInstance) }; @@ -1767,11 +1761,11 @@ proto.google.api.expr.v1alpha1.Expr.CreateStruct.Entry.prototype.toObject = func */ proto.google.api.expr.v1alpha1.Expr.CreateStruct.Entry.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, 0), -fieldKey: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, -mapKey: (f = msg.getMapKey()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), -value: (f = msg.getValue()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), -optionalEntry: jspb.Message.getBooleanFieldWithDefault(msg, 5, false) + id: jspb.Message.getFieldWithDefault(msg, 1, 0), + fieldKey: jspb.Message.getFieldWithDefault(msg, 2, ""), + mapKey: (f = msg.getMapKey()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), + value: (f = msg.getValue()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), + optionalEntry: jspb.Message.getBooleanFieldWithDefault(msg, 5, false) }; if (includeInstance) { @@ -2133,14 +2127,14 @@ proto.google.api.expr.v1alpha1.Expr.Comprehension.prototype.toObject = function( */ proto.google.api.expr.v1alpha1.Expr.Comprehension.toObject = function(includeInstance, msg) { var f, obj = { -iterVar: jspb.Message.getFieldWithDefault(msg, 1, ""), -iterVar2: jspb.Message.getFieldWithDefault(msg, 8, ""), -iterRange: (f = msg.getIterRange()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), -accuVar: jspb.Message.getFieldWithDefault(msg, 3, ""), -accuInit: (f = msg.getAccuInit()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), -loopCondition: (f = msg.getLoopCondition()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), -loopStep: (f = msg.getLoopStep()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), -result: (f = msg.getResult()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f) + iterVar: jspb.Message.getFieldWithDefault(msg, 1, ""), + iterVar2: jspb.Message.getFieldWithDefault(msg, 8, ""), + iterRange: (f = msg.getIterRange()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), + accuVar: jspb.Message.getFieldWithDefault(msg, 3, ""), + accuInit: (f = msg.getAccuInit()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), + loopCondition: (f = msg.getLoopCondition()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), + loopStep: (f = msg.getLoopStep()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), + result: (f = msg.getResult()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f) }; if (includeInstance) { @@ -2888,15 +2882,15 @@ proto.google.api.expr.v1alpha1.Constant.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1alpha1.Constant.toObject = function(includeInstance, msg) { var f, obj = { -nullValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, -boolValue: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, -int64Value: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, -uint64Value: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, -doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, -stringValue: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, -bytesValue: msg.getBytesValue_asB64(), -durationValue: (f = msg.getDurationValue()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), -timestampValue: (f = msg.getTimestampValue()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + nullValue: jspb.Message.getFieldWithDefault(msg, 1, 0), + boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + int64Value: jspb.Message.getFieldWithDefault(msg, 3, 0), + uint64Value: jspb.Message.getFieldWithDefault(msg, 4, 0), + doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), + stringValue: jspb.Message.getFieldWithDefault(msg, 6, ""), + bytesValue: msg.getBytesValue_asB64(), + durationValue: (f = msg.getDurationValue()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), + timestampValue: (f = msg.getTimestampValue()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -3457,12 +3451,12 @@ proto.google.api.expr.v1alpha1.SourceInfo.prototype.toObject = function(opt_incl */ proto.google.api.expr.v1alpha1.SourceInfo.toObject = function(includeInstance, msg) { var f, obj = { -syntaxVersion: jspb.Message.getFieldWithDefault(msg, 1, ""), -location: jspb.Message.getFieldWithDefault(msg, 2, ""), -lineOffsetsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, -positionsMap: (f = msg.getPositionsMap()) ? f.toObject(includeInstance, undefined) : [], -macroCallsMap: (f = msg.getMacroCallsMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Expr.toObject) : [], -extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), + syntaxVersion: jspb.Message.getFieldWithDefault(msg, 1, ""), + location: jspb.Message.getFieldWithDefault(msg, 2, ""), + lineOffsetsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, + positionsMap: (f = msg.getPositionsMap()) ? f.toObject(includeInstance, undefined) : [], + macroCallsMap: (f = msg.getMacroCallsMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Expr.toObject) : [], + extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), proto.google.api.expr.v1alpha1.SourceInfo.Extension.toObject, includeInstance) }; @@ -3639,9 +3633,9 @@ proto.google.api.expr.v1alpha1.SourceInfo.Extension.prototype.toObject = functio */ proto.google.api.expr.v1alpha1.SourceInfo.Extension.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -affectedComponentsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, -version: (f = msg.getVersion()) && proto.google.api.expr.v1alpha1.SourceInfo.Extension.Version.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + affectedComponentsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + version: (f = msg.getVersion()) && proto.google.api.expr.v1alpha1.SourceInfo.Extension.Version.toObject(includeInstance, f) }; if (includeInstance) { @@ -3789,8 +3783,8 @@ proto.google.api.expr.v1alpha1.SourceInfo.Extension.Version.prototype.toObject = */ proto.google.api.expr.v1alpha1.SourceInfo.Extension.Version.toObject = function(includeInstance, msg) { var f, obj = { -major: jspb.Message.getFieldWithDefault(msg, 1, 0), -minor: jspb.Message.getFieldWithDefault(msg, 2, 0) + major: jspb.Message.getFieldWithDefault(msg, 1, 0), + minor: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -4101,8 +4095,7 @@ proto.google.api.expr.v1alpha1.SourceInfo.prototype.getPositionsMap = function(o */ proto.google.api.expr.v1alpha1.SourceInfo.prototype.clearPositionsMap = function() { this.getPositionsMap().clear(); - return this; -}; + return this;}; /** @@ -4124,8 +4117,7 @@ proto.google.api.expr.v1alpha1.SourceInfo.prototype.getMacroCallsMap = function( */ proto.google.api.expr.v1alpha1.SourceInfo.prototype.clearMacroCallsMap = function() { this.getMacroCallsMap().clear(); - return this; -}; + return this;}; /** @@ -4198,10 +4190,10 @@ proto.google.api.expr.v1alpha1.SourcePosition.prototype.toObject = function(opt_ */ proto.google.api.expr.v1alpha1.SourcePosition.toObject = function(includeInstance, msg) { var f, obj = { -location: jspb.Message.getFieldWithDefault(msg, 1, ""), -offset: jspb.Message.getFieldWithDefault(msg, 2, 0), -line: jspb.Message.getFieldWithDefault(msg, 3, 0), -column: jspb.Message.getFieldWithDefault(msg, 4, 0) + location: jspb.Message.getFieldWithDefault(msg, 1, ""), + offset: jspb.Message.getFieldWithDefault(msg, 2, 0), + line: jspb.Message.getFieldWithDefault(msg, 3, 0), + column: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1alpha1/value_pb.js b/gen/js/google/api/expr/v1alpha1/value_pb.js index 06d48e7c..e87a48c0 100644 --- a/gen/js/google/api/expr/v1alpha1/value_pb.js +++ b/gen/js/google/api/expr/v1alpha1/value_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); goog.object.extend(proto, google_protobuf_any_pb); @@ -204,18 +198,18 @@ proto.google.api.expr.v1alpha1.Value.prototype.toObject = function(opt_includeIn */ proto.google.api.expr.v1alpha1.Value.toObject = function(includeInstance, msg) { var f, obj = { -nullValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, -boolValue: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, -int64Value: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, -uint64Value: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, -doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, -stringValue: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, -bytesValue: msg.getBytesValue_asB64(), -enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1alpha1.EnumValue.toObject(includeInstance, f), -objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), -mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1alpha1.MapValue.toObject(includeInstance, f), -listValue: (f = msg.getListValue()) && proto.google.api.expr.v1alpha1.ListValue.toObject(includeInstance, f), -typeValue: (f = jspb.Message.getField(msg, 15)) == null ? undefined : f + nullValue: jspb.Message.getFieldWithDefault(msg, 1, 0), + boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + int64Value: jspb.Message.getFieldWithDefault(msg, 3, 0), + uint64Value: jspb.Message.getFieldWithDefault(msg, 4, 0), + doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), + stringValue: jspb.Message.getFieldWithDefault(msg, 6, ""), + bytesValue: msg.getBytesValue_asB64(), + enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1alpha1.EnumValue.toObject(includeInstance, f), + objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), + mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1alpha1.MapValue.toObject(includeInstance, f), + listValue: (f = msg.getListValue()) && proto.google.api.expr.v1alpha1.ListValue.toObject(includeInstance, f), + typeValue: jspb.Message.getFieldWithDefault(msg, 15, "") }; if (includeInstance) { @@ -916,8 +910,8 @@ proto.google.api.expr.v1alpha1.EnumValue.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.EnumValue.toObject = function(includeInstance, msg) { var f, obj = { -type: jspb.Message.getFieldWithDefault(msg, 1, ""), -value: jspb.Message.getFieldWithDefault(msg, 2, 0) + type: jspb.Message.getFieldWithDefault(msg, 1, ""), + value: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -1083,7 +1077,7 @@ proto.google.api.expr.v1alpha1.ListValue.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.ListValue.toObject = function(includeInstance, msg) { var f, obj = { -valuesList: jspb.Message.toObjectList(msg.getValuesList(), + valuesList: jspb.Message.toObjectList(msg.getValuesList(), proto.google.api.expr.v1alpha1.Value.toObject, includeInstance) }; @@ -1243,7 +1237,7 @@ proto.google.api.expr.v1alpha1.MapValue.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1alpha1.MapValue.toObject = function(includeInstance, msg) { var f, obj = { -entriesList: jspb.Message.toObjectList(msg.getEntriesList(), + entriesList: jspb.Message.toObjectList(msg.getEntriesList(), proto.google.api.expr.v1alpha1.MapValue.Entry.toObject, includeInstance) }; @@ -1358,8 +1352,8 @@ proto.google.api.expr.v1alpha1.MapValue.Entry.prototype.toObject = function(opt_ */ proto.google.api.expr.v1alpha1.MapValue.Entry.toObject = function(includeInstance, msg) { var f, obj = { -key: (f = msg.getKey()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f), -value: (f = msg.getValue()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f) + key: (f = msg.getKey()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f), + value: (f = msg.getValue()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1beta1/decl_pb.js b/gen/js/google/api/expr/v1beta1/decl_pb.js index 4932d3ef..4a6e2a1a 100644 --- a/gen/js/google/api/expr/v1beta1/decl_pb.js +++ b/gen/js/google/api/expr/v1beta1/decl_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_api_expr_v1beta1_expr_pb = require('../../../../google/api/expr/v1beta1/expr_pb.js'); goog.object.extend(proto, google_api_expr_v1beta1_expr_pb); @@ -170,11 +164,11 @@ proto.google.api.expr.v1beta1.Decl.prototype.toObject = function(opt_includeInst */ proto.google.api.expr.v1beta1.Decl.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, 0), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -doc: jspb.Message.getFieldWithDefault(msg, 3, ""), -ident: (f = msg.getIdent()) && proto.google.api.expr.v1beta1.IdentDecl.toObject(includeInstance, f), -pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1beta1.FunctionDecl.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 1, 0), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + doc: jspb.Message.getFieldWithDefault(msg, 3, ""), + ident: (f = msg.getIdent()) && proto.google.api.expr.v1beta1.IdentDecl.toObject(includeInstance, f), + pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1beta1.FunctionDecl.toObject(includeInstance, f) }; if (includeInstance) { @@ -469,9 +463,9 @@ proto.google.api.expr.v1beta1.DeclType.prototype.toObject = function(opt_include */ proto.google.api.expr.v1beta1.DeclType.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, 0), -type: jspb.Message.getFieldWithDefault(msg, 2, ""), -typeParamsList: jspb.Message.toObjectList(msg.getTypeParamsList(), + id: jspb.Message.getFieldWithDefault(msg, 1, 0), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + typeParamsList: jspb.Message.toObjectList(msg.getTypeParamsList(), proto.google.api.expr.v1beta1.DeclType.toObject, includeInstance) }; @@ -682,8 +676,8 @@ proto.google.api.expr.v1beta1.IdentDecl.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.IdentDecl.toObject = function(includeInstance, msg) { var f, obj = { -type: (f = msg.getType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), -value: (f = msg.getValue()) && google_api_expr_v1beta1_expr_pb.Expr.toObject(includeInstance, f) + type: (f = msg.getType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), + value: (f = msg.getValue()) && google_api_expr_v1beta1_expr_pb.Expr.toObject(includeInstance, f) }; if (includeInstance) { @@ -891,10 +885,10 @@ proto.google.api.expr.v1beta1.FunctionDecl.prototype.toObject = function(opt_inc */ proto.google.api.expr.v1beta1.FunctionDecl.toObject = function(includeInstance, msg) { var f, obj = { -argsList: jspb.Message.toObjectList(msg.getArgsList(), + argsList: jspb.Message.toObjectList(msg.getArgsList(), proto.google.api.expr.v1beta1.IdentDecl.toObject, includeInstance), -returnType: (f = msg.getReturnType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), -receiverFunction: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + returnType: (f = msg.getReturnType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), + receiverFunction: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1beta1/eval_pb.js b/gen/js/google/api/expr/v1beta1/eval_pb.js index a8c8315e..6e4a04cc 100644 --- a/gen/js/google/api/expr/v1beta1/eval_pb.js +++ b/gen/js/google/api/expr/v1beta1/eval_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_api_expr_v1beta1_value_pb = require('../../../../google/api/expr/v1beta1/value_pb.js'); goog.object.extend(proto, google_api_expr_v1beta1_value_pb); @@ -197,9 +191,9 @@ proto.google.api.expr.v1beta1.EvalState.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.EvalState.toObject = function(includeInstance, msg) { var f, obj = { -valuesList: jspb.Message.toObjectList(msg.getValuesList(), + valuesList: jspb.Message.toObjectList(msg.getValuesList(), proto.google.api.expr.v1beta1.ExprValue.toObject, includeInstance), -resultsList: jspb.Message.toObjectList(msg.getResultsList(), + resultsList: jspb.Message.toObjectList(msg.getResultsList(), proto.google.api.expr.v1beta1.EvalState.Result.toObject, includeInstance) }; @@ -327,8 +321,8 @@ proto.google.api.expr.v1beta1.EvalState.Result.prototype.toObject = function(opt */ proto.google.api.expr.v1beta1.EvalState.Result.toObject = function(includeInstance, msg) { var f, obj = { -expr: (f = msg.getExpr()) && proto.google.api.expr.v1beta1.IdRef.toObject(includeInstance, f), -value: jspb.Message.getFieldWithDefault(msg, 2, 0) + expr: (f = msg.getExpr()) && proto.google.api.expr.v1beta1.IdRef.toObject(includeInstance, f), + value: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -611,9 +605,9 @@ proto.google.api.expr.v1beta1.ExprValue.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.ExprValue.toObject = function(includeInstance, msg) { var f, obj = { -value: (f = msg.getValue()) && google_api_expr_v1beta1_value_pb.Value.toObject(includeInstance, f), -error: (f = msg.getError()) && proto.google.api.expr.v1beta1.ErrorSet.toObject(includeInstance, f), -unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1beta1.UnknownSet.toObject(includeInstance, f) + value: (f = msg.getValue()) && google_api_expr_v1beta1_value_pb.Value.toObject(includeInstance, f), + error: (f = msg.getError()) && proto.google.api.expr.v1beta1.ErrorSet.toObject(includeInstance, f), + unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1beta1.UnknownSet.toObject(includeInstance, f) }; if (includeInstance) { @@ -871,7 +865,7 @@ proto.google.api.expr.v1beta1.ErrorSet.prototype.toObject = function(opt_include */ proto.google.api.expr.v1beta1.ErrorSet.toObject = function(includeInstance, msg) { var f, obj = { -errorsList: jspb.Message.toObjectList(msg.getErrorsList(), + errorsList: jspb.Message.toObjectList(msg.getErrorsList(), google_rpc_status_pb.Status.toObject, includeInstance) }; @@ -1031,7 +1025,7 @@ proto.google.api.expr.v1beta1.UnknownSet.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1beta1.UnknownSet.toObject = function(includeInstance, msg) { var f, obj = { -exprsList: jspb.Message.toObjectList(msg.getExprsList(), + exprsList: jspb.Message.toObjectList(msg.getExprsList(), proto.google.api.expr.v1beta1.IdRef.toObject, includeInstance) }; @@ -1184,7 +1178,7 @@ proto.google.api.expr.v1beta1.IdRef.prototype.toObject = function(opt_includeIns */ proto.google.api.expr.v1beta1.IdRef.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, 0) + id: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1beta1/expr_pb.js b/gen/js/google/api/expr/v1beta1/expr_pb.js index 7035e6ea..fa983797 100644 --- a/gen/js/google/api/expr/v1beta1/expr_pb.js +++ b/gen/js/google/api/expr/v1beta1/expr_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_api_expr_v1beta1_source_pb = require('../../../../google/api/expr/v1beta1/source_pb.js'); goog.object.extend(proto, google_api_expr_v1beta1_source_pb); @@ -280,9 +274,9 @@ proto.google.api.expr.v1beta1.ParsedExpr.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1beta1.ParsedExpr.toObject = function(includeInstance, msg) { var f, obj = { -expr: (f = msg.getExpr()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), -sourceInfo: (f = msg.getSourceInfo()) && google_api_expr_v1beta1_source_pb.SourceInfo.toObject(includeInstance, f), -syntaxVersion: jspb.Message.getFieldWithDefault(msg, 4, "") + expr: (f = msg.getExpr()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), + sourceInfo: (f = msg.getSourceInfo()) && google_api_expr_v1beta1_source_pb.SourceInfo.toObject(includeInstance, f), + syntaxVersion: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -543,14 +537,14 @@ proto.google.api.expr.v1beta1.Expr.prototype.toObject = function(opt_includeInst */ proto.google.api.expr.v1beta1.Expr.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 2, 0), -literalExpr: (f = msg.getLiteralExpr()) && proto.google.api.expr.v1beta1.Literal.toObject(includeInstance, f), -identExpr: (f = msg.getIdentExpr()) && proto.google.api.expr.v1beta1.Expr.Ident.toObject(includeInstance, f), -selectExpr: (f = msg.getSelectExpr()) && proto.google.api.expr.v1beta1.Expr.Select.toObject(includeInstance, f), -callExpr: (f = msg.getCallExpr()) && proto.google.api.expr.v1beta1.Expr.Call.toObject(includeInstance, f), -listExpr: (f = msg.getListExpr()) && proto.google.api.expr.v1beta1.Expr.CreateList.toObject(includeInstance, f), -structExpr: (f = msg.getStructExpr()) && proto.google.api.expr.v1beta1.Expr.CreateStruct.toObject(includeInstance, f), -comprehensionExpr: (f = msg.getComprehensionExpr()) && proto.google.api.expr.v1beta1.Expr.Comprehension.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 2, 0), + literalExpr: (f = msg.getLiteralExpr()) && proto.google.api.expr.v1beta1.Literal.toObject(includeInstance, f), + identExpr: (f = msg.getIdentExpr()) && proto.google.api.expr.v1beta1.Expr.Ident.toObject(includeInstance, f), + selectExpr: (f = msg.getSelectExpr()) && proto.google.api.expr.v1beta1.Expr.Select.toObject(includeInstance, f), + callExpr: (f = msg.getCallExpr()) && proto.google.api.expr.v1beta1.Expr.Call.toObject(includeInstance, f), + listExpr: (f = msg.getListExpr()) && proto.google.api.expr.v1beta1.Expr.CreateList.toObject(includeInstance, f), + structExpr: (f = msg.getStructExpr()) && proto.google.api.expr.v1beta1.Expr.CreateStruct.toObject(includeInstance, f), + comprehensionExpr: (f = msg.getComprehensionExpr()) && proto.google.api.expr.v1beta1.Expr.Comprehension.toObject(includeInstance, f) }; if (includeInstance) { @@ -753,7 +747,7 @@ proto.google.api.expr.v1beta1.Expr.Ident.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1beta1.Expr.Ident.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -883,9 +877,9 @@ proto.google.api.expr.v1beta1.Expr.Select.prototype.toObject = function(opt_incl */ proto.google.api.expr.v1beta1.Expr.Select.toObject = function(includeInstance, msg) { var f, obj = { -operand: (f = msg.getOperand()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), -field: jspb.Message.getFieldWithDefault(msg, 2, ""), -testOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + operand: (f = msg.getOperand()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), + field: jspb.Message.getFieldWithDefault(msg, 2, ""), + testOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -1101,9 +1095,9 @@ proto.google.api.expr.v1beta1.Expr.Call.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.Expr.Call.toObject = function(includeInstance, msg) { var f, obj = { -target: (f = msg.getTarget()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), -pb_function: jspb.Message.getFieldWithDefault(msg, 2, ""), -argsList: jspb.Message.toObjectList(msg.getArgsList(), + target: (f = msg.getTarget()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), + pb_function: jspb.Message.getFieldWithDefault(msg, 2, ""), + argsList: jspb.Message.toObjectList(msg.getArgsList(), proto.google.api.expr.v1beta1.Expr.toObject, includeInstance) }; @@ -1342,7 +1336,7 @@ proto.google.api.expr.v1beta1.Expr.CreateList.prototype.toObject = function(opt_ */ proto.google.api.expr.v1beta1.Expr.CreateList.toObject = function(includeInstance, msg) { var f, obj = { -elementsList: jspb.Message.toObjectList(msg.getElementsList(), + elementsList: jspb.Message.toObjectList(msg.getElementsList(), proto.google.api.expr.v1beta1.Expr.toObject, includeInstance) }; @@ -1502,8 +1496,8 @@ proto.google.api.expr.v1beta1.Expr.CreateStruct.prototype.toObject = function(op */ proto.google.api.expr.v1beta1.Expr.CreateStruct.toObject = function(includeInstance, msg) { var f, obj = { -type: jspb.Message.getFieldWithDefault(msg, 1, ""), -entriesList: jspb.Message.toObjectList(msg.getEntriesList(), + type: jspb.Message.getFieldWithDefault(msg, 1, ""), + entriesList: jspb.Message.toObjectList(msg.getEntriesList(), proto.google.api.expr.v1beta1.Expr.CreateStruct.Entry.toObject, includeInstance) }; @@ -1655,10 +1649,10 @@ proto.google.api.expr.v1beta1.Expr.CreateStruct.Entry.prototype.toObject = funct */ proto.google.api.expr.v1beta1.Expr.CreateStruct.Entry.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, 0), -fieldKey: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, -mapKey: (f = msg.getMapKey()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), -value: (f = msg.getValue()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 1, 0), + fieldKey: jspb.Message.getFieldWithDefault(msg, 2, ""), + mapKey: (f = msg.getMapKey()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), + value: (f = msg.getValue()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f) }; if (includeInstance) { @@ -1991,13 +1985,13 @@ proto.google.api.expr.v1beta1.Expr.Comprehension.prototype.toObject = function(o */ proto.google.api.expr.v1beta1.Expr.Comprehension.toObject = function(includeInstance, msg) { var f, obj = { -iterVar: jspb.Message.getFieldWithDefault(msg, 1, ""), -iterRange: (f = msg.getIterRange()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), -accuVar: jspb.Message.getFieldWithDefault(msg, 3, ""), -accuInit: (f = msg.getAccuInit()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), -loopCondition: (f = msg.getLoopCondition()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), -loopStep: (f = msg.getLoopStep()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), -result: (f = msg.getResult()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f) + iterVar: jspb.Message.getFieldWithDefault(msg, 1, ""), + iterRange: (f = msg.getIterRange()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), + accuVar: jspb.Message.getFieldWithDefault(msg, 3, ""), + accuInit: (f = msg.getAccuInit()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), + loopCondition: (f = msg.getLoopCondition()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), + loopStep: (f = msg.getLoopStep()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), + result: (f = msg.getResult()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f) }; if (includeInstance) { @@ -2714,13 +2708,13 @@ proto.google.api.expr.v1beta1.Literal.prototype.toObject = function(opt_includeI */ proto.google.api.expr.v1beta1.Literal.toObject = function(includeInstance, msg) { var f, obj = { -nullValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, -boolValue: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, -int64Value: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, -uint64Value: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, -doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, -stringValue: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, -bytesValue: msg.getBytesValue_asB64() + nullValue: jspb.Message.getFieldWithDefault(msg, 1, 0), + boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + int64Value: jspb.Message.getFieldWithDefault(msg, 3, 0), + uint64Value: jspb.Message.getFieldWithDefault(msg, 4, 0), + doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), + stringValue: jspb.Message.getFieldWithDefault(msg, 6, ""), + bytesValue: msg.getBytesValue_asB64() }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1beta1/source_pb.js b/gen/js/google/api/expr/v1beta1/source_pb.js index ce947a43..10a8bbf7 100644 --- a/gen/js/google/api/expr/v1beta1/source_pb.js +++ b/gen/js/google/api/expr/v1beta1/source_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.api.expr.v1beta1.SourceInfo', null, global); goog.exportSymbol('proto.google.api.expr.v1beta1.SourcePosition', null, global); @@ -104,9 +98,9 @@ proto.google.api.expr.v1beta1.SourceInfo.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1beta1.SourceInfo.toObject = function(includeInstance, msg) { var f, obj = { -location: jspb.Message.getFieldWithDefault(msg, 2, ""), -lineOffsetsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, -positionsMap: (f = msg.getPositionsMap()) ? f.toObject(includeInstance, undefined) : [] + location: jspb.Message.getFieldWithDefault(msg, 2, ""), + lineOffsetsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, + positionsMap: (f = msg.getPositionsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -283,8 +277,7 @@ proto.google.api.expr.v1beta1.SourceInfo.prototype.getPositionsMap = function(op */ proto.google.api.expr.v1beta1.SourceInfo.prototype.clearPositionsMap = function() { this.getPositionsMap().clear(); - return this; -}; + return this;}; @@ -319,10 +312,10 @@ proto.google.api.expr.v1beta1.SourcePosition.prototype.toObject = function(opt_i */ proto.google.api.expr.v1beta1.SourcePosition.toObject = function(includeInstance, msg) { var f, obj = { -location: jspb.Message.getFieldWithDefault(msg, 1, ""), -offset: jspb.Message.getFieldWithDefault(msg, 2, 0), -line: jspb.Message.getFieldWithDefault(msg, 3, 0), -column: jspb.Message.getFieldWithDefault(msg, 4, 0) + location: jspb.Message.getFieldWithDefault(msg, 1, ""), + offset: jspb.Message.getFieldWithDefault(msg, 2, 0), + line: jspb.Message.getFieldWithDefault(msg, 3, 0), + column: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { diff --git a/gen/js/google/api/expr/v1beta1/value_pb.js b/gen/js/google/api/expr/v1beta1/value_pb.js index 87dd58a5..faab413a 100644 --- a/gen/js/google/api/expr/v1beta1/value_pb.js +++ b/gen/js/google/api/expr/v1beta1/value_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); goog.object.extend(proto, google_protobuf_any_pb); @@ -204,18 +198,18 @@ proto.google.api.expr.v1beta1.Value.prototype.toObject = function(opt_includeIns */ proto.google.api.expr.v1beta1.Value.toObject = function(includeInstance, msg) { var f, obj = { -nullValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, -boolValue: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, -int64Value: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, -uint64Value: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, -doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, -stringValue: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, -bytesValue: msg.getBytesValue_asB64(), -enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1beta1.EnumValue.toObject(includeInstance, f), -objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), -mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1beta1.MapValue.toObject(includeInstance, f), -listValue: (f = msg.getListValue()) && proto.google.api.expr.v1beta1.ListValue.toObject(includeInstance, f), -typeValue: (f = jspb.Message.getField(msg, 15)) == null ? undefined : f + nullValue: jspb.Message.getFieldWithDefault(msg, 1, 0), + boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + int64Value: jspb.Message.getFieldWithDefault(msg, 3, 0), + uint64Value: jspb.Message.getFieldWithDefault(msg, 4, 0), + doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), + stringValue: jspb.Message.getFieldWithDefault(msg, 6, ""), + bytesValue: msg.getBytesValue_asB64(), + enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1beta1.EnumValue.toObject(includeInstance, f), + objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), + mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1beta1.MapValue.toObject(includeInstance, f), + listValue: (f = msg.getListValue()) && proto.google.api.expr.v1beta1.ListValue.toObject(includeInstance, f), + typeValue: jspb.Message.getFieldWithDefault(msg, 15, "") }; if (includeInstance) { @@ -916,8 +910,8 @@ proto.google.api.expr.v1beta1.EnumValue.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.EnumValue.toObject = function(includeInstance, msg) { var f, obj = { -type: jspb.Message.getFieldWithDefault(msg, 1, ""), -value: jspb.Message.getFieldWithDefault(msg, 2, 0) + type: jspb.Message.getFieldWithDefault(msg, 1, ""), + value: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -1083,7 +1077,7 @@ proto.google.api.expr.v1beta1.ListValue.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.ListValue.toObject = function(includeInstance, msg) { var f, obj = { -valuesList: jspb.Message.toObjectList(msg.getValuesList(), + valuesList: jspb.Message.toObjectList(msg.getValuesList(), proto.google.api.expr.v1beta1.Value.toObject, includeInstance) }; @@ -1243,7 +1237,7 @@ proto.google.api.expr.v1beta1.MapValue.prototype.toObject = function(opt_include */ proto.google.api.expr.v1beta1.MapValue.toObject = function(includeInstance, msg) { var f, obj = { -entriesList: jspb.Message.toObjectList(msg.getEntriesList(), + entriesList: jspb.Message.toObjectList(msg.getEntriesList(), proto.google.api.expr.v1beta1.MapValue.Entry.toObject, includeInstance) }; @@ -1358,8 +1352,8 @@ proto.google.api.expr.v1beta1.MapValue.Entry.prototype.toObject = function(opt_i */ proto.google.api.expr.v1beta1.MapValue.Entry.toObject = function(includeInstance, msg) { var f, obj = { -key: (f = msg.getKey()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f), -value: (f = msg.getValue()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f) + key: (f = msg.getKey()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f), + value: (f = msg.getValue()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/google/api/field_behavior_pb.js b/gen/js/google/api/field_behavior_pb.js index 3e51e31f..200f6462 100644 --- a/gen/js/google/api/field_behavior_pb.js +++ b/gen/js/google/api/field_behavior_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); goog.object.extend(proto, google_protobuf_descriptor_pb); diff --git a/gen/js/google/api/field_info_pb.js b/gen/js/google/api/field_info_pb.js index d6ed3567..cfba6627 100644 --- a/gen/js/google/api/field_info_pb.js +++ b/gen/js/google/api/field_info_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); goog.object.extend(proto, google_protobuf_descriptor_pb); @@ -108,8 +102,8 @@ proto.google.api.FieldInfo.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.FieldInfo.toObject = function(includeInstance, msg) { var f, obj = { -format: jspb.Message.getFieldWithDefault(msg, 1, 0), -referencedTypesList: jspb.Message.toObjectList(msg.getReferencedTypesList(), + format: jspb.Message.getFieldWithDefault(msg, 1, 0), + referencedTypesList: jspb.Message.toObjectList(msg.getReferencedTypesList(), proto.google.api.TypeReference.toObject, includeInstance) }; @@ -302,7 +296,7 @@ proto.google.api.TypeReference.prototype.toObject = function(opt_includeInstance */ proto.google.api.TypeReference.toObject = function(includeInstance, msg) { var f, obj = { -typeName: jspb.Message.getFieldWithDefault(msg, 1, "") + typeName: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { diff --git a/gen/js/google/api/http_pb.js b/gen/js/google/api/http_pb.js index 01b39deb..ea429932 100644 --- a/gen/js/google/api/http_pb.js +++ b/gen/js/google/api/http_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global); goog.exportSymbol('proto.google.api.Http', null, global); @@ -127,9 +121,9 @@ proto.google.api.Http.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.Http.toObject = function(includeInstance, msg) { var f, obj = { -rulesList: jspb.Message.toObjectList(msg.getRulesList(), + rulesList: jspb.Message.toObjectList(msg.getRulesList(), proto.google.api.HttpRule.toObject, includeInstance), -fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -347,16 +341,16 @@ proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.HttpRule.toObject = function(includeInstance, msg) { var f, obj = { -selector: jspb.Message.getFieldWithDefault(msg, 1, ""), -get: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, -put: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, -post: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, -pb_delete: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, -patch: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, -custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), -body: jspb.Message.getFieldWithDefault(msg, 7, ""), -responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), -additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), + selector: jspb.Message.getFieldWithDefault(msg, 1, ""), + get: jspb.Message.getFieldWithDefault(msg, 2, ""), + put: jspb.Message.getFieldWithDefault(msg, 3, ""), + post: jspb.Message.getFieldWithDefault(msg, 4, ""), + pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), + patch: jspb.Message.getFieldWithDefault(msg, 6, ""), + custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), + body: jspb.Message.getFieldWithDefault(msg, 7, ""), + responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), + additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), proto.google.api.HttpRule.toObject, includeInstance) }; @@ -881,8 +875,8 @@ proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInst */ proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { var f, obj = { -kind: jspb.Message.getFieldWithDefault(msg, 1, ""), -path: jspb.Message.getFieldWithDefault(msg, 2, "") + kind: jspb.Message.getFieldWithDefault(msg, 1, ""), + path: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/api/httpbody_pb.js b/gen/js/google/api/httpbody_pb.js index 76c0171f..efaaef4a 100644 --- a/gen/js/google/api/httpbody_pb.js +++ b/gen/js/google/api/httpbody_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); goog.object.extend(proto, google_protobuf_any_pb); @@ -84,9 +78,9 @@ proto.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.HttpBody.toObject = function(includeInstance, msg) { var f, obj = { -contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), -data: msg.getData_asB64(), -extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), + contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), + data: msg.getData_asB64(), + extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), google_protobuf_any_pb.Any.toObject, includeInstance) }; diff --git a/gen/js/google/api/launch_stage_pb.js b/gen/js/google/api/launch_stage_pb.js index 9417b881..d6b19b69 100644 --- a/gen/js/google/api/launch_stage_pb.js +++ b/gen/js/google/api/launch_stage_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.api.LaunchStage', null, global); /** diff --git a/gen/js/google/api/resource_pb.js b/gen/js/google/api/resource_pb.js index 9087d367..82456373 100644 --- a/gen/js/google/api/resource_pb.js +++ b/gen/js/google/api/resource_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); goog.object.extend(proto, google_protobuf_descriptor_pb); @@ -111,13 +105,13 @@ proto.google.api.ResourceDescriptor.prototype.toObject = function(opt_includeIns */ proto.google.api.ResourceDescriptor.toObject = function(includeInstance, msg) { var f, obj = { -type: jspb.Message.getFieldWithDefault(msg, 1, ""), -patternList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, -nameField: jspb.Message.getFieldWithDefault(msg, 3, ""), -history: jspb.Message.getFieldWithDefault(msg, 4, 0), -plural: jspb.Message.getFieldWithDefault(msg, 5, ""), -singular: jspb.Message.getFieldWithDefault(msg, 6, ""), -styleList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f + type: jspb.Message.getFieldWithDefault(msg, 1, ""), + patternList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + nameField: jspb.Message.getFieldWithDefault(msg, 3, ""), + history: jspb.Message.getFieldWithDefault(msg, 4, 0), + plural: jspb.Message.getFieldWithDefault(msg, 5, ""), + singular: jspb.Message.getFieldWithDefault(msg, 6, ""), + styleList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f }; if (includeInstance) { @@ -478,8 +472,8 @@ proto.google.api.ResourceReference.prototype.toObject = function(opt_includeInst */ proto.google.api.ResourceReference.toObject = function(includeInstance, msg) { var f, obj = { -type: jspb.Message.getFieldWithDefault(msg, 1, ""), -childType: jspb.Message.getFieldWithDefault(msg, 2, "") + type: jspb.Message.getFieldWithDefault(msg, 1, ""), + childType: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/api/visibility_pb.js b/gen/js/google/api/visibility_pb.js index cbb0106d..84597f74 100644 --- a/gen/js/google/api/visibility_pb.js +++ b/gen/js/google/api/visibility_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); goog.object.extend(proto, google_protobuf_descriptor_pb); @@ -112,7 +106,7 @@ proto.google.api.Visibility.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.Visibility.toObject = function(includeInstance, msg) { var f, obj = { -rulesList: jspb.Message.toObjectList(msg.getRulesList(), + rulesList: jspb.Message.toObjectList(msg.getRulesList(), proto.google.api.VisibilityRule.toObject, includeInstance) }; @@ -265,8 +259,8 @@ proto.google.api.VisibilityRule.prototype.toObject = function(opt_includeInstanc */ proto.google.api.VisibilityRule.toObject = function(includeInstance, msg) { var f, obj = { -selector: jspb.Message.getFieldWithDefault(msg, 1, ""), -restriction: jspb.Message.getFieldWithDefault(msg, 2, "") + selector: jspb.Message.getFieldWithDefault(msg, 1, ""), + restriction: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/bytestream/bytestream_pb.js b/gen/js/google/bytestream/bytestream_pb.js index d9a5055f..bbff6c85 100644 --- a/gen/js/google/bytestream/bytestream_pb.js +++ b/gen/js/google/bytestream/bytestream_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.bytestream.QueryWriteStatusRequest', null, global); goog.exportSymbol('proto.google.bytestream.QueryWriteStatusResponse', null, global); @@ -185,9 +179,9 @@ proto.google.bytestream.ReadRequest.prototype.toObject = function(opt_includeIns */ proto.google.bytestream.ReadRequest.toObject = function(includeInstance, msg) { var f, obj = { -resourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), -readOffset: jspb.Message.getFieldWithDefault(msg, 2, 0), -readLimit: jspb.Message.getFieldWithDefault(msg, 3, 0) + resourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), + readOffset: jspb.Message.getFieldWithDefault(msg, 2, 0), + readLimit: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -375,7 +369,7 @@ proto.google.bytestream.ReadResponse.prototype.toObject = function(opt_includeIn */ proto.google.bytestream.ReadResponse.toObject = function(includeInstance, msg) { var f, obj = { -data: msg.getData_asB64() + data: msg.getData_asB64() }; if (includeInstance) { @@ -529,10 +523,10 @@ proto.google.bytestream.WriteRequest.prototype.toObject = function(opt_includeIn */ proto.google.bytestream.WriteRequest.toObject = function(includeInstance, msg) { var f, obj = { -resourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), -writeOffset: jspb.Message.getFieldWithDefault(msg, 2, 0), -finishWrite: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), -data: msg.getData_asB64() + resourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), + writeOffset: jspb.Message.getFieldWithDefault(msg, 2, 0), + finishWrite: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + data: msg.getData_asB64() }; if (includeInstance) { @@ -773,7 +767,7 @@ proto.google.bytestream.WriteResponse.prototype.toObject = function(opt_includeI */ proto.google.bytestream.WriteResponse.toObject = function(includeInstance, msg) { var f, obj = { -committedSize: jspb.Message.getFieldWithDefault(msg, 1, 0) + committedSize: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -903,7 +897,7 @@ proto.google.bytestream.QueryWriteStatusRequest.prototype.toObject = function(op */ proto.google.bytestream.QueryWriteStatusRequest.toObject = function(includeInstance, msg) { var f, obj = { -resourceName: jspb.Message.getFieldWithDefault(msg, 1, "") + resourceName: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1033,8 +1027,8 @@ proto.google.bytestream.QueryWriteStatusResponse.prototype.toObject = function(o */ proto.google.bytestream.QueryWriteStatusResponse.toObject = function(includeInstance, msg) { var f, obj = { -committedSize: jspb.Message.getFieldWithDefault(msg, 1, 0), -complete: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + committedSize: jspb.Message.getFieldWithDefault(msg, 1, 0), + complete: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { diff --git a/gen/js/google/geo/type/viewport_pb.js b/gen/js/google/geo/type/viewport_pb.js index ef8177f0..0f7ff6b5 100644 --- a/gen/js/google/geo/type/viewport_pb.js +++ b/gen/js/google/geo/type/viewport_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_type_latlng_pb = require('../../../google/type/latlng_pb.js'); goog.object.extend(proto, google_type_latlng_pb); @@ -77,8 +71,8 @@ proto.google.geo.type.Viewport.prototype.toObject = function(opt_includeInstance */ proto.google.geo.type.Viewport.toObject = function(includeInstance, msg) { var f, obj = { -low: (f = msg.getLow()) && google_type_latlng_pb.LatLng.toObject(includeInstance, f), -high: (f = msg.getHigh()) && google_type_latlng_pb.LatLng.toObject(includeInstance, f) + low: (f = msg.getLow()) && google_type_latlng_pb.LatLng.toObject(includeInstance, f), + high: (f = msg.getHigh()) && google_type_latlng_pb.LatLng.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/google/longrunning/operations_pb.js b/gen/js/google/longrunning/operations_pb.js index 03d9bd8e..e59c3ff3 100644 --- a/gen/js/google/longrunning/operations_pb.js +++ b/gen/js/google/longrunning/operations_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_api_annotations_pb = require('../../google/api/annotations_pb.js'); goog.object.extend(proto, google_api_annotations_pb); @@ -271,11 +265,11 @@ proto.google.longrunning.Operation.prototype.toObject = function(opt_includeInst */ proto.google.longrunning.Operation.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -metadata: (f = msg.getMetadata()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), -done: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), -error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f), -response: (f = msg.getResponse()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + metadata: (f = msg.getMetadata()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), + done: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f), + response: (f = msg.getResponse()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) }; if (includeInstance) { @@ -584,7 +578,7 @@ proto.google.longrunning.GetOperationRequest.prototype.toObject = function(opt_i */ proto.google.longrunning.GetOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -714,10 +708,10 @@ proto.google.longrunning.ListOperationsRequest.prototype.toObject = function(opt */ proto.google.longrunning.ListOperationsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 4, ""), -filter: jspb.Message.getFieldWithDefault(msg, 1, ""), -pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0), -pageToken: jspb.Message.getFieldWithDefault(msg, 3, "") + name: jspb.Message.getFieldWithDefault(msg, 4, ""), + filter: jspb.Message.getFieldWithDefault(msg, 1, ""), + pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0), + pageToken: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -941,9 +935,9 @@ proto.google.longrunning.ListOperationsResponse.prototype.toObject = function(op */ proto.google.longrunning.ListOperationsResponse.toObject = function(includeInstance, msg) { var f, obj = { -operationsList: jspb.Message.toObjectList(msg.getOperationsList(), + operationsList: jspb.Message.toObjectList(msg.getOperationsList(), proto.google.longrunning.Operation.toObject, includeInstance), -nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") + nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1124,7 +1118,7 @@ proto.google.longrunning.CancelOperationRequest.prototype.toObject = function(op */ proto.google.longrunning.CancelOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1254,7 +1248,7 @@ proto.google.longrunning.DeleteOperationRequest.prototype.toObject = function(op */ proto.google.longrunning.DeleteOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1384,8 +1378,8 @@ proto.google.longrunning.WaitOperationRequest.prototype.toObject = function(opt_ */ proto.google.longrunning.WaitOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -timeout: (f = msg.getTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + timeout: (f = msg.getTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -1565,8 +1559,8 @@ proto.google.longrunning.OperationInfo.prototype.toObject = function(opt_include */ proto.google.longrunning.OperationInfo.toObject = function(includeInstance, msg) { var f, obj = { -responseType: jspb.Message.getFieldWithDefault(msg, 1, ""), -metadataType: jspb.Message.getFieldWithDefault(msg, 2, "") + responseType: jspb.Message.getFieldWithDefault(msg, 1, ""), + metadataType: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/rpc/code_pb.js b/gen/js/google/rpc/code_pb.js index 7665c327..40132558 100644 --- a/gen/js/google/rpc/code_pb.js +++ b/gen/js/google/rpc/code_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.rpc.Code', null, global); /** diff --git a/gen/js/google/rpc/context/attribute_context_pb.js b/gen/js/google/rpc/context/attribute_context_pb.js index 22493f00..4d041cdb 100644 --- a/gen/js/google/rpc/context/attribute_context_pb.js +++ b/gen/js/google/rpc/context/attribute_context_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); goog.object.extend(proto, google_protobuf_any_pb); @@ -222,14 +216,14 @@ proto.google.rpc.context.AttributeContext.prototype.toObject = function(opt_incl */ proto.google.rpc.context.AttributeContext.toObject = function(includeInstance, msg) { var f, obj = { -origin: (f = msg.getOrigin()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), -source: (f = msg.getSource()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), -destination: (f = msg.getDestination()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), -request: (f = msg.getRequest()) && proto.google.rpc.context.AttributeContext.Request.toObject(includeInstance, f), -response: (f = msg.getResponse()) && proto.google.rpc.context.AttributeContext.Response.toObject(includeInstance, f), -resource: (f = msg.getResource()) && proto.google.rpc.context.AttributeContext.Resource.toObject(includeInstance, f), -api: (f = msg.getApi()) && proto.google.rpc.context.AttributeContext.Api.toObject(includeInstance, f), -extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), + origin: (f = msg.getOrigin()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), + source: (f = msg.getSource()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), + destination: (f = msg.getDestination()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), + request: (f = msg.getRequest()) && proto.google.rpc.context.AttributeContext.Request.toObject(includeInstance, f), + response: (f = msg.getResponse()) && proto.google.rpc.context.AttributeContext.Response.toObject(includeInstance, f), + resource: (f = msg.getResource()) && proto.google.rpc.context.AttributeContext.Resource.toObject(includeInstance, f), + api: (f = msg.getApi()) && proto.google.rpc.context.AttributeContext.Api.toObject(includeInstance, f), + extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), google_protobuf_any_pb.Any.toObject, includeInstance) }; @@ -435,11 +429,11 @@ proto.google.rpc.context.AttributeContext.Peer.prototype.toObject = function(opt */ proto.google.rpc.context.AttributeContext.Peer.toObject = function(includeInstance, msg) { var f, obj = { -ip: jspb.Message.getFieldWithDefault(msg, 1, ""), -port: jspb.Message.getFieldWithDefault(msg, 2, 0), -labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [], -principal: jspb.Message.getFieldWithDefault(msg, 7, ""), -regionCode: jspb.Message.getFieldWithDefault(msg, 8, "") + ip: jspb.Message.getFieldWithDefault(msg, 1, ""), + port: jspb.Message.getFieldWithDefault(msg, 2, 0), + labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [], + principal: jspb.Message.getFieldWithDefault(msg, 7, ""), + regionCode: jspb.Message.getFieldWithDefault(msg, 8, "") }; if (includeInstance) { @@ -617,8 +611,7 @@ proto.google.rpc.context.AttributeContext.Peer.prototype.getLabelsMap = function */ proto.google.rpc.context.AttributeContext.Peer.prototype.clearLabelsMap = function() { this.getLabelsMap().clear(); - return this; -}; + return this;}; /** @@ -689,10 +682,10 @@ proto.google.rpc.context.AttributeContext.Api.prototype.toObject = function(opt_ */ proto.google.rpc.context.AttributeContext.Api.toObject = function(includeInstance, msg) { var f, obj = { -service: jspb.Message.getFieldWithDefault(msg, 1, ""), -operation: jspb.Message.getFieldWithDefault(msg, 2, ""), -protocol: jspb.Message.getFieldWithDefault(msg, 3, ""), -version: jspb.Message.getFieldWithDefault(msg, 4, "") + service: jspb.Message.getFieldWithDefault(msg, 1, ""), + operation: jspb.Message.getFieldWithDefault(msg, 2, ""), + protocol: jspb.Message.getFieldWithDefault(msg, 3, ""), + version: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -916,11 +909,11 @@ proto.google.rpc.context.AttributeContext.Auth.prototype.toObject = function(opt */ proto.google.rpc.context.AttributeContext.Auth.toObject = function(includeInstance, msg) { var f, obj = { -principal: jspb.Message.getFieldWithDefault(msg, 1, ""), -audiencesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, -presenter: jspb.Message.getFieldWithDefault(msg, 3, ""), -claims: (f = msg.getClaims()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), -accessLevelsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f + principal: jspb.Message.getFieldWithDefault(msg, 1, ""), + audiencesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + presenter: jspb.Message.getFieldWithDefault(msg, 3, ""), + claims: (f = msg.getClaims()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + accessLevelsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -1225,18 +1218,18 @@ proto.google.rpc.context.AttributeContext.Request.prototype.toObject = function( */ proto.google.rpc.context.AttributeContext.Request.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -method: jspb.Message.getFieldWithDefault(msg, 2, ""), -headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : [], -path: jspb.Message.getFieldWithDefault(msg, 4, ""), -host: jspb.Message.getFieldWithDefault(msg, 5, ""), -scheme: jspb.Message.getFieldWithDefault(msg, 6, ""), -query: jspb.Message.getFieldWithDefault(msg, 7, ""), -time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -size: jspb.Message.getFieldWithDefault(msg, 10, 0), -protocol: jspb.Message.getFieldWithDefault(msg, 11, ""), -reason: jspb.Message.getFieldWithDefault(msg, 12, ""), -auth: (f = msg.getAuth()) && proto.google.rpc.context.AttributeContext.Auth.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + method: jspb.Message.getFieldWithDefault(msg, 2, ""), + headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : [], + path: jspb.Message.getFieldWithDefault(msg, 4, ""), + host: jspb.Message.getFieldWithDefault(msg, 5, ""), + scheme: jspb.Message.getFieldWithDefault(msg, 6, ""), + query: jspb.Message.getFieldWithDefault(msg, 7, ""), + time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + size: jspb.Message.getFieldWithDefault(msg, 10, 0), + protocol: jspb.Message.getFieldWithDefault(msg, 11, ""), + reason: jspb.Message.getFieldWithDefault(msg, 12, ""), + auth: (f = msg.getAuth()) && proto.google.rpc.context.AttributeContext.Auth.toObject(includeInstance, f) }; if (includeInstance) { @@ -1495,8 +1488,7 @@ proto.google.rpc.context.AttributeContext.Request.prototype.getHeadersMap = func */ proto.google.rpc.context.AttributeContext.Request.prototype.clearHeadersMap = function() { this.getHeadersMap().clear(); - return this; -}; + return this;}; /** @@ -1731,11 +1723,11 @@ proto.google.rpc.context.AttributeContext.Response.prototype.toObject = function */ proto.google.rpc.context.AttributeContext.Response.toObject = function(includeInstance, msg) { var f, obj = { -code: jspb.Message.getFieldWithDefault(msg, 1, 0), -size: jspb.Message.getFieldWithDefault(msg, 2, 0), -headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : [], -time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -backendLatency: (f = msg.getBackendLatency()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) + code: jspb.Message.getFieldWithDefault(msg, 1, 0), + size: jspb.Message.getFieldWithDefault(msg, 2, 0), + headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : [], + time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + backendLatency: (f = msg.getBackendLatency()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -1917,8 +1909,7 @@ proto.google.rpc.context.AttributeContext.Response.prototype.getHeadersMap = fun */ proto.google.rpc.context.AttributeContext.Response.prototype.clearHeadersMap = function() { this.getHeadersMap().clear(); - return this; -}; + return this;}; /** @@ -2027,18 +2018,18 @@ proto.google.rpc.context.AttributeContext.Resource.prototype.toObject = function */ proto.google.rpc.context.AttributeContext.Resource.toObject = function(includeInstance, msg) { var f, obj = { -service: jspb.Message.getFieldWithDefault(msg, 1, ""), -name: jspb.Message.getFieldWithDefault(msg, 2, ""), -type: jspb.Message.getFieldWithDefault(msg, 3, ""), -labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [], -uid: jspb.Message.getFieldWithDefault(msg, 5, ""), -annotationsMap: (f = msg.getAnnotationsMap()) ? f.toObject(includeInstance, undefined) : [], -displayName: jspb.Message.getFieldWithDefault(msg, 7, ""), -createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -deleteTime: (f = msg.getDeleteTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -etag: jspb.Message.getFieldWithDefault(msg, 11, ""), -location: jspb.Message.getFieldWithDefault(msg, 12, "") + service: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + type: jspb.Message.getFieldWithDefault(msg, 3, ""), + labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [], + uid: jspb.Message.getFieldWithDefault(msg, 5, ""), + annotationsMap: (f = msg.getAnnotationsMap()) ? f.toObject(includeInstance, undefined) : [], + displayName: jspb.Message.getFieldWithDefault(msg, 7, ""), + createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + deleteTime: (f = msg.getDeleteTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + etag: jspb.Message.getFieldWithDefault(msg, 11, ""), + location: jspb.Message.getFieldWithDefault(msg, 12, "") }; if (includeInstance) { @@ -2316,8 +2307,7 @@ proto.google.rpc.context.AttributeContext.Resource.prototype.getLabelsMap = func */ proto.google.rpc.context.AttributeContext.Resource.prototype.clearLabelsMap = function() { this.getLabelsMap().clear(); - return this; -}; + return this;}; /** @@ -2357,8 +2347,7 @@ proto.google.rpc.context.AttributeContext.Resource.prototype.getAnnotationsMap = */ proto.google.rpc.context.AttributeContext.Resource.prototype.clearAnnotationsMap = function() { this.getAnnotationsMap().clear(); - return this; -}; + return this;}; /** diff --git a/gen/js/google/rpc/error_details_pb.js b/gen/js/google/rpc/error_details_pb.js index 3a311649..86650ffc 100644 --- a/gen/js/google/rpc/error_details_pb.js +++ b/gen/js/google/rpc/error_details_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js'); goog.object.extend(proto, google_protobuf_duration_pb); @@ -363,9 +357,9 @@ proto.google.rpc.ErrorInfo.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.ErrorInfo.toObject = function(includeInstance, msg) { var f, obj = { -reason: jspb.Message.getFieldWithDefault(msg, 1, ""), -domain: jspb.Message.getFieldWithDefault(msg, 2, ""), -metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] + reason: jspb.Message.getFieldWithDefault(msg, 1, ""), + domain: jspb.Message.getFieldWithDefault(msg, 2, ""), + metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -521,8 +515,7 @@ proto.google.rpc.ErrorInfo.prototype.getMetadataMap = function(opt_noLazyCreate) */ proto.google.rpc.ErrorInfo.prototype.clearMetadataMap = function() { this.getMetadataMap().clear(); - return this; -}; + return this;}; @@ -557,7 +550,7 @@ proto.google.rpc.RetryInfo.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.RetryInfo.toObject = function(includeInstance, msg) { var f, obj = { -retryDelay: (f = msg.getRetryDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) + retryDelay: (f = msg.getRetryDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -715,8 +708,8 @@ proto.google.rpc.DebugInfo.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.DebugInfo.toObject = function(includeInstance, msg) { var f, obj = { -stackEntriesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, -detail: jspb.Message.getFieldWithDefault(msg, 2, "") + stackEntriesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + detail: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -901,7 +894,7 @@ proto.google.rpc.QuotaFailure.prototype.toObject = function(opt_includeInstance) */ proto.google.rpc.QuotaFailure.toObject = function(includeInstance, msg) { var f, obj = { -violationsList: jspb.Message.toObjectList(msg.getViolationsList(), + violationsList: jspb.Message.toObjectList(msg.getViolationsList(), proto.google.rpc.QuotaFailure.Violation.toObject, includeInstance) }; @@ -1016,8 +1009,8 @@ proto.google.rpc.QuotaFailure.Violation.prototype.toObject = function(opt_includ */ proto.google.rpc.QuotaFailure.Violation.toObject = function(includeInstance, msg) { var f, obj = { -subject: jspb.Message.getFieldWithDefault(msg, 1, ""), -description: jspb.Message.getFieldWithDefault(msg, 2, "") + subject: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1221,7 +1214,7 @@ proto.google.rpc.PreconditionFailure.prototype.toObject = function(opt_includeIn */ proto.google.rpc.PreconditionFailure.toObject = function(includeInstance, msg) { var f, obj = { -violationsList: jspb.Message.toObjectList(msg.getViolationsList(), + violationsList: jspb.Message.toObjectList(msg.getViolationsList(), proto.google.rpc.PreconditionFailure.Violation.toObject, includeInstance) }; @@ -1336,9 +1329,9 @@ proto.google.rpc.PreconditionFailure.Violation.prototype.toObject = function(opt */ proto.google.rpc.PreconditionFailure.Violation.toObject = function(includeInstance, msg) { var f, obj = { -type: jspb.Message.getFieldWithDefault(msg, 1, ""), -subject: jspb.Message.getFieldWithDefault(msg, 2, ""), -description: jspb.Message.getFieldWithDefault(msg, 3, "") + type: jspb.Message.getFieldWithDefault(msg, 1, ""), + subject: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1571,7 +1564,7 @@ proto.google.rpc.BadRequest.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.BadRequest.toObject = function(includeInstance, msg) { var f, obj = { -fieldViolationsList: jspb.Message.toObjectList(msg.getFieldViolationsList(), + fieldViolationsList: jspb.Message.toObjectList(msg.getFieldViolationsList(), proto.google.rpc.BadRequest.FieldViolation.toObject, includeInstance) }; @@ -1686,8 +1679,8 @@ proto.google.rpc.BadRequest.FieldViolation.prototype.toObject = function(opt_inc */ proto.google.rpc.BadRequest.FieldViolation.toObject = function(includeInstance, msg) { var f, obj = { -field: jspb.Message.getFieldWithDefault(msg, 1, ""), -description: jspb.Message.getFieldWithDefault(msg, 2, "") + field: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1884,8 +1877,8 @@ proto.google.rpc.RequestInfo.prototype.toObject = function(opt_includeInstance) */ proto.google.rpc.RequestInfo.toObject = function(includeInstance, msg) { var f, obj = { -requestId: jspb.Message.getFieldWithDefault(msg, 1, ""), -servingData: jspb.Message.getFieldWithDefault(msg, 2, "") + requestId: jspb.Message.getFieldWithDefault(msg, 1, ""), + servingData: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -2044,10 +2037,10 @@ proto.google.rpc.ResourceInfo.prototype.toObject = function(opt_includeInstance) */ proto.google.rpc.ResourceInfo.toObject = function(includeInstance, msg) { var f, obj = { -resourceType: jspb.Message.getFieldWithDefault(msg, 1, ""), -resourceName: jspb.Message.getFieldWithDefault(msg, 2, ""), -owner: jspb.Message.getFieldWithDefault(msg, 3, ""), -description: jspb.Message.getFieldWithDefault(msg, 4, "") + resourceType: jspb.Message.getFieldWithDefault(msg, 1, ""), + resourceName: jspb.Message.getFieldWithDefault(msg, 2, ""), + owner: jspb.Message.getFieldWithDefault(msg, 3, ""), + description: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -2271,7 +2264,7 @@ proto.google.rpc.Help.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.Help.toObject = function(includeInstance, msg) { var f, obj = { -linksList: jspb.Message.toObjectList(msg.getLinksList(), + linksList: jspb.Message.toObjectList(msg.getLinksList(), proto.google.rpc.Help.Link.toObject, includeInstance) }; @@ -2386,8 +2379,8 @@ proto.google.rpc.Help.Link.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.Help.Link.toObject = function(includeInstance, msg) { var f, obj = { -description: jspb.Message.getFieldWithDefault(msg, 1, ""), -url: jspb.Message.getFieldWithDefault(msg, 2, "") + description: jspb.Message.getFieldWithDefault(msg, 1, ""), + url: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -2584,8 +2577,8 @@ proto.google.rpc.LocalizedMessage.prototype.toObject = function(opt_includeInsta */ proto.google.rpc.LocalizedMessage.toObject = function(includeInstance, msg) { var f, obj = { -locale: jspb.Message.getFieldWithDefault(msg, 1, ""), -message: jspb.Message.getFieldWithDefault(msg, 2, "") + locale: jspb.Message.getFieldWithDefault(msg, 1, ""), + message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/rpc/status_pb.js b/gen/js/google/rpc/status_pb.js index 7c654825..4f84c8b9 100644 --- a/gen/js/google/rpc/status_pb.js +++ b/gen/js/google/rpc/status_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); goog.object.extend(proto, google_protobuf_any_pb); @@ -84,9 +78,9 @@ proto.google.rpc.Status.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.Status.toObject = function(includeInstance, msg) { var f, obj = { -code: jspb.Message.getFieldWithDefault(msg, 1, 0), -message: jspb.Message.getFieldWithDefault(msg, 2, ""), -detailsList: jspb.Message.toObjectList(msg.getDetailsList(), + code: jspb.Message.getFieldWithDefault(msg, 1, 0), + message: jspb.Message.getFieldWithDefault(msg, 2, ""), + detailsList: jspb.Message.toObjectList(msg.getDetailsList(), google_protobuf_any_pb.Any.toObject, includeInstance) }; diff --git a/gen/js/google/type/calendar_period_pb.js b/gen/js/google/type/calendar_period_pb.js index 21944b7f..67eb72c2 100644 --- a/gen/js/google/type/calendar_period_pb.js +++ b/gen/js/google/type/calendar_period_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.type.CalendarPeriod', null, global); /** diff --git a/gen/js/google/type/color_pb.js b/gen/js/google/type/color_pb.js index 01b8f92d..5fae3bea 100644 --- a/gen/js/google/type/color_pb.js +++ b/gen/js/google/type/color_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js'); goog.object.extend(proto, google_protobuf_wrappers_pb); @@ -77,10 +71,10 @@ proto.google.type.Color.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Color.toObject = function(includeInstance, msg) { var f, obj = { -red: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -green: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -blue: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -alpha: (f = msg.getAlpha()) && google_protobuf_wrappers_pb.FloatValue.toObject(includeInstance, f) + red: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + green: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + blue: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + alpha: (f = msg.getAlpha()) && google_protobuf_wrappers_pb.FloatValue.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/google/type/date_pb.js b/gen/js/google/type/date_pb.js index 99d9b579..5a24b75a 100644 --- a/gen/js/google/type/date_pb.js +++ b/gen/js/google/type/date_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.type.Date', null, global); /** @@ -75,9 +69,9 @@ proto.google.type.Date.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Date.toObject = function(includeInstance, msg) { var f, obj = { -year: jspb.Message.getFieldWithDefault(msg, 1, 0), -month: jspb.Message.getFieldWithDefault(msg, 2, 0), -day: jspb.Message.getFieldWithDefault(msg, 3, 0) + year: jspb.Message.getFieldWithDefault(msg, 1, 0), + month: jspb.Message.getFieldWithDefault(msg, 2, 0), + day: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { diff --git a/gen/js/google/type/datetime_pb.js b/gen/js/google/type/datetime_pb.js index e2e5a33f..cefec9fb 100644 --- a/gen/js/google/type/datetime_pb.js +++ b/gen/js/google/type/datetime_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js'); goog.object.extend(proto, google_protobuf_duration_pb); @@ -126,15 +120,15 @@ proto.google.type.DateTime.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.DateTime.toObject = function(includeInstance, msg) { var f, obj = { -year: jspb.Message.getFieldWithDefault(msg, 1, 0), -month: jspb.Message.getFieldWithDefault(msg, 2, 0), -day: jspb.Message.getFieldWithDefault(msg, 3, 0), -hours: jspb.Message.getFieldWithDefault(msg, 4, 0), -minutes: jspb.Message.getFieldWithDefault(msg, 5, 0), -seconds: jspb.Message.getFieldWithDefault(msg, 6, 0), -nanos: jspb.Message.getFieldWithDefault(msg, 7, 0), -utcOffset: (f = msg.getUtcOffset()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), -timeZone: (f = msg.getTimeZone()) && proto.google.type.TimeZone.toObject(includeInstance, f) + year: jspb.Message.getFieldWithDefault(msg, 1, 0), + month: jspb.Message.getFieldWithDefault(msg, 2, 0), + day: jspb.Message.getFieldWithDefault(msg, 3, 0), + hours: jspb.Message.getFieldWithDefault(msg, 4, 0), + minutes: jspb.Message.getFieldWithDefault(msg, 5, 0), + seconds: jspb.Message.getFieldWithDefault(msg, 6, 0), + nanos: jspb.Message.getFieldWithDefault(msg, 7, 0), + utcOffset: (f = msg.getUtcOffset()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), + timeZone: (f = msg.getTimeZone()) && proto.google.type.TimeZone.toObject(includeInstance, f) }; if (includeInstance) { @@ -538,8 +532,8 @@ proto.google.type.TimeZone.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.TimeZone.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -version: jspb.Message.getFieldWithDefault(msg, 2, "") + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + version: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/type/dayofweek_pb.js b/gen/js/google/type/dayofweek_pb.js index 06daaaff..af5f4bb8 100644 --- a/gen/js/google/type/dayofweek_pb.js +++ b/gen/js/google/type/dayofweek_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.type.DayOfWeek', null, global); /** diff --git a/gen/js/google/type/decimal_pb.js b/gen/js/google/type/decimal_pb.js index 28e2c6e4..42845d01 100644 --- a/gen/js/google/type/decimal_pb.js +++ b/gen/js/google/type/decimal_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.type.Decimal', null, global); /** @@ -75,7 +69,7 @@ proto.google.type.Decimal.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Decimal.toObject = function(includeInstance, msg) { var f, obj = { -value: jspb.Message.getFieldWithDefault(msg, 1, "") + value: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { diff --git a/gen/js/google/type/expr_pb.js b/gen/js/google/type/expr_pb.js index b0073e5e..9b3493c6 100644 --- a/gen/js/google/type/expr_pb.js +++ b/gen/js/google/type/expr_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.type.Expr', null, global); /** @@ -75,10 +69,10 @@ proto.google.type.Expr.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Expr.toObject = function(includeInstance, msg) { var f, obj = { -expression: jspb.Message.getFieldWithDefault(msg, 1, ""), -title: jspb.Message.getFieldWithDefault(msg, 2, ""), -description: jspb.Message.getFieldWithDefault(msg, 3, ""), -location: jspb.Message.getFieldWithDefault(msg, 4, "") + expression: jspb.Message.getFieldWithDefault(msg, 1, ""), + title: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + location: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { diff --git a/gen/js/google/type/fraction_pb.js b/gen/js/google/type/fraction_pb.js index ffd0b121..2043dfac 100644 --- a/gen/js/google/type/fraction_pb.js +++ b/gen/js/google/type/fraction_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.type.Fraction', null, global); /** @@ -75,8 +69,8 @@ proto.google.type.Fraction.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Fraction.toObject = function(includeInstance, msg) { var f, obj = { -numerator: jspb.Message.getFieldWithDefault(msg, 1, 0), -denominator: jspb.Message.getFieldWithDefault(msg, 2, 0) + numerator: jspb.Message.getFieldWithDefault(msg, 1, 0), + denominator: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { diff --git a/gen/js/google/type/interval_pb.js b/gen/js/google/type/interval_pb.js index 20ccb843..6903c1de 100644 --- a/gen/js/google/type/interval_pb.js +++ b/gen/js/google/type/interval_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); goog.object.extend(proto, google_protobuf_timestamp_pb); @@ -77,8 +71,8 @@ proto.google.type.Interval.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Interval.toObject = function(includeInstance, msg) { var f, obj = { -startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/google/type/latlng_pb.js b/gen/js/google/type/latlng_pb.js index 1db12e7d..c2810dd4 100644 --- a/gen/js/google/type/latlng_pb.js +++ b/gen/js/google/type/latlng_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.type.LatLng', null, global); /** @@ -75,8 +69,8 @@ proto.google.type.LatLng.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.LatLng.toObject = function(includeInstance, msg) { var f, obj = { -latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) + latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { diff --git a/gen/js/google/type/localized_text_pb.js b/gen/js/google/type/localized_text_pb.js index e96f361a..09be9248 100644 --- a/gen/js/google/type/localized_text_pb.js +++ b/gen/js/google/type/localized_text_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.type.LocalizedText', null, global); /** @@ -75,8 +69,8 @@ proto.google.type.LocalizedText.prototype.toObject = function(opt_includeInstanc */ proto.google.type.LocalizedText.toObject = function(includeInstance, msg) { var f, obj = { -text: jspb.Message.getFieldWithDefault(msg, 1, ""), -languageCode: jspb.Message.getFieldWithDefault(msg, 2, "") + text: jspb.Message.getFieldWithDefault(msg, 1, ""), + languageCode: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/type/money_pb.js b/gen/js/google/type/money_pb.js index e078fa7e..b86d055e 100644 --- a/gen/js/google/type/money_pb.js +++ b/gen/js/google/type/money_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.type.Money', null, global); /** @@ -75,9 +69,9 @@ proto.google.type.Money.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Money.toObject = function(includeInstance, msg) { var f, obj = { -currencyCode: jspb.Message.getFieldWithDefault(msg, 1, ""), -units: jspb.Message.getFieldWithDefault(msg, 2, 0), -nanos: jspb.Message.getFieldWithDefault(msg, 3, 0) + currencyCode: jspb.Message.getFieldWithDefault(msg, 1, ""), + units: jspb.Message.getFieldWithDefault(msg, 2, 0), + nanos: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { diff --git a/gen/js/google/type/month_pb.js b/gen/js/google/type/month_pb.js index 13e78864..4b8b9167 100644 --- a/gen/js/google/type/month_pb.js +++ b/gen/js/google/type/month_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.type.Month', null, global); /** diff --git a/gen/js/google/type/phone_number_pb.js b/gen/js/google/type/phone_number_pb.js index cc11cbc7..e02aeedc 100644 --- a/gen/js/google/type/phone_number_pb.js +++ b/gen/js/google/type/phone_number_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.type.PhoneNumber', null, global); goog.exportSymbol('proto.google.type.PhoneNumber.KindCase', null, global); @@ -124,9 +118,9 @@ proto.google.type.PhoneNumber.prototype.toObject = function(opt_includeInstance) */ proto.google.type.PhoneNumber.toObject = function(includeInstance, msg) { var f, obj = { -e164Number: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, -shortCode: (f = msg.getShortCode()) && proto.google.type.PhoneNumber.ShortCode.toObject(includeInstance, f), -extension: jspb.Message.getFieldWithDefault(msg, 3, "") + e164Number: jspb.Message.getFieldWithDefault(msg, 1, ""), + shortCode: (f = msg.getShortCode()) && proto.google.type.PhoneNumber.ShortCode.toObject(includeInstance, f), + extension: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -262,8 +256,8 @@ proto.google.type.PhoneNumber.ShortCode.prototype.toObject = function(opt_includ */ proto.google.type.PhoneNumber.ShortCode.toObject = function(includeInstance, msg) { var f, obj = { -regionCode: jspb.Message.getFieldWithDefault(msg, 1, ""), -number: jspb.Message.getFieldWithDefault(msg, 2, "") + regionCode: jspb.Message.getFieldWithDefault(msg, 1, ""), + number: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/gen/js/google/type/postal_address_pb.js b/gen/js/google/type/postal_address_pb.js index 0a6a8f39..80d76688 100644 --- a/gen/js/google/type/postal_address_pb.js +++ b/gen/js/google/type/postal_address_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.type.PostalAddress', null, global); /** @@ -82,17 +76,17 @@ proto.google.type.PostalAddress.prototype.toObject = function(opt_includeInstanc */ proto.google.type.PostalAddress.toObject = function(includeInstance, msg) { var f, obj = { -revision: jspb.Message.getFieldWithDefault(msg, 1, 0), -regionCode: jspb.Message.getFieldWithDefault(msg, 2, ""), -languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""), -postalCode: jspb.Message.getFieldWithDefault(msg, 4, ""), -sortingCode: jspb.Message.getFieldWithDefault(msg, 5, ""), -administrativeArea: jspb.Message.getFieldWithDefault(msg, 6, ""), -locality: jspb.Message.getFieldWithDefault(msg, 7, ""), -sublocality: jspb.Message.getFieldWithDefault(msg, 8, ""), -addressLinesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f, -recipientsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, -organization: jspb.Message.getFieldWithDefault(msg, 11, "") + revision: jspb.Message.getFieldWithDefault(msg, 1, 0), + regionCode: jspb.Message.getFieldWithDefault(msg, 2, ""), + languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""), + postalCode: jspb.Message.getFieldWithDefault(msg, 4, ""), + sortingCode: jspb.Message.getFieldWithDefault(msg, 5, ""), + administrativeArea: jspb.Message.getFieldWithDefault(msg, 6, ""), + locality: jspb.Message.getFieldWithDefault(msg, 7, ""), + sublocality: jspb.Message.getFieldWithDefault(msg, 8, ""), + addressLinesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f, + recipientsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, + organization: jspb.Message.getFieldWithDefault(msg, 11, "") }; if (includeInstance) { diff --git a/gen/js/google/type/quaternion_pb.js b/gen/js/google/type/quaternion_pb.js index 6dc208a0..4b9344bc 100644 --- a/gen/js/google/type/quaternion_pb.js +++ b/gen/js/google/type/quaternion_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.type.Quaternion', null, global); /** @@ -75,10 +69,10 @@ proto.google.type.Quaternion.prototype.toObject = function(opt_includeInstance) */ proto.google.type.Quaternion.toObject = function(includeInstance, msg) { var f, obj = { -x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), -y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), -z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), -w: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) + x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + w: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { diff --git a/gen/js/google/type/timeofday_pb.js b/gen/js/google/type/timeofday_pb.js index 7d7470d7..3f3d7926 100644 --- a/gen/js/google/type/timeofday_pb.js +++ b/gen/js/google/type/timeofday_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.google.type.TimeOfDay', null, global); /** @@ -75,10 +69,10 @@ proto.google.type.TimeOfDay.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.TimeOfDay.toObject = function(includeInstance, msg) { var f, obj = { -hours: jspb.Message.getFieldWithDefault(msg, 1, 0), -minutes: jspb.Message.getFieldWithDefault(msg, 2, 0), -seconds: jspb.Message.getFieldWithDefault(msg, 3, 0), -nanos: jspb.Message.getFieldWithDefault(msg, 4, 0) + hours: jspb.Message.getFieldWithDefault(msg, 1, 0), + minutes: jspb.Message.getFieldWithDefault(msg, 2, 0), + seconds: jspb.Message.getFieldWithDefault(msg, 3, 0), + nanos: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { diff --git a/gen/js/module/v1/module_pb.js b/gen/js/module/v1/module_pb.js index d6779058..54378223 100644 --- a/gen/js/module/v1/module_pb.js +++ b/gen/js/module/v1/module_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var app_v1_robot_pb = require('../../app/v1/robot_pb.js'); goog.object.extend(proto, app_v1_robot_pb); @@ -328,8 +322,8 @@ proto.viam.module.v1.AddResourceRequest.prototype.toObject = function(opt_includ */ proto.viam.module.v1.AddResourceRequest.toObject = function(includeInstance, msg) { var f, obj = { -config: (f = msg.getConfig()) && app_v1_robot_pb.ComponentConfig.toObject(includeInstance, f), -dependenciesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f + config: (f = msg.getConfig()) && app_v1_robot_pb.ComponentConfig.toObject(includeInstance, f), + dependenciesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -636,8 +630,8 @@ proto.viam.module.v1.ReconfigureResourceRequest.prototype.toObject = function(op */ proto.viam.module.v1.ReconfigureResourceRequest.toObject = function(includeInstance, msg) { var f, obj = { -config: (f = msg.getConfig()) && app_v1_robot_pb.ComponentConfig.toObject(includeInstance, f), -dependenciesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f + config: (f = msg.getConfig()) && app_v1_robot_pb.ComponentConfig.toObject(includeInstance, f), + dependenciesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -937,7 +931,7 @@ proto.viam.module.v1.RemoveResourceRequest.prototype.toObject = function(opt_inc */ proto.viam.module.v1.RemoveResourceRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1175,8 +1169,8 @@ proto.viam.module.v1.HandlerDefinition.prototype.toObject = function(opt_include */ proto.viam.module.v1.HandlerDefinition.toObject = function(includeInstance, msg) { var f, obj = { -subtype: (f = msg.getSubtype()) && robot_v1_robot_pb.ResourceRPCSubtype.toObject(includeInstance, f), -modelsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f + subtype: (f = msg.getSubtype()) && robot_v1_robot_pb.ResourceRPCSubtype.toObject(includeInstance, f), + modelsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -1382,7 +1376,7 @@ proto.viam.module.v1.HandlerMap.prototype.toObject = function(opt_includeInstanc */ proto.viam.module.v1.HandlerMap.toObject = function(includeInstance, msg) { var f, obj = { -handlersList: jspb.Message.toObjectList(msg.getHandlersList(), + handlersList: jspb.Message.toObjectList(msg.getHandlersList(), proto.viam.module.v1.HandlerDefinition.toObject, includeInstance) }; @@ -1535,8 +1529,8 @@ proto.viam.module.v1.ReadyRequest.prototype.toObject = function(opt_includeInsta */ proto.viam.module.v1.ReadyRequest.toObject = function(includeInstance, msg) { var f, obj = { -parentAddress: jspb.Message.getFieldWithDefault(msg, 1, ""), -webrtcOffer: jspb.Message.getFieldWithDefault(msg, 2, "") + parentAddress: jspb.Message.getFieldWithDefault(msg, 1, ""), + webrtcOffer: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1695,9 +1689,9 @@ proto.viam.module.v1.ReadyResponse.prototype.toObject = function(opt_includeInst */ proto.viam.module.v1.ReadyResponse.toObject = function(includeInstance, msg) { var f, obj = { -ready: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), -handlermap: (f = msg.getHandlermap()) && proto.viam.module.v1.HandlerMap.toObject(includeInstance, f), -webrtcAnswer: jspb.Message.getFieldWithDefault(msg, 3, "") + ready: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + handlermap: (f = msg.getHandlermap()) && proto.viam.module.v1.HandlerMap.toObject(includeInstance, f), + webrtcAnswer: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1906,7 +1900,7 @@ proto.viam.module.v1.ValidateConfigRequest.prototype.toObject = function(opt_inc */ proto.viam.module.v1.ValidateConfigRequest.toObject = function(includeInstance, msg) { var f, obj = { -config: (f = msg.getConfig()) && app_v1_robot_pb.ComponentConfig.toObject(includeInstance, f) + config: (f = msg.getConfig()) && app_v1_robot_pb.ComponentConfig.toObject(includeInstance, f) }; if (includeInstance) { @@ -2064,7 +2058,7 @@ proto.viam.module.v1.ValidateConfigResponse.prototype.toObject = function(opt_in */ proto.viam.module.v1.ValidateConfigResponse.toObject = function(includeInstance, msg) { var f, obj = { -dependenciesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + dependenciesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { diff --git a/gen/js/provisioning/v1/provisioning_pb.js b/gen/js/provisioning/v1/provisioning_pb.js index c0efed47..5f798a8a 100644 --- a/gen/js/provisioning/v1/provisioning_pb.js +++ b/gen/js/provisioning/v1/provisioning_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.viam.provisioning.v1.CloudConfig', null, global); goog.exportSymbol('proto.viam.provisioning.v1.GetNetworkListRequest', null, global); @@ -403,11 +397,11 @@ proto.viam.provisioning.v1.GetSmartMachineStatusResponse.prototype.toObject = fu */ proto.viam.provisioning.v1.GetSmartMachineStatusResponse.toObject = function(includeInstance, msg) { var f, obj = { -provisioningInfo: (f = msg.getProvisioningInfo()) && proto.viam.provisioning.v1.ProvisioningInfo.toObject(includeInstance, f), -hasSmartMachineCredentials: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), -isOnline: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), -latestConnectionAttempt: (f = msg.getLatestConnectionAttempt()) && proto.viam.provisioning.v1.NetworkInfo.toObject(includeInstance, f), -errorsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f + provisioningInfo: (f = msg.getProvisioningInfo()) && proto.viam.provisioning.v1.ProvisioningInfo.toObject(includeInstance, f), + hasSmartMachineCredentials: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + isOnline: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + latestConnectionAttempt: (f = msg.getLatestConnectionAttempt()) && proto.viam.provisioning.v1.NetworkInfo.toObject(includeInstance, f), + errorsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -714,9 +708,9 @@ proto.viam.provisioning.v1.SetNetworkCredentialsRequest.prototype.toObject = fun */ proto.viam.provisioning.v1.SetNetworkCredentialsRequest.toObject = function(includeInstance, msg) { var f, obj = { -type: jspb.Message.getFieldWithDefault(msg, 1, ""), -ssid: jspb.Message.getFieldWithDefault(msg, 2, ""), -psk: jspb.Message.getFieldWithDefault(msg, 3, "") + type: jspb.Message.getFieldWithDefault(msg, 1, ""), + ssid: jspb.Message.getFieldWithDefault(msg, 2, ""), + psk: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1005,7 +999,7 @@ proto.viam.provisioning.v1.SetSmartMachineCredentialsRequest.prototype.toObject */ proto.viam.provisioning.v1.SetSmartMachineCredentialsRequest.toObject = function(includeInstance, msg) { var f, obj = { -cloud: (f = msg.getCloud()) && proto.viam.provisioning.v1.CloudConfig.toObject(includeInstance, f) + cloud: (f = msg.getCloud()) && proto.viam.provisioning.v1.CloudConfig.toObject(includeInstance, f) }; if (includeInstance) { @@ -1365,7 +1359,7 @@ proto.viam.provisioning.v1.GetNetworkListResponse.prototype.toObject = function( */ proto.viam.provisioning.v1.GetNetworkListResponse.toObject = function(includeInstance, msg) { var f, obj = { -networksList: jspb.Message.toObjectList(msg.getNetworksList(), + networksList: jspb.Message.toObjectList(msg.getNetworksList(), proto.viam.provisioning.v1.NetworkInfo.toObject, includeInstance) }; @@ -1518,9 +1512,9 @@ proto.viam.provisioning.v1.ProvisioningInfo.prototype.toObject = function(opt_in */ proto.viam.provisioning.v1.ProvisioningInfo.toObject = function(includeInstance, msg) { var f, obj = { -fragmentId: jspb.Message.getFieldWithDefault(msg, 1, ""), -model: jspb.Message.getFieldWithDefault(msg, 2, ""), -manufacturer: jspb.Message.getFieldWithDefault(msg, 3, "") + fragmentId: jspb.Message.getFieldWithDefault(msg, 1, ""), + model: jspb.Message.getFieldWithDefault(msg, 2, ""), + manufacturer: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1708,12 +1702,12 @@ proto.viam.provisioning.v1.NetworkInfo.prototype.toObject = function(opt_include */ proto.viam.provisioning.v1.NetworkInfo.toObject = function(includeInstance, msg) { var f, obj = { -type: jspb.Message.getFieldWithDefault(msg, 1, ""), -ssid: jspb.Message.getFieldWithDefault(msg, 2, ""), -security: jspb.Message.getFieldWithDefault(msg, 3, ""), -signal: jspb.Message.getFieldWithDefault(msg, 4, 0), -connected: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), -lastError: jspb.Message.getFieldWithDefault(msg, 6, "") + type: jspb.Message.getFieldWithDefault(msg, 1, ""), + ssid: jspb.Message.getFieldWithDefault(msg, 2, ""), + security: jspb.Message.getFieldWithDefault(msg, 3, ""), + signal: jspb.Message.getFieldWithDefault(msg, 4, 0), + connected: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + lastError: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { @@ -1988,9 +1982,9 @@ proto.viam.provisioning.v1.CloudConfig.prototype.toObject = function(opt_include */ proto.viam.provisioning.v1.CloudConfig.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -secret: jspb.Message.getFieldWithDefault(msg, 2, ""), -appAddress: jspb.Message.getFieldWithDefault(msg, 3, "") + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + secret: jspb.Message.getFieldWithDefault(msg, 2, ""), + appAddress: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { diff --git a/gen/js/robot/v1/robot_pb.js b/gen/js/robot/v1/robot_pb.js index 79ee8483..966f679d 100644 --- a/gen/js/robot/v1/robot_pb.js +++ b/gen/js/robot/v1/robot_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -1232,8 +1226,8 @@ proto.viam.robot.v1.FrameSystemConfig.prototype.toObject = function(opt_includeI */ proto.viam.robot.v1.FrameSystemConfig.toObject = function(includeInstance, msg) { var f, obj = { -frame: (f = msg.getFrame()) && common_v1_common_pb.Transform.toObject(includeInstance, f), -kinematics: (f = msg.getKinematics()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + frame: (f = msg.getFrame()) && common_v1_common_pb.Transform.toObject(includeInstance, f), + kinematics: (f = msg.getKinematics()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1441,7 +1435,7 @@ proto.viam.robot.v1.FrameSystemConfigRequest.prototype.toObject = function(opt_i */ proto.viam.robot.v1.FrameSystemConfigRequest.toObject = function(includeInstance, msg) { var f, obj = { -supplementalTransformsList: jspb.Message.toObjectList(msg.getSupplementalTransformsList(), + supplementalTransformsList: jspb.Message.toObjectList(msg.getSupplementalTransformsList(), common_v1_common_pb.Transform.toObject, includeInstance) }; @@ -1601,7 +1595,7 @@ proto.viam.robot.v1.FrameSystemConfigResponse.prototype.toObject = function(opt_ */ proto.viam.robot.v1.FrameSystemConfigResponse.toObject = function(includeInstance, msg) { var f, obj = { -frameSystemConfigsList: jspb.Message.toObjectList(msg.getFrameSystemConfigsList(), + frameSystemConfigsList: jspb.Message.toObjectList(msg.getFrameSystemConfigsList(), proto.viam.robot.v1.FrameSystemConfig.toObject, includeInstance) }; @@ -1761,9 +1755,9 @@ proto.viam.robot.v1.TransformPoseRequest.prototype.toObject = function(opt_inclu */ proto.viam.robot.v1.TransformPoseRequest.toObject = function(includeInstance, msg) { var f, obj = { -source: (f = msg.getSource()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f), -destination: jspb.Message.getFieldWithDefault(msg, 2, ""), -supplementalTransformsList: jspb.Message.toObjectList(msg.getSupplementalTransformsList(), + source: (f = msg.getSource()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f), + destination: jspb.Message.getFieldWithDefault(msg, 2, ""), + supplementalTransformsList: jspb.Message.toObjectList(msg.getSupplementalTransformsList(), common_v1_common_pb.Transform.toObject, includeInstance) }; @@ -1995,7 +1989,7 @@ proto.viam.robot.v1.TransformPoseResponse.prototype.toObject = function(opt_incl */ proto.viam.robot.v1.TransformPoseResponse.toObject = function(includeInstance, msg) { var f, obj = { -pose: (f = msg.getPose()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f) + pose: (f = msg.getPose()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f) }; if (includeInstance) { @@ -2146,9 +2140,9 @@ proto.viam.robot.v1.TransformPCDRequest.prototype.toObject = function(opt_includ */ proto.viam.robot.v1.TransformPCDRequest.toObject = function(includeInstance, msg) { var f, obj = { -pointCloudPcd: msg.getPointCloudPcd_asB64(), -source: jspb.Message.getFieldWithDefault(msg, 2, ""), -destination: jspb.Message.getFieldWithDefault(msg, 3, "") + pointCloudPcd: msg.getPointCloudPcd_asB64(), + source: jspb.Message.getFieldWithDefault(msg, 2, ""), + destination: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -2360,7 +2354,7 @@ proto.viam.robot.v1.TransformPCDResponse.prototype.toObject = function(opt_inclu */ proto.viam.robot.v1.TransformPCDResponse.toObject = function(includeInstance, msg) { var f, obj = { -pointCloudPcd: msg.getPointCloudPcd_asB64() + pointCloudPcd: msg.getPointCloudPcd_asB64() }; if (includeInstance) { @@ -2622,7 +2616,7 @@ proto.viam.robot.v1.ResourceNamesResponse.prototype.toObject = function(opt_incl */ proto.viam.robot.v1.ResourceNamesResponse.toObject = function(includeInstance, msg) { var f, obj = { -resourcesList: jspb.Message.toObjectList(msg.getResourcesList(), + resourcesList: jspb.Message.toObjectList(msg.getResourcesList(), common_v1_common_pb.ResourceName.toObject, includeInstance) }; @@ -2775,8 +2769,8 @@ proto.viam.robot.v1.ResourceRPCSubtype.prototype.toObject = function(opt_include */ proto.viam.robot.v1.ResourceRPCSubtype.toObject = function(includeInstance, msg) { var f, obj = { -subtype: (f = msg.getSubtype()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -protoService: jspb.Message.getFieldWithDefault(msg, 2, "") + subtype: (f = msg.getSubtype()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + protoService: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -3064,7 +3058,7 @@ proto.viam.robot.v1.ResourceRPCSubtypesResponse.prototype.toObject = function(op */ proto.viam.robot.v1.ResourceRPCSubtypesResponse.toObject = function(includeInstance, msg) { var f, obj = { -resourceRpcSubtypesList: jspb.Message.toObjectList(msg.getResourceRpcSubtypesList(), + resourceRpcSubtypesList: jspb.Message.toObjectList(msg.getResourceRpcSubtypesList(), proto.viam.robot.v1.ResourceRPCSubtype.toObject, includeInstance) }; @@ -3217,11 +3211,11 @@ proto.viam.robot.v1.Operation.prototype.toObject = function(opt_includeInstance) */ proto.viam.robot.v1.Operation.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -method: jspb.Message.getFieldWithDefault(msg, 2, ""), -arguments: (f = msg.getArguments()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), -started: (f = msg.getStarted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -sessionId: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + method: jspb.Message.getFieldWithDefault(msg, 2, ""), + arguments: (f = msg.getArguments()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + started: (f = msg.getStarted()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + sessionId: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -3635,7 +3629,7 @@ proto.viam.robot.v1.GetOperationsResponse.prototype.toObject = function(opt_incl */ proto.viam.robot.v1.GetOperationsResponse.toObject = function(includeInstance, msg) { var f, obj = { -operationsList: jspb.Message.toObjectList(msg.getOperationsList(), + operationsList: jspb.Message.toObjectList(msg.getOperationsList(), proto.viam.robot.v1.Operation.toObject, includeInstance) }; @@ -3788,7 +3782,7 @@ proto.viam.robot.v1.CancelOperationRequest.prototype.toObject = function(opt_inc */ proto.viam.robot.v1.CancelOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -4019,7 +4013,7 @@ proto.viam.robot.v1.BlockForOperationRequest.prototype.toObject = function(opt_i */ proto.viam.robot.v1.BlockForOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -4250,9 +4244,9 @@ proto.viam.robot.v1.PeerConnectionInfo.prototype.toObject = function(opt_include */ proto.viam.robot.v1.PeerConnectionInfo.toObject = function(includeInstance, msg) { var f, obj = { -type: jspb.Message.getFieldWithDefault(msg, 1, 0), -remoteAddress: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, -localAddress: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f + type: jspb.Message.getFieldWithDefault(msg, 1, 0), + remoteAddress: jspb.Message.getFieldWithDefault(msg, 2, ""), + localAddress: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -4476,8 +4470,8 @@ proto.viam.robot.v1.Session.prototype.toObject = function(opt_includeInstance) { */ proto.viam.robot.v1.Session.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -peerConnectionInfo: (f = msg.getPeerConnectionInfo()) && proto.viam.robot.v1.PeerConnectionInfo.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + peerConnectionInfo: (f = msg.getPeerConnectionInfo()) && proto.viam.robot.v1.PeerConnectionInfo.toObject(includeInstance, f) }; if (includeInstance) { @@ -4765,7 +4759,7 @@ proto.viam.robot.v1.GetSessionsResponse.prototype.toObject = function(opt_includ */ proto.viam.robot.v1.GetSessionsResponse.toObject = function(includeInstance, msg) { var f, obj = { -sessionsList: jspb.Message.toObjectList(msg.getSessionsList(), + sessionsList: jspb.Message.toObjectList(msg.getSessionsList(), proto.viam.robot.v1.Session.toObject, includeInstance) }; @@ -4918,9 +4912,9 @@ proto.viam.robot.v1.DiscoveryQuery.prototype.toObject = function(opt_includeInst */ proto.viam.robot.v1.DiscoveryQuery.toObject = function(includeInstance, msg) { var f, obj = { -subtype: jspb.Message.getFieldWithDefault(msg, 1, ""), -model: jspb.Message.getFieldWithDefault(msg, 2, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + subtype: jspb.Message.getFieldWithDefault(msg, 1, ""), + model: jspb.Message.getFieldWithDefault(msg, 2, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -5129,8 +5123,8 @@ proto.viam.robot.v1.Discovery.prototype.toObject = function(opt_includeInstance) */ proto.viam.robot.v1.Discovery.toObject = function(includeInstance, msg) { var f, obj = { -query: (f = msg.getQuery()) && proto.viam.robot.v1.DiscoveryQuery.toObject(includeInstance, f), -results: (f = msg.getResults()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + query: (f = msg.getQuery()) && proto.viam.robot.v1.DiscoveryQuery.toObject(includeInstance, f), + results: (f = msg.getResults()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -5338,7 +5332,7 @@ proto.viam.robot.v1.DiscoverComponentsRequest.prototype.toObject = function(opt_ */ proto.viam.robot.v1.DiscoverComponentsRequest.toObject = function(includeInstance, msg) { var f, obj = { -queriesList: jspb.Message.toObjectList(msg.getQueriesList(), + queriesList: jspb.Message.toObjectList(msg.getQueriesList(), proto.viam.robot.v1.DiscoveryQuery.toObject, includeInstance) }; @@ -5498,7 +5492,7 @@ proto.viam.robot.v1.DiscoverComponentsResponse.prototype.toObject = function(opt */ proto.viam.robot.v1.DiscoverComponentsResponse.toObject = function(includeInstance, msg) { var f, obj = { -discoveryList: jspb.Message.toObjectList(msg.getDiscoveryList(), + discoveryList: jspb.Message.toObjectList(msg.getDiscoveryList(), proto.viam.robot.v1.Discovery.toObject, includeInstance) }; @@ -5651,9 +5645,9 @@ proto.viam.robot.v1.Status.prototype.toObject = function(opt_includeInstance) { */ proto.viam.robot.v1.Status.toObject = function(includeInstance, msg) { var f, obj = { -name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -status: (f = msg.getStatus()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), -lastReconfigured: (f = msg.getLastReconfigured()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + status: (f = msg.getStatus()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + lastReconfigured: (f = msg.getLastReconfigured()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -5911,7 +5905,7 @@ proto.viam.robot.v1.GetStatusRequest.prototype.toObject = function(opt_includeIn */ proto.viam.robot.v1.GetStatusRequest.toObject = function(includeInstance, msg) { var f, obj = { -resourceNamesList: jspb.Message.toObjectList(msg.getResourceNamesList(), + resourceNamesList: jspb.Message.toObjectList(msg.getResourceNamesList(), common_v1_common_pb.ResourceName.toObject, includeInstance) }; @@ -6071,7 +6065,7 @@ proto.viam.robot.v1.GetStatusResponse.prototype.toObject = function(opt_includeI */ proto.viam.robot.v1.GetStatusResponse.toObject = function(includeInstance, msg) { var f, obj = { -statusList: jspb.Message.toObjectList(msg.getStatusList(), + statusList: jspb.Message.toObjectList(msg.getStatusList(), proto.viam.robot.v1.Status.toObject, includeInstance) }; @@ -6231,9 +6225,9 @@ proto.viam.robot.v1.StreamStatusRequest.prototype.toObject = function(opt_includ */ proto.viam.robot.v1.StreamStatusRequest.toObject = function(includeInstance, msg) { var f, obj = { -resourceNamesList: jspb.Message.toObjectList(msg.getResourceNamesList(), + resourceNamesList: jspb.Message.toObjectList(msg.getResourceNamesList(), common_v1_common_pb.ResourceName.toObject, includeInstance), -every: (f = msg.getEvery()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) + every: (f = msg.getEvery()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -6442,7 +6436,7 @@ proto.viam.robot.v1.StreamStatusResponse.prototype.toObject = function(opt_inclu */ proto.viam.robot.v1.StreamStatusResponse.toObject = function(includeInstance, msg) { var f, obj = { -statusList: jspb.Message.toObjectList(msg.getStatusList(), + statusList: jspb.Message.toObjectList(msg.getStatusList(), proto.viam.robot.v1.Status.toObject, includeInstance) }; @@ -6595,8 +6589,8 @@ proto.viam.robot.v1.StopExtraParameters.prototype.toObject = function(opt_includ */ proto.viam.robot.v1.StopExtraParameters.toObject = function(includeInstance, msg) { var f, obj = { -name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -params: (f = msg.getParams()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + params: (f = msg.getParams()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -6804,7 +6798,7 @@ proto.viam.robot.v1.StopAllRequest.prototype.toObject = function(opt_includeInst */ proto.viam.robot.v1.StopAllRequest.toObject = function(includeInstance, msg) { var f, obj = { -extraList: jspb.Message.toObjectList(msg.getExtraList(), + extraList: jspb.Message.toObjectList(msg.getExtraList(), proto.viam.robot.v1.StopExtraParameters.toObject, includeInstance) }; @@ -7058,7 +7052,7 @@ proto.viam.robot.v1.StartSessionRequest.prototype.toObject = function(opt_includ */ proto.viam.robot.v1.StartSessionRequest.toObject = function(includeInstance, msg) { var f, obj = { -resume: jspb.Message.getFieldWithDefault(msg, 1, "") + resume: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -7188,8 +7182,8 @@ proto.viam.robot.v1.StartSessionResponse.prototype.toObject = function(opt_inclu */ proto.viam.robot.v1.StartSessionResponse.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -heartbeatWindow: (f = msg.getHeartbeatWindow()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + heartbeatWindow: (f = msg.getHeartbeatWindow()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -7369,7 +7363,7 @@ proto.viam.robot.v1.SendSessionHeartbeatRequest.prototype.toObject = function(op */ proto.viam.robot.v1.SendSessionHeartbeatRequest.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, "") + id: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -7607,7 +7601,7 @@ proto.viam.robot.v1.LogRequest.prototype.toObject = function(opt_includeInstance */ proto.viam.robot.v1.LogRequest.toObject = function(includeInstance, msg) { var f, obj = { -logsList: jspb.Message.toObjectList(msg.getLogsList(), + logsList: jspb.Message.toObjectList(msg.getLogsList(), common_v1_common_pb.LogEntry.toObject, includeInstance) }; @@ -7962,11 +7956,11 @@ proto.viam.robot.v1.GetCloudMetadataResponse.prototype.toObject = function(opt_i */ proto.viam.robot.v1.GetCloudMetadataResponse.toObject = function(includeInstance, msg) { var f, obj = { -robotPartId: jspb.Message.getFieldWithDefault(msg, 1, ""), -primaryOrgId: jspb.Message.getFieldWithDefault(msg, 2, ""), -locationId: jspb.Message.getFieldWithDefault(msg, 3, ""), -machineId: jspb.Message.getFieldWithDefault(msg, 4, ""), -machinePartId: jspb.Message.getFieldWithDefault(msg, 5, "") + robotPartId: jspb.Message.getFieldWithDefault(msg, 1, ""), + primaryOrgId: jspb.Message.getFieldWithDefault(msg, 2, ""), + locationId: jspb.Message.getFieldWithDefault(msg, 3, ""), + machineId: jspb.Message.getFieldWithDefault(msg, 4, ""), + machinePartId: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -8238,8 +8232,8 @@ proto.viam.robot.v1.RestartModuleRequest.prototype.toObject = function(opt_inclu */ proto.viam.robot.v1.RestartModuleRequest.toObject = function(includeInstance, msg) { var f, obj = { -moduleId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, -moduleName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f + moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), + moduleName: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -8845,9 +8839,9 @@ proto.viam.robot.v1.GetMachineStatusResponse.prototype.toObject = function(opt_i */ proto.viam.robot.v1.GetMachineStatusResponse.toObject = function(includeInstance, msg) { var f, obj = { -resourcesList: jspb.Message.toObjectList(msg.getResourcesList(), + resourcesList: jspb.Message.toObjectList(msg.getResourcesList(), proto.viam.robot.v1.ResourceStatus.toObject, includeInstance), -config: (f = msg.getConfig()) && proto.viam.robot.v1.ConfigStatus.toObject(includeInstance, f) + config: (f = msg.getConfig()) && proto.viam.robot.v1.ConfigStatus.toObject(includeInstance, f) }; if (includeInstance) { @@ -9049,11 +9043,11 @@ proto.viam.robot.v1.ResourceStatus.prototype.toObject = function(opt_includeInst */ proto.viam.robot.v1.ResourceStatus.toObject = function(includeInstance, msg) { var f, obj = { -name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -state: jspb.Message.getFieldWithDefault(msg, 2, 0), -lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -revision: jspb.Message.getFieldWithDefault(msg, 4, ""), -error: jspb.Message.getFieldWithDefault(msg, 5, "") + name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + state: jspb.Message.getFieldWithDefault(msg, 2, 0), + lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + revision: jspb.Message.getFieldWithDefault(msg, 4, ""), + error: jspb.Message.getFieldWithDefault(msg, 5, "") }; if (includeInstance) { @@ -9353,8 +9347,8 @@ proto.viam.robot.v1.ConfigStatus.prototype.toObject = function(opt_includeInstan */ proto.viam.robot.v1.ConfigStatus.toObject = function(includeInstance, msg) { var f, obj = { -revision: jspb.Message.getFieldWithDefault(msg, 1, ""), -lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + revision: jspb.Message.getFieldWithDefault(msg, 1, ""), + lastUpdated: (f = msg.getLastUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -9635,9 +9629,9 @@ proto.viam.robot.v1.GetVersionResponse.prototype.toObject = function(opt_include */ proto.viam.robot.v1.GetVersionResponse.toObject = function(includeInstance, msg) { var f, obj = { -platform: jspb.Message.getFieldWithDefault(msg, 1, ""), -version: jspb.Message.getFieldWithDefault(msg, 2, ""), -apiVersion: jspb.Message.getFieldWithDefault(msg, 3, "") + platform: jspb.Message.getFieldWithDefault(msg, 1, ""), + version: jspb.Message.getFieldWithDefault(msg, 2, ""), + apiVersion: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { diff --git a/gen/js/service/datamanager/v1/data_manager_pb.js b/gen/js/service/datamanager/v1/data_manager_pb.js index fac0d2be..e8e36208 100644 --- a/gen/js/service/datamanager/v1/data_manager_pb.js +++ b/gen/js/service/datamanager/v1/data_manager_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -103,8 +97,8 @@ proto.viam.service.datamanager.v1.SyncRequest.prototype.toObject = function(opt_ */ proto.viam.service.datamanager.v1.SyncRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/service/generic/v1/generic_pb.js b/gen/js/service/generic/v1/generic_pb.js index de0f4583..1134802a 100644 --- a/gen/js/service/generic/v1/generic_pb.js +++ b/gen/js/service/generic/v1/generic_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); diff --git a/gen/js/service/mlmodel/v1/mlmodel_pb.js b/gen/js/service/mlmodel/v1/mlmodel_pb.js index b54c90d9..a518f9e0 100644 --- a/gen/js/service/mlmodel/v1/mlmodel_pb.js +++ b/gen/js/service/mlmodel/v1/mlmodel_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_api_annotations_pb = require('../../../google/api/annotations_pb.js'); goog.object.extend(proto, google_api_annotations_pb); @@ -477,9 +471,9 @@ proto.viam.service.mlmodel.v1.InferRequest.prototype.toObject = function(opt_inc */ proto.viam.service.mlmodel.v1.InferRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -inputTensors: (f = msg.getInputTensors()) && proto.viam.service.mlmodel.v1.FlatTensors.toObject(includeInstance, f), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + inputTensors: (f = msg.getInputTensors()) && proto.viam.service.mlmodel.v1.FlatTensors.toObject(includeInstance, f), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -709,7 +703,7 @@ proto.viam.service.mlmodel.v1.InferResponse.prototype.toObject = function(opt_in */ proto.viam.service.mlmodel.v1.InferResponse.toObject = function(includeInstance, msg) { var f, obj = { -outputTensors: (f = msg.getOutputTensors()) && proto.viam.service.mlmodel.v1.FlatTensors.toObject(includeInstance, f) + outputTensors: (f = msg.getOutputTensors()) && proto.viam.service.mlmodel.v1.FlatTensors.toObject(includeInstance, f) }; if (includeInstance) { @@ -860,8 +854,8 @@ proto.viam.service.mlmodel.v1.MetadataRequest.prototype.toObject = function(opt_ */ proto.viam.service.mlmodel.v1.MetadataRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1041,7 +1035,7 @@ proto.viam.service.mlmodel.v1.MetadataResponse.prototype.toObject = function(opt */ proto.viam.service.mlmodel.v1.MetadataResponse.toObject = function(includeInstance, msg) { var f, obj = { -metadata: (f = msg.getMetadata()) && proto.viam.service.mlmodel.v1.Metadata.toObject(includeInstance, f) + metadata: (f = msg.getMetadata()) && proto.viam.service.mlmodel.v1.Metadata.toObject(includeInstance, f) }; if (includeInstance) { @@ -1199,12 +1193,12 @@ proto.viam.service.mlmodel.v1.Metadata.prototype.toObject = function(opt_include */ proto.viam.service.mlmodel.v1.Metadata.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -type: jspb.Message.getFieldWithDefault(msg, 2, ""), -description: jspb.Message.getFieldWithDefault(msg, 3, ""), -inputInfoList: jspb.Message.toObjectList(msg.getInputInfoList(), + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + inputInfoList: jspb.Message.toObjectList(msg.getInputInfoList(), proto.viam.service.mlmodel.v1.TensorInfo.toObject, includeInstance), -outputInfoList: jspb.Message.toObjectList(msg.getOutputInfoList(), + outputInfoList: jspb.Message.toObjectList(msg.getOutputInfoList(), proto.viam.service.mlmodel.v1.TensorInfo.toObject, includeInstance) }; @@ -1502,13 +1496,13 @@ proto.viam.service.mlmodel.v1.TensorInfo.prototype.toObject = function(opt_inclu */ proto.viam.service.mlmodel.v1.TensorInfo.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -description: jspb.Message.getFieldWithDefault(msg, 2, ""), -dataType: jspb.Message.getFieldWithDefault(msg, 3, ""), -shapeList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, -associatedFilesList: jspb.Message.toObjectList(msg.getAssociatedFilesList(), + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + dataType: jspb.Message.getFieldWithDefault(msg, 3, ""), + shapeList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, + associatedFilesList: jspb.Message.toObjectList(msg.getAssociatedFilesList(), proto.viam.service.mlmodel.v1.File.toObject, includeInstance), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1847,9 +1841,9 @@ proto.viam.service.mlmodel.v1.File.prototype.toObject = function(opt_includeInst */ proto.viam.service.mlmodel.v1.File.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -description: jspb.Message.getFieldWithDefault(msg, 2, ""), -labelType: jspb.Message.getFieldWithDefault(msg, 3, 0) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + description: jspb.Message.getFieldWithDefault(msg, 2, ""), + labelType: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -2037,7 +2031,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataInt8.prototype.toObject = function(o */ proto.viam.service.mlmodel.v1.FlatTensorDataInt8.toObject = function(includeInstance, msg) { var f, obj = { -data: msg.getData_asB64() + data: msg.getData_asB64() }; if (includeInstance) { @@ -2191,7 +2185,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataUInt8.prototype.toObject = function( */ proto.viam.service.mlmodel.v1.FlatTensorDataUInt8.toObject = function(includeInstance, msg) { var f, obj = { -data: msg.getData_asB64() + data: msg.getData_asB64() }; if (includeInstance) { @@ -2352,7 +2346,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataInt16.prototype.toObject = function( */ proto.viam.service.mlmodel.v1.FlatTensorDataInt16.toObject = function(includeInstance, msg) { var f, obj = { -dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -2510,7 +2504,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataUInt16.prototype.toObject = function */ proto.viam.service.mlmodel.v1.FlatTensorDataUInt16.toObject = function(includeInstance, msg) { var f, obj = { -dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -2668,7 +2662,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataInt32.prototype.toObject = function( */ proto.viam.service.mlmodel.v1.FlatTensorDataInt32.toObject = function(includeInstance, msg) { var f, obj = { -dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -2826,7 +2820,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataUInt32.prototype.toObject = function */ proto.viam.service.mlmodel.v1.FlatTensorDataUInt32.toObject = function(includeInstance, msg) { var f, obj = { -dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -2984,7 +2978,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataInt64.prototype.toObject = function( */ proto.viam.service.mlmodel.v1.FlatTensorDataInt64.toObject = function(includeInstance, msg) { var f, obj = { -dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -3142,7 +3136,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataUInt64.prototype.toObject = function */ proto.viam.service.mlmodel.v1.FlatTensorDataUInt64.toObject = function(includeInstance, msg) { var f, obj = { -dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + dataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -3300,7 +3294,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataFloat.prototype.toObject = function( */ proto.viam.service.mlmodel.v1.FlatTensorDataFloat.toObject = function(includeInstance, msg) { var f, obj = { -dataList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f + dataList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -3458,7 +3452,7 @@ proto.viam.service.mlmodel.v1.FlatTensorDataDouble.prototype.toObject = function */ proto.viam.service.mlmodel.v1.FlatTensorDataDouble.toObject = function(includeInstance, msg) { var f, obj = { -dataList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f + dataList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -3650,17 +3644,17 @@ proto.viam.service.mlmodel.v1.FlatTensor.prototype.toObject = function(opt_inclu */ proto.viam.service.mlmodel.v1.FlatTensor.toObject = function(includeInstance, msg) { var f, obj = { -shapeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, -int8Tensor: (f = msg.getInt8Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt8.toObject(includeInstance, f), -uint8Tensor: (f = msg.getUint8Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt8.toObject(includeInstance, f), -int16Tensor: (f = msg.getInt16Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt16.toObject(includeInstance, f), -uint16Tensor: (f = msg.getUint16Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt16.toObject(includeInstance, f), -int32Tensor: (f = msg.getInt32Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt32.toObject(includeInstance, f), -uint32Tensor: (f = msg.getUint32Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt32.toObject(includeInstance, f), -int64Tensor: (f = msg.getInt64Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt64.toObject(includeInstance, f), -uint64Tensor: (f = msg.getUint64Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt64.toObject(includeInstance, f), -floatTensor: (f = msg.getFloatTensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataFloat.toObject(includeInstance, f), -doubleTensor: (f = msg.getDoubleTensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataDouble.toObject(includeInstance, f) + shapeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + int8Tensor: (f = msg.getInt8Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt8.toObject(includeInstance, f), + uint8Tensor: (f = msg.getUint8Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt8.toObject(includeInstance, f), + int16Tensor: (f = msg.getInt16Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt16.toObject(includeInstance, f), + uint16Tensor: (f = msg.getUint16Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt16.toObject(includeInstance, f), + int32Tensor: (f = msg.getInt32Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt32.toObject(includeInstance, f), + uint32Tensor: (f = msg.getUint32Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt32.toObject(includeInstance, f), + int64Tensor: (f = msg.getInt64Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataInt64.toObject(includeInstance, f), + uint64Tensor: (f = msg.getUint64Tensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataUInt64.toObject(includeInstance, f), + floatTensor: (f = msg.getFloatTensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataFloat.toObject(includeInstance, f), + doubleTensor: (f = msg.getDoubleTensor()) && proto.viam.service.mlmodel.v1.FlatTensorDataDouble.toObject(includeInstance, f) }; if (includeInstance) { @@ -4311,7 +4305,7 @@ proto.viam.service.mlmodel.v1.FlatTensors.prototype.toObject = function(opt_incl */ proto.viam.service.mlmodel.v1.FlatTensors.toObject = function(includeInstance, msg) { var f, obj = { -tensorsMap: (f = msg.getTensorsMap()) ? f.toObject(includeInstance, proto.viam.service.mlmodel.v1.FlatTensor.toObject) : [] + tensorsMap: (f = msg.getTensorsMap()) ? f.toObject(includeInstance, proto.viam.service.mlmodel.v1.FlatTensor.toObject) : [] }; if (includeInstance) { @@ -4409,8 +4403,7 @@ proto.viam.service.mlmodel.v1.FlatTensors.prototype.getTensorsMap = function(opt */ proto.viam.service.mlmodel.v1.FlatTensors.prototype.clearTensorsMap = function() { this.getTensorsMap().clear(); - return this; -}; + return this;}; /** diff --git a/gen/js/service/motion/v1/motion_pb.js b/gen/js/service/motion/v1/motion_pb.js index c03013ef..bc5adc89 100644 --- a/gen/js/service/motion/v1/motion_pb.js +++ b/gen/js/service/motion/v1/motion_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -656,12 +650,12 @@ proto.viam.service.motion.v1.MoveRequest.prototype.toObject = function(opt_inclu */ proto.viam.service.motion.v1.MoveRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -destination: (f = msg.getDestination()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f), -componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -worldState: (f = msg.getWorldState()) && common_v1_common_pb.WorldState.toObject(includeInstance, f), -constraints: (f = msg.getConstraints()) && proto.viam.service.motion.v1.Constraints.toObject(includeInstance, f), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + destination: (f = msg.getDestination()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f), + componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + worldState: (f = msg.getWorldState()) && common_v1_common_pb.WorldState.toObject(includeInstance, f), + constraints: (f = msg.getConstraints()) && proto.viam.service.motion.v1.Constraints.toObject(includeInstance, f), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1041,7 +1035,7 @@ proto.viam.service.motion.v1.MoveResponse.prototype.toObject = function(opt_incl */ proto.viam.service.motion.v1.MoveResponse.toObject = function(includeInstance, msg) { var f, obj = { -success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -1178,14 +1172,14 @@ proto.viam.service.motion.v1.MoveOnMapRequest.prototype.toObject = function(opt_ */ proto.viam.service.motion.v1.MoveOnMapRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -destination: (f = msg.getDestination()) && common_v1_common_pb.Pose.toObject(includeInstance, f), -componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -slamServiceName: (f = msg.getSlamServiceName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -motionConfiguration: (f = msg.getMotionConfiguration()) && proto.viam.service.motion.v1.MotionConfiguration.toObject(includeInstance, f), -obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + destination: (f = msg.getDestination()) && common_v1_common_pb.Pose.toObject(includeInstance, f), + componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + slamServiceName: (f = msg.getSlamServiceName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + motionConfiguration: (f = msg.getMotionConfiguration()) && proto.viam.service.motion.v1.MotionConfiguration.toObject(includeInstance, f), + obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), common_v1_common_pb.Geometry.toObject, includeInstance), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1616,7 +1610,7 @@ proto.viam.service.motion.v1.MoveOnMapResponse.prototype.toObject = function(opt */ proto.viam.service.motion.v1.MoveOnMapResponse.toObject = function(includeInstance, msg) { var f, obj = { -executionId: jspb.Message.getFieldWithDefault(msg, 1, "") + executionId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1746,8 +1740,8 @@ proto.viam.service.motion.v1.ObstacleDetector.prototype.toObject = function(opt_ */ proto.viam.service.motion.v1.ObstacleDetector.toObject = function(includeInstance, msg) { var f, obj = { -visionService: (f = msg.getVisionService()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -camera: (f = msg.getCamera()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f) + visionService: (f = msg.getVisionService()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + camera: (f = msg.getCamera()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f) }; if (includeInstance) { @@ -1955,13 +1949,13 @@ proto.viam.service.motion.v1.MotionConfiguration.prototype.toObject = function(o */ proto.viam.service.motion.v1.MotionConfiguration.toObject = function(includeInstance, msg) { var f, obj = { -obstacleDetectorsList: jspb.Message.toObjectList(msg.getObstacleDetectorsList(), + obstacleDetectorsList: jspb.Message.toObjectList(msg.getObstacleDetectorsList(), proto.viam.service.motion.v1.ObstacleDetector.toObject, includeInstance), -positionPollingFrequencyHz: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f, -obstaclePollingFrequencyHz: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f, -planDeviationM: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f, -linearMPerSec: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, -angularDegsPerSec: (f = jspb.Message.getOptionalFloatingPointField(msg, 6)) == null ? undefined : f + positionPollingFrequencyHz: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), + obstaclePollingFrequencyHz: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + planDeviationM: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0), + linearMPerSec: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), + angularDegsPerSec: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0) }; if (includeInstance) { @@ -2355,17 +2349,17 @@ proto.viam.service.motion.v1.MoveOnGlobeRequest.prototype.toObject = function(op */ proto.viam.service.motion.v1.MoveOnGlobeRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -destination: (f = msg.getDestination()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), -heading: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f, -componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -movementSensorName: (f = msg.getMovementSensorName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + destination: (f = msg.getDestination()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), + heading: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), + componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + movementSensorName: (f = msg.getMovementSensorName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), common_v1_common_pb.GeoGeometry.toObject, includeInstance), -motionConfiguration: (f = msg.getMotionConfiguration()) && proto.viam.service.motion.v1.MotionConfiguration.toObject(includeInstance, f), -boundingRegionsList: jspb.Message.toObjectList(msg.getBoundingRegionsList(), + motionConfiguration: (f = msg.getMotionConfiguration()) && proto.viam.service.motion.v1.MotionConfiguration.toObject(includeInstance, f), + boundingRegionsList: jspb.Message.toObjectList(msg.getBoundingRegionsList(), common_v1_common_pb.GeoGeometry.toObject, includeInstance), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2894,7 +2888,7 @@ proto.viam.service.motion.v1.MoveOnGlobeResponse.prototype.toObject = function(o */ proto.viam.service.motion.v1.MoveOnGlobeResponse.toObject = function(includeInstance, msg) { var f, obj = { -executionId: jspb.Message.getFieldWithDefault(msg, 1, "") + executionId: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -3031,12 +3025,12 @@ proto.viam.service.motion.v1.GetPoseRequest.prototype.toObject = function(opt_in */ proto.viam.service.motion.v1.GetPoseRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -destinationFrame: jspb.Message.getFieldWithDefault(msg, 3, ""), -supplementalTransformsList: jspb.Message.toObjectList(msg.getSupplementalTransformsList(), + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + destinationFrame: jspb.Message.getFieldWithDefault(msg, 3, ""), + supplementalTransformsList: jspb.Message.toObjectList(msg.getSupplementalTransformsList(), common_v1_common_pb.Transform.toObject, includeInstance), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3346,7 +3340,7 @@ proto.viam.service.motion.v1.GetPoseResponse.prototype.toObject = function(opt_i */ proto.viam.service.motion.v1.GetPoseResponse.toObject = function(includeInstance, msg) { var f, obj = { -pose: (f = msg.getPose()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f) + pose: (f = msg.getPose()) && common_v1_common_pb.PoseInFrame.toObject(includeInstance, f) }; if (includeInstance) { @@ -3497,9 +3491,9 @@ proto.viam.service.motion.v1.StopPlanRequest.prototype.toObject = function(opt_i */ proto.viam.service.motion.v1.StopPlanRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3830,9 +3824,9 @@ proto.viam.service.motion.v1.ListPlanStatusesRequest.prototype.toObject = functi */ proto.viam.service.motion.v1.ListPlanStatusesRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -onlyActivePlans: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + onlyActivePlans: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -4048,7 +4042,7 @@ proto.viam.service.motion.v1.ListPlanStatusesResponse.prototype.toObject = funct */ proto.viam.service.motion.v1.ListPlanStatusesResponse.toObject = function(includeInstance, msg) { var f, obj = { -planStatusesWithIdsList: jspb.Message.toObjectList(msg.getPlanStatusesWithIdsList(), + planStatusesWithIdsList: jspb.Message.toObjectList(msg.getPlanStatusesWithIdsList(), proto.viam.service.motion.v1.PlanStatusWithID.toObject, includeInstance) }; @@ -4201,11 +4195,11 @@ proto.viam.service.motion.v1.GetPlanRequest.prototype.toObject = function(opt_in */ proto.viam.service.motion.v1.GetPlanRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -lastPlanOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), -executionId: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + lastPlanOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + executionId: jspb.Message.getFieldWithDefault(msg, 4, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -4518,8 +4512,8 @@ proto.viam.service.motion.v1.GetPlanResponse.prototype.toObject = function(opt_i */ proto.viam.service.motion.v1.GetPlanResponse.toObject = function(includeInstance, msg) { var f, obj = { -currentPlanWithStatus: (f = msg.getCurrentPlanWithStatus()) && proto.viam.service.motion.v1.PlanWithStatus.toObject(includeInstance, f), -replanHistoryList: jspb.Message.toObjectList(msg.getReplanHistoryList(), + currentPlanWithStatus: (f = msg.getCurrentPlanWithStatus()) && proto.viam.service.motion.v1.PlanWithStatus.toObject(includeInstance, f), + replanHistoryList: jspb.Message.toObjectList(msg.getReplanHistoryList(), proto.viam.service.motion.v1.PlanWithStatus.toObject, includeInstance) }; @@ -4729,11 +4723,11 @@ proto.viam.service.motion.v1.Constraints.prototype.toObject = function(opt_inclu */ proto.viam.service.motion.v1.Constraints.toObject = function(includeInstance, msg) { var f, obj = { -linearConstraintList: jspb.Message.toObjectList(msg.getLinearConstraintList(), + linearConstraintList: jspb.Message.toObjectList(msg.getLinearConstraintList(), proto.viam.service.motion.v1.LinearConstraint.toObject, includeInstance), -orientationConstraintList: jspb.Message.toObjectList(msg.getOrientationConstraintList(), + orientationConstraintList: jspb.Message.toObjectList(msg.getOrientationConstraintList(), proto.viam.service.motion.v1.OrientationConstraint.toObject, includeInstance), -collisionSpecificationList: jspb.Message.toObjectList(msg.getCollisionSpecificationList(), + collisionSpecificationList: jspb.Message.toObjectList(msg.getCollisionSpecificationList(), proto.viam.service.motion.v1.CollisionSpecification.toObject, includeInstance) }; @@ -4988,8 +4982,8 @@ proto.viam.service.motion.v1.LinearConstraint.prototype.toObject = function(opt_ */ proto.viam.service.motion.v1.LinearConstraint.toObject = function(includeInstance, msg) { var f, obj = { -lineToleranceMm: (f = jspb.Message.getOptionalFloatingPointField(msg, 1)) == null ? undefined : f, -orientationToleranceDegs: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f + lineToleranceMm: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), + orientationToleranceDegs: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -5184,7 +5178,7 @@ proto.viam.service.motion.v1.OrientationConstraint.prototype.toObject = function */ proto.viam.service.motion.v1.OrientationConstraint.toObject = function(includeInstance, msg) { var f, obj = { -orientationToleranceDegs: (f = jspb.Message.getOptionalFloatingPointField(msg, 1)) == null ? undefined : f + orientationToleranceDegs: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0) }; if (includeInstance) { @@ -5339,7 +5333,7 @@ proto.viam.service.motion.v1.CollisionSpecification.prototype.toObject = functio */ proto.viam.service.motion.v1.CollisionSpecification.toObject = function(includeInstance, msg) { var f, obj = { -allowsList: jspb.Message.toObjectList(msg.getAllowsList(), + allowsList: jspb.Message.toObjectList(msg.getAllowsList(), proto.viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions.toObject, includeInstance) }; @@ -5454,8 +5448,8 @@ proto.viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions.proto */ proto.viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions.toObject = function(includeInstance, msg) { var f, obj = { -frame1: jspb.Message.getFieldWithDefault(msg, 1, ""), -frame2: jspb.Message.getFieldWithDefault(msg, 2, "") + frame1: jspb.Message.getFieldWithDefault(msg, 1, ""), + frame2: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -5659,9 +5653,9 @@ proto.viam.service.motion.v1.PlanWithStatus.prototype.toObject = function(opt_in */ proto.viam.service.motion.v1.PlanWithStatus.toObject = function(includeInstance, msg) { var f, obj = { -plan: (f = msg.getPlan()) && proto.viam.service.motion.v1.Plan.toObject(includeInstance, f), -status: (f = msg.getStatus()) && proto.viam.service.motion.v1.PlanStatus.toObject(includeInstance, f), -statusHistoryList: jspb.Message.toObjectList(msg.getStatusHistoryList(), + plan: (f = msg.getPlan()) && proto.viam.service.motion.v1.Plan.toObject(includeInstance, f), + status: (f = msg.getStatus()) && proto.viam.service.motion.v1.PlanStatus.toObject(includeInstance, f), + statusHistoryList: jspb.Message.toObjectList(msg.getStatusHistoryList(), proto.viam.service.motion.v1.PlanStatus.toObject, includeInstance) }; @@ -5914,10 +5908,10 @@ proto.viam.service.motion.v1.PlanStatusWithID.prototype.toObject = function(opt_ */ proto.viam.service.motion.v1.PlanStatusWithID.toObject = function(includeInstance, msg) { var f, obj = { -planId: jspb.Message.getFieldWithDefault(msg, 1, ""), -componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -executionId: jspb.Message.getFieldWithDefault(msg, 3, ""), -status: (f = msg.getStatus()) && proto.viam.service.motion.v1.PlanStatus.toObject(includeInstance, f) + planId: jspb.Message.getFieldWithDefault(msg, 1, ""), + componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + executionId: jspb.Message.getFieldWithDefault(msg, 3, ""), + status: (f = msg.getStatus()) && proto.viam.service.motion.v1.PlanStatus.toObject(includeInstance, f) }; if (includeInstance) { @@ -6176,9 +6170,9 @@ proto.viam.service.motion.v1.PlanStatus.prototype.toObject = function(opt_includ */ proto.viam.service.motion.v1.PlanStatus.toObject = function(includeInstance, msg) { var f, obj = { -state: jspb.Message.getFieldWithDefault(msg, 1, 0), -timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -reason: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f + state: jspb.Message.getFieldWithDefault(msg, 1, 0), + timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + reason: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -6412,10 +6406,10 @@ proto.viam.service.motion.v1.Plan.prototype.toObject = function(opt_includeInsta */ proto.viam.service.motion.v1.Plan.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -executionId: jspb.Message.getFieldWithDefault(msg, 3, ""), -stepsList: jspb.Message.toObjectList(msg.getStepsList(), + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + componentName: (f = msg.getComponentName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + executionId: jspb.Message.getFieldWithDefault(msg, 3, ""), + stepsList: jspb.Message.toObjectList(msg.getStepsList(), proto.viam.service.motion.v1.PlanStep.toObject, includeInstance) }; @@ -6676,7 +6670,7 @@ proto.viam.service.motion.v1.PlanStep.prototype.toObject = function(opt_includeI */ proto.viam.service.motion.v1.PlanStep.toObject = function(includeInstance, msg) { var f, obj = { -stepMap: (f = msg.getStepMap()) ? f.toObject(includeInstance, proto.viam.service.motion.v1.ComponentState.toObject) : [] + stepMap: (f = msg.getStepMap()) ? f.toObject(includeInstance, proto.viam.service.motion.v1.ComponentState.toObject) : [] }; if (includeInstance) { @@ -6774,8 +6768,7 @@ proto.viam.service.motion.v1.PlanStep.prototype.getStepMap = function(opt_noLazy */ proto.viam.service.motion.v1.PlanStep.prototype.clearStepMap = function() { this.getStepMap().clear(); - return this; -}; + return this;}; @@ -6810,7 +6803,7 @@ proto.viam.service.motion.v1.ComponentState.prototype.toObject = function(opt_in */ proto.viam.service.motion.v1.ComponentState.toObject = function(includeInstance, msg) { var f, obj = { -pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) + pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/service/navigation/v1/navigation_pb.js b/gen/js/service/navigation/v1/navigation_pb.js index a3cb8ed5..b7f4dcc8 100644 --- a/gen/js/service/navigation/v1/navigation_pb.js +++ b/gen/js/service/navigation/v1/navigation_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -501,8 +495,8 @@ proto.viam.service.navigation.v1.GetModeRequest.prototype.toObject = function(op */ proto.viam.service.navigation.v1.GetModeRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -682,7 +676,7 @@ proto.viam.service.navigation.v1.GetModeResponse.prototype.toObject = function(o */ proto.viam.service.navigation.v1.GetModeResponse.toObject = function(includeInstance, msg) { var f, obj = { -mode: jspb.Message.getFieldWithDefault(msg, 1, 0) + mode: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -812,9 +806,9 @@ proto.viam.service.navigation.v1.SetModeRequest.prototype.toObject = function(op */ proto.viam.service.navigation.v1.SetModeRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -mode: jspb.Message.getFieldWithDefault(msg, 2, 0), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + mode: jspb.Message.getFieldWithDefault(msg, 2, 0), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1124,8 +1118,8 @@ proto.viam.service.navigation.v1.Waypoint.prototype.toObject = function(opt_incl */ proto.viam.service.navigation.v1.Waypoint.toObject = function(includeInstance, msg) { var f, obj = { -id: jspb.Message.getFieldWithDefault(msg, 1, ""), -location: (f = msg.getLocation()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + location: (f = msg.getLocation()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f) }; if (includeInstance) { @@ -1305,8 +1299,8 @@ proto.viam.service.navigation.v1.GetLocationRequest.prototype.toObject = functio */ proto.viam.service.navigation.v1.GetLocationRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1486,8 +1480,8 @@ proto.viam.service.navigation.v1.GetLocationResponse.prototype.toObject = functi */ proto.viam.service.navigation.v1.GetLocationResponse.toObject = function(includeInstance, msg) { var f, obj = { -location: (f = msg.getLocation()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), -compassHeading: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) + location: (f = msg.getLocation()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), + compassHeading: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -1667,8 +1661,8 @@ proto.viam.service.navigation.v1.GetWaypointsRequest.prototype.toObject = functi */ proto.viam.service.navigation.v1.GetWaypointsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1855,7 +1849,7 @@ proto.viam.service.navigation.v1.GetWaypointsResponse.prototype.toObject = funct */ proto.viam.service.navigation.v1.GetWaypointsResponse.toObject = function(includeInstance, msg) { var f, obj = { -waypointsList: jspb.Message.toObjectList(msg.getWaypointsList(), + waypointsList: jspb.Message.toObjectList(msg.getWaypointsList(), proto.viam.service.navigation.v1.Waypoint.toObject, includeInstance) }; @@ -2008,9 +2002,9 @@ proto.viam.service.navigation.v1.AddWaypointRequest.prototype.toObject = functio */ proto.viam.service.navigation.v1.AddWaypointRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -location: (f = msg.getLocation()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + location: (f = msg.getLocation()) && common_v1_common_pb.GeoPoint.toObject(includeInstance, f), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2341,9 +2335,9 @@ proto.viam.service.navigation.v1.RemoveWaypointRequest.prototype.toObject = func */ proto.viam.service.navigation.v1.RemoveWaypointRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -id: jspb.Message.getFieldWithDefault(msg, 2, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + id: jspb.Message.getFieldWithDefault(msg, 2, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2653,8 +2647,8 @@ proto.viam.service.navigation.v1.GetObstaclesRequest.prototype.toObject = functi */ proto.viam.service.navigation.v1.GetObstaclesRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2841,7 +2835,7 @@ proto.viam.service.navigation.v1.GetObstaclesResponse.prototype.toObject = funct */ proto.viam.service.navigation.v1.GetObstaclesResponse.toObject = function(includeInstance, msg) { var f, obj = { -obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), + obstaclesList: jspb.Message.toObjectList(msg.getObstaclesList(), common_v1_common_pb.GeoGeometry.toObject, includeInstance) }; @@ -3001,8 +2995,8 @@ proto.viam.service.navigation.v1.Path.prototype.toObject = function(opt_includeI */ proto.viam.service.navigation.v1.Path.toObject = function(includeInstance, msg) { var f, obj = { -destinationWaypointId: jspb.Message.getFieldWithDefault(msg, 1, ""), -geopointsList: jspb.Message.toObjectList(msg.getGeopointsList(), + destinationWaypointId: jspb.Message.getFieldWithDefault(msg, 1, ""), + geopointsList: jspb.Message.toObjectList(msg.getGeopointsList(), common_v1_common_pb.GeoPoint.toObject, includeInstance) }; @@ -3184,8 +3178,8 @@ proto.viam.service.navigation.v1.GetPathsRequest.prototype.toObject = function(o */ proto.viam.service.navigation.v1.GetPathsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3372,7 +3366,7 @@ proto.viam.service.navigation.v1.GetPathsResponse.prototype.toObject = function( */ proto.viam.service.navigation.v1.GetPathsResponse.toObject = function(includeInstance, msg) { var f, obj = { -pathsList: jspb.Message.toObjectList(msg.getPathsList(), + pathsList: jspb.Message.toObjectList(msg.getPathsList(), proto.viam.service.navigation.v1.Path.toObject, includeInstance) }; @@ -3525,7 +3519,7 @@ proto.viam.service.navigation.v1.GetPropertiesRequest.prototype.toObject = funct */ proto.viam.service.navigation.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -3655,7 +3649,7 @@ proto.viam.service.navigation.v1.GetPropertiesResponse.prototype.toObject = func */ proto.viam.service.navigation.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { -mapType: jspb.Message.getFieldWithDefault(msg, 1, 0) + mapType: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { diff --git a/gen/js/service/sensors/v1/sensors_pb.js b/gen/js/service/sensors/v1/sensors_pb.js index d0362b9b..0177437b 100644 --- a/gen/js/service/sensors/v1/sensors_pb.js +++ b/gen/js/service/sensors/v1/sensors_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -169,8 +163,8 @@ proto.viam.service.sensors.v1.GetSensorsRequest.prototype.toObject = function(op */ proto.viam.service.sensors.v1.GetSensorsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -357,7 +351,7 @@ proto.viam.service.sensors.v1.GetSensorsResponse.prototype.toObject = function(o */ proto.viam.service.sensors.v1.GetSensorsResponse.toObject = function(includeInstance, msg) { var f, obj = { -sensorNamesList: jspb.Message.toObjectList(msg.getSensorNamesList(), + sensorNamesList: jspb.Message.toObjectList(msg.getSensorNamesList(), common_v1_common_pb.ResourceName.toObject, includeInstance) }; @@ -517,10 +511,10 @@ proto.viam.service.sensors.v1.GetReadingsRequest.prototype.toObject = function(o */ proto.viam.service.sensors.v1.GetReadingsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -sensorNamesList: jspb.Message.toObjectList(msg.getSensorNamesList(), + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + sensorNamesList: jspb.Message.toObjectList(msg.getSensorNamesList(), common_v1_common_pb.ResourceName.toObject, includeInstance), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -751,8 +745,8 @@ proto.viam.service.sensors.v1.Readings.prototype.toObject = function(opt_include */ proto.viam.service.sensors.v1.Readings.toObject = function(includeInstance, msg) { var f, obj = { -name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), -readingsMap: (f = msg.getReadingsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + name: (f = msg.getName()) && common_v1_common_pb.ResourceName.toObject(includeInstance, f), + readingsMap: (f = msg.getReadingsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] }; if (includeInstance) { @@ -900,8 +894,7 @@ proto.viam.service.sensors.v1.Readings.prototype.getReadingsMap = function(opt_n */ proto.viam.service.sensors.v1.Readings.prototype.clearReadingsMap = function() { this.getReadingsMap().clear(); - return this; -}; + return this;}; @@ -943,7 +936,7 @@ proto.viam.service.sensors.v1.GetReadingsResponse.prototype.toObject = function( */ proto.viam.service.sensors.v1.GetReadingsResponse.toObject = function(includeInstance, msg) { var f, obj = { -readingsList: jspb.Message.toObjectList(msg.getReadingsList(), + readingsList: jspb.Message.toObjectList(msg.getReadingsList(), proto.viam.service.sensors.v1.Readings.toObject, includeInstance) }; diff --git a/gen/js/service/shell/v1/shell_pb.js b/gen/js/service/shell/v1/shell_pb.js index 5cc15e1d..940f08a7 100644 --- a/gen/js/service/shell/v1/shell_pb.js +++ b/gen/js/service/shell/v1/shell_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -285,9 +279,9 @@ proto.viam.service.shell.v1.ShellRequest.prototype.toObject = function(opt_inclu */ proto.viam.service.shell.v1.ShellRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -dataIn: jspb.Message.getFieldWithDefault(msg, 2, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + dataIn: jspb.Message.getFieldWithDefault(msg, 2, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -496,9 +490,9 @@ proto.viam.service.shell.v1.ShellResponse.prototype.toObject = function(opt_incl */ proto.viam.service.shell.v1.ShellResponse.toObject = function(includeInstance, msg) { var f, obj = { -dataOut: jspb.Message.getFieldWithDefault(msg, 1, ""), -dataErr: jspb.Message.getFieldWithDefault(msg, 2, ""), -eof: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + dataOut: jspb.Message.getFieldWithDefault(msg, 1, ""), + dataErr: jspb.Message.getFieldWithDefault(msg, 2, ""), + eof: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -686,13 +680,13 @@ proto.viam.service.shell.v1.FileData.prototype.toObject = function(opt_includeIn */ proto.viam.service.shell.v1.FileData.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -size: jspb.Message.getFieldWithDefault(msg, 2, 0), -isDir: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), -data: msg.getData_asB64(), -eof: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), -modTime: (f = msg.getModTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), -mode: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + size: jspb.Message.getFieldWithDefault(msg, 2, 0), + isDir: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + data: msg.getData_asB64(), + eof: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + modTime: (f = msg.getModTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + mode: jspb.Message.getFieldWithDefault(msg, 7, 0) }; if (includeInstance) { @@ -1059,11 +1053,11 @@ proto.viam.service.shell.v1.CopyFilesToMachineRequestMetadata.prototype.toObject */ proto.viam.service.shell.v1.CopyFilesToMachineRequestMetadata.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -sourceType: jspb.Message.getFieldWithDefault(msg, 2, 0), -destination: jspb.Message.getFieldWithDefault(msg, 3, ""), -preserve: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + sourceType: jspb.Message.getFieldWithDefault(msg, 2, 0), + destination: jspb.Message.getFieldWithDefault(msg, 3, ""), + preserve: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1356,8 +1350,8 @@ proto.viam.service.shell.v1.CopyFilesToMachineRequest.prototype.toObject = funct */ proto.viam.service.shell.v1.CopyFilesToMachineRequest.toObject = function(includeInstance, msg) { var f, obj = { -metadata: (f = msg.getMetadata()) && proto.viam.service.shell.v1.CopyFilesToMachineRequestMetadata.toObject(includeInstance, f), -fileData: (f = msg.getFileData()) && proto.viam.service.shell.v1.FileData.toObject(includeInstance, f) + metadata: (f = msg.getMetadata()) && proto.viam.service.shell.v1.CopyFilesToMachineRequestMetadata.toObject(includeInstance, f), + fileData: (f = msg.getFileData()) && proto.viam.service.shell.v1.FileData.toObject(includeInstance, f) }; if (includeInstance) { @@ -1558,7 +1552,7 @@ proto.viam.service.shell.v1.CopyFilesToMachineResponse.prototype.toObject = func */ proto.viam.service.shell.v1.CopyFilesToMachineResponse.toObject = function(includeInstance, msg) { var f, obj = { -ackLastFile: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + ackLastFile: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) }; if (includeInstance) { @@ -1695,11 +1689,11 @@ proto.viam.service.shell.v1.CopyFilesFromMachineRequestMetadata.prototype.toObje */ proto.viam.service.shell.v1.CopyFilesFromMachineRequestMetadata.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -pathsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, -allowRecursion: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), -preserve: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + pathsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + allowRecursion: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + preserve: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2011,8 +2005,8 @@ proto.viam.service.shell.v1.CopyFilesFromMachineRequest.prototype.toObject = fun */ proto.viam.service.shell.v1.CopyFilesFromMachineRequest.toObject = function(includeInstance, msg) { var f, obj = { -metadata: (f = msg.getMetadata()) && proto.viam.service.shell.v1.CopyFilesFromMachineRequestMetadata.toObject(includeInstance, f), -ackLastFile: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f + metadata: (f = msg.getMetadata()) && proto.viam.service.shell.v1.CopyFilesFromMachineRequestMetadata.toObject(includeInstance, f), + ackLastFile: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -2210,7 +2204,7 @@ proto.viam.service.shell.v1.CopyFilesFromMachineResponseMetadata.prototype.toObj */ proto.viam.service.shell.v1.CopyFilesFromMachineResponseMetadata.toObject = function(includeInstance, msg) { var f, obj = { -sourceType: jspb.Message.getFieldWithDefault(msg, 1, 0) + sourceType: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -2366,8 +2360,8 @@ proto.viam.service.shell.v1.CopyFilesFromMachineResponse.prototype.toObject = fu */ proto.viam.service.shell.v1.CopyFilesFromMachineResponse.toObject = function(includeInstance, msg) { var f, obj = { -metadata: (f = msg.getMetadata()) && proto.viam.service.shell.v1.CopyFilesFromMachineResponseMetadata.toObject(includeInstance, f), -fileData: (f = msg.getFileData()) && proto.viam.service.shell.v1.FileData.toObject(includeInstance, f) + metadata: (f = msg.getMetadata()) && proto.viam.service.shell.v1.CopyFilesFromMachineResponseMetadata.toObject(includeInstance, f), + fileData: (f = msg.getFileData()) && proto.viam.service.shell.v1.FileData.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/service/slam/v1/slam_pb.js b/gen/js/service/slam/v1/slam_pb.js index b8be210b..b45f46f8 100644 --- a/gen/js/service/slam/v1/slam_pb.js +++ b/gen/js/service/slam/v1/slam_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -257,7 +251,7 @@ proto.viam.service.slam.v1.GetPositionRequest.prototype.toObject = function(opt_ */ proto.viam.service.slam.v1.GetPositionRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -387,7 +381,7 @@ proto.viam.service.slam.v1.GetPositionResponse.prototype.toObject = function(opt */ proto.viam.service.slam.v1.GetPositionResponse.toObject = function(includeInstance, msg) { var f, obj = { -pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) + pose: (f = msg.getPose()) && common_v1_common_pb.Pose.toObject(includeInstance, f) }; if (includeInstance) { @@ -538,8 +532,8 @@ proto.viam.service.slam.v1.GetPointCloudMapRequest.prototype.toObject = function */ proto.viam.service.slam.v1.GetPointCloudMapRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -returnEditedMap: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + returnEditedMap: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -716,7 +710,7 @@ proto.viam.service.slam.v1.GetPointCloudMapResponse.prototype.toObject = functio */ proto.viam.service.slam.v1.GetPointCloudMapResponse.toObject = function(includeInstance, msg) { var f, obj = { -pointCloudPcdChunk: msg.getPointCloudPcdChunk_asB64() + pointCloudPcdChunk: msg.getPointCloudPcdChunk_asB64() }; if (includeInstance) { @@ -870,7 +864,7 @@ proto.viam.service.slam.v1.GetInternalStateRequest.prototype.toObject = function */ proto.viam.service.slam.v1.GetInternalStateRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1000,7 +994,7 @@ proto.viam.service.slam.v1.GetInternalStateResponse.prototype.toObject = functio */ proto.viam.service.slam.v1.GetInternalStateResponse.toObject = function(includeInstance, msg) { var f, obj = { -internalStateChunk: msg.getInternalStateChunk_asB64() + internalStateChunk: msg.getInternalStateChunk_asB64() }; if (includeInstance) { @@ -1154,7 +1148,7 @@ proto.viam.service.slam.v1.GetPropertiesRequest.prototype.toObject = function(op */ proto.viam.service.slam.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1291,10 +1285,10 @@ proto.viam.service.slam.v1.GetPropertiesResponse.prototype.toObject = function(o */ proto.viam.service.slam.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { -cloudSlam: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), -mappingMode: jspb.Message.getFieldWithDefault(msg, 2, 0), -internalStateFileType: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, -sensorInfoList: jspb.Message.toObjectList(msg.getSensorInfoList(), + cloudSlam: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + mappingMode: jspb.Message.getFieldWithDefault(msg, 2, 0), + internalStateFileType: jspb.Message.getFieldWithDefault(msg, 3, ""), + sensorInfoList: jspb.Message.toObjectList(msg.getSensorInfoList(), proto.viam.service.slam.v1.SensorInfo.toObject, includeInstance) }; @@ -1552,8 +1546,8 @@ proto.viam.service.slam.v1.SensorInfo.prototype.toObject = function(opt_includeI */ proto.viam.service.slam.v1.SensorInfo.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -type: jspb.Message.getFieldWithDefault(msg, 2, 0) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { diff --git a/gen/js/service/vision/v1/vision_pb.js b/gen/js/service/vision/v1/vision_pb.js index dc001bbc..b98d60f1 100644 --- a/gen/js/service/vision/v1/vision_pb.js +++ b/gen/js/service/vision/v1/vision_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var common_v1_common_pb = require('../../../common/v1/common_pb.js'); goog.object.extend(proto, common_v1_common_pb); @@ -413,12 +407,12 @@ proto.viam.service.vision.v1.GetDetectionsRequest.prototype.toObject = function( */ proto.viam.service.vision.v1.GetDetectionsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -image: msg.getImage_asB64(), -width: jspb.Message.getFieldWithDefault(msg, 3, 0), -height: jspb.Message.getFieldWithDefault(msg, 4, 0), -mimeType: jspb.Message.getFieldWithDefault(msg, 5, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + image: msg.getImage_asB64(), + width: jspb.Message.getFieldWithDefault(msg, 3, 0), + height: jspb.Message.getFieldWithDefault(msg, 4, 0), + mimeType: jspb.Message.getFieldWithDefault(msg, 5, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -745,7 +739,7 @@ proto.viam.service.vision.v1.GetDetectionsResponse.prototype.toObject = function */ proto.viam.service.vision.v1.GetDetectionsResponse.toObject = function(includeInstance, msg) { var f, obj = { -detectionsList: jspb.Message.toObjectList(msg.getDetectionsList(), + detectionsList: jspb.Message.toObjectList(msg.getDetectionsList(), proto.viam.service.vision.v1.Detection.toObject, includeInstance) }; @@ -898,9 +892,9 @@ proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.toObject = */ proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1116,7 +1110,7 @@ proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.prototype.toObject */ proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.toObject = function(includeInstance, msg) { var f, obj = { -detectionsList: jspb.Message.toObjectList(msg.getDetectionsList(), + detectionsList: jspb.Message.toObjectList(msg.getDetectionsList(), proto.viam.service.vision.v1.Detection.toObject, includeInstance) }; @@ -1269,12 +1263,12 @@ proto.viam.service.vision.v1.Detection.prototype.toObject = function(opt_include */ proto.viam.service.vision.v1.Detection.toObject = function(includeInstance, msg) { var f, obj = { -xMin: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, -yMin: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, -xMax: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, -yMax: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, -confidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), -className: jspb.Message.getFieldWithDefault(msg, 6, "") + xMin: jspb.Message.getFieldWithDefault(msg, 1, 0), + yMin: jspb.Message.getFieldWithDefault(msg, 2, 0), + xMax: jspb.Message.getFieldWithDefault(msg, 3, 0), + yMax: jspb.Message.getFieldWithDefault(msg, 4, 0), + confidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), + className: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { @@ -1621,13 +1615,13 @@ proto.viam.service.vision.v1.GetClassificationsRequest.prototype.toObject = func */ proto.viam.service.vision.v1.GetClassificationsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -image: msg.getImage_asB64(), -width: jspb.Message.getFieldWithDefault(msg, 3, 0), -height: jspb.Message.getFieldWithDefault(msg, 4, 0), -mimeType: jspb.Message.getFieldWithDefault(msg, 5, ""), -n: jspb.Message.getFieldWithDefault(msg, 6, 0), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + image: msg.getImage_asB64(), + width: jspb.Message.getFieldWithDefault(msg, 3, 0), + height: jspb.Message.getFieldWithDefault(msg, 4, 0), + mimeType: jspb.Message.getFieldWithDefault(msg, 5, ""), + n: jspb.Message.getFieldWithDefault(msg, 6, 0), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -1983,7 +1977,7 @@ proto.viam.service.vision.v1.GetClassificationsResponse.prototype.toObject = fun */ proto.viam.service.vision.v1.GetClassificationsResponse.toObject = function(includeInstance, msg) { var f, obj = { -classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), + classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), proto.viam.service.vision.v1.Classification.toObject, includeInstance) }; @@ -2136,10 +2130,10 @@ proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.toObj */ proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), -n: jspb.Message.getFieldWithDefault(msg, 3, 0), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), + n: jspb.Message.getFieldWithDefault(msg, 3, 0), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2384,7 +2378,7 @@ proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.prototype.toOb */ proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.toObject = function(includeInstance, msg) { var f, obj = { -classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), + classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), proto.viam.service.vision.v1.Classification.toObject, includeInstance) }; @@ -2537,8 +2531,8 @@ proto.viam.service.vision.v1.Classification.prototype.toObject = function(opt_in */ proto.viam.service.vision.v1.Classification.toObject = function(includeInstance, msg) { var f, obj = { -className: jspb.Message.getFieldWithDefault(msg, 1, ""), -confidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) + className: jspb.Message.getFieldWithDefault(msg, 1, ""), + confidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { @@ -2697,10 +2691,10 @@ proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.toObject = fu */ proto.viam.service.vision.v1.GetObjectPointCloudsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), -mimeType: jspb.Message.getFieldWithDefault(msg, 3, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), + mimeType: jspb.Message.getFieldWithDefault(msg, 3, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -2945,8 +2939,8 @@ proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.toObject = f */ proto.viam.service.vision.v1.GetObjectPointCloudsResponse.toObject = function(includeInstance, msg) { var f, obj = { -mimeType: jspb.Message.getFieldWithDefault(msg, 1, ""), -objectsList: jspb.Message.toObjectList(msg.getObjectsList(), + mimeType: jspb.Message.getFieldWithDefault(msg, 1, ""), + objectsList: jspb.Message.toObjectList(msg.getObjectsList(), common_v1_common_pb.PointCloudObject.toObject, includeInstance) }; @@ -3128,8 +3122,8 @@ proto.viam.service.vision.v1.GetPropertiesRequest.prototype.toObject = function( */ proto.viam.service.vision.v1.GetPropertiesRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3309,13 +3303,13 @@ proto.viam.service.vision.v1.CaptureAllFromCameraRequest.prototype.toObject = fu */ proto.viam.service.vision.v1.CaptureAllFromCameraRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), -returnImage: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), -returnClassifications: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), -returnDetections: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), -returnObjectPointClouds: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + cameraName: jspb.Message.getFieldWithDefault(msg, 2, ""), + returnImage: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + returnClassifications: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), + returnDetections: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + returnObjectPointClouds: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -3647,14 +3641,14 @@ proto.viam.service.vision.v1.CaptureAllFromCameraResponse.prototype.toObject = f */ proto.viam.service.vision.v1.CaptureAllFromCameraResponse.toObject = function(includeInstance, msg) { var f, obj = { -image: (f = msg.getImage()) && component_camera_v1_camera_pb.Image.toObject(includeInstance, f), -detectionsList: jspb.Message.toObjectList(msg.getDetectionsList(), + image: (f = msg.getImage()) && component_camera_v1_camera_pb.Image.toObject(includeInstance, f), + detectionsList: jspb.Message.toObjectList(msg.getDetectionsList(), proto.viam.service.vision.v1.Detection.toObject, includeInstance), -classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), + classificationsList: jspb.Message.toObjectList(msg.getClassificationsList(), proto.viam.service.vision.v1.Classification.toObject, includeInstance), -objectsList: jspb.Message.toObjectList(msg.getObjectsList(), + objectsList: jspb.Message.toObjectList(msg.getObjectsList(), common_v1_common_pb.PointCloudObject.toObject, includeInstance), -extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + extra: (f = msg.getExtra()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) }; if (includeInstance) { @@ -4008,9 +4002,9 @@ proto.viam.service.vision.v1.GetPropertiesResponse.prototype.toObject = function */ proto.viam.service.vision.v1.GetPropertiesResponse.toObject = function(includeInstance, msg) { var f, obj = { -classificationsSupported: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), -detectionsSupported: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), -objectPointCloudsSupported: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + classificationsSupported: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + detectionsSupported: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + objectPointCloudsSupported: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { diff --git a/gen/js/stream/v1/stream_pb.js b/gen/js/stream/v1/stream_pb.js index 0d16510e..bf225e5d 100644 --- a/gen/js/stream/v1/stream_pb.js +++ b/gen/js/stream/v1/stream_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); goog.exportSymbol('proto.proto.stream.v1.AddStreamRequest', null, global); goog.exportSymbol('proto.proto.stream.v1.AddStreamResponse', null, global); @@ -403,7 +397,7 @@ proto.proto.stream.v1.ListStreamsResponse.prototype.toObject = function(opt_incl */ proto.proto.stream.v1.ListStreamsResponse.toObject = function(includeInstance, msg) { var f, obj = { -namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -552,7 +546,7 @@ proto.proto.stream.v1.AddStreamRequest.prototype.toObject = function(opt_include */ proto.proto.stream.v1.AddStreamRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -783,7 +777,7 @@ proto.proto.stream.v1.RemoveStreamRequest.prototype.toObject = function(opt_incl */ proto.proto.stream.v1.RemoveStreamRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1014,8 +1008,8 @@ proto.proto.stream.v1.Resolution.prototype.toObject = function(opt_includeInstan */ proto.proto.stream.v1.Resolution.toObject = function(includeInstance, msg) { var f, obj = { -width: jspb.Message.getFieldWithDefault(msg, 1, 0), -height: jspb.Message.getFieldWithDefault(msg, 2, 0) + width: jspb.Message.getFieldWithDefault(msg, 1, 0), + height: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -1174,7 +1168,7 @@ proto.proto.stream.v1.GetStreamOptionsRequest.prototype.toObject = function(opt_ */ proto.proto.stream.v1.GetStreamOptionsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, "") + name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1311,7 +1305,7 @@ proto.proto.stream.v1.GetStreamOptionsResponse.prototype.toObject = function(opt */ proto.proto.stream.v1.GetStreamOptionsResponse.toObject = function(includeInstance, msg) { var f, obj = { -resolutionsList: jspb.Message.toObjectList(msg.getResolutionsList(), + resolutionsList: jspb.Message.toObjectList(msg.getResolutionsList(), proto.proto.stream.v1.Resolution.toObject, includeInstance) }; @@ -1464,8 +1458,8 @@ proto.proto.stream.v1.SetStreamOptionsRequest.prototype.toObject = function(opt_ */ proto.proto.stream.v1.SetStreamOptionsRequest.toObject = function(includeInstance, msg) { var f, obj = { -name: jspb.Message.getFieldWithDefault(msg, 1, ""), -resolution: (f = msg.getResolution()) && proto.proto.stream.v1.Resolution.toObject(includeInstance, f) + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + resolution: (f = msg.getResolution()) && proto.proto.stream.v1.Resolution.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/gen/js/tagger/v1/tagger_pb.js b/gen/js/tagger/v1/tagger_pb.js index 7573e5a1..9a67134a 100644 --- a/gen/js/tagger/v1/tagger_pb.js +++ b/gen/js/tagger/v1/tagger_pb.js @@ -13,13 +13,7 @@ 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 global = (function() { return this || window || global || self || Function('return this')(); }).call(null); var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); goog.object.extend(proto, google_protobuf_descriptor_pb); diff --git a/module/v1/module.pb.go b/module/v1/module.pb.go index 37e5b753..1b85a0c3 100644 --- a/module/v1/module.pb.go +++ b/module/v1/module.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: module/v1/module.proto @@ -33,11 +33,9 @@ type AddResourceRequest struct { func (x *AddResourceRequest) Reset() { *x = AddResourceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_module_v1_module_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_module_v1_module_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddResourceRequest) String() string { @@ -48,7 +46,7 @@ func (*AddResourceRequest) ProtoMessage() {} func (x *AddResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -85,11 +83,9 @@ type AddResourceResponse struct { func (x *AddResourceResponse) Reset() { *x = AddResourceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_module_v1_module_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_module_v1_module_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddResourceResponse) String() string { @@ -100,7 +96,7 @@ func (*AddResourceResponse) ProtoMessage() {} func (x *AddResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -126,11 +122,9 @@ type ReconfigureResourceRequest struct { func (x *ReconfigureResourceRequest) Reset() { *x = ReconfigureResourceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_module_v1_module_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_module_v1_module_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReconfigureResourceRequest) String() string { @@ -141,7 +135,7 @@ func (*ReconfigureResourceRequest) ProtoMessage() {} func (x *ReconfigureResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -178,11 +172,9 @@ type ReconfigureResourceResponse struct { func (x *ReconfigureResourceResponse) Reset() { *x = ReconfigureResourceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_module_v1_module_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_module_v1_module_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReconfigureResourceResponse) String() string { @@ -193,7 +185,7 @@ func (*ReconfigureResourceResponse) ProtoMessage() {} func (x *ReconfigureResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -218,11 +210,9 @@ type RemoveResourceRequest struct { func (x *RemoveResourceRequest) Reset() { *x = RemoveResourceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_module_v1_module_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_module_v1_module_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveResourceRequest) String() string { @@ -233,7 +223,7 @@ func (*RemoveResourceRequest) ProtoMessage() {} func (x *RemoveResourceRequest) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -263,11 +253,9 @@ type RemoveResourceResponse struct { func (x *RemoveResourceResponse) Reset() { *x = RemoveResourceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_module_v1_module_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_module_v1_module_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveResourceResponse) String() string { @@ -278,7 +266,7 @@ func (*RemoveResourceResponse) ProtoMessage() {} func (x *RemoveResourceResponse) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -304,11 +292,9 @@ type HandlerDefinition struct { func (x *HandlerDefinition) Reset() { *x = HandlerDefinition{} - if protoimpl.UnsafeEnabled { - mi := &file_module_v1_module_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_module_v1_module_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HandlerDefinition) String() string { @@ -319,7 +305,7 @@ func (*HandlerDefinition) ProtoMessage() {} func (x *HandlerDefinition) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -358,11 +344,9 @@ type HandlerMap struct { func (x *HandlerMap) Reset() { *x = HandlerMap{} - if protoimpl.UnsafeEnabled { - mi := &file_module_v1_module_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_module_v1_module_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HandlerMap) String() string { @@ -373,7 +357,7 @@ func (*HandlerMap) ProtoMessage() {} func (x *HandlerMap) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -406,11 +390,9 @@ type ReadyRequest struct { func (x *ReadyRequest) Reset() { *x = ReadyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_module_v1_module_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_module_v1_module_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReadyRequest) String() string { @@ -421,7 +403,7 @@ func (*ReadyRequest) ProtoMessage() {} func (x *ReadyRequest) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -462,11 +444,9 @@ type ReadyResponse struct { func (x *ReadyResponse) Reset() { *x = ReadyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_module_v1_module_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_module_v1_module_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReadyResponse) String() string { @@ -477,7 +457,7 @@ func (*ReadyResponse) ProtoMessage() {} func (x *ReadyResponse) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -523,11 +503,9 @@ type ValidateConfigRequest struct { func (x *ValidateConfigRequest) Reset() { *x = ValidateConfigRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_module_v1_module_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_module_v1_module_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidateConfigRequest) String() string { @@ -538,7 +516,7 @@ func (*ValidateConfigRequest) ProtoMessage() {} func (x *ValidateConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -570,11 +548,9 @@ type ValidateConfigResponse struct { func (x *ValidateConfigResponse) Reset() { *x = ValidateConfigResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_module_v1_module_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_module_v1_module_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValidateConfigResponse) String() string { @@ -585,7 +561,7 @@ func (*ValidateConfigResponse) ProtoMessage() {} func (x *ValidateConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_module_v1_module_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -720,7 +696,7 @@ func file_module_v1_module_proto_rawDescGZIP() []byte { } var file_module_v1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_module_v1_module_proto_goTypes = []interface{}{ +var file_module_v1_module_proto_goTypes = []any{ (*AddResourceRequest)(nil), // 0: viam.module.v1.AddResourceRequest (*AddResourceResponse)(nil), // 1: viam.module.v1.AddResourceResponse (*ReconfigureResourceRequest)(nil), // 2: viam.module.v1.ReconfigureResourceRequest @@ -765,152 +741,6 @@ func file_module_v1_module_proto_init() { if File_module_v1_module_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_module_v1_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddResourceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_module_v1_module_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddResourceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_module_v1_module_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReconfigureResourceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_module_v1_module_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReconfigureResourceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_module_v1_module_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveResourceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_module_v1_module_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveResourceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_module_v1_module_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HandlerDefinition); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_module_v1_module_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HandlerMap); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_module_v1_module_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReadyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_module_v1_module_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReadyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_module_v1_module_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidateConfigRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_module_v1_module_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidateConfigResponse); 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{ diff --git a/module/v1/module.pb.gw.go b/module/v1/module.pb.gw.go index 3f2ee92f..5b7431f6 100644 --- a/module/v1/module.pb.gw.go +++ b/module/v1/module.pb.gw.go @@ -35,11 +35,7 @@ func request_ModuleService_AddResource_0(ctx context.Context, marshaler runtime. var protoReq AddResourceRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_ModuleService_AddResource_0(ctx context.Context, marshaler ru var protoReq AddResourceRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -69,11 +61,7 @@ func request_ModuleService_ReconfigureResource_0(ctx context.Context, marshaler var protoReq ReconfigureResourceRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -86,11 +74,7 @@ func local_request_ModuleService_ReconfigureResource_0(ctx context.Context, mars var protoReq ReconfigureResourceRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -103,11 +87,7 @@ func request_ModuleService_RemoveResource_0(ctx context.Context, marshaler runti var protoReq RemoveResourceRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -120,11 +100,7 @@ func local_request_ModuleService_RemoveResource_0(ctx context.Context, marshaler var protoReq RemoveResourceRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,11 +113,7 @@ func request_ModuleService_Ready_0(ctx context.Context, marshaler runtime.Marsha var protoReq ReadyRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -154,11 +126,7 @@ func local_request_ModuleService_Ready_0(ctx context.Context, marshaler runtime. var protoReq ReadyRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -171,11 +139,7 @@ func request_ModuleService_ValidateConfig_0(ctx context.Context, marshaler runti var protoReq ValidateConfigRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -188,11 +152,7 @@ func local_request_ModuleService_ValidateConfig_0(ctx context.Context, marshaler var protoReq ValidateConfigRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -338,21 +298,21 @@ func RegisterModuleServiceHandlerServer(ctx context.Context, mux *runtime.ServeM // RegisterModuleServiceHandlerFromEndpoint is same as RegisterModuleServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterModuleServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/proto/viam/app/datasync/v1/data_sync.proto b/proto/viam/app/datasync/v1/data_sync.proto index 43a56a18..28efc73e 100644 --- a/proto/viam/app/datasync/v1/data_sync.proto +++ b/proto/viam/app/datasync/v1/data_sync.proto @@ -13,23 +13,17 @@ option go_package = "go.viam.com/api/app/datasync/v1"; service DataSyncService { // DataCaptureUpload uploads the contents and metadata for tabular data. rpc DataCaptureUpload(viam.app.datasync.v1.DataCaptureUploadRequest) returns (viam.app.datasync.v1.DataCaptureUploadResponse) { - option (google.api.http) = { - post: "/datasync/v1/data_capture_upload" - }; + option (google.api.http) = {post: "/datasync/v1/data_capture_upload"}; } // FileUpload uploads the contents and metadata for binary (image + file) data, // where the first packet must be the UploadMetadata. rpc FileUpload(stream viam.app.datasync.v1.FileUploadRequest) returns (viam.app.datasync.v1.FileUploadResponse) { - option (google.api.http) = { - post: "/datasync/v1/file_upload" - }; + option (google.api.http) = {post: "/datasync/v1/file_upload"}; } // StreamingDataCaptureUpload uploads the streaming contents and metadata for streaming binary (image + file) data, // where the first packet must be the UploadMetadata. rpc StreamingDataCaptureUpload(stream viam.app.datasync.v1.StreamingDataCaptureUploadRequest) returns (viam.app.datasync.v1.StreamingDataCaptureUploadResponse) { - option (google.api.http) = { - post: "/datasync/v1/streaming_data_capture_upload" - }; + option (google.api.http) = {post: "/datasync/v1/streaming_data_capture_upload"}; } } diff --git a/proto/viam/app/packages/v1/packages.proto b/proto/viam/app/packages/v1/packages.proto index 8012859c..bf167577 100644 --- a/proto/viam/app/packages/v1/packages.proto +++ b/proto/viam/app/packages/v1/packages.proto @@ -11,33 +11,25 @@ option go_package = "go.viam.com/api/app/packages/v1"; service PackageService { // CreatePackage uploads a package to the cloud rpc CreatePackage(stream CreatePackageRequest) returns (CreatePackageResponse) { - option (google.api.http) = { - post: "/packages/v1/create" - }; + option (google.api.http) = {post: "/packages/v1/create"}; } // DeletePackage removes the given package versions rpc DeletePackage(DeletePackageRequest) returns (DeletePackageResponse) { - option (google.api.http) = { - delete: "/packages/v1/delete" - }; + option (google.api.http) = {delete: "/packages/v1/delete"}; } // GetPackage returns the metadata for a requested package version. It also returns a URL // for downloading the package if one is requested. rpc GetPackage(GetPackageRequest) returns (GetPackageResponse) { - option (google.api.http) = { - get: "/packages/v1/get" - }; + option (google.api.http) = {get: "/packages/v1/get"}; } // ListPackages gets the metadata for the requested packages. Includes package name, version, and/or // type to filter beyond the required organization_id. ListPackages also returns URLs for // downloading each package if they are requested. rpc ListPackages(ListPackagesRequest) returns (ListPackagesResponse) { - option (google.api.http) = { - get: "/packages/v1/list" - }; + option (google.api.http) = {get: "/packages/v1/list"}; } } diff --git a/proto/viam/app/v1/app.proto b/proto/viam/app/v1/app.proto index ac05485a..ae27ef15 100644 --- a/proto/viam/app/v1/app.proto +++ b/proto/viam/app/v1/app.proto @@ -69,7 +69,7 @@ service AppService { rpc UpdateBillingService(UpdateBillingServiceRequest) returns (UpdateBillingServiceResponse); - rpc GetBillingServiceConfig(GetBillingServiceConfigRequest) returns (GetBillingServiceConfigResponse); + rpc GetBillingService(UpdateBillingServiceRequest) returns (UpdateBillingServiceResponse); rpc OrganizationSetSupportEmail(OrganizationSetSupportEmailRequest) returns (OrganizationSetSupportEmailResponse); @@ -449,15 +449,12 @@ message UpdateBillingServiceRequest { message UpdateBillingServiceResponse {} -message GetBillingServiceConfigRequest { +message GetBillingServiceRequest { string org_id = 1; } -message GetBillingServiceConfigResponse { +message GetBillingServiceResponse { BillingAddress billing_address = 1; - string support_email = 2; - string logo_url = 3; - string billing_dashboard_url = 4; } message DisableBillingServiceRequest { diff --git a/proto/viam/component/arm/v1/arm.proto b/proto/viam/component/arm/v1/arm.proto index 0d8492d6..7bf9070c 100644 --- a/proto/viam/component/arm/v1/arm.proto +++ b/proto/viam/component/arm/v1/arm.proto @@ -13,34 +13,26 @@ option java_package = "com.viam.component.arm.v1"; service ArmService { // GetEndPosition gets the current position the end of the robot's arm expressed as X,Y,Z,ox,oy,oz,theta rpc GetEndPosition(GetEndPositionRequest) returns (GetEndPositionResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/arm/{name}/position" - }; + option (google.api.http) = {get: "/viam/api/v1/component/arm/{name}/position"}; } // MoveToPosition moves the mount point of the robot's end effector to the requested position. // This will block until done or a new operation cancels this one rpc MoveToPosition(MoveToPositionRequest) returns (MoveToPositionResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = { - put: "/viam/api/v1/component/arm/{name}/position" - }; + option (google.api.http) = {put: "/viam/api/v1/component/arm/{name}/position"}; } // GetJointPositions lists the joint positions (in degrees) of every joint on a robot rpc GetJointPositions(GetJointPositionsRequest) returns (GetJointPositionsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/arm/{name}/joint_positions" - }; + option (google.api.http) = {get: "/viam/api/v1/component/arm/{name}/joint_positions"}; } // MoveToJointPositions moves every joint on a robot's arm to specified angles which are expressed in degrees // This will block until done or a new operation cancels this one rpc MoveToJointPositions(MoveToJointPositionsRequest) returns (MoveToJointPositionsResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = { - put: "/viam/api/v1/component/arm/{name}/joint_positions" - }; + option (google.api.http) = {put: "/viam/api/v1/component/arm/{name}/joint_positions"}; } // MoveThroughJointPositions moves every joint on a robot's arm to the specified JointPositions in the order they are specified, @@ -48,44 +40,32 @@ service ArmService { // This will block until done or a new operation cancels this one rpc MoveThroughJointPositions(MoveThroughJointPositionsRequest) returns (MoveThroughJointPositionsResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = { - post: "/viam/api/v1/component/arm/{name}/move_through_joint_positions" - }; + option (google.api.http) = {post: "/viam/api/v1/component/arm/{name}/move_through_joint_positions"}; } // Stop stops a robot's arm rpc Stop(StopRequest) returns (StopResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/arm/{name}/stop" - }; + option (google.api.http) = {post: "/viam/api/v1/component/arm/{name}/stop"}; } // IsMoving reports if a component is in motion rpc IsMoving(IsMovingRequest) returns (IsMovingResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/arm/{name}/is_moving" - }; + option (google.api.http) = {get: "/viam/api/v1/component/arm/{name}/is_moving"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/arm/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/arm/{name}/do_command"}; } // GetKinematics returns the kinematics file for the component rpc GetKinematics(common.v1.GetKinematicsRequest) returns (common.v1.GetKinematicsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/arm/{name}/kinematics" - }; + option (google.api.http) = {get: "/viam/api/v1/component/arm/{name}/kinematics"}; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/arm/{name}/geometries" - }; + option (google.api.http) = {get: "/viam/api/v1/component/arm/{name}/geometries"}; } } diff --git a/proto/viam/component/audioinput/v1/audioinput.proto b/proto/viam/component/audioinput/v1/audioinput.proto index 780c5484..790a745d 100644 --- a/proto/viam/component/audioinput/v1/audioinput.proto +++ b/proto/viam/component/audioinput/v1/audioinput.proto @@ -17,32 +17,24 @@ service AudioInputService { // Properties returns properties of an audio input of the underlying robot. rpc Properties(PropertiesRequest) returns (PropertiesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/audioinput/{name}/properties" - }; + option (google.api.http) = {get: "/viam/api/v1/component/audioinput/{name}/properties"}; } // Record records audio from an audio input of the underlying robot // to an HTTP response. A specific MIME type cannot be requested and may not necessarily // be the same one returned each time. rpc Record(RecordRequest) returns (google.api.HttpBody) { - option (google.api.http) = { - get: "/viam/api/v1/component/audioinput/{name}/record" - }; + option (google.api.http) = {get: "/viam/api/v1/component/audioinput/{name}/record"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/audioinput/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/audioinput/{name}/do_command"}; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/audioinput/{name}/geometries" - }; + option (google.api.http) = {get: "/viam/api/v1/component/audioinput/{name}/geometries"}; } } diff --git a/proto/viam/component/base/v1/base.proto b/proto/viam/component/base/v1/base.proto index 1a3f56bf..33cf6056 100644 --- a/proto/viam/component/base/v1/base.proto +++ b/proto/viam/component/base/v1/base.proto @@ -15,9 +15,7 @@ service BaseService { // This method blocks until completed or cancelled rpc MoveStraight(MoveStraightRequest) returns (MoveStraightResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = { - post: "/viam/api/v1/component/base/{name}/move_straight" - }; + option (google.api.http) = {post: "/viam/api/v1/component/base/{name}/move_straight"}; } // Spin spins a robot's base by an given angle, expressed in degrees, and a given @@ -25,61 +23,45 @@ service BaseService { // This method blocks until completed or cancelled rpc Spin(SpinRequest) returns (SpinResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = { - post: "/viam/api/v1/component/base/{name}/spin" - }; + option (google.api.http) = {post: "/viam/api/v1/component/base/{name}/spin"}; } // SetPower sets the linear and angular power of a base // -1 -> 1 in terms of power for each direction rpc SetPower(SetPowerRequest) returns (SetPowerResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = { - post: "/viam/api/v1/component/base/{name}/set_power" - }; + option (google.api.http) = {post: "/viam/api/v1/component/base/{name}/set_power"}; } // SetVelocity sets the linear and angular velocity of a base rpc SetVelocity(SetVelocityRequest) returns (SetVelocityResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = { - post: "/viam/api/v1/component/base/{name}/set_velocity" - }; + option (google.api.http) = {post: "/viam/api/v1/component/base/{name}/set_velocity"}; } // Stop stops a robot's base rpc Stop(StopRequest) returns (StopResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/base/{name}/stop" - }; + option (google.api.http) = {post: "/viam/api/v1/component/base/{name}/stop"}; } // IsMoving reports if a component is in motion rpc IsMoving(IsMovingRequest) returns (IsMovingResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/base/{name}/is_moving" - }; + option (google.api.http) = {get: "/viam/api/v1/component/base/{name}/is_moving"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/base/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/base/{name}/do_command"}; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/base/{name}/geometries" - }; + option (google.api.http) = {get: "/viam/api/v1/component/base/{name}/geometries"}; } // GetProperties returns the properties of a base in its current configuration rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/base/{name}/properties" - }; + option (google.api.http) = {get: "/viam/api/v1/component/base/{name}/properties"}; } } diff --git a/proto/viam/component/board/v1/board.proto b/proto/viam/component/board/v1/board.proto index 01afcb3b..6c2fabb8 100644 --- a/proto/viam/component/board/v1/board.proto +++ b/proto/viam/component/board/v1/board.proto @@ -13,101 +13,75 @@ option java_package = "com.viam.component.board.v1"; // BoardService services all Boards associated with a robot service BoardService { rpc SetGPIO(SetGPIORequest) returns (SetGPIOResponse) { - option (google.api.http) = { - put: "/viam/api/v1/component/board/{name}/gpio" - }; + option (google.api.http) = {put: "/viam/api/v1/component/board/{name}/gpio"}; } // GetGPIO gets the high/low state of the given pin of a board of the underlying robot. rpc GetGPIO(GetGPIORequest) returns (GetGPIOResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/board/{name}/gpio" - }; + option (google.api.http) = {get: "/viam/api/v1/component/board/{name}/gpio"}; } // PWM gets the duty cycle of the given pin of a board of the underlying robot. rpc PWM(PWMRequest) returns (PWMResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/board/{name}/pwm" - }; + option (google.api.http) = {get: "/viam/api/v1/component/board/{name}/pwm"}; } // SetPWM sets the given pin of a board of the underlying robot to the given duty cycle. rpc SetPWM(SetPWMRequest) returns (SetPWMResponse) { - option (google.api.http) = { - put: "/viam/api/v1/component/board/{name}/pwm" - }; + option (google.api.http) = {put: "/viam/api/v1/component/board/{name}/pwm"}; } // PWMFrequency gets the PWM frequency of the given pin of a board of the underlying robot. rpc PWMFrequency(PWMFrequencyRequest) returns (PWMFrequencyResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/board/{name}/pwm_freq" - }; + option (google.api.http) = {get: "/viam/api/v1/component/board/{name}/pwm_freq"}; } // SetPWMFrequency sets the given pin of a board of the underlying robot to the given PWM frequency. 0 will use the board's default PWM frequency. rpc SetPWMFrequency(SetPWMFrequencyRequest) returns (SetPWMFrequencyResponse) { - option (google.api.http) = { - put: "/viam/api/v1/component/board/{name}/pwm_freq" - }; + option (google.api.http) = {put: "/viam/api/v1/component/board/{name}/pwm_freq"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/board/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/board/{name}/do_command"}; } // Analog Reader // ReadAnalogReader reads off the current value of an analog reader of a board of the underlying robot. rpc ReadAnalogReader(ReadAnalogReaderRequest) returns (ReadAnalogReaderResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/board/{board_name}/analog_reader/{analog_reader_name}/read" - }; + option (google.api.http) = {get: "/viam/api/v1/component/board/{board_name}/analog_reader/{analog_reader_name}/read"}; } //Analog Writer // WriteAnalog writes the value to the analog writer of the board. rpc WriteAnalog(WriteAnalogRequest) returns (WriteAnalogResponse) { - option (google.api.http) = { - put: "/viam/api/v1/component/board/{name}/analog_write" - }; + option (google.api.http) = {put: "/viam/api/v1/component/board/{name}/analog_write"}; } // Digital Interrupt // GetDigitalInterruptValue returns the current value of the interrupt which is based on the type of interrupt. rpc GetDigitalInterruptValue(GetDigitalInterruptValueRequest) returns (GetDigitalInterruptValueResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/board/{board_name}/digital_interrupt/{digital_interrupt_name}/value" - }; + option (google.api.http) = {get: "/viam/api/v1/component/board/{board_name}/digital_interrupt/{digital_interrupt_name}/value"}; } // StreamTicks starts a stream of ticks for the given digital interrupts. rpc StreamTicks(StreamTicksRequest) returns (stream StreamTicksResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/board/{name}/tick_stream" - }; + option (google.api.http) = {get: "/viam/api/v1/component/board/{name}/tick_stream"}; } // Power Management // `SetPowerMode` sets the power consumption mode of the board to the requested setting for the given duration. rpc SetPowerMode(SetPowerModeRequest) returns (SetPowerModeResponse) { - option (google.api.http) = { - put: "/viam/api/v1/component/board/{name}/power_mode" - }; + option (google.api.http) = {put: "/viam/api/v1/component/board/{name}/power_mode"}; } // GetGeometries returns the geometries of the component in their current configuration. rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/board/{name}/geometries" - }; + option (google.api.http) = {get: "/viam/api/v1/component/board/{name}/geometries"}; } } diff --git a/proto/viam/component/camera/v1/camera.proto b/proto/viam/component/camera/v1/camera.proto index fa702a88..7229cf48 100644 --- a/proto/viam/component/camera/v1/camera.proto +++ b/proto/viam/component/camera/v1/camera.proto @@ -15,52 +15,38 @@ service CameraService { // GetImage returns a frame from a camera of the underlying robot. A specific MIME type // can be requested but may not necessarily be the same one returned. rpc GetImage(GetImageRequest) returns (GetImageResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/camera/{name}/image" - }; + option (google.api.http) = {get: "/viam/api/v1/component/camera/{name}/image"}; } rpc GetImages(GetImagesRequest) returns (GetImagesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/camera/{name}/images" - }; + option (google.api.http) = {get: "/viam/api/v1/component/camera/{name}/images"}; } // RenderFrame renders a frame from a camera of the underlying robot to an HTTP response. A specific MIME type // can be requested but may not necessarily be the same one returned. rpc RenderFrame(RenderFrameRequest) returns (google.api.HttpBody) { - option (google.api.http) = { - get: "/viam/api/v1/component/camera/{name}/render_frame" - }; + option (google.api.http) = {get: "/viam/api/v1/component/camera/{name}/render_frame"}; } // GetPointCloud returns a point cloud from a camera of the underlying robot. A specific MIME type // can be requested but may not necessarily be the same one returned. rpc GetPointCloud(GetPointCloudRequest) returns (GetPointCloudResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/camera/{name}/point_cloud" - }; + option (google.api.http) = {get: "/viam/api/v1/component/camera/{name}/point_cloud"}; } // GetProperties returns the camera intrinsic parameters and camera distortion parameters from a camera of the underlying robot, if available. rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/camera/{name}/properties" - }; + option (google.api.http) = {get: "/viam/api/v1/component/camera/{name}/properties"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/camera/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/camera/{name}/do_command"}; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/camera/{name}/geometries" - }; + option (google.api.http) = {get: "/viam/api/v1/component/camera/{name}/geometries"}; } } diff --git a/proto/viam/component/encoder/v1/encoder.proto b/proto/viam/component/encoder/v1/encoder.proto index 6f10c43b..32cf6923 100644 --- a/proto/viam/component/encoder/v1/encoder.proto +++ b/proto/viam/component/encoder/v1/encoder.proto @@ -13,36 +13,26 @@ service EncoderService { // Returns position of the encoder which can either be ticks since last // zeroing for an incremental encoder or degrees for an absolute encoder. rpc GetPosition(GetPositionRequest) returns (GetPositionResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/encoder/{name}/get_position" - }; + option (google.api.http) = {get: "/viam/api/v1/component/encoder/{name}/get_position"}; } rpc ResetPosition(ResetPositionRequest) returns (ResetPositionResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/encoder/{name}/reset_position" - }; + option (google.api.http) = {get: "/viam/api/v1/component/encoder/{name}/reset_position"}; } // Returns a list of all the methods that are // supported by a given robot. rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/encoder/{name}/get_properties" - }; + option (google.api.http) = {post: "/viam/api/v1/component/encoder/{name}/get_properties"}; } rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/encoder/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/encoder/{name}/do_command"}; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/encoder/{name}/geometries" - }; + option (google.api.http) = {get: "/viam/api/v1/component/encoder/{name}/geometries"}; } } diff --git a/proto/viam/component/gantry/v1/gantry.proto b/proto/viam/component/gantry/v1/gantry.proto index d9a7d1a1..bceeef12 100644 --- a/proto/viam/component/gantry/v1/gantry.proto +++ b/proto/viam/component/gantry/v1/gantry.proto @@ -13,59 +13,43 @@ option java_package = "com.viam.component.gantry.v1"; service GantryService { // GetPosition gets the current position of a gantry of the underlying robot. rpc GetPosition(GetPositionRequest) returns (GetPositionResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/gantry/{name}/position" - }; + option (google.api.http) = {get: "/viam/api/v1/component/gantry/{name}/position"}; } // MoveToPosition moves a gantry of the underlying robot to the requested position. rpc MoveToPosition(MoveToPositionRequest) returns (MoveToPositionResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = { - put: "/viam/api/v1/component/gantry/{name}/position" - }; + option (google.api.http) = {put: "/viam/api/v1/component/gantry/{name}/position"}; } // Home runs the homing sequence of a gantry and returns true once it's completed. rpc Home(HomeRequest) returns (HomeResponse) { - option (google.api.http) = { - put: "/viam/api/v1/component/gantry/{name}/home" - }; + option (google.api.http) = {put: "/viam/api/v1/component/gantry/{name}/home"}; } // GetLengths gets the lengths of a gantry of the underlying robot. rpc GetLengths(GetLengthsRequest) returns (GetLengthsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/gantry/{name}/lengths" - }; + option (google.api.http) = {get: "/viam/api/v1/component/gantry/{name}/lengths"}; } // Stop stops a robot's gantry rpc Stop(StopRequest) returns (StopResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/gantry/{name}/stop" - }; + option (google.api.http) = {post: "/viam/api/v1/component/gantry/{name}/stop"}; } // IsMoving reports if a component is in motion rpc IsMoving(IsMovingRequest) returns (IsMovingResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/gantry/{name}/is_moving" - }; + option (google.api.http) = {get: "/viam/api/v1/component/gantry/{name}/is_moving"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/gantry/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/gantry/{name}/do_command"}; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/gantry/{name}/geometries" - }; + option (google.api.http) = {get: "/viam/api/v1/component/gantry/{name}/geometries"}; } } diff --git a/proto/viam/component/generic/v1/generic.proto b/proto/viam/component/generic/v1/generic.proto index f27d97a7..ad34daca 100644 --- a/proto/viam/component/generic/v1/generic.proto +++ b/proto/viam/component/generic/v1/generic.proto @@ -12,15 +12,11 @@ option java_package = "com.viam.component.generic.v1"; service GenericService { // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/generic/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/generic/{name}/do_command"}; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/generic/{name}/geometries" - }; + option (google.api.http) = {get: "/viam/api/v1/component/generic/{name}/geometries"}; } } diff --git a/proto/viam/component/gripper/v1/gripper.proto b/proto/viam/component/gripper/v1/gripper.proto index e3fa4981..3f87affc 100644 --- a/proto/viam/component/gripper/v1/gripper.proto +++ b/proto/viam/component/gripper/v1/gripper.proto @@ -14,45 +14,33 @@ service GripperService { // Open opens a gripper of the underlying robot. rpc Open(OpenRequest) returns (OpenResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = { - put: "/viam/api/v1/component/gripper/{name}/open" - }; + option (google.api.http) = {put: "/viam/api/v1/component/gripper/{name}/open"}; } // Grab requests a gripper of the underlying robot to grab. rpc Grab(GrabRequest) returns (GrabResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = { - put: "/viam/api/v1/component/gripper/{name}/grab" - }; + option (google.api.http) = {put: "/viam/api/v1/component/gripper/{name}/grab"}; } // Stop stops a robot's gripper rpc Stop(StopRequest) returns (StopResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/gripper/{name}/stop" - }; + option (google.api.http) = {post: "/viam/api/v1/component/gripper/{name}/stop"}; } // IsMoving reports if a component is in motion rpc IsMoving(IsMovingRequest) returns (IsMovingResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/gripper/{name}/is_moving" - }; + option (google.api.http) = {get: "/viam/api/v1/component/gripper/{name}/is_moving"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/gripper/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/gripper/{name}/do_command"}; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/gripper/{name}/geometries" - }; + option (google.api.http) = {get: "/viam/api/v1/component/gripper/{name}/geometries"}; } } diff --git a/proto/viam/component/inputcontroller/v1/input_controller.proto b/proto/viam/component/inputcontroller/v1/input_controller.proto index f0848126..2260c7cb 100644 --- a/proto/viam/component/inputcontroller/v1/input_controller.proto +++ b/proto/viam/component/inputcontroller/v1/input_controller.proto @@ -14,45 +14,33 @@ option java_package = "com.viam.component.inputcontroller.v1"; service InputControllerService { // GetControls returns a list of GetControls provided by the Controller rpc GetControls(GetControlsRequest) returns (GetControlsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/input/{controller}/controls" - }; + option (google.api.http) = {get: "/viam/api/v1/component/input/{controller}/controls"}; } // GetEvents returns a list of events representing the last event on each control of a give Input Controller rpc GetEvents(GetEventsRequest) returns (GetEventsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/input/{controller}/events" - }; + option (google.api.http) = {get: "/viam/api/v1/component/input/{controller}/events"}; } // StreamEvents starts a stream of InputControllerEvents for the given controls (buttons/axes) on a robot's input controller rpc StreamEvents(StreamEventsRequest) returns (stream StreamEventsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/input/{controller}/event_stream" - }; + option (google.api.http) = {get: "/viam/api/v1/component/input/{controller}/event_stream"}; } // TriggerEvent, where supported, injects an InputControllerEvent into an input controller to (virtually) generate events // like button presses or axis movements rpc TriggerEvent(TriggerEventRequest) returns (TriggerEventResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/input/{controller}/event" - }; + option (google.api.http) = {post: "/viam/api/v1/component/input/{controller}/event"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/input/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/input/{name}/do_command"}; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/input/{name}/geometries" - }; + option (google.api.http) = {get: "/viam/api/v1/component/input/{name}/geometries"}; } } diff --git a/proto/viam/component/motor/v1/motor.proto b/proto/viam/component/motor/v1/motor.proto index 4ece9327..8adad93b 100644 --- a/proto/viam/component/motor/v1/motor.proto +++ b/proto/viam/component/motor/v1/motor.proto @@ -16,9 +16,7 @@ service MotorService { // direction and positive values a forward direction rpc SetPower(SetPowerRequest) returns (SetPowerResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = { - put: "/viam/api/v1/component/motor/{name}/power" - }; + option (google.api.http) = {put: "/viam/api/v1/component/motor/{name}/power"}; } // GoFor instructs the motor to turn at a specified speed, which is expressed in RPM, @@ -28,9 +26,7 @@ service MotorService { // Deprecated: If revolutions is 0, this will run the motor at rpm indefinitely. rpc GoFor(GoForRequest) returns (GoForResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = { - put: "/viam/api/v1/component/motor/{name}/go_for" - }; + option (google.api.http) = {put: "/viam/api/v1/component/motor/{name}/go_for"}; } // GoTo requests the robot's motor to move to a specific position that @@ -38,75 +34,55 @@ service MotorService { // This method will return an error if position reporting is not supported rpc GoTo(GoToRequest) returns (GoToResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = { - put: "/viam/api/v1/component/motor/{name}/go_to" - }; + option (google.api.http) = {put: "/viam/api/v1/component/motor/{name}/go_to"}; } // SetRPM instructs the motor to move at the specified RPM indefinitely. rpc SetRPM(SetRPMRequest) returns (SetRPMResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = { - put: "/viam/api/v1/component/motor/{name}/set_rpm" - }; + option (google.api.http) = {put: "/viam/api/v1/component/motor/{name}/set_rpm"}; } // ResetZeroPosition sets the current position of the motor as the new zero position // This method will return an error if position reporting is not supported rpc ResetZeroPosition(ResetZeroPositionRequest) returns (ResetZeroPositionResponse) { - option (google.api.http) = { - put: "/viam/api/v1/component/motor/{name}/zero" - }; + option (google.api.http) = {put: "/viam/api/v1/component/motor/{name}/zero"}; } // Position reports the position of the robot's motor relative to its zero position // This method will return an error if position reporting is not supported rpc GetPosition(GetPositionRequest) returns (GetPositionResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/motor/{name}/position" - }; + option (google.api.http) = {get: "/viam/api/v1/component/motor/{name}/position"}; } // GetProperties returns a message of booleans indicating which optional features the robot's motor supports rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/motor/{name}/features" - }; + option (google.api.http) = {get: "/viam/api/v1/component/motor/{name}/features"}; } // Stop turns the robot's motor off rpc Stop(StopRequest) returns (StopResponse) { - option (google.api.http) = { - put: "/viam/api/v1/component/motor/{name}/stop" - }; + option (google.api.http) = {put: "/viam/api/v1/component/motor/{name}/stop"}; } // IsPowered returns true if the robot's motor is on rpc IsPowered(IsPoweredRequest) returns (IsPoweredResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/motor/{name}/powered" - }; + option (google.api.http) = {get: "/viam/api/v1/component/motor/{name}/powered"}; } // IsMoving reports if a component is in motion rpc IsMoving(IsMovingRequest) returns (IsMovingResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/motor/{name}/is_moving" - }; + option (google.api.http) = {get: "/viam/api/v1/component/motor/{name}/is_moving"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/motor/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/motor/{name}/do_command"}; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/motor/{name}/geometries" - }; + option (google.api.http) = {get: "/viam/api/v1/component/motor/{name}/geometries"}; } } diff --git a/proto/viam/component/movementsensor/v1/movementsensor.proto b/proto/viam/component/movementsensor/v1/movementsensor.proto index eb1fba0d..998c5282 100644 --- a/proto/viam/component/movementsensor/v1/movementsensor.proto +++ b/proto/viam/component/movementsensor/v1/movementsensor.proto @@ -11,71 +11,49 @@ option java_package = "com.viam.component.movementsensor.v1"; service MovementSensorService { rpc GetLinearVelocity(GetLinearVelocityRequest) returns (GetLinearVelocityResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/movementsensor/{name}/linear_velocity" - }; + option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/linear_velocity"}; } rpc GetAngularVelocity(GetAngularVelocityRequest) returns (GetAngularVelocityResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/movementsensor/{name}/angular_velocity" - }; + option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/angular_velocity"}; } rpc GetCompassHeading(GetCompassHeadingRequest) returns (GetCompassHeadingResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/movementsensor/{name}/compass_heading" - }; + option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/compass_heading"}; } rpc GetOrientation(GetOrientationRequest) returns (GetOrientationResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/movementsensor/{name}/orientation" - }; + option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/orientation"}; } rpc GetPosition(GetPositionRequest) returns (GetPositionResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/movementsensor/{name}/position" - }; + option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/position"}; } rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/movementsensor/{name}/properties" - }; + option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/properties"}; } rpc GetAccuracy(GetAccuracyRequest) returns (GetAccuracyResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/movementsensor/{name}/accuracy" - }; + option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/accuracy"}; } rpc GetLinearAcceleration(GetLinearAccelerationRequest) returns (GetLinearAccelerationResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/movementsensor/{name}/linear_acceleration" - }; + option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/linear_acceleration"}; } rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/movementsensor/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/movementsensor/{name}/do_command"}; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/movementsensor/{name}/geometries" - }; + option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/geometries"}; } // GetReadings returns the readings of a sensor of the underlying robot. rpc GetReadings(common.v1.GetReadingsRequest) returns (common.v1.GetReadingsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/movementsensor/{name}/readings" - }; + option (google.api.http) = {get: "/viam/api/v1/component/movementsensor/{name}/readings"}; } } diff --git a/proto/viam/component/posetracker/v1/pose_tracker.proto b/proto/viam/component/posetracker/v1/pose_tracker.proto index eebfb9f8..424e463b 100644 --- a/proto/viam/component/posetracker/v1/pose_tracker.proto +++ b/proto/viam/component/posetracker/v1/pose_tracker.proto @@ -13,23 +13,17 @@ option java_package = "com.viam.component.v1"; service PoseTrackerService { // GetPoses returns the current pose of each body tracked by the pose tracker rpc GetPoses(GetPosesRequest) returns (GetPosesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/pose_tracker/{name}/poses" - }; + option (google.api.http) = {get: "/viam/api/v1/component/pose_tracker/{name}/poses"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/pose_tracker/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/pose_tracker/{name}/do_command"}; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/pose_tracker/{name}/geometries" - }; + option (google.api.http) = {get: "/viam/api/v1/component/pose_tracker/{name}/geometries"}; } } diff --git a/proto/viam/component/powersensor/v1/powersensor.proto b/proto/viam/component/powersensor/v1/powersensor.proto index d0143205..fcd29fe8 100644 --- a/proto/viam/component/powersensor/v1/powersensor.proto +++ b/proto/viam/component/powersensor/v1/powersensor.proto @@ -13,37 +13,27 @@ option java_package = "com.viam.component.powersensor.v1"; service PowerSensorService { // GetVoltage returns the voltage reading of a power sensor in volts rpc GetVoltage(GetVoltageRequest) returns (GetVoltageResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/power_sensor/{name}/voltage" - }; + option (google.api.http) = {get: "/viam/api/v1/component/power_sensor/{name}/voltage"}; } // GetCurrent returns the current reading of a power sensor in amperes rpc GetCurrent(GetCurrentRequest) returns (GetCurrentResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/power_sensor/{name}/current" - }; + option (google.api.http) = {get: "/viam/api/v1/component/power_sensor/{name}/current"}; } // GetPower returns the power reading of a power sensor in watts rpc GetPower(GetPowerRequest) returns (GetPowerResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/power_sensor/{name}/power" - }; + option (google.api.http) = {get: "/viam/api/v1/component/power_sensor/{name}/power"}; } // GetReadings returns the readings of a sensor of the underlying robot. rpc GetReadings(common.v1.GetReadingsRequest) returns (common.v1.GetReadingsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/power_sensor/{name}/readings" - }; + option (google.api.http) = {get: "/viam/api/v1/component/power_sensor/{name}/readings"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/power_sensor/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/power_sensor/{name}/do_command"}; } } diff --git a/proto/viam/component/sensor/v1/sensor.proto b/proto/viam/component/sensor/v1/sensor.proto index acc9eaab..ba598e24 100644 --- a/proto/viam/component/sensor/v1/sensor.proto +++ b/proto/viam/component/sensor/v1/sensor.proto @@ -12,22 +12,16 @@ option java_package = "com.viam.component.sensor.v1"; service SensorService { // GetReadings returns the readings of a sensor of the underlying robot. rpc GetReadings(common.v1.GetReadingsRequest) returns (common.v1.GetReadingsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/sensor/{name}/readings" - }; + option (google.api.http) = {get: "/viam/api/v1/component/sensor/{name}/readings"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/sensor/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/sensor/{name}/do_command"}; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/sensor/{name}/geometries" - }; + option (google.api.http) = {get: "/viam/api/v1/component/sensor/{name}/geometries"}; } } diff --git a/proto/viam/component/servo/v1/servo.proto b/proto/viam/component/servo/v1/servo.proto index 5d851aa2..fafdfc32 100644 --- a/proto/viam/component/servo/v1/servo.proto +++ b/proto/viam/component/servo/v1/servo.proto @@ -15,44 +15,32 @@ service ServoService { // This will block until done or a new operation cancels this one rpc Move(MoveRequest) returns (MoveResponse) { option (common.v1.safety_heartbeat_monitored) = true; - option (google.api.http) = { - put: "/viam/api/v1/component/servo/{name}/move" - }; + option (google.api.http) = {put: "/viam/api/v1/component/servo/{name}/move"}; } // GetPosition returns the current set angle (degrees) of the servo of the underlying robot. rpc GetPosition(GetPositionRequest) returns (GetPositionResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/servo/{name}/position" - }; + option (google.api.http) = {get: "/viam/api/v1/component/servo/{name}/position"}; } // Stop stops a robot's servo rpc Stop(StopRequest) returns (StopResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/servo/{name}/stop" - }; + option (google.api.http) = {post: "/viam/api/v1/component/servo/{name}/stop"}; } // IsMoving reports if a component is in motion rpc IsMoving(IsMovingRequest) returns (IsMovingResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/servo/{name}/is_moving" - }; + option (google.api.http) = {get: "/viam/api/v1/component/servo/{name}/is_moving"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/component/servo/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/component/servo/{name}/do_command"}; } // GetGeometries returns the geometries of the component in their current configuration rpc GetGeometries(common.v1.GetGeometriesRequest) returns (common.v1.GetGeometriesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/component/servo/{name}/geometries" - }; + option (google.api.http) = {get: "/viam/api/v1/component/servo/{name}/geometries"}; } } diff --git a/proto/viam/robot/v1/robot.proto b/proto/viam/robot/v1/robot.proto index 92c2f221..d35bb850 100644 --- a/proto/viam/robot/v1/robot.proto +++ b/proto/viam/robot/v1/robot.proto @@ -14,147 +14,105 @@ option java_package = "com.viam.robot.v1"; // A RobotService encompasses all functionality of some robot comprised of parts, local and remote. service RobotService { rpc GetOperations(GetOperationsRequest) returns (GetOperationsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/operations/list" - }; + option (google.api.http) = {get: "/viam/api/v1/operations/list"}; } rpc GetSessions(GetSessionsRequest) returns (GetSessionsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/sessions/list" - }; + option (google.api.http) = {get: "/viam/api/v1/sessions/list"}; } // ResourceNames returns the list of all resources. rpc ResourceNames(ResourceNamesRequest) returns (ResourceNamesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/resources/list" - }; + option (google.api.http) = {get: "/viam/api/v1/resources/list"}; } // ResourceRPCSubtypes returns the list of all resource types. rpc ResourceRPCSubtypes(ResourceRPCSubtypesRequest) returns (ResourceRPCSubtypesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/resource_rpc_subtypes/list" - }; + option (google.api.http) = {get: "/viam/api/v1/resource_rpc_subtypes/list"}; } rpc CancelOperation(CancelOperationRequest) returns (CancelOperationResponse) { - option (google.api.http) = { - post: "/viam/api/v1/operations/cancel" - }; + option (google.api.http) = {post: "/viam/api/v1/operations/cancel"}; } rpc BlockForOperation(BlockForOperationRequest) returns (BlockForOperationResponse) { - option (google.api.http) = { - post: "/viam/api/v1/operations/block" - }; + option (google.api.http) = {post: "/viam/api/v1/operations/block"}; } // DiscoverComponents returns the list of discovered component configurations. rpc DiscoverComponents(DiscoverComponentsRequest) returns (DiscoverComponentsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/discovery/components" - }; + option (google.api.http) = {get: "/viam/api/v1/discovery/components"}; } rpc FrameSystemConfig(FrameSystemConfigRequest) returns (FrameSystemConfigResponse) { - option (google.api.http) = { - get: "/viam/api/v1/frame_system/config" - }; + option (google.api.http) = {get: "/viam/api/v1/frame_system/config"}; } rpc TransformPose(TransformPoseRequest) returns (TransformPoseResponse) { - option (google.api.http) = { - get: "/viam/api/v1/frame_system/transform_pose" - }; + option (google.api.http) = {get: "/viam/api/v1/frame_system/transform_pose"}; } rpc TransformPCD(TransformPCDRequest) returns (TransformPCDResponse) { - option (google.api.http) = { - get: "/viam/api/v1/frame_system/transform_pcd" - }; + option (google.api.http) = {get: "/viam/api/v1/frame_system/transform_pcd"}; } // GetStatus returns the list of all statuses requested. An empty request signifies all resources. rpc GetStatus(GetStatusRequest) returns (GetStatusResponse) { - option (google.api.http) = { - get: "/viam/api/v1/status" - }; + option (google.api.http) = {get: "/viam/api/v1/status"}; option deprecated = true; } // StreamStatus periodically sends the status of all statuses requested. An empty request signifies all resources. rpc StreamStatus(StreamStatusRequest) returns (stream StreamStatusResponse) { - option (google.api.http) = { - get: "/viam/api/v1/status/stream" - }; + option (google.api.http) = {get: "/viam/api/v1/status/stream"}; option deprecated = true; } // StopAll will stop all current and outstanding operations for the robot and stops all actuators and movement rpc StopAll(StopAllRequest) returns (StopAllResponse) { - option (google.api.http) = { - get: "/viam/api/v1/stop_all" - }; + option (google.api.http) = {get: "/viam/api/v1/stop_all"}; } // StartSession creates a new session that expects at least one heartbeat within the returned window. // If the window lapses, any resources that have safety heart monitored methods, where this session was // the last caller on the resource, will be stopped. rpc StartSession(StartSessionRequest) returns (StartSessionResponse) { - option (google.api.http) = { - post: "/viam/api/v1/sessions" - }; + option (google.api.http) = {post: "/viam/api/v1/sessions"}; } // SendSessionHeartbeat sends a heartbeat to the given session. If the session has expired, a // SESSION_EXPIRED error will be returned. rpc SendSessionHeartbeat(SendSessionHeartbeatRequest) returns (SendSessionHeartbeatResponse) { - option (google.api.http) = { - post: "/viam/api/v1/sessions/{id}/heartbeat" - }; + option (google.api.http) = {post: "/viam/api/v1/sessions/{id}/heartbeat"}; } // Log sends logs to be logged by this robot. Currently used for module logging. rpc Log(LogRequest) returns (LogResponse) { - option (google.api.http) = { - post: "/viam/api/v1/log" - }; + option (google.api.http) = {post: "/viam/api/v1/log"}; } // GetCloudMetadata returns app-related information about the robot. rpc GetCloudMetadata(GetCloudMetadataRequest) returns (GetCloudMetadataResponse) { - option (google.api.http) = { - get: "/viam/api/v1/cloud_metadata" - }; + option (google.api.http) = {get: "/viam/api/v1/cloud_metadata"}; } rpc RestartModule(RestartModuleRequest) returns (RestartModuleResponse) { - option (google.api.http) = { - post: "/viam/api/v1/restart_module" - }; + option (google.api.http) = {post: "/viam/api/v1/restart_module"}; } // Shutdown shuts down the robot. rpc Shutdown(ShutdownRequest) returns (ShutdownResponse) { - option (google.api.http) = { - post: "/viam/api/v1/shutdown" - }; + option (google.api.http) = {post: "/viam/api/v1/shutdown"}; } // GetMachineStatus returns the current status of the robot. rpc GetMachineStatus(GetMachineStatusRequest) returns (GetMachineStatusResponse) { - option (google.api.http) = { - get: "/viam/api/v1/machine_status" - }; + option (google.api.http) = {get: "/viam/api/v1/machine_status"}; } // GetVersion returns version information about the robot. rpc GetVersion(GetVersionRequest) returns (GetVersionResponse) { - option (google.api.http) = { - get: "/viam/api/v1/version" - }; + option (google.api.http) = {get: "/viam/api/v1/version"}; } } diff --git a/proto/viam/service/datamanager/v1/data_manager.proto b/proto/viam/service/datamanager/v1/data_manager.proto index d8384f9d..f357120a 100644 --- a/proto/viam/service/datamanager/v1/data_manager.proto +++ b/proto/viam/service/datamanager/v1/data_manager.proto @@ -13,16 +13,12 @@ option java_package = "com.viam.service.datamanager.v1"; service DataManagerService { // Sync performs a sync of the non-synced files for the specified service name, rpc Sync(SyncRequest) returns (SyncResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/datamanager/{name}/datasync" - }; + option (google.api.http) = {post: "/viam/api/v1/service/datamanager/{name}/datasync"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/datamanager/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/service/datamanager/{name}/do_command"}; } } diff --git a/proto/viam/service/generic/v1/generic.proto b/proto/viam/service/generic/v1/generic.proto index 1afdf910..1b7903c6 100644 --- a/proto/viam/service/generic/v1/generic.proto +++ b/proto/viam/service/generic/v1/generic.proto @@ -12,8 +12,6 @@ option java_package = "com.viam.service.generic.v1"; service GenericService { // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/generic/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/service/generic/{name}/do_command"}; } } diff --git a/proto/viam/service/mlmodel/v1/mlmodel.proto b/proto/viam/service/mlmodel/v1/mlmodel.proto index dbeade85..60e3cf98 100644 --- a/proto/viam/service/mlmodel/v1/mlmodel.proto +++ b/proto/viam/service/mlmodel/v1/mlmodel.proto @@ -13,15 +13,11 @@ option java_package = "com.viam.service.mlmodel.v1"; service MLModelService { // Infer takes an already ordered input tensor as a map, makes an inference on the model, and returns an output data map. rpc Infer(InferRequest) returns (InferResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/mlmodel/{name}/infer" - }; + option (google.api.http) = {post: "/viam/api/v1/service/mlmodel/{name}/infer"}; } // Metadata returns the metadata associated with the ML model. rpc Metadata(MetadataRequest) returns (MetadataResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/mlmodel/{name}/metadata" - }; + option (google.api.http) = {get: "/viam/api/v1/service/mlmodel/{name}/metadata"}; } } diff --git a/proto/viam/service/motion/v1/motion.proto b/proto/viam/service/motion/v1/motion.proto index 8d5a7b32..45fb86c7 100644 --- a/proto/viam/service/motion/v1/motion.proto +++ b/proto/viam/service/motion/v1/motion.proto @@ -13,18 +13,14 @@ option java_package = "com.viam.service.motion.v1"; // A MotionService declares the gRPC contract for a motion service service MotionService { rpc Move(MoveRequest) returns (MoveResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/motion/{name}/move" - }; + option (google.api.http) = {post: "/viam/api/v1/service/motion/{name}/move"}; } // Generate a plan and move a component to a specific pose // with respect to the SLAM map's origin. // May replan to avoid obstacles rpc MoveOnMap(MoveOnMapRequest) returns (MoveOnMapResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/motion/{name}/move_on_map" - }; + option (google.api.http) = {post: "/viam/api/v1/service/motion/{name}/move_on_map"}; } // Generate and begin executing an execution to move a component @@ -32,22 +28,16 @@ service MotionService { // May replan to avoid obstacles & account for location drift. // Creates a new plan upon replanning. rpc MoveOnGlobe(MoveOnGlobeRequest) returns (MoveOnGlobeResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/motion/{name}/move_on_globe" - }; + option (google.api.http) = {post: "/viam/api/v1/service/motion/{name}/move_on_globe"}; } rpc GetPose(GetPoseRequest) returns (GetPoseResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/motion/{name}/pose" - }; + option (google.api.http) = {get: "/viam/api/v1/service/motion/{name}/pose"}; } // Stops a Plan rpc StopPlan(StopPlanRequest) returns (StopPlanResponse) { - option (google.api.http) = { - put: "/viam/api/v1/service/motion/{name}/stop_plan" - }; + option (google.api.http) = {put: "/viam/api/v1/service/motion/{name}/stop_plan"}; } // Returns the status of plans created by requests to move components @@ -55,9 +45,7 @@ service MotionService { // within the a 24HR TTL OR until the robot reinitializes. // This currently only returns plans for MoveOnGlobe and MoveOnMap. rpc ListPlanStatuses(ListPlanStatusesRequest) returns (ListPlanStatusesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/motion/{name}/list_plan_statuses" - }; + option (google.api.http) = {get: "/viam/api/v1/service/motion/{name}/list_plan_statuses"}; } // Returns the plan(s) & state history of the most recent execution to move a @@ -68,16 +56,12 @@ service MotionService { // Replans share the execution_id of the previously executing plan. // This currently only returns plans for MoveOnGlobe and MoveOnMap. rpc GetPlan(GetPlanRequest) returns (GetPlanResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/motion/{name}/get_plan" - }; + option (google.api.http) = {get: "/viam/api/v1/service/motion/{name}/get_plan"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/motion/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/service/motion/{name}/do_command"}; } } diff --git a/proto/viam/service/navigation/v1/navigation.proto b/proto/viam/service/navigation/v1/navigation.proto index 42cb7003..e57c3246 100644 --- a/proto/viam/service/navigation/v1/navigation.proto +++ b/proto/viam/service/navigation/v1/navigation.proto @@ -12,66 +12,46 @@ option java_package = "com.viam.service.navigation.v1"; // A NavigationService declares the gRPC contract for a Navigation service service NavigationService { rpc GetMode(GetModeRequest) returns (GetModeResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/navigation/{name}/mode" - }; + option (google.api.http) = {get: "/viam/api/v1/service/navigation/{name}/mode"}; } rpc SetMode(SetModeRequest) returns (SetModeResponse) { - option (google.api.http) = { - put: "/viam/api/v1/service/navigation/{name}/mode" - }; + option (google.api.http) = {put: "/viam/api/v1/service/navigation/{name}/mode"}; } rpc GetLocation(GetLocationRequest) returns (GetLocationResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/navigation/{name}/location" - }; + option (google.api.http) = {get: "/viam/api/v1/service/navigation/{name}/location"}; } rpc GetWaypoints(GetWaypointsRequest) returns (GetWaypointsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/navigation/{name}/waypoints" - }; + option (google.api.http) = {get: "/viam/api/v1/service/navigation/{name}/waypoints"}; } rpc AddWaypoint(AddWaypointRequest) returns (AddWaypointResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/navigation/{name}/waypoints" - }; + option (google.api.http) = {post: "/viam/api/v1/service/navigation/{name}/waypoints"}; } rpc RemoveWaypoint(RemoveWaypointRequest) returns (RemoveWaypointResponse) { - option (google.api.http) = { - delete: "/viam/api/v1/service/navigation/{name}/waypoints/{id}" - }; + option (google.api.http) = {delete: "/viam/api/v1/service/navigation/{name}/waypoints/{id}"}; } rpc GetObstacles(GetObstaclesRequest) returns (GetObstaclesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/navigation/{name}/get_obstacles" - }; + option (google.api.http) = {get: "/viam/api/v1/service/navigation/{name}/get_obstacles"}; } rpc GetPaths(GetPathsRequest) returns (GetPathsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/navigation/{name}/get_paths" - }; + option (google.api.http) = {get: "/viam/api/v1/service/navigation/{name}/get_paths"}; } // GetProperties returns properties of the current navigation service, including the // map_type being operated on. rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/navigation/{name}/properties" - }; + option (google.api.http) = {get: "/viam/api/v1/service/navigation/{name}/properties"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/navigation/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/service/navigation/{name}/do_command"}; } } diff --git a/proto/viam/service/sensors/v1/sensors.proto b/proto/viam/service/sensors/v1/sensors.proto index 7cf3e7b0..af33f00c 100644 --- a/proto/viam/service/sensors/v1/sensors.proto +++ b/proto/viam/service/sensors/v1/sensors.proto @@ -15,25 +15,19 @@ option java_package = "com.viam.service.sensors.v1"; service SensorsService { // GetSensors returns the list of all sensors. rpc GetSensors(GetSensorsRequest) returns (GetSensorsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/{name}/sensors" - }; + option (google.api.http) = {get: "/viam/api/v1/service/{name}/sensors"}; option deprecated = true; } // GetReadings returns the list of readings for all sensors specified. rpc GetReadings(GetReadingsRequest) returns (GetReadingsResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/sensors/{name}/readings" - }; + option (google.api.http) = {get: "/viam/api/v1/service/sensors/{name}/readings"}; option deprecated = true; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/sensors/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/service/sensors/{name}/do_command"}; option deprecated = true; } } diff --git a/proto/viam/service/shell/v1/shell.proto b/proto/viam/service/shell/v1/shell.proto index 63d75e6c..0fe732f3 100644 --- a/proto/viam/service/shell/v1/shell.proto +++ b/proto/viam/service/shell/v1/shell.proto @@ -37,9 +37,7 @@ service ShellService { // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/shell/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/service/shell/{name}/do_command"}; } } diff --git a/proto/viam/service/slam/v1/slam.proto b/proto/viam/service/slam/v1/slam.proto index 6e5a7f47..5c2afe46 100644 --- a/proto/viam/service/slam/v1/slam.proto +++ b/proto/viam/service/slam/v1/slam.proto @@ -13,42 +13,32 @@ service SLAMService { // GetPosition returns the current estimated position of the robot with // respect to a returned component reference. rpc GetPosition(GetPositionRequest) returns (GetPositionResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/slam/{name}/position" - }; + option (google.api.http) = {get: "/viam/api/v1/service/slam/{name}/position"}; } // GetPointCloudMap returns the latest pointcloud map available where XY is the ground // plane and positive Z is up, following the Right Hand Rule. rpc GetPointCloudMap(GetPointCloudMapRequest) returns (stream GetPointCloudMapResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/slam/{name}/point_cloud_map" - }; + option (google.api.http) = {get: "/viam/api/v1/service/slam/{name}/point_cloud_map"}; } // GetInternalState returns the internal map as defined by the specified slam // algorithm required to continue mapping/localizing. // This endpoint is not intended for end users. rpc GetInternalState(GetInternalStateRequest) returns (stream GetInternalStateResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/slam/{name}/internal_state" - }; + option (google.api.http) = {get: "/viam/api/v1/service/slam/{name}/internal_state"}; } // GetProperties returns properties of the current slam service including mapping_mode // and cloud_slam, where mapping_mode is the type of mapping/localizing being performed // and cloud_slam is a boolean representing if this SLAM service is being run in the cloud. rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = { - get: "/viam/api/v1/service/slam/{name}/properties" - }; + option (google.api.http) = {get: "/viam/api/v1/service/slam/{name}/properties"}; } // DoCommand sends/receives arbitrary commands. rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/slam/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/service/slam/{name}/do_command"}; } } diff --git a/proto/viam/service/vision/v1/vision.proto b/proto/viam/service/vision/v1/vision.proto index 98951171..d7cf1277 100644 --- a/proto/viam/service/vision/v1/vision.proto +++ b/proto/viam/service/vision/v1/vision.proto @@ -14,59 +14,43 @@ option java_package = "com.viam.service.vision.v1"; service VisionService { // GetDetectionsFromCamera will return a list of detections in the next image given a camera and a detector rpc GetDetectionsFromCamera(GetDetectionsFromCameraRequest) returns (GetDetectionsFromCameraResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/vision/{name}/camera_detections" - }; + option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/camera_detections"}; } // GetDetections will return a list of detections in the next image given the image bytes and a detector rpc GetDetections(GetDetectionsRequest) returns (GetDetectionsResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/vision/{name}/detections" - }; + option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/detections"}; } // GetClassificationsFromCamera will return a list of classifications in the next image given a camera and a classifier rpc GetClassificationsFromCamera(GetClassificationsFromCameraRequest) returns (GetClassificationsFromCameraResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/vision/{name}/camera_classifications" - }; + option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/camera_classifications"}; } // GetClassifications will return a list of classifications in the next image given the image bytes and a classifier rpc GetClassifications(GetClassificationsRequest) returns (GetClassificationsResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/vision/{name}/classifications" - }; + option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/classifications"}; } // GetObjectPointClouds returns all the found objects in a pointcloud from a camera of the underlying robot, // as well as the 3-vector center of each of the found objects. // A specific MIME type can be requested but may not necessarily be the same one returned. rpc GetObjectPointClouds(GetObjectPointCloudsRequest) returns (GetObjectPointCloudsResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/vision/{name}/object_point_clouds" - }; + option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/object_point_clouds"}; } // GetProperties will return the properties as booleans given the name of the vision service rpc GetProperties(GetPropertiesRequest) returns (GetPropertiesResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/vision/{name}/get_properties" - }; + option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/get_properties"}; } rpc CaptureAllFromCamera(CaptureAllFromCameraRequest) returns (CaptureAllFromCameraResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/vision/{name}/capture_all" - }; + option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/capture_all"}; } // DoCommand sends/receives arbitrary commands rpc DoCommand(common.v1.DoCommandRequest) returns (common.v1.DoCommandResponse) { - option (google.api.http) = { - post: "/viam/api/v1/service/vision/{name}/do_command" - }; + option (google.api.http) = {post: "/viam/api/v1/service/vision/{name}/do_command"}; } } diff --git a/provisioning/v1/provisioning.pb.go b/provisioning/v1/provisioning.pb.go index 74918940..927a629a 100644 --- a/provisioning/v1/provisioning.pb.go +++ b/provisioning/v1/provisioning.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: provisioning/v1/provisioning.proto @@ -28,11 +28,9 @@ type GetSmartMachineStatusRequest struct { func (x *GetSmartMachineStatusRequest) Reset() { *x = GetSmartMachineStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_provisioning_v1_provisioning_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_provisioning_v1_provisioning_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSmartMachineStatusRequest) String() string { @@ -43,7 +41,7 @@ func (*GetSmartMachineStatusRequest) ProtoMessage() {} func (x *GetSmartMachineStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -72,11 +70,9 @@ type GetSmartMachineStatusResponse struct { func (x *GetSmartMachineStatusResponse) Reset() { *x = GetSmartMachineStatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_provisioning_v1_provisioning_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_provisioning_v1_provisioning_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSmartMachineStatusResponse) String() string { @@ -87,7 +83,7 @@ func (*GetSmartMachineStatusResponse) ProtoMessage() {} func (x *GetSmartMachineStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -149,11 +145,9 @@ type SetNetworkCredentialsRequest struct { func (x *SetNetworkCredentialsRequest) Reset() { *x = SetNetworkCredentialsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_provisioning_v1_provisioning_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_provisioning_v1_provisioning_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetNetworkCredentialsRequest) String() string { @@ -164,7 +158,7 @@ func (*SetNetworkCredentialsRequest) ProtoMessage() {} func (x *SetNetworkCredentialsRequest) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -208,11 +202,9 @@ type SetNetworkCredentialsResponse struct { func (x *SetNetworkCredentialsResponse) Reset() { *x = SetNetworkCredentialsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_provisioning_v1_provisioning_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_provisioning_v1_provisioning_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetNetworkCredentialsResponse) String() string { @@ -223,7 +215,7 @@ func (*SetNetworkCredentialsResponse) ProtoMessage() {} func (x *SetNetworkCredentialsResponse) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -248,11 +240,9 @@ type SetSmartMachineCredentialsRequest struct { func (x *SetSmartMachineCredentialsRequest) Reset() { *x = SetSmartMachineCredentialsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_provisioning_v1_provisioning_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_provisioning_v1_provisioning_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetSmartMachineCredentialsRequest) String() string { @@ -263,7 +253,7 @@ func (*SetSmartMachineCredentialsRequest) ProtoMessage() {} func (x *SetSmartMachineCredentialsRequest) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -293,11 +283,9 @@ type SetSmartMachineCredentialsResponse struct { func (x *SetSmartMachineCredentialsResponse) Reset() { *x = SetSmartMachineCredentialsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_provisioning_v1_provisioning_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_provisioning_v1_provisioning_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetSmartMachineCredentialsResponse) String() string { @@ -308,7 +296,7 @@ func (*SetSmartMachineCredentialsResponse) ProtoMessage() {} func (x *SetSmartMachineCredentialsResponse) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -331,11 +319,9 @@ type GetNetworkListRequest struct { func (x *GetNetworkListRequest) Reset() { *x = GetNetworkListRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_provisioning_v1_provisioning_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_provisioning_v1_provisioning_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetNetworkListRequest) String() string { @@ -346,7 +332,7 @@ func (*GetNetworkListRequest) ProtoMessage() {} func (x *GetNetworkListRequest) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -371,11 +357,9 @@ type GetNetworkListResponse struct { func (x *GetNetworkListResponse) Reset() { *x = GetNetworkListResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_provisioning_v1_provisioning_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_provisioning_v1_provisioning_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetNetworkListResponse) String() string { @@ -386,7 +370,7 @@ func (*GetNetworkListResponse) ProtoMessage() {} func (x *GetNetworkListResponse) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -420,11 +404,9 @@ type ProvisioningInfo struct { func (x *ProvisioningInfo) Reset() { *x = ProvisioningInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_provisioning_v1_provisioning_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_provisioning_v1_provisioning_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProvisioningInfo) String() string { @@ -435,7 +417,7 @@ func (*ProvisioningInfo) ProtoMessage() {} func (x *ProvisioningInfo) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -486,11 +468,9 @@ type NetworkInfo struct { func (x *NetworkInfo) Reset() { *x = NetworkInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_provisioning_v1_provisioning_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_provisioning_v1_provisioning_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NetworkInfo) String() string { @@ -501,7 +481,7 @@ func (*NetworkInfo) ProtoMessage() {} func (x *NetworkInfo) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -573,11 +553,9 @@ type CloudConfig struct { func (x *CloudConfig) Reset() { *x = CloudConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_provisioning_v1_provisioning_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_provisioning_v1_provisioning_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CloudConfig) String() string { @@ -588,7 +566,7 @@ func (*CloudConfig) ProtoMessage() {} func (x *CloudConfig) ProtoReflect() protoreflect.Message { mi := &file_provisioning_v1_provisioning_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -752,7 +730,7 @@ func file_provisioning_v1_provisioning_proto_rawDescGZIP() []byte { } var file_provisioning_v1_provisioning_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_provisioning_v1_provisioning_proto_goTypes = []interface{}{ +var file_provisioning_v1_provisioning_proto_goTypes = []any{ (*GetSmartMachineStatusRequest)(nil), // 0: viam.provisioning.v1.GetSmartMachineStatusRequest (*GetSmartMachineStatusResponse)(nil), // 1: viam.provisioning.v1.GetSmartMachineStatusResponse (*SetNetworkCredentialsRequest)(nil), // 2: viam.provisioning.v1.SetNetworkCredentialsRequest @@ -790,140 +768,6 @@ func file_provisioning_v1_provisioning_proto_init() { if File_provisioning_v1_provisioning_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_provisioning_v1_provisioning_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSmartMachineStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_provisioning_v1_provisioning_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSmartMachineStatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_provisioning_v1_provisioning_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetNetworkCredentialsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_provisioning_v1_provisioning_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetNetworkCredentialsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_provisioning_v1_provisioning_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetSmartMachineCredentialsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_provisioning_v1_provisioning_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetSmartMachineCredentialsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_provisioning_v1_provisioning_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetNetworkListRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_provisioning_v1_provisioning_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetNetworkListResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_provisioning_v1_provisioning_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProvisioningInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_provisioning_v1_provisioning_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NetworkInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_provisioning_v1_provisioning_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CloudConfig); 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{ diff --git a/provisioning/v1/provisioning.pb.gw.go b/provisioning/v1/provisioning.pb.gw.go index 5f30d6ba..95852bfd 100644 --- a/provisioning/v1/provisioning.pb.gw.go +++ b/provisioning/v1/provisioning.pb.gw.go @@ -35,11 +35,7 @@ func request_ProvisioningService_GetSmartMachineStatus_0(ctx context.Context, ma var protoReq GetSmartMachineStatusRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_ProvisioningService_GetSmartMachineStatus_0(ctx context.Conte var protoReq GetSmartMachineStatusRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -69,11 +61,7 @@ func request_ProvisioningService_SetNetworkCredentials_0(ctx context.Context, ma var protoReq SetNetworkCredentialsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -86,11 +74,7 @@ func local_request_ProvisioningService_SetNetworkCredentials_0(ctx context.Conte var protoReq SetNetworkCredentialsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -103,11 +87,7 @@ func request_ProvisioningService_SetSmartMachineCredentials_0(ctx context.Contex var protoReq SetSmartMachineCredentialsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -120,11 +100,7 @@ func local_request_ProvisioningService_SetSmartMachineCredentials_0(ctx context. var protoReq SetSmartMachineCredentialsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,11 +113,7 @@ func request_ProvisioningService_GetNetworkList_0(ctx context.Context, marshaler var protoReq GetNetworkListRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -154,11 +126,7 @@ func local_request_ProvisioningService_GetNetworkList_0(ctx context.Context, mar var protoReq GetNetworkListRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -279,21 +247,21 @@ func RegisterProvisioningServiceHandlerServer(ctx context.Context, mux *runtime. // RegisterProvisioningServiceHandlerFromEndpoint is same as RegisterProvisioningServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterProvisioningServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/robot/v1/robot.pb.go b/robot/v1/robot.pb.go index 971f0258..d35e1786 100644 --- a/robot/v1/robot.pb.go +++ b/robot/v1/robot.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: robot/v1/robot.proto @@ -149,11 +149,9 @@ type FrameSystemConfig struct { func (x *FrameSystemConfig) Reset() { *x = FrameSystemConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FrameSystemConfig) String() string { @@ -164,7 +162,7 @@ func (*FrameSystemConfig) ProtoMessage() {} func (x *FrameSystemConfig) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -205,11 +203,9 @@ type FrameSystemConfigRequest struct { func (x *FrameSystemConfigRequest) Reset() { *x = FrameSystemConfigRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FrameSystemConfigRequest) String() string { @@ -220,7 +216,7 @@ func (*FrameSystemConfigRequest) ProtoMessage() {} func (x *FrameSystemConfigRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -252,11 +248,9 @@ type FrameSystemConfigResponse struct { func (x *FrameSystemConfigResponse) Reset() { *x = FrameSystemConfigResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FrameSystemConfigResponse) String() string { @@ -267,7 +261,7 @@ func (*FrameSystemConfigResponse) ProtoMessage() {} func (x *FrameSystemConfigResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -307,11 +301,9 @@ type TransformPoseRequest struct { func (x *TransformPoseRequest) Reset() { *x = TransformPoseRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransformPoseRequest) String() string { @@ -322,7 +314,7 @@ func (*TransformPoseRequest) ProtoMessage() {} func (x *TransformPoseRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -368,11 +360,9 @@ type TransformPoseResponse struct { func (x *TransformPoseResponse) Reset() { *x = TransformPoseResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransformPoseResponse) String() string { @@ -383,7 +373,7 @@ func (*TransformPoseResponse) ProtoMessage() {} func (x *TransformPoseResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -423,11 +413,9 @@ type TransformPCDRequest struct { func (x *TransformPCDRequest) Reset() { *x = TransformPCDRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransformPCDRequest) String() string { @@ -438,7 +426,7 @@ func (*TransformPCDRequest) ProtoMessage() {} func (x *TransformPCDRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -484,11 +472,9 @@ type TransformPCDResponse struct { func (x *TransformPCDResponse) Reset() { *x = TransformPCDResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransformPCDResponse) String() string { @@ -499,7 +485,7 @@ func (*TransformPCDResponse) ProtoMessage() {} func (x *TransformPCDResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -529,11 +515,9 @@ type ResourceNamesRequest struct { func (x *ResourceNamesRequest) Reset() { *x = ResourceNamesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResourceNamesRequest) String() string { @@ -544,7 +528,7 @@ func (*ResourceNamesRequest) ProtoMessage() {} func (x *ResourceNamesRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -569,11 +553,9 @@ type ResourceNamesResponse struct { func (x *ResourceNamesResponse) Reset() { *x = ResourceNamesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResourceNamesResponse) String() string { @@ -584,7 +566,7 @@ func (*ResourceNamesResponse) ProtoMessage() {} func (x *ResourceNamesResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -617,11 +599,9 @@ type ResourceRPCSubtype struct { func (x *ResourceRPCSubtype) Reset() { *x = ResourceRPCSubtype{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResourceRPCSubtype) String() string { @@ -632,7 +612,7 @@ func (*ResourceRPCSubtype) ProtoMessage() {} func (x *ResourceRPCSubtype) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -669,11 +649,9 @@ type ResourceRPCSubtypesRequest struct { func (x *ResourceRPCSubtypesRequest) Reset() { *x = ResourceRPCSubtypesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResourceRPCSubtypesRequest) String() string { @@ -684,7 +662,7 @@ func (*ResourceRPCSubtypesRequest) ProtoMessage() {} func (x *ResourceRPCSubtypesRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -709,11 +687,9 @@ type ResourceRPCSubtypesResponse struct { func (x *ResourceRPCSubtypesResponse) Reset() { *x = ResourceRPCSubtypesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResourceRPCSubtypesResponse) String() string { @@ -724,7 +700,7 @@ func (*ResourceRPCSubtypesResponse) ProtoMessage() {} func (x *ResourceRPCSubtypesResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -760,11 +736,9 @@ type Operation struct { func (x *Operation) Reset() { *x = Operation{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Operation) String() string { @@ -775,7 +749,7 @@ func (*Operation) ProtoMessage() {} func (x *Operation) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -833,11 +807,9 @@ type GetOperationsRequest struct { func (x *GetOperationsRequest) Reset() { *x = GetOperationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOperationsRequest) String() string { @@ -848,7 +820,7 @@ func (*GetOperationsRequest) ProtoMessage() {} func (x *GetOperationsRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -873,11 +845,9 @@ type GetOperationsResponse struct { func (x *GetOperationsResponse) Reset() { *x = GetOperationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetOperationsResponse) String() string { @@ -888,7 +858,7 @@ func (*GetOperationsResponse) ProtoMessage() {} func (x *GetOperationsResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -920,11 +890,9 @@ type CancelOperationRequest struct { func (x *CancelOperationRequest) Reset() { *x = CancelOperationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CancelOperationRequest) String() string { @@ -935,7 +903,7 @@ func (*CancelOperationRequest) ProtoMessage() {} func (x *CancelOperationRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -965,11 +933,9 @@ type CancelOperationResponse struct { func (x *CancelOperationResponse) Reset() { *x = CancelOperationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CancelOperationResponse) String() string { @@ -980,7 +946,7 @@ func (*CancelOperationResponse) ProtoMessage() {} func (x *CancelOperationResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1005,11 +971,9 @@ type BlockForOperationRequest struct { func (x *BlockForOperationRequest) Reset() { *x = BlockForOperationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockForOperationRequest) String() string { @@ -1020,7 +984,7 @@ func (*BlockForOperationRequest) ProtoMessage() {} func (x *BlockForOperationRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1050,11 +1014,9 @@ type BlockForOperationResponse struct { func (x *BlockForOperationResponse) Reset() { *x = BlockForOperationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockForOperationResponse) String() string { @@ -1065,7 +1027,7 @@ func (*BlockForOperationResponse) ProtoMessage() {} func (x *BlockForOperationResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1092,11 +1054,9 @@ type PeerConnectionInfo struct { func (x *PeerConnectionInfo) Reset() { *x = PeerConnectionInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PeerConnectionInfo) String() string { @@ -1107,7 +1067,7 @@ func (*PeerConnectionInfo) ProtoMessage() {} func (x *PeerConnectionInfo) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1154,11 +1114,9 @@ type Session struct { func (x *Session) Reset() { *x = Session{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Session) String() string { @@ -1169,7 +1127,7 @@ func (*Session) ProtoMessage() {} func (x *Session) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1206,11 +1164,9 @@ type GetSessionsRequest struct { func (x *GetSessionsRequest) Reset() { *x = GetSessionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSessionsRequest) String() string { @@ -1221,7 +1177,7 @@ func (*GetSessionsRequest) ProtoMessage() {} func (x *GetSessionsRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1246,11 +1202,9 @@ type GetSessionsResponse struct { func (x *GetSessionsResponse) Reset() { *x = GetSessionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSessionsResponse) String() string { @@ -1261,7 +1215,7 @@ func (*GetSessionsResponse) ProtoMessage() {} func (x *GetSessionsResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1295,11 +1249,9 @@ type DiscoveryQuery struct { func (x *DiscoveryQuery) Reset() { *x = DiscoveryQuery{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DiscoveryQuery) String() string { @@ -1310,7 +1262,7 @@ func (*DiscoveryQuery) ProtoMessage() {} func (x *DiscoveryQuery) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1357,11 +1309,9 @@ type Discovery struct { func (x *Discovery) Reset() { *x = Discovery{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Discovery) String() string { @@ -1372,7 +1322,7 @@ func (*Discovery) ProtoMessage() {} func (x *Discovery) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1411,11 +1361,9 @@ type DiscoverComponentsRequest struct { func (x *DiscoverComponentsRequest) Reset() { *x = DiscoverComponentsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DiscoverComponentsRequest) String() string { @@ -1426,7 +1374,7 @@ func (*DiscoverComponentsRequest) ProtoMessage() {} func (x *DiscoverComponentsRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1458,11 +1406,9 @@ type DiscoverComponentsResponse struct { func (x *DiscoverComponentsResponse) Reset() { *x = DiscoverComponentsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DiscoverComponentsResponse) String() string { @@ -1473,7 +1419,7 @@ func (*DiscoverComponentsResponse) ProtoMessage() {} func (x *DiscoverComponentsResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1507,11 +1453,9 @@ type Status struct { func (x *Status) Reset() { *x = Status{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Status) String() string { @@ -1522,7 +1466,7 @@ func (*Status) ProtoMessage() {} func (x *Status) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1568,11 +1512,9 @@ type GetStatusRequest struct { func (x *GetStatusRequest) Reset() { *x = GetStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetStatusRequest) String() string { @@ -1583,7 +1525,7 @@ func (*GetStatusRequest) ProtoMessage() {} func (x *GetStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1615,11 +1557,9 @@ type GetStatusResponse struct { func (x *GetStatusResponse) Reset() { *x = GetStatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetStatusResponse) String() string { @@ -1630,7 +1570,7 @@ func (*GetStatusResponse) ProtoMessage() {} func (x *GetStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1663,11 +1603,9 @@ type StreamStatusRequest struct { func (x *StreamStatusRequest) Reset() { *x = StreamStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamStatusRequest) String() string { @@ -1678,7 +1616,7 @@ func (*StreamStatusRequest) ProtoMessage() {} func (x *StreamStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1717,11 +1655,9 @@ type StreamStatusResponse struct { func (x *StreamStatusResponse) Reset() { *x = StreamStatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StreamStatusResponse) String() string { @@ -1732,7 +1668,7 @@ func (*StreamStatusResponse) ProtoMessage() {} func (x *StreamStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1765,11 +1701,9 @@ type StopExtraParameters struct { func (x *StopExtraParameters) Reset() { *x = StopExtraParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopExtraParameters) String() string { @@ -1780,7 +1714,7 @@ func (*StopExtraParameters) ProtoMessage() {} func (x *StopExtraParameters) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1819,11 +1753,9 @@ type StopAllRequest struct { func (x *StopAllRequest) Reset() { *x = StopAllRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopAllRequest) String() string { @@ -1834,7 +1766,7 @@ func (*StopAllRequest) ProtoMessage() {} func (x *StopAllRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1864,11 +1796,9 @@ type StopAllResponse struct { func (x *StopAllResponse) Reset() { *x = StopAllResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopAllResponse) String() string { @@ -1879,7 +1809,7 @@ func (*StopAllResponse) ProtoMessage() {} func (x *StopAllResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1906,11 +1836,9 @@ type StartSessionRequest struct { func (x *StartSessionRequest) Reset() { *x = StartSessionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartSessionRequest) String() string { @@ -1921,7 +1849,7 @@ func (*StartSessionRequest) ProtoMessage() {} func (x *StartSessionRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1954,11 +1882,9 @@ type StartSessionResponse struct { func (x *StartSessionResponse) Reset() { *x = StartSessionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StartSessionResponse) String() string { @@ -1969,7 +1895,7 @@ func (*StartSessionResponse) ProtoMessage() {} func (x *StartSessionResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2008,11 +1934,9 @@ type SendSessionHeartbeatRequest struct { func (x *SendSessionHeartbeatRequest) Reset() { *x = SendSessionHeartbeatRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SendSessionHeartbeatRequest) String() string { @@ -2023,7 +1947,7 @@ func (*SendSessionHeartbeatRequest) ProtoMessage() {} func (x *SendSessionHeartbeatRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2053,11 +1977,9 @@ type SendSessionHeartbeatResponse struct { func (x *SendSessionHeartbeatResponse) Reset() { *x = SendSessionHeartbeatResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SendSessionHeartbeatResponse) String() string { @@ -2068,7 +1990,7 @@ func (*SendSessionHeartbeatResponse) ProtoMessage() {} func (x *SendSessionHeartbeatResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2093,11 +2015,9 @@ type LogRequest struct { func (x *LogRequest) Reset() { *x = LogRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LogRequest) String() string { @@ -2108,7 +2028,7 @@ func (*LogRequest) ProtoMessage() {} func (x *LogRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2138,11 +2058,9 @@ type LogResponse struct { func (x *LogResponse) Reset() { *x = LogResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LogResponse) String() string { @@ -2153,7 +2071,7 @@ func (*LogResponse) ProtoMessage() {} func (x *LogResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2176,11 +2094,9 @@ type GetCloudMetadataRequest struct { func (x *GetCloudMetadataRequest) Reset() { *x = GetCloudMetadataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetCloudMetadataRequest) String() string { @@ -2191,7 +2107,7 @@ func (*GetCloudMetadataRequest) ProtoMessage() {} func (x *GetCloudMetadataRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2213,7 +2129,7 @@ type GetCloudMetadataResponse struct { // Deprecated: use machine_part_id field. // - // Deprecated: Do not use. + // Deprecated: Marked as deprecated in robot/v1/robot.proto. RobotPartId string `protobuf:"bytes,1,opt,name=robot_part_id,json=robotPartId,proto3" json:"robot_part_id,omitempty"` PrimaryOrgId string `protobuf:"bytes,2,opt,name=primary_org_id,json=primaryOrgId,proto3" json:"primary_org_id,omitempty"` LocationId string `protobuf:"bytes,3,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` @@ -2223,11 +2139,9 @@ type GetCloudMetadataResponse struct { func (x *GetCloudMetadataResponse) Reset() { *x = GetCloudMetadataResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetCloudMetadataResponse) String() string { @@ -2238,7 +2152,7 @@ func (*GetCloudMetadataResponse) ProtoMessage() {} func (x *GetCloudMetadataResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2253,7 +2167,7 @@ func (*GetCloudMetadataResponse) Descriptor() ([]byte, []int) { return file_robot_v1_robot_proto_rawDescGZIP(), []int{42} } -// Deprecated: Do not use. +// Deprecated: Marked as deprecated in robot/v1/robot.proto. func (x *GetCloudMetadataResponse) GetRobotPartId() string { if x != nil { return x.RobotPartId @@ -2303,11 +2217,9 @@ type RestartModuleRequest struct { func (x *RestartModuleRequest) Reset() { *x = RestartModuleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RestartModuleRequest) String() string { @@ -2318,7 +2230,7 @@ func (*RestartModuleRequest) ProtoMessage() {} func (x *RestartModuleRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2379,11 +2291,9 @@ type RestartModuleResponse struct { func (x *RestartModuleResponse) Reset() { *x = RestartModuleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RestartModuleResponse) String() string { @@ -2394,7 +2304,7 @@ func (*RestartModuleResponse) ProtoMessage() {} func (x *RestartModuleResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2417,11 +2327,9 @@ type ShutdownRequest struct { func (x *ShutdownRequest) Reset() { *x = ShutdownRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShutdownRequest) String() string { @@ -2432,7 +2340,7 @@ func (*ShutdownRequest) ProtoMessage() {} func (x *ShutdownRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2455,11 +2363,9 @@ type ShutdownResponse struct { func (x *ShutdownResponse) Reset() { *x = ShutdownResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShutdownResponse) String() string { @@ -2470,7 +2376,7 @@ func (*ShutdownResponse) ProtoMessage() {} func (x *ShutdownResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2493,11 +2399,9 @@ type GetMachineStatusRequest struct { func (x *GetMachineStatusRequest) Reset() { *x = GetMachineStatusRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetMachineStatusRequest) String() string { @@ -2508,7 +2412,7 @@ func (*GetMachineStatusRequest) ProtoMessage() {} func (x *GetMachineStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2534,11 +2438,9 @@ type GetMachineStatusResponse struct { func (x *GetMachineStatusResponse) Reset() { *x = GetMachineStatusResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetMachineStatusResponse) String() string { @@ -2549,7 +2451,7 @@ func (*GetMachineStatusResponse) ProtoMessage() {} func (x *GetMachineStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2598,11 +2500,9 @@ type ResourceStatus struct { func (x *ResourceStatus) Reset() { *x = ResourceStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResourceStatus) String() string { @@ -2613,7 +2513,7 @@ func (*ResourceStatus) ProtoMessage() {} func (x *ResourceStatus) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2676,11 +2576,9 @@ type ConfigStatus struct { func (x *ConfigStatus) Reset() { *x = ConfigStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ConfigStatus) String() string { @@ -2691,7 +2589,7 @@ func (*ConfigStatus) ProtoMessage() {} func (x *ConfigStatus) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2728,11 +2626,9 @@ type GetVersionRequest struct { func (x *GetVersionRequest) Reset() { *x = GetVersionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetVersionRequest) String() string { @@ -2743,7 +2639,7 @@ func (*GetVersionRequest) ProtoMessage() {} func (x *GetVersionRequest) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2772,11 +2668,9 @@ type GetVersionResponse struct { func (x *GetVersionResponse) Reset() { *x = GetVersionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_robot_v1_robot_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_robot_v1_robot_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetVersionResponse) String() string { @@ -2787,7 +2681,7 @@ func (*GetVersionResponse) ProtoMessage() {} func (x *GetVersionResponse) ProtoReflect() protoreflect.Message { mi := &file_robot_v1_robot_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3236,17 +3130,17 @@ var file_robot_v1_robot_proto_rawDesc = []byte{ 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x88, 0x02, 0x01, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x0c, 0x53, + 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x02, 0x01, 0x12, 0x80, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x88, 0x02, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, - 0x1a, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, 0x67, 0x0a, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x76, + 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x88, 0x02, 0x01, 0x30, 0x01, 0x12, 0x67, 0x0a, 0x07, 0x53, 0x74, 0x6f, 0x70, 0x41, 0x6c, 0x6c, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, @@ -3336,7 +3230,7 @@ func file_robot_v1_robot_proto_rawDescGZIP() []byte { var file_robot_v1_robot_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_robot_v1_robot_proto_msgTypes = make([]protoimpl.MessageInfo, 53) -var file_robot_v1_robot_proto_goTypes = []interface{}{ +var file_robot_v1_robot_proto_goTypes = []any{ (PeerConnectionType)(0), // 0: viam.robot.v1.PeerConnectionType (ResourceStatus_State)(0), // 1: viam.robot.v1.ResourceStatus.State (*FrameSystemConfig)(nil), // 2: viam.robot.v1.FrameSystemConfig @@ -3495,648 +3389,10 @@ func file_robot_v1_robot_proto_init() { if File_robot_v1_robot_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_robot_v1_robot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FrameSystemConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FrameSystemConfigRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FrameSystemConfigResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransformPoseRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransformPoseResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransformPCDRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransformPCDResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResourceNamesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResourceNamesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResourceRPCSubtype); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResourceRPCSubtypesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResourceRPCSubtypesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Operation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOperationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetOperationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelOperationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelOperationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockForOperationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockForOperationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerConnectionInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Session); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSessionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSessionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscoveryQuery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Discovery); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscoverComponentsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiscoverComponentsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Status); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetStatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StreamStatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopExtraParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopAllRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopAllResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartSessionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StartSessionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendSessionHeartbeatRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendSessionHeartbeatResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LogResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCloudMetadataRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCloudMetadataResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestartModuleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestartModuleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShutdownRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShutdownResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMachineStatusRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMachineStatusResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResourceStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetVersionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_robot_v1_robot_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetVersionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_robot_v1_robot_proto_msgTypes[12].OneofWrappers = []interface{}{} - file_robot_v1_robot_proto_msgTypes[19].OneofWrappers = []interface{}{} - file_robot_v1_robot_proto_msgTypes[20].OneofWrappers = []interface{}{} - file_robot_v1_robot_proto_msgTypes[43].OneofWrappers = []interface{}{ + file_robot_v1_robot_proto_msgTypes[12].OneofWrappers = []any{} + file_robot_v1_robot_proto_msgTypes[19].OneofWrappers = []any{} + file_robot_v1_robot_proto_msgTypes[20].OneofWrappers = []any{} + file_robot_v1_robot_proto_msgTypes[43].OneofWrappers = []any{ (*RestartModuleRequest_ModuleId)(nil), (*RestartModuleRequest_ModuleName)(nil), } diff --git a/robot/v1/robot.pb.gw.go b/robot/v1/robot.pb.gw.go index 762780d0..3059b36d 100644 --- a/robot/v1/robot.pb.gw.go +++ b/robot/v1/robot.pb.gw.go @@ -1170,21 +1170,21 @@ func RegisterRobotServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu // RegisterRobotServiceHandlerFromEndpoint is same as RegisterRobotServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterRobotServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/datamanager/v1/data_manager.pb.go b/service/datamanager/v1/data_manager.pb.go index 2803313f..af8e5bda 100644 --- a/service/datamanager/v1/data_manager.pb.go +++ b/service/datamanager/v1/data_manager.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: service/datamanager/v1/data_manager.proto @@ -35,11 +35,9 @@ type SyncRequest struct { func (x *SyncRequest) Reset() { *x = SyncRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_datamanager_v1_data_manager_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_datamanager_v1_data_manager_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SyncRequest) String() string { @@ -50,7 +48,7 @@ func (*SyncRequest) ProtoMessage() {} func (x *SyncRequest) ProtoReflect() protoreflect.Message { mi := &file_service_datamanager_v1_data_manager_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -87,11 +85,9 @@ type SyncResponse struct { func (x *SyncResponse) Reset() { *x = SyncResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_datamanager_v1_data_manager_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_datamanager_v1_data_manager_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SyncResponse) String() string { @@ -102,7 +98,7 @@ func (*SyncResponse) ProtoMessage() {} func (x *SyncResponse) ProtoReflect() protoreflect.Message { mi := &file_service_datamanager_v1_data_manager_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -176,7 +172,7 @@ func file_service_datamanager_v1_data_manager_proto_rawDescGZIP() []byte { } var file_service_datamanager_v1_data_manager_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_service_datamanager_v1_data_manager_proto_goTypes = []interface{}{ +var file_service_datamanager_v1_data_manager_proto_goTypes = []any{ (*SyncRequest)(nil), // 0: viam.service.datamanager.v1.SyncRequest (*SyncResponse)(nil), // 1: viam.service.datamanager.v1.SyncResponse (*structpb.Struct)(nil), // 2: google.protobuf.Struct @@ -201,32 +197,6 @@ func file_service_datamanager_v1_data_manager_proto_init() { if File_service_datamanager_v1_data_manager_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_service_datamanager_v1_data_manager_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_datamanager_v1_data_manager_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncResponse); 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{ diff --git a/service/datamanager/v1/data_manager.pb.gw.go b/service/datamanager/v1/data_manager.pb.gw.go index 5a7e61ab..a3065013 100644 --- a/service/datamanager/v1/data_manager.pb.gw.go +++ b/service/datamanager/v1/data_manager.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - v1_0 "go.viam.com/api/common/v1" + "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -107,7 +107,7 @@ var ( ) func request_DataManagerService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client DataManagerServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -140,7 +140,7 @@ func request_DataManagerService_DoCommand_0(ctx context.Context, marshaler runti } func local_request_DataManagerService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server DataManagerServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -234,21 +234,21 @@ func RegisterDataManagerServiceHandlerServer(ctx context.Context, mux *runtime.S // RegisterDataManagerServiceHandlerFromEndpoint is same as RegisterDataManagerServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterDataManagerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/generic/v1/generic.pb.go b/service/generic/v1/generic.pb.go index bd1fe496..ce76e04a 100644 --- a/service/generic/v1/generic.pb.go +++ b/service/generic/v1/generic.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: service/generic/v1/generic.proto @@ -48,7 +48,7 @@ var file_service_generic_v1_generic_proto_rawDesc = []byte{ 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_service_generic_v1_generic_proto_goTypes = []interface{}{ +var file_service_generic_v1_generic_proto_goTypes = []any{ (*v1.DoCommandRequest)(nil), // 0: viam.common.v1.DoCommandRequest (*v1.DoCommandResponse)(nil), // 1: viam.common.v1.DoCommandResponse } diff --git a/service/generic/v1/generic.pb.gw.go b/service/generic/v1/generic.pb.gw.go index 3c74de8b..b7719337 100644 --- a/service/generic/v1/generic.pb.gw.go +++ b/service/generic/v1/generic.pb.gw.go @@ -139,21 +139,21 @@ func RegisterGenericServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterGenericServiceHandlerFromEndpoint is same as RegisterGenericServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterGenericServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/mlmodel/v1/mlmodel.pb.go b/service/mlmodel/v1/mlmodel.pb.go index f2c7d713..ae7c2aa1 100644 --- a/service/mlmodel/v1/mlmodel.pb.go +++ b/service/mlmodel/v1/mlmodel.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: service/mlmodel/v1/mlmodel.proto @@ -88,11 +88,9 @@ type InferRequest struct { func (x *InferRequest) Reset() { *x = InferRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InferRequest) String() string { @@ -103,7 +101,7 @@ func (*InferRequest) ProtoMessage() {} func (x *InferRequest) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -150,11 +148,9 @@ type InferResponse struct { func (x *InferResponse) Reset() { *x = InferResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InferResponse) String() string { @@ -165,7 +161,7 @@ func (*InferResponse) ProtoMessage() {} func (x *InferResponse) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -200,11 +196,9 @@ type MetadataRequest struct { func (x *MetadataRequest) Reset() { *x = MetadataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetadataRequest) String() string { @@ -215,7 +209,7 @@ func (*MetadataRequest) ProtoMessage() {} func (x *MetadataRequest) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -255,11 +249,9 @@ type MetadataResponse struct { func (x *MetadataResponse) Reset() { *x = MetadataResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetadataResponse) String() string { @@ -270,7 +262,7 @@ func (*MetadataResponse) ProtoMessage() {} func (x *MetadataResponse) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -311,11 +303,9 @@ type Metadata struct { func (x *Metadata) Reset() { *x = Metadata{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Metadata) String() string { @@ -326,7 +316,7 @@ func (*Metadata) ProtoMessage() {} func (x *Metadata) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -397,11 +387,9 @@ type TensorInfo struct { func (x *TensorInfo) Reset() { *x = TensorInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TensorInfo) String() string { @@ -412,7 +400,7 @@ func (*TensorInfo) ProtoMessage() {} func (x *TensorInfo) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -484,11 +472,9 @@ type File struct { func (x *File) Reset() { *x = File{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *File) String() string { @@ -499,7 +485,7 @@ func (*File) ProtoMessage() {} func (x *File) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -545,11 +531,9 @@ type FlatTensorDataInt8 struct { func (x *FlatTensorDataInt8) Reset() { *x = FlatTensorDataInt8{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlatTensorDataInt8) String() string { @@ -560,7 +544,7 @@ func (*FlatTensorDataInt8) ProtoMessage() {} func (x *FlatTensorDataInt8) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -592,11 +576,9 @@ type FlatTensorDataUInt8 struct { func (x *FlatTensorDataUInt8) Reset() { *x = FlatTensorDataUInt8{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlatTensorDataUInt8) String() string { @@ -607,7 +589,7 @@ func (*FlatTensorDataUInt8) ProtoMessage() {} func (x *FlatTensorDataUInt8) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -641,11 +623,9 @@ type FlatTensorDataInt16 struct { func (x *FlatTensorDataInt16) Reset() { *x = FlatTensorDataInt16{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlatTensorDataInt16) String() string { @@ -656,7 +636,7 @@ func (*FlatTensorDataInt16) ProtoMessage() {} func (x *FlatTensorDataInt16) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -690,11 +670,9 @@ type FlatTensorDataUInt16 struct { func (x *FlatTensorDataUInt16) Reset() { *x = FlatTensorDataUInt16{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlatTensorDataUInt16) String() string { @@ -705,7 +683,7 @@ func (*FlatTensorDataUInt16) ProtoMessage() {} func (x *FlatTensorDataUInt16) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -737,11 +715,9 @@ type FlatTensorDataInt32 struct { func (x *FlatTensorDataInt32) Reset() { *x = FlatTensorDataInt32{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlatTensorDataInt32) String() string { @@ -752,7 +728,7 @@ func (*FlatTensorDataInt32) ProtoMessage() {} func (x *FlatTensorDataInt32) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -784,11 +760,9 @@ type FlatTensorDataUInt32 struct { func (x *FlatTensorDataUInt32) Reset() { *x = FlatTensorDataUInt32{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlatTensorDataUInt32) String() string { @@ -799,7 +773,7 @@ func (*FlatTensorDataUInt32) ProtoMessage() {} func (x *FlatTensorDataUInt32) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -831,11 +805,9 @@ type FlatTensorDataInt64 struct { func (x *FlatTensorDataInt64) Reset() { *x = FlatTensorDataInt64{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlatTensorDataInt64) String() string { @@ -846,7 +818,7 @@ func (*FlatTensorDataInt64) ProtoMessage() {} func (x *FlatTensorDataInt64) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -878,11 +850,9 @@ type FlatTensorDataUInt64 struct { func (x *FlatTensorDataUInt64) Reset() { *x = FlatTensorDataUInt64{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlatTensorDataUInt64) String() string { @@ -893,7 +863,7 @@ func (*FlatTensorDataUInt64) ProtoMessage() {} func (x *FlatTensorDataUInt64) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -925,11 +895,9 @@ type FlatTensorDataFloat struct { func (x *FlatTensorDataFloat) Reset() { *x = FlatTensorDataFloat{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlatTensorDataFloat) String() string { @@ -940,7 +908,7 @@ func (*FlatTensorDataFloat) ProtoMessage() {} func (x *FlatTensorDataFloat) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -972,11 +940,9 @@ type FlatTensorDataDouble struct { func (x *FlatTensorDataDouble) Reset() { *x = FlatTensorDataDouble{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlatTensorDataDouble) String() string { @@ -987,7 +953,7 @@ func (*FlatTensorDataDouble) ProtoMessage() {} func (x *FlatTensorDataDouble) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1035,11 +1001,9 @@ type FlatTensor struct { func (x *FlatTensor) Reset() { *x = FlatTensor{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlatTensor) String() string { @@ -1050,7 +1014,7 @@ func (*FlatTensor) ProtoMessage() {} func (x *FlatTensor) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1224,11 +1188,9 @@ type FlatTensors struct { func (x *FlatTensors) Reset() { *x = FlatTensors{} - if protoimpl.UnsafeEnabled { - mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FlatTensors) String() string { @@ -1239,7 +1201,7 @@ func (*FlatTensors) ProtoMessage() {} func (x *FlatTensors) ProtoReflect() protoreflect.Message { mi := &file_service_mlmodel_v1_mlmodel_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1481,7 +1443,7 @@ func file_service_mlmodel_v1_mlmodel_proto_rawDescGZIP() []byte { var file_service_mlmodel_v1_mlmodel_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_service_mlmodel_v1_mlmodel_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_service_mlmodel_v1_mlmodel_proto_goTypes = []interface{}{ +var file_service_mlmodel_v1_mlmodel_proto_goTypes = []any{ (LabelType)(0), // 0: viam.service.mlmodel.v1.LabelType (*InferRequest)(nil), // 1: viam.service.mlmodel.v1.InferRequest (*InferResponse)(nil), // 2: viam.service.mlmodel.v1.InferResponse @@ -1544,237 +1506,7 @@ func file_service_mlmodel_v1_mlmodel_proto_init() { if File_service_mlmodel_v1_mlmodel_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_service_mlmodel_v1_mlmodel_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InferRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InferResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetadataRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetadataResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Metadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TensorInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*File); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlatTensorDataInt8); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlatTensorDataUInt8); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlatTensorDataInt16); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlatTensorDataUInt16); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlatTensorDataInt32); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlatTensorDataUInt32); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlatTensorDataInt64); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlatTensorDataUInt64); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlatTensorDataFloat); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlatTensorDataDouble); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlatTensor); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlatTensors); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_service_mlmodel_v1_mlmodel_proto_msgTypes[17].OneofWrappers = []interface{}{ + file_service_mlmodel_v1_mlmodel_proto_msgTypes[17].OneofWrappers = []any{ (*FlatTensor_Int8Tensor)(nil), (*FlatTensor_Uint8Tensor)(nil), (*FlatTensor_Int16Tensor)(nil), diff --git a/service/mlmodel/v1/mlmodel.pb.gw.go b/service/mlmodel/v1/mlmodel.pb.gw.go index f8b0d6f1..73adc0a0 100644 --- a/service/mlmodel/v1/mlmodel.pb.gw.go +++ b/service/mlmodel/v1/mlmodel.pb.gw.go @@ -233,21 +233,21 @@ func RegisterMLModelServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterMLModelServiceHandlerFromEndpoint is same as RegisterMLModelServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterMLModelServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/motion/v1/motion.pb.go b/service/motion/v1/motion.pb.go index f7aca50f..a992aae6 100644 --- a/service/motion/v1/motion.pb.go +++ b/service/motion/v1/motion.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: service/motion/v1/motion.proto @@ -107,11 +107,9 @@ type MoveRequest struct { func (x *MoveRequest) Reset() { *x = MoveRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveRequest) String() string { @@ -122,7 +120,7 @@ func (*MoveRequest) ProtoMessage() {} func (x *MoveRequest) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -189,11 +187,9 @@ type MoveResponse struct { func (x *MoveResponse) Reset() { *x = MoveResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveResponse) String() string { @@ -204,7 +200,7 @@ func (*MoveResponse) ProtoMessage() {} func (x *MoveResponse) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -249,11 +245,9 @@ type MoveOnMapRequest struct { func (x *MoveOnMapRequest) Reset() { *x = MoveOnMapRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveOnMapRequest) String() string { @@ -264,7 +258,7 @@ func (*MoveOnMapRequest) ProtoMessage() {} func (x *MoveOnMapRequest) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -341,11 +335,9 @@ type MoveOnMapResponse struct { func (x *MoveOnMapResponse) Reset() { *x = MoveOnMapResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveOnMapResponse) String() string { @@ -356,7 +348,7 @@ func (*MoveOnMapResponse) ProtoMessage() {} func (x *MoveOnMapResponse) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -390,11 +382,9 @@ type ObstacleDetector struct { func (x *ObstacleDetector) Reset() { *x = ObstacleDetector{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ObstacleDetector) String() string { @@ -405,7 +395,7 @@ func (*ObstacleDetector) ProtoMessage() {} func (x *ObstacleDetector) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -455,11 +445,9 @@ type MotionConfiguration struct { func (x *MotionConfiguration) Reset() { *x = MotionConfiguration{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MotionConfiguration) String() string { @@ -470,7 +458,7 @@ func (*MotionConfiguration) ProtoMessage() {} func (x *MotionConfiguration) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -554,11 +542,9 @@ type MoveOnGlobeRequest struct { func (x *MoveOnGlobeRequest) Reset() { *x = MoveOnGlobeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveOnGlobeRequest) String() string { @@ -569,7 +555,7 @@ func (*MoveOnGlobeRequest) ProtoMessage() {} func (x *MoveOnGlobeRequest) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -660,11 +646,9 @@ type MoveOnGlobeResponse struct { func (x *MoveOnGlobeResponse) Reset() { *x = MoveOnGlobeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MoveOnGlobeResponse) String() string { @@ -675,7 +659,7 @@ func (*MoveOnGlobeResponse) ProtoMessage() {} func (x *MoveOnGlobeResponse) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -718,11 +702,9 @@ type GetPoseRequest struct { func (x *GetPoseRequest) Reset() { *x = GetPoseRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPoseRequest) String() string { @@ -733,7 +715,7 @@ func (*GetPoseRequest) ProtoMessage() {} func (x *GetPoseRequest) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -793,11 +775,9 @@ type GetPoseResponse struct { func (x *GetPoseResponse) Reset() { *x = GetPoseResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPoseResponse) String() string { @@ -808,7 +788,7 @@ func (*GetPoseResponse) ProtoMessage() {} func (x *GetPoseResponse) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -845,11 +825,9 @@ type StopPlanRequest struct { func (x *StopPlanRequest) Reset() { *x = StopPlanRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopPlanRequest) String() string { @@ -860,7 +838,7 @@ func (*StopPlanRequest) ProtoMessage() {} func (x *StopPlanRequest) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -904,11 +882,9 @@ type StopPlanResponse struct { func (x *StopPlanResponse) Reset() { *x = StopPlanResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *StopPlanResponse) String() string { @@ -919,7 +895,7 @@ func (*StopPlanResponse) ProtoMessage() {} func (x *StopPlanResponse) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -950,11 +926,9 @@ type ListPlanStatusesRequest struct { func (x *ListPlanStatusesRequest) Reset() { *x = ListPlanStatusesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListPlanStatusesRequest) String() string { @@ -965,7 +939,7 @@ func (*ListPlanStatusesRequest) ProtoMessage() {} func (x *ListPlanStatusesRequest) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1014,11 +988,9 @@ type ListPlanStatusesResponse struct { func (x *ListPlanStatusesResponse) Reset() { *x = ListPlanStatusesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListPlanStatusesResponse) String() string { @@ -1029,7 +1001,7 @@ func (*ListPlanStatusesResponse) ProtoMessage() {} func (x *ListPlanStatusesResponse) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1071,11 +1043,9 @@ type GetPlanRequest struct { func (x *GetPlanRequest) Reset() { *x = GetPlanRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPlanRequest) String() string { @@ -1086,7 +1056,7 @@ func (*GetPlanRequest) ProtoMessage() {} func (x *GetPlanRequest) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1152,11 +1122,9 @@ type GetPlanResponse struct { func (x *GetPlanResponse) Reset() { *x = GetPlanResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPlanResponse) String() string { @@ -1167,7 +1135,7 @@ func (*GetPlanResponse) ProtoMessage() {} func (x *GetPlanResponse) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1210,11 +1178,9 @@ type Constraints struct { func (x *Constraints) Reset() { *x = Constraints{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Constraints) String() string { @@ -1225,7 +1191,7 @@ func (*Constraints) ProtoMessage() {} func (x *Constraints) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1275,11 +1241,9 @@ type LinearConstraint struct { func (x *LinearConstraint) Reset() { *x = LinearConstraint{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *LinearConstraint) String() string { @@ -1290,7 +1254,7 @@ func (*LinearConstraint) ProtoMessage() {} func (x *LinearConstraint) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1332,11 +1296,9 @@ type OrientationConstraint struct { func (x *OrientationConstraint) Reset() { *x = OrientationConstraint{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OrientationConstraint) String() string { @@ -1347,7 +1309,7 @@ func (*OrientationConstraint) ProtoMessage() {} func (x *OrientationConstraint) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1381,11 +1343,9 @@ type CollisionSpecification struct { func (x *CollisionSpecification) Reset() { *x = CollisionSpecification{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CollisionSpecification) String() string { @@ -1396,7 +1356,7 @@ func (*CollisionSpecification) ProtoMessage() {} func (x *CollisionSpecification) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1435,11 +1395,9 @@ type PlanWithStatus struct { func (x *PlanWithStatus) Reset() { *x = PlanWithStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlanWithStatus) String() string { @@ -1450,7 +1408,7 @@ func (*PlanWithStatus) ProtoMessage() {} func (x *PlanWithStatus) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1510,11 +1468,9 @@ type PlanStatusWithID struct { func (x *PlanStatusWithID) Reset() { *x = PlanStatusWithID{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlanStatusWithID) String() string { @@ -1525,7 +1481,7 @@ func (*PlanStatusWithID) ProtoMessage() {} func (x *PlanStatusWithID) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1588,11 +1544,9 @@ type PlanStatus struct { func (x *PlanStatus) Reset() { *x = PlanStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlanStatus) String() string { @@ -1603,7 +1557,7 @@ func (*PlanStatus) ProtoMessage() {} func (x *PlanStatus) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1662,11 +1616,9 @@ type Plan struct { func (x *Plan) Reset() { *x = Plan{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Plan) String() string { @@ -1677,7 +1629,7 @@ func (*Plan) ProtoMessage() {} func (x *Plan) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1734,11 +1686,9 @@ type PlanStep struct { func (x *PlanStep) Reset() { *x = PlanStep{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PlanStep) String() string { @@ -1749,7 +1699,7 @@ func (*PlanStep) ProtoMessage() {} func (x *PlanStep) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1782,11 +1732,9 @@ type ComponentState struct { func (x *ComponentState) Reset() { *x = ComponentState{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ComponentState) String() string { @@ -1797,7 +1745,7 @@ func (*ComponentState) ProtoMessage() {} func (x *ComponentState) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1830,11 +1778,9 @@ type CollisionSpecification_AllowedFrameCollisions struct { func (x *CollisionSpecification_AllowedFrameCollisions) Reset() { *x = CollisionSpecification_AllowedFrameCollisions{} - if protoimpl.UnsafeEnabled { - mi := &file_service_motion_v1_motion_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_motion_v1_motion_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CollisionSpecification_AllowedFrameCollisions) String() string { @@ -1845,7 +1791,7 @@ func (*CollisionSpecification_AllowedFrameCollisions) ProtoMessage() {} func (x *CollisionSpecification_AllowedFrameCollisions) ProtoReflect() protoreflect.Message { mi := &file_service_motion_v1_motion_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2329,7 +2275,7 @@ func file_service_motion_v1_motion_proto_rawDescGZIP() []byte { var file_service_motion_v1_motion_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_service_motion_v1_motion_proto_msgTypes = make([]protoimpl.MessageInfo, 28) -var file_service_motion_v1_motion_proto_goTypes = []interface{}{ +var file_service_motion_v1_motion_proto_goTypes = []any{ (PlanState)(0), // 0: viam.service.motion.v1.PlanState (*MoveRequest)(nil), // 1: viam.service.motion.v1.MoveRequest (*MoveResponse)(nil), // 2: viam.service.motion.v1.MoveResponse @@ -2450,340 +2396,14 @@ func file_service_motion_v1_motion_proto_init() { if File_service_motion_v1_motion_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_service_motion_v1_motion_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveOnMapRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveOnMapResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ObstacleDetector); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MotionConfiguration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveOnGlobeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveOnGlobeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPoseRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPoseResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopPlanRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopPlanResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListPlanStatusesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListPlanStatusesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPlanRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPlanResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Constraints); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LinearConstraint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrientationConstraint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CollisionSpecification); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlanWithStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlanStatusWithID); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlanStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Plan); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PlanStep); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ComponentState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_motion_v1_motion_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CollisionSpecification_AllowedFrameCollisions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_service_motion_v1_motion_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_service_motion_v1_motion_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_service_motion_v1_motion_proto_msgTypes[5].OneofWrappers = []interface{}{} - file_service_motion_v1_motion_proto_msgTypes[6].OneofWrappers = []interface{}{} - file_service_motion_v1_motion_proto_msgTypes[14].OneofWrappers = []interface{}{} - file_service_motion_v1_motion_proto_msgTypes[17].OneofWrappers = []interface{}{} - file_service_motion_v1_motion_proto_msgTypes[18].OneofWrappers = []interface{}{} - file_service_motion_v1_motion_proto_msgTypes[22].OneofWrappers = []interface{}{} + file_service_motion_v1_motion_proto_msgTypes[0].OneofWrappers = []any{} + file_service_motion_v1_motion_proto_msgTypes[2].OneofWrappers = []any{} + file_service_motion_v1_motion_proto_msgTypes[5].OneofWrappers = []any{} + file_service_motion_v1_motion_proto_msgTypes[6].OneofWrappers = []any{} + file_service_motion_v1_motion_proto_msgTypes[14].OneofWrappers = []any{} + file_service_motion_v1_motion_proto_msgTypes[17].OneofWrappers = []any{} + file_service_motion_v1_motion_proto_msgTypes[18].OneofWrappers = []any{} + file_service_motion_v1_motion_proto_msgTypes[22].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/service/motion/v1/motion.pb.gw.go b/service/motion/v1/motion.pb.gw.go index 1b1262ce..6ddcb824 100644 --- a/service/motion/v1/motion.pb.gw.go +++ b/service/motion/v1/motion.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - v1_0 "go.viam.com/api/common/v1" + "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -527,7 +527,7 @@ var ( ) func request_MotionService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client MotionServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -560,7 +560,7 @@ func request_MotionService_DoCommand_0(ctx context.Context, marshaler runtime.Ma } func local_request_MotionService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server MotionServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -804,21 +804,21 @@ func RegisterMotionServiceHandlerServer(ctx context.Context, mux *runtime.ServeM // RegisterMotionServiceHandlerFromEndpoint is same as RegisterMotionServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterMotionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/navigation/v1/navigation.pb.go b/service/navigation/v1/navigation.pb.go index ab3ba392..2472e1e2 100644 --- a/service/navigation/v1/navigation.pb.go +++ b/service/navigation/v1/navigation.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: service/navigation/v1/navigation.proto @@ -137,11 +137,9 @@ type GetModeRequest struct { func (x *GetModeRequest) Reset() { *x = GetModeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetModeRequest) String() string { @@ -152,7 +150,7 @@ func (*GetModeRequest) ProtoMessage() {} func (x *GetModeRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -191,11 +189,9 @@ type GetModeResponse struct { func (x *GetModeResponse) Reset() { *x = GetModeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetModeResponse) String() string { @@ -206,7 +202,7 @@ func (*GetModeResponse) ProtoMessage() {} func (x *GetModeResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -241,11 +237,9 @@ type SetModeRequest struct { func (x *SetModeRequest) Reset() { *x = SetModeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetModeRequest) String() string { @@ -256,7 +250,7 @@ func (*SetModeRequest) ProtoMessage() {} func (x *SetModeRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -300,11 +294,9 @@ type SetModeResponse struct { func (x *SetModeResponse) Reset() { *x = SetModeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetModeResponse) String() string { @@ -315,7 +307,7 @@ func (*SetModeResponse) ProtoMessage() {} func (x *SetModeResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -341,11 +333,9 @@ type Waypoint struct { func (x *Waypoint) Reset() { *x = Waypoint{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Waypoint) String() string { @@ -356,7 +346,7 @@ func (*Waypoint) ProtoMessage() {} func (x *Waypoint) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -397,11 +387,9 @@ type GetLocationRequest struct { func (x *GetLocationRequest) Reset() { *x = GetLocationRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLocationRequest) String() string { @@ -412,7 +400,7 @@ func (*GetLocationRequest) ProtoMessage() {} func (x *GetLocationRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -454,11 +442,9 @@ type GetLocationResponse struct { func (x *GetLocationResponse) Reset() { *x = GetLocationResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetLocationResponse) String() string { @@ -469,7 +455,7 @@ func (*GetLocationResponse) ProtoMessage() {} func (x *GetLocationResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -510,11 +496,9 @@ type GetWaypointsRequest struct { func (x *GetWaypointsRequest) Reset() { *x = GetWaypointsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetWaypointsRequest) String() string { @@ -525,7 +509,7 @@ func (*GetWaypointsRequest) ProtoMessage() {} func (x *GetWaypointsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -564,11 +548,9 @@ type GetWaypointsResponse struct { func (x *GetWaypointsResponse) Reset() { *x = GetWaypointsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetWaypointsResponse) String() string { @@ -579,7 +561,7 @@ func (*GetWaypointsResponse) ProtoMessage() {} func (x *GetWaypointsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -614,11 +596,9 @@ type AddWaypointRequest struct { func (x *AddWaypointRequest) Reset() { *x = AddWaypointRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddWaypointRequest) String() string { @@ -629,7 +609,7 @@ func (*AddWaypointRequest) ProtoMessage() {} func (x *AddWaypointRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -673,11 +653,9 @@ type AddWaypointResponse struct { func (x *AddWaypointResponse) Reset() { *x = AddWaypointResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddWaypointResponse) String() string { @@ -688,7 +666,7 @@ func (*AddWaypointResponse) ProtoMessage() {} func (x *AddWaypointResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -716,11 +694,9 @@ type RemoveWaypointRequest struct { func (x *RemoveWaypointRequest) Reset() { *x = RemoveWaypointRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveWaypointRequest) String() string { @@ -731,7 +707,7 @@ func (*RemoveWaypointRequest) ProtoMessage() {} func (x *RemoveWaypointRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -775,11 +751,9 @@ type RemoveWaypointResponse struct { func (x *RemoveWaypointResponse) Reset() { *x = RemoveWaypointResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveWaypointResponse) String() string { @@ -790,7 +764,7 @@ func (*RemoveWaypointResponse) ProtoMessage() {} func (x *RemoveWaypointResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -821,11 +795,9 @@ type GetObstaclesRequest struct { func (x *GetObstaclesRequest) Reset() { *x = GetObstaclesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetObstaclesRequest) String() string { @@ -836,7 +808,7 @@ func (*GetObstaclesRequest) ProtoMessage() {} func (x *GetObstaclesRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -876,11 +848,9 @@ type GetObstaclesResponse struct { func (x *GetObstaclesResponse) Reset() { *x = GetObstaclesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetObstaclesResponse) String() string { @@ -891,7 +861,7 @@ func (*GetObstaclesResponse) ProtoMessage() {} func (x *GetObstaclesResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -929,11 +899,9 @@ type Path struct { func (x *Path) Reset() { *x = Path{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Path) String() string { @@ -944,7 +912,7 @@ func (*Path) ProtoMessage() {} func (x *Path) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -986,11 +954,9 @@ type GetPathsRequest struct { func (x *GetPathsRequest) Reset() { *x = GetPathsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPathsRequest) String() string { @@ -1001,7 +967,7 @@ func (*GetPathsRequest) ProtoMessage() {} func (x *GetPathsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1040,11 +1006,9 @@ type GetPathsResponse struct { func (x *GetPathsResponse) Reset() { *x = GetPathsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPathsResponse) String() string { @@ -1055,7 +1019,7 @@ func (*GetPathsResponse) ProtoMessage() {} func (x *GetPathsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1088,11 +1052,9 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesRequest) String() string { @@ -1103,7 +1065,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1136,11 +1098,9 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_navigation_v1_navigation_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_navigation_v1_navigation_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesResponse) String() string { @@ -1151,7 +1111,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_service_navigation_v1_navigation_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1427,7 +1387,7 @@ func file_service_navigation_v1_navigation_proto_rawDescGZIP() []byte { var file_service_navigation_v1_navigation_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_service_navigation_v1_navigation_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_service_navigation_v1_navigation_proto_goTypes = []interface{}{ +var file_service_navigation_v1_navigation_proto_goTypes = []any{ (MapType)(0), // 0: viam.service.navigation.v1.MapType (Mode)(0), // 1: viam.service.navigation.v1.Mode (*GetModeRequest)(nil), // 2: viam.service.navigation.v1.GetModeRequest @@ -1507,248 +1467,6 @@ func file_service_navigation_v1_navigation_proto_init() { if File_service_navigation_v1_navigation_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_service_navigation_v1_navigation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetModeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetModeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetModeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetModeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Waypoint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLocationRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLocationResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWaypointsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetWaypointsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddWaypointRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddWaypointResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveWaypointRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveWaypointResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetObstaclesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetObstaclesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Path); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPathsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPathsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_navigation_v1_navigation_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesResponse); 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{ diff --git a/service/navigation/v1/navigation.pb.gw.go b/service/navigation/v1/navigation.pb.gw.go index 40f687bd..7c54c601 100644 --- a/service/navigation/v1/navigation.pb.gw.go +++ b/service/navigation/v1/navigation.pb.gw.go @@ -996,21 +996,21 @@ func RegisterNavigationServiceHandlerServer(ctx context.Context, mux *runtime.Se // RegisterNavigationServiceHandlerFromEndpoint is same as RegisterNavigationServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterNavigationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/sensors/v1/sensors.pb.go b/service/sensors/v1/sensors.pb.go index 3b97e12a..fe7a02e0 100644 --- a/service/sensors/v1/sensors.pb.go +++ b/service/sensors/v1/sensors.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // service/sensors/v1/sensors.proto is a deprecated file. @@ -25,27 +25,25 @@ const ( // The sensors service messages are deprecated // -// Deprecated: Do not use. +// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. type GetSensorsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Deprecated: Do not use. + // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Additional arguments to the method // - // Deprecated: Do not use. + // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. Extra *structpb.Struct `protobuf:"bytes,99,opt,name=extra,proto3" json:"extra,omitempty"` } func (x *GetSensorsRequest) Reset() { *x = GetSensorsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_sensors_v1_sensors_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_sensors_v1_sensors_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSensorsRequest) String() string { @@ -56,7 +54,7 @@ func (*GetSensorsRequest) ProtoMessage() {} func (x *GetSensorsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_sensors_v1_sensors_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -71,7 +69,7 @@ func (*GetSensorsRequest) Descriptor() ([]byte, []int) { return file_service_sensors_v1_sensors_proto_rawDescGZIP(), []int{0} } -// Deprecated: Do not use. +// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. func (x *GetSensorsRequest) GetName() string { if x != nil { return x.Name @@ -79,7 +77,7 @@ func (x *GetSensorsRequest) GetName() string { return "" } -// Deprecated: Do not use. +// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. func (x *GetSensorsRequest) GetExtra() *structpb.Struct { if x != nil { return x.Extra @@ -87,23 +85,21 @@ func (x *GetSensorsRequest) GetExtra() *structpb.Struct { return nil } -// Deprecated: Do not use. +// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. type GetSensorsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Deprecated: Do not use. + // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. SensorNames []*v1.ResourceName `protobuf:"bytes,1,rep,name=sensor_names,json=sensorNames,proto3" json:"sensor_names,omitempty"` } func (x *GetSensorsResponse) Reset() { *x = GetSensorsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_sensors_v1_sensors_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_sensors_v1_sensors_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetSensorsResponse) String() string { @@ -114,7 +110,7 @@ func (*GetSensorsResponse) ProtoMessage() {} func (x *GetSensorsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_sensors_v1_sensors_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -129,7 +125,7 @@ func (*GetSensorsResponse) Descriptor() ([]byte, []int) { return file_service_sensors_v1_sensors_proto_rawDescGZIP(), []int{1} } -// Deprecated: Do not use. +// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. func (x *GetSensorsResponse) GetSensorNames() []*v1.ResourceName { if x != nil { return x.SensorNames @@ -137,29 +133,27 @@ func (x *GetSensorsResponse) GetSensorNames() []*v1.ResourceName { return nil } -// Deprecated: Do not use. +// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. type GetReadingsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Deprecated: Do not use. + // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Deprecated: Do not use. + // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. SensorNames []*v1.ResourceName `protobuf:"bytes,2,rep,name=sensor_names,json=sensorNames,proto3" json:"sensor_names,omitempty"` // Additional arguments to the method // - // Deprecated: Do not use. + // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. Extra *structpb.Struct `protobuf:"bytes,99,opt,name=extra,proto3" json:"extra,omitempty"` } func (x *GetReadingsRequest) Reset() { *x = GetReadingsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_sensors_v1_sensors_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_sensors_v1_sensors_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetReadingsRequest) String() string { @@ -170,7 +164,7 @@ func (*GetReadingsRequest) ProtoMessage() {} func (x *GetReadingsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_sensors_v1_sensors_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -185,7 +179,7 @@ func (*GetReadingsRequest) Descriptor() ([]byte, []int) { return file_service_sensors_v1_sensors_proto_rawDescGZIP(), []int{2} } -// Deprecated: Do not use. +// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. func (x *GetReadingsRequest) GetName() string { if x != nil { return x.Name @@ -193,7 +187,7 @@ func (x *GetReadingsRequest) GetName() string { return "" } -// Deprecated: Do not use. +// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. func (x *GetReadingsRequest) GetSensorNames() []*v1.ResourceName { if x != nil { return x.SensorNames @@ -201,7 +195,7 @@ func (x *GetReadingsRequest) GetSensorNames() []*v1.ResourceName { return nil } -// Deprecated: Do not use. +// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. func (x *GetReadingsRequest) GetExtra() *structpb.Struct { if x != nil { return x.Extra @@ -209,25 +203,23 @@ func (x *GetReadingsRequest) GetExtra() *structpb.Struct { return nil } -// Deprecated: Do not use. +// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. type Readings struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Deprecated: Do not use. + // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. Name *v1.ResourceName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Deprecated: Do not use. + // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. Readings map[string]*structpb.Value `protobuf:"bytes,2,rep,name=readings,proto3" json:"readings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *Readings) Reset() { *x = Readings{} - if protoimpl.UnsafeEnabled { - mi := &file_service_sensors_v1_sensors_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_sensors_v1_sensors_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Readings) String() string { @@ -238,7 +230,7 @@ func (*Readings) ProtoMessage() {} func (x *Readings) ProtoReflect() protoreflect.Message { mi := &file_service_sensors_v1_sensors_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -253,7 +245,7 @@ func (*Readings) Descriptor() ([]byte, []int) { return file_service_sensors_v1_sensors_proto_rawDescGZIP(), []int{3} } -// Deprecated: Do not use. +// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. func (x *Readings) GetName() *v1.ResourceName { if x != nil { return x.Name @@ -261,7 +253,7 @@ func (x *Readings) GetName() *v1.ResourceName { return nil } -// Deprecated: Do not use. +// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. func (x *Readings) GetReadings() map[string]*structpb.Value { if x != nil { return x.Readings @@ -269,23 +261,21 @@ func (x *Readings) GetReadings() map[string]*structpb.Value { return nil } -// Deprecated: Do not use. +// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. type GetReadingsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Deprecated: Do not use. + // Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. Readings []*Readings `protobuf:"bytes,1,rep,name=readings,proto3" json:"readings,omitempty"` } func (x *GetReadingsResponse) Reset() { *x = GetReadingsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_sensors_v1_sensors_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_sensors_v1_sensors_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetReadingsResponse) String() string { @@ -296,7 +286,7 @@ func (*GetReadingsResponse) ProtoMessage() {} func (x *GetReadingsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_sensors_v1_sensors_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -311,7 +301,7 @@ func (*GetReadingsResponse) Descriptor() ([]byte, []int) { return file_service_sensors_v1_sensors_proto_rawDescGZIP(), []int{4} } -// Deprecated: Do not use. +// Deprecated: The entire proto file service/sensors/v1/sensors.proto is marked as deprecated. func (x *GetReadingsResponse) GetReadings() []*Readings { if x != nil { return x.Readings @@ -382,29 +372,29 @@ var file_service_sensors_v1_sensors_proto_rawDesc = []byte{ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x88, 0x02, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, - 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x73, 0x65, 0x6e, 0x73, - 0x6f, 0x72, 0x73, 0x12, 0xa1, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x69, + 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x69, + 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, + 0x88, 0x02, 0x01, 0x12, 0xa1, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, - 0x88, 0x02, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x76, 0x69, 0x61, 0x6d, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, - 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x72, - 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x8b, 0x01, 0x0a, 0x09, 0x44, 0x6f, 0x43, 0x6f, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x73, 0x65, 0x6e, + 0x73, 0x6f, 0x72, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x72, 0x65, 0x61, 0x64, + 0x69, 0x6e, 0x67, 0x73, 0x88, 0x02, 0x01, 0x12, 0x8b, 0x01, 0x0a, 0x09, 0x44, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x88, 0x02, 0x01, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x22, 0x2e, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x73, 0x65, 0x6e, 0x73, - 0x6f, 0x72, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x64, 0x6f, 0x5f, 0x63, 0x6f, - 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x42, 0x44, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x69, 0x61, + 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x30, 0x22, 0x2e, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, + 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x64, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x88, 0x02, 0x01, 0x42, 0x44, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x5a, 0x22, 0x67, 0x6f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x73, 0x65, @@ -425,7 +415,7 @@ func file_service_sensors_v1_sensors_proto_rawDescGZIP() []byte { } var file_service_sensors_v1_sensors_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_service_sensors_v1_sensors_proto_goTypes = []interface{}{ +var file_service_sensors_v1_sensors_proto_goTypes = []any{ (*GetSensorsRequest)(nil), // 0: viam.service.sensors.v1.GetSensorsRequest (*GetSensorsResponse)(nil), // 1: viam.service.sensors.v1.GetSensorsResponse (*GetReadingsRequest)(nil), // 2: viam.service.sensors.v1.GetReadingsRequest @@ -465,68 +455,6 @@ func file_service_sensors_v1_sensors_proto_init() { if File_service_sensors_v1_sensors_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_service_sensors_v1_sensors_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSensorsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_sensors_v1_sensors_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSensorsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_sensors_v1_sensors_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetReadingsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_sensors_v1_sensors_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Readings); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_sensors_v1_sensors_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetReadingsResponse); 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{ diff --git a/service/sensors/v1/sensors.pb.gw.go b/service/sensors/v1/sensors.pb.gw.go index b0c69d02..ef72102e 100644 --- a/service/sensors/v1/sensors.pb.gw.go +++ b/service/sensors/v1/sensors.pb.gw.go @@ -329,21 +329,21 @@ func RegisterSensorsServiceHandlerServer(ctx context.Context, mux *runtime.Serve // RegisterSensorsServiceHandlerFromEndpoint is same as RegisterSensorsServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterSensorsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/shell/v1/shell.pb.go b/service/shell/v1/shell.pb.go index 842c3634..109c10c6 100644 --- a/service/shell/v1/shell.pb.go +++ b/service/shell/v1/shell.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: service/shell/v1/shell.proto @@ -94,11 +94,9 @@ type ShellRequest struct { func (x *ShellRequest) Reset() { *x = ShellRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_shell_v1_shell_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_shell_v1_shell_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShellRequest) String() string { @@ -109,7 +107,7 @@ func (*ShellRequest) ProtoMessage() {} func (x *ShellRequest) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -157,11 +155,9 @@ type ShellResponse struct { func (x *ShellResponse) Reset() { *x = ShellResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_shell_v1_shell_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_shell_v1_shell_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShellResponse) String() string { @@ -172,7 +168,7 @@ func (*ShellResponse) ProtoMessage() {} func (x *ShellResponse) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -234,11 +230,9 @@ type FileData struct { func (x *FileData) Reset() { *x = FileData{} - if protoimpl.UnsafeEnabled { - mi := &file_service_shell_v1_shell_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_shell_v1_shell_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FileData) String() string { @@ -249,7 +243,7 @@ func (*FileData) ProtoMessage() {} func (x *FileData) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -334,11 +328,9 @@ type CopyFilesToMachineRequestMetadata struct { func (x *CopyFilesToMachineRequestMetadata) Reset() { *x = CopyFilesToMachineRequestMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_service_shell_v1_shell_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_shell_v1_shell_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CopyFilesToMachineRequestMetadata) String() string { @@ -349,7 +341,7 @@ func (*CopyFilesToMachineRequestMetadata) ProtoMessage() {} func (x *CopyFilesToMachineRequestMetadata) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -413,11 +405,9 @@ type CopyFilesToMachineRequest struct { func (x *CopyFilesToMachineRequest) Reset() { *x = CopyFilesToMachineRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_shell_v1_shell_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_shell_v1_shell_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CopyFilesToMachineRequest) String() string { @@ -428,7 +418,7 @@ func (*CopyFilesToMachineRequest) ProtoMessage() {} func (x *CopyFilesToMachineRequest) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -495,11 +485,9 @@ type CopyFilesToMachineResponse struct { func (x *CopyFilesToMachineResponse) Reset() { *x = CopyFilesToMachineResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_shell_v1_shell_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_shell_v1_shell_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CopyFilesToMachineResponse) String() string { @@ -510,7 +498,7 @@ func (*CopyFilesToMachineResponse) ProtoMessage() {} func (x *CopyFilesToMachineResponse) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -553,11 +541,9 @@ type CopyFilesFromMachineRequestMetadata struct { func (x *CopyFilesFromMachineRequestMetadata) Reset() { *x = CopyFilesFromMachineRequestMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_service_shell_v1_shell_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_shell_v1_shell_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CopyFilesFromMachineRequestMetadata) String() string { @@ -568,7 +554,7 @@ func (*CopyFilesFromMachineRequestMetadata) ProtoMessage() {} func (x *CopyFilesFromMachineRequestMetadata) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -632,11 +618,9 @@ type CopyFilesFromMachineRequest struct { func (x *CopyFilesFromMachineRequest) Reset() { *x = CopyFilesFromMachineRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_shell_v1_shell_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_shell_v1_shell_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CopyFilesFromMachineRequest) String() string { @@ -647,7 +631,7 @@ func (*CopyFilesFromMachineRequest) ProtoMessage() {} func (x *CopyFilesFromMachineRequest) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -713,11 +697,9 @@ type CopyFilesFromMachineResponseMetadata struct { func (x *CopyFilesFromMachineResponseMetadata) Reset() { *x = CopyFilesFromMachineResponseMetadata{} - if protoimpl.UnsafeEnabled { - mi := &file_service_shell_v1_shell_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_shell_v1_shell_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CopyFilesFromMachineResponseMetadata) String() string { @@ -728,7 +710,7 @@ func (*CopyFilesFromMachineResponseMetadata) ProtoMessage() {} func (x *CopyFilesFromMachineResponseMetadata) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -764,11 +746,9 @@ type CopyFilesFromMachineResponse struct { func (x *CopyFilesFromMachineResponse) Reset() { *x = CopyFilesFromMachineResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_shell_v1_shell_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_shell_v1_shell_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CopyFilesFromMachineResponse) String() string { @@ -779,7 +759,7 @@ func (*CopyFilesFromMachineResponse) ProtoMessage() {} func (x *CopyFilesFromMachineResponse) ProtoReflect() protoreflect.Message { mi := &file_service_shell_v1_shell_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1012,7 +992,7 @@ func file_service_shell_v1_shell_proto_rawDescGZIP() []byte { var file_service_shell_v1_shell_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_service_shell_v1_shell_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_service_shell_v1_shell_proto_goTypes = []interface{}{ +var file_service_shell_v1_shell_proto_goTypes = []any{ (CopyFilesSourceType)(0), // 0: viam.service.shell.v1.CopyFilesSourceType (*ShellRequest)(nil), // 1: viam.service.shell.v1.ShellRequest (*ShellResponse)(nil), // 2: viam.service.shell.v1.ShellResponse @@ -1061,138 +1041,16 @@ func file_service_shell_v1_shell_proto_init() { if File_service_shell_v1_shell_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_service_shell_v1_shell_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShellRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_shell_v1_shell_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShellResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_shell_v1_shell_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FileData); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_shell_v1_shell_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CopyFilesToMachineRequestMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_shell_v1_shell_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CopyFilesToMachineRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_shell_v1_shell_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CopyFilesToMachineResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_shell_v1_shell_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CopyFilesFromMachineRequestMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_shell_v1_shell_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CopyFilesFromMachineRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_shell_v1_shell_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CopyFilesFromMachineResponseMetadata); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_shell_v1_shell_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CopyFilesFromMachineResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_service_shell_v1_shell_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_service_shell_v1_shell_proto_msgTypes[4].OneofWrappers = []interface{}{ + file_service_shell_v1_shell_proto_msgTypes[2].OneofWrappers = []any{} + file_service_shell_v1_shell_proto_msgTypes[4].OneofWrappers = []any{ (*CopyFilesToMachineRequest_Metadata)(nil), (*CopyFilesToMachineRequest_FileData)(nil), } - file_service_shell_v1_shell_proto_msgTypes[7].OneofWrappers = []interface{}{ + file_service_shell_v1_shell_proto_msgTypes[7].OneofWrappers = []any{ (*CopyFilesFromMachineRequest_Metadata)(nil), (*CopyFilesFromMachineRequest_AckLastFile)(nil), } - file_service_shell_v1_shell_proto_msgTypes[9].OneofWrappers = []interface{}{ + file_service_shell_v1_shell_proto_msgTypes[9].OneofWrappers = []any{ (*CopyFilesFromMachineResponse_Metadata)(nil), (*CopyFilesFromMachineResponse_FileData)(nil), } diff --git a/service/shell/v1/shell.pb.gw.go b/service/shell/v1/shell.pb.gw.go index 660e30a8..ef031f86 100644 --- a/service/shell/v1/shell.pb.gw.go +++ b/service/shell/v1/shell.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - v1_0 "go.viam.com/api/common/v1" + "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -36,7 +36,7 @@ func request_ShellService_Shell_0(ctx context.Context, marshaler runtime.Marshal var metadata runtime.ServerMetadata stream, err := client.Shell(ctx) if err != nil { - grpclog.Infof("Failed to start streaming: %v", err) + grpclog.Errorf("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -47,11 +47,11 @@ func request_ShellService_Shell_0(ctx context.Context, marshaler runtime.Marshal return err } if err != nil { - grpclog.Infof("Failed to decode request: %v", err) + grpclog.Errorf("Failed to decode request: %v", err) return err } if err := stream.Send(&protoReq); err != nil { - grpclog.Infof("Failed to send request: %v", err) + grpclog.Errorf("Failed to send request: %v", err) return err } return nil @@ -63,12 +63,12 @@ func request_ShellService_Shell_0(ctx context.Context, marshaler runtime.Marshal } } if err := stream.CloseSend(); err != nil { - grpclog.Infof("Failed to terminate client stream: %v", err) + grpclog.Errorf("Failed to terminate client stream: %v", err) } }() header, err := stream.Header() if err != nil { - grpclog.Infof("Failed to get header from client: %v", err) + grpclog.Errorf("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -79,7 +79,7 @@ func request_ShellService_CopyFilesToMachine_0(ctx context.Context, marshaler ru var metadata runtime.ServerMetadata stream, err := client.CopyFilesToMachine(ctx) if err != nil { - grpclog.Infof("Failed to start streaming: %v", err) + grpclog.Errorf("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -90,11 +90,11 @@ func request_ShellService_CopyFilesToMachine_0(ctx context.Context, marshaler ru return err } if err != nil { - grpclog.Infof("Failed to decode request: %v", err) + grpclog.Errorf("Failed to decode request: %v", err) return err } if err := stream.Send(&protoReq); err != nil { - grpclog.Infof("Failed to send request: %v", err) + grpclog.Errorf("Failed to send request: %v", err) return err } return nil @@ -106,12 +106,12 @@ func request_ShellService_CopyFilesToMachine_0(ctx context.Context, marshaler ru } } if err := stream.CloseSend(); err != nil { - grpclog.Infof("Failed to terminate client stream: %v", err) + grpclog.Errorf("Failed to terminate client stream: %v", err) } }() header, err := stream.Header() if err != nil { - grpclog.Infof("Failed to get header from client: %v", err) + grpclog.Errorf("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -122,7 +122,7 @@ func request_ShellService_CopyFilesFromMachine_0(ctx context.Context, marshaler var metadata runtime.ServerMetadata stream, err := client.CopyFilesFromMachine(ctx) if err != nil { - grpclog.Infof("Failed to start streaming: %v", err) + grpclog.Errorf("Failed to start streaming: %v", err) return nil, metadata, err } dec := marshaler.NewDecoder(req.Body) @@ -133,11 +133,11 @@ func request_ShellService_CopyFilesFromMachine_0(ctx context.Context, marshaler return err } if err != nil { - grpclog.Infof("Failed to decode request: %v", err) + grpclog.Errorf("Failed to decode request: %v", err) return err } if err := stream.Send(&protoReq); err != nil { - grpclog.Infof("Failed to send request: %v", err) + grpclog.Errorf("Failed to send request: %v", err) return err } return nil @@ -149,12 +149,12 @@ func request_ShellService_CopyFilesFromMachine_0(ctx context.Context, marshaler } } if err := stream.CloseSend(); err != nil { - grpclog.Infof("Failed to terminate client stream: %v", err) + grpclog.Errorf("Failed to terminate client stream: %v", err) } }() header, err := stream.Header() if err != nil { - grpclog.Infof("Failed to get header from client: %v", err) + grpclog.Errorf("Failed to get header from client: %v", err) return nil, metadata, err } metadata.HeaderMD = header @@ -166,7 +166,7 @@ var ( ) func request_ShellService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client ShellServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -199,7 +199,7 @@ func request_ShellService_DoCommand_0(ctx context.Context, marshaler runtime.Mar } func local_request_ShellService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server ShellServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -289,21 +289,21 @@ func RegisterShellServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu // RegisterShellServiceHandlerFromEndpoint is same as RegisterShellServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterShellServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/slam/v1/slam.pb.go b/service/slam/v1/slam.pb.go index 8d74c104..3e31453a 100644 --- a/service/slam/v1/slam.pb.go +++ b/service/slam/v1/slam.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: service/slam/v1/slam.proto @@ -137,11 +137,9 @@ type GetPositionRequest struct { func (x *GetPositionRequest) Reset() { *x = GetPositionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_slam_v1_slam_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_slam_v1_slam_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPositionRequest) String() string { @@ -152,7 +150,7 @@ func (*GetPositionRequest) ProtoMessage() {} func (x *GetPositionRequest) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -185,11 +183,9 @@ type GetPositionResponse struct { func (x *GetPositionResponse) Reset() { *x = GetPositionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_slam_v1_slam_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_slam_v1_slam_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPositionResponse) String() string { @@ -200,7 +196,7 @@ func (*GetPositionResponse) ProtoMessage() {} func (x *GetPositionResponse) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -237,11 +233,9 @@ type GetPointCloudMapRequest struct { func (x *GetPointCloudMapRequest) Reset() { *x = GetPointCloudMapRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_slam_v1_slam_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_slam_v1_slam_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPointCloudMapRequest) String() string { @@ -252,7 +246,7 @@ func (*GetPointCloudMapRequest) ProtoMessage() {} func (x *GetPointCloudMapRequest) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -309,11 +303,9 @@ type GetPointCloudMapResponse struct { func (x *GetPointCloudMapResponse) Reset() { *x = GetPointCloudMapResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_slam_v1_slam_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_slam_v1_slam_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPointCloudMapResponse) String() string { @@ -324,7 +316,7 @@ func (*GetPointCloudMapResponse) ProtoMessage() {} func (x *GetPointCloudMapResponse) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -357,11 +349,9 @@ type GetInternalStateRequest struct { func (x *GetInternalStateRequest) Reset() { *x = GetInternalStateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_slam_v1_slam_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_slam_v1_slam_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetInternalStateRequest) String() string { @@ -372,7 +362,7 @@ func (*GetInternalStateRequest) ProtoMessage() {} func (x *GetInternalStateRequest) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -406,11 +396,9 @@ type GetInternalStateResponse struct { func (x *GetInternalStateResponse) Reset() { *x = GetInternalStateResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_slam_v1_slam_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_slam_v1_slam_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetInternalStateResponse) String() string { @@ -421,7 +409,7 @@ func (*GetInternalStateResponse) ProtoMessage() {} func (x *GetInternalStateResponse) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -454,11 +442,9 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_slam_v1_slam_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_slam_v1_slam_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesRequest) String() string { @@ -469,7 +455,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -505,11 +491,9 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_slam_v1_slam_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_slam_v1_slam_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesResponse) String() string { @@ -520,7 +504,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -574,11 +558,9 @@ type SensorInfo struct { func (x *SensorInfo) Reset() { *x = SensorInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_service_slam_v1_slam_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_slam_v1_slam_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SensorInfo) String() string { @@ -589,7 +571,7 @@ func (*SensorInfo) ProtoMessage() {} func (x *SensorInfo) ProtoReflect() protoreflect.Message { mi := &file_service_slam_v1_slam_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -768,7 +750,7 @@ func file_service_slam_v1_slam_proto_rawDescGZIP() []byte { var file_service_slam_v1_slam_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_service_slam_v1_slam_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_service_slam_v1_slam_proto_goTypes = []interface{}{ +var file_service_slam_v1_slam_proto_goTypes = []any{ (MappingMode)(0), // 0: viam.service.slam.v1.MappingMode (SensorType)(0), // 1: viam.service.slam.v1.SensorType (*GetPositionRequest)(nil), // 2: viam.service.slam.v1.GetPositionRequest @@ -811,118 +793,8 @@ func file_service_slam_v1_slam_proto_init() { if File_service_slam_v1_slam_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_service_slam_v1_slam_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPositionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_slam_v1_slam_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPositionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_slam_v1_slam_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPointCloudMapRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_slam_v1_slam_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPointCloudMapResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_slam_v1_slam_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetInternalStateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_slam_v1_slam_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetInternalStateResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_slam_v1_slam_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_slam_v1_slam_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_slam_v1_slam_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SensorInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_service_slam_v1_slam_proto_msgTypes[2].OneofWrappers = []interface{}{} - file_service_slam_v1_slam_proto_msgTypes[7].OneofWrappers = []interface{}{} + file_service_slam_v1_slam_proto_msgTypes[2].OneofWrappers = []any{} + file_service_slam_v1_slam_proto_msgTypes[7].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/service/slam/v1/slam.pb.gw.go b/service/slam/v1/slam.pb.gw.go index afa099e2..99090f7e 100644 --- a/service/slam/v1/slam.pb.gw.go +++ b/service/slam/v1/slam.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - v1_0 "go.viam.com/api/common/v1" + "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -220,7 +220,7 @@ var ( ) func request_SLAMService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client SLAMServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -253,7 +253,7 @@ func request_SLAMService_DoCommand_0(ctx context.Context, marshaler runtime.Mars } func local_request_SLAMService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server SLAMServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -386,21 +386,21 @@ func RegisterSLAMServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux // RegisterSLAMServiceHandlerFromEndpoint is same as RegisterSLAMServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterSLAMServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/service/vision/v1/vision.pb.go b/service/vision/v1/vision.pb.go index c87f9e3e..084c47a4 100644 --- a/service/vision/v1/vision.pb.go +++ b/service/vision/v1/vision.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: service/vision/v1/vision.proto @@ -45,11 +45,9 @@ type GetDetectionsRequest struct { func (x *GetDetectionsRequest) Reset() { *x = GetDetectionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDetectionsRequest) String() string { @@ -60,7 +58,7 @@ func (*GetDetectionsRequest) ProtoMessage() {} func (x *GetDetectionsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -128,11 +126,9 @@ type GetDetectionsResponse struct { func (x *GetDetectionsResponse) Reset() { *x = GetDetectionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDetectionsResponse) String() string { @@ -143,7 +139,7 @@ func (*GetDetectionsResponse) ProtoMessage() {} func (x *GetDetectionsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -179,11 +175,9 @@ type GetDetectionsFromCameraRequest struct { func (x *GetDetectionsFromCameraRequest) Reset() { *x = GetDetectionsFromCameraRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDetectionsFromCameraRequest) String() string { @@ -194,7 +188,7 @@ func (*GetDetectionsFromCameraRequest) ProtoMessage() {} func (x *GetDetectionsFromCameraRequest) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -241,11 +235,9 @@ type GetDetectionsFromCameraResponse struct { func (x *GetDetectionsFromCameraResponse) Reset() { *x = GetDetectionsFromCameraResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetDetectionsFromCameraResponse) String() string { @@ -256,7 +248,7 @@ func (*GetDetectionsFromCameraResponse) ProtoMessage() {} func (x *GetDetectionsFromCameraResponse) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -296,11 +288,9 @@ type Detection struct { func (x *Detection) Reset() { *x = Detection{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Detection) String() string { @@ -311,7 +301,7 @@ func (*Detection) ProtoMessage() {} func (x *Detection) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -391,11 +381,9 @@ type GetClassificationsRequest struct { func (x *GetClassificationsRequest) Reset() { *x = GetClassificationsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetClassificationsRequest) String() string { @@ -406,7 +394,7 @@ func (*GetClassificationsRequest) ProtoMessage() {} func (x *GetClassificationsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -480,11 +468,9 @@ type GetClassificationsResponse struct { func (x *GetClassificationsResponse) Reset() { *x = GetClassificationsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetClassificationsResponse) String() string { @@ -495,7 +481,7 @@ func (*GetClassificationsResponse) ProtoMessage() {} func (x *GetClassificationsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -534,11 +520,9 @@ type GetClassificationsFromCameraRequest struct { func (x *GetClassificationsFromCameraRequest) Reset() { *x = GetClassificationsFromCameraRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetClassificationsFromCameraRequest) String() string { @@ -549,7 +533,7 @@ func (*GetClassificationsFromCameraRequest) ProtoMessage() {} func (x *GetClassificationsFromCameraRequest) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -602,11 +586,9 @@ type GetClassificationsFromCameraResponse struct { func (x *GetClassificationsFromCameraResponse) Reset() { *x = GetClassificationsFromCameraResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetClassificationsFromCameraResponse) String() string { @@ -617,7 +599,7 @@ func (*GetClassificationsFromCameraResponse) ProtoMessage() {} func (x *GetClassificationsFromCameraResponse) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -653,11 +635,9 @@ type Classification struct { func (x *Classification) Reset() { *x = Classification{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Classification) String() string { @@ -668,7 +648,7 @@ func (*Classification) ProtoMessage() {} func (x *Classification) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -713,11 +693,9 @@ type GetObjectPointCloudsRequest struct { func (x *GetObjectPointCloudsRequest) Reset() { *x = GetObjectPointCloudsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetObjectPointCloudsRequest) String() string { @@ -728,7 +706,7 @@ func (*GetObjectPointCloudsRequest) ProtoMessage() {} func (x *GetObjectPointCloudsRequest) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -784,11 +762,9 @@ type GetObjectPointCloudsResponse struct { func (x *GetObjectPointCloudsResponse) Reset() { *x = GetObjectPointCloudsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetObjectPointCloudsResponse) String() string { @@ -799,7 +775,7 @@ func (*GetObjectPointCloudsResponse) ProtoMessage() {} func (x *GetObjectPointCloudsResponse) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -841,11 +817,9 @@ type GetPropertiesRequest struct { func (x *GetPropertiesRequest) Reset() { *x = GetPropertiesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesRequest) String() string { @@ -856,7 +830,7 @@ func (*GetPropertiesRequest) ProtoMessage() {} func (x *GetPropertiesRequest) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -907,11 +881,9 @@ type CaptureAllFromCameraRequest struct { func (x *CaptureAllFromCameraRequest) Reset() { *x = CaptureAllFromCameraRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CaptureAllFromCameraRequest) String() string { @@ -922,7 +894,7 @@ func (*CaptureAllFromCameraRequest) ProtoMessage() {} func (x *CaptureAllFromCameraRequest) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1000,11 +972,9 @@ type CaptureAllFromCameraResponse struct { func (x *CaptureAllFromCameraResponse) Reset() { *x = CaptureAllFromCameraResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CaptureAllFromCameraResponse) String() string { @@ -1015,7 +985,7 @@ func (*CaptureAllFromCameraResponse) ProtoMessage() {} func (x *CaptureAllFromCameraResponse) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1080,11 +1050,9 @@ type GetPropertiesResponse struct { func (x *GetPropertiesResponse) Reset() { *x = GetPropertiesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_vision_v1_vision_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_service_vision_v1_vision_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetPropertiesResponse) String() string { @@ -1095,7 +1063,7 @@ func (*GetPropertiesResponse) ProtoMessage() {} func (x *GetPropertiesResponse) ProtoReflect() protoreflect.Message { mi := &file_service_vision_v1_vision_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1425,7 +1393,7 @@ func file_service_vision_v1_vision_proto_rawDescGZIP() []byte { } var file_service_vision_v1_vision_proto_msgTypes = make([]protoimpl.MessageInfo, 16) -var file_service_vision_v1_vision_proto_goTypes = []interface{}{ +var file_service_vision_v1_vision_proto_goTypes = []any{ (*GetDetectionsRequest)(nil), // 0: viam.service.vision.v1.GetDetectionsRequest (*GetDetectionsResponse)(nil), // 1: viam.service.vision.v1.GetDetectionsResponse (*GetDetectionsFromCameraRequest)(nil), // 2: viam.service.vision.v1.GetDetectionsFromCameraRequest @@ -1494,201 +1462,7 @@ func file_service_vision_v1_vision_proto_init() { if File_service_vision_v1_vision_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_service_vision_v1_vision_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDetectionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_vision_v1_vision_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDetectionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_vision_v1_vision_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDetectionsFromCameraRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_vision_v1_vision_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetDetectionsFromCameraResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_vision_v1_vision_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Detection); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_vision_v1_vision_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetClassificationsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_vision_v1_vision_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetClassificationsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_vision_v1_vision_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetClassificationsFromCameraRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_vision_v1_vision_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetClassificationsFromCameraResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_vision_v1_vision_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Classification); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_vision_v1_vision_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetObjectPointCloudsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_vision_v1_vision_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetObjectPointCloudsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_vision_v1_vision_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_vision_v1_vision_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CaptureAllFromCameraRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_vision_v1_vision_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CaptureAllFromCameraResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_vision_v1_vision_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetPropertiesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_service_vision_v1_vision_proto_msgTypes[4].OneofWrappers = []interface{}{} + file_service_vision_v1_vision_proto_msgTypes[4].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/service/vision/v1/vision.pb.gw.go b/service/vision/v1/vision.pb.gw.go index ca0af013..0fcab91a 100644 --- a/service/vision/v1/vision.pb.gw.go +++ b/service/vision/v1/vision.pb.gw.go @@ -804,21 +804,21 @@ func RegisterVisionServiceHandlerServer(ctx context.Context, mux *runtime.ServeM // RegisterVisionServiceHandlerFromEndpoint is same as RegisterVisionServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterVisionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/stream/v1/stream.pb.go b/stream/v1/stream.pb.go index 024ebb6b..d2369d7f 100644 --- a/stream/v1/stream.pb.go +++ b/stream/v1/stream.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: stream/v1/stream.proto @@ -29,11 +29,9 @@ type ListStreamsRequest struct { func (x *ListStreamsRequest) Reset() { *x = ListStreamsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_v1_stream_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_v1_stream_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListStreamsRequest) String() string { @@ -44,7 +42,7 @@ func (*ListStreamsRequest) ProtoMessage() {} func (x *ListStreamsRequest) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -70,11 +68,9 @@ type ListStreamsResponse struct { func (x *ListStreamsResponse) Reset() { *x = ListStreamsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_v1_stream_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_v1_stream_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ListStreamsResponse) String() string { @@ -85,7 +81,7 @@ func (*ListStreamsResponse) ProtoMessage() {} func (x *ListStreamsResponse) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -118,11 +114,9 @@ type AddStreamRequest struct { func (x *AddStreamRequest) Reset() { *x = AddStreamRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_v1_stream_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_v1_stream_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddStreamRequest) String() string { @@ -133,7 +127,7 @@ func (*AddStreamRequest) ProtoMessage() {} func (x *AddStreamRequest) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -164,11 +158,9 @@ type AddStreamResponse struct { func (x *AddStreamResponse) Reset() { *x = AddStreamResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_v1_stream_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_v1_stream_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddStreamResponse) String() string { @@ -179,7 +171,7 @@ func (*AddStreamResponse) ProtoMessage() {} func (x *AddStreamResponse) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -205,11 +197,9 @@ type RemoveStreamRequest struct { func (x *RemoveStreamRequest) Reset() { *x = RemoveStreamRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_v1_stream_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_v1_stream_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveStreamRequest) String() string { @@ -220,7 +210,7 @@ func (*RemoveStreamRequest) ProtoMessage() {} func (x *RemoveStreamRequest) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -251,11 +241,9 @@ type RemoveStreamResponse struct { func (x *RemoveStreamResponse) Reset() { *x = RemoveStreamResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_v1_stream_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_v1_stream_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveStreamResponse) String() string { @@ -266,7 +254,7 @@ func (*RemoveStreamResponse) ProtoMessage() {} func (x *RemoveStreamResponse) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -293,11 +281,9 @@ type Resolution struct { func (x *Resolution) Reset() { *x = Resolution{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_v1_stream_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_v1_stream_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Resolution) String() string { @@ -308,7 +294,7 @@ func (*Resolution) ProtoMessage() {} func (x *Resolution) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -348,11 +334,9 @@ type GetStreamOptionsRequest struct { func (x *GetStreamOptionsRequest) Reset() { *x = GetStreamOptionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_v1_stream_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_v1_stream_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetStreamOptionsRequest) String() string { @@ -363,7 +347,7 @@ func (*GetStreamOptionsRequest) ProtoMessage() {} func (x *GetStreamOptionsRequest) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -396,11 +380,9 @@ type GetStreamOptionsResponse struct { func (x *GetStreamOptionsResponse) Reset() { *x = GetStreamOptionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_v1_stream_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_v1_stream_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetStreamOptionsResponse) String() string { @@ -411,7 +393,7 @@ func (*GetStreamOptionsResponse) ProtoMessage() {} func (x *GetStreamOptionsResponse) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -445,11 +427,9 @@ type SetStreamOptionsRequest struct { func (x *SetStreamOptionsRequest) Reset() { *x = SetStreamOptionsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_v1_stream_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_v1_stream_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetStreamOptionsRequest) String() string { @@ -460,7 +440,7 @@ func (*SetStreamOptionsRequest) ProtoMessage() {} func (x *SetStreamOptionsRequest) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -498,11 +478,9 @@ type SetStreamOptionsResponse struct { func (x *SetStreamOptionsResponse) Reset() { *x = SetStreamOptionsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_stream_v1_stream_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_stream_v1_stream_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetStreamOptionsResponse) String() string { @@ -513,7 +491,7 @@ func (*SetStreamOptionsResponse) ProtoMessage() {} func (x *SetStreamOptionsResponse) ProtoReflect() protoreflect.Message { mi := &file_stream_v1_stream_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -617,7 +595,7 @@ func file_stream_v1_stream_proto_rawDescGZIP() []byte { } var file_stream_v1_stream_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_stream_v1_stream_proto_goTypes = []interface{}{ +var file_stream_v1_stream_proto_goTypes = []any{ (*ListStreamsRequest)(nil), // 0: proto.stream.v1.ListStreamsRequest (*ListStreamsResponse)(nil), // 1: proto.stream.v1.ListStreamsResponse (*AddStreamRequest)(nil), // 2: proto.stream.v1.AddStreamRequest @@ -655,140 +633,6 @@ func file_stream_v1_stream_proto_init() { if File_stream_v1_stream_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_stream_v1_stream_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListStreamsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_stream_v1_stream_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListStreamsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_stream_v1_stream_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddStreamRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_stream_v1_stream_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddStreamResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_stream_v1_stream_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveStreamRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_stream_v1_stream_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveStreamResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_stream_v1_stream_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Resolution); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_stream_v1_stream_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetStreamOptionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_stream_v1_stream_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetStreamOptionsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_stream_v1_stream_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetStreamOptionsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_stream_v1_stream_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetStreamOptionsResponse); 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{ diff --git a/stream/v1/stream.pb.gw.go b/stream/v1/stream.pb.gw.go index aa5e3d42..3cd878df 100644 --- a/stream/v1/stream.pb.gw.go +++ b/stream/v1/stream.pb.gw.go @@ -35,11 +35,7 @@ func request_StreamService_ListStreams_0(ctx context.Context, marshaler runtime. var protoReq ListStreamsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,11 +48,7 @@ func local_request_StreamService_ListStreams_0(ctx context.Context, marshaler ru var protoReq ListStreamsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -69,11 +61,7 @@ func request_StreamService_AddStream_0(ctx context.Context, marshaler runtime.Ma var protoReq AddStreamRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -86,11 +74,7 @@ func local_request_StreamService_AddStream_0(ctx context.Context, marshaler runt var protoReq AddStreamRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -103,11 +87,7 @@ func request_StreamService_GetStreamOptions_0(ctx context.Context, marshaler run var protoReq GetStreamOptionsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -120,11 +100,7 @@ func local_request_StreamService_GetStreamOptions_0(ctx context.Context, marshal var protoReq GetStreamOptionsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,11 +113,7 @@ func request_StreamService_SetStreamOptions_0(ctx context.Context, marshaler run var protoReq SetStreamOptionsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -154,11 +126,7 @@ func local_request_StreamService_SetStreamOptions_0(ctx context.Context, marshal var protoReq SetStreamOptionsRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -171,11 +139,7 @@ func request_StreamService_RemoveStream_0(ctx context.Context, marshaler runtime var protoReq RemoveStreamRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -188,11 +152,7 @@ func local_request_StreamService_RemoveStream_0(ctx context.Context, marshaler r var protoReq RemoveStreamRequest var metadata runtime.ServerMetadata - newReader, berr := utilities.IOReaderFactory(req.Body) - if berr != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) - } - if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -338,21 +298,21 @@ func RegisterStreamServiceHandlerServer(ctx context.Context, mux *runtime.ServeM // RegisterStreamServiceHandlerFromEndpoint is same as RegisterStreamServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterStreamServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.Dial(endpoint, opts...) + conn, err := grpc.NewClient(endpoint, opts...) if err != nil { return err } defer func() { if err != nil { if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } return } go func() { <-ctx.Done() if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + grpclog.Errorf("Failed to close conn to %s: %v", endpoint, cerr) } }() }() diff --git a/tagger/v1/tagger.pb.go b/tagger/v1/tagger.pb.go index ceb92b0e..5a7b9515 100644 --- a/tagger/v1/tagger.pb.go +++ b/tagger/v1/tagger.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.35.1 // protoc (unknown) // source: tagger/v1/tagger.proto @@ -76,7 +76,7 @@ var file_tagger_v1_tagger_proto_rawDesc = []byte{ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var file_tagger_v1_tagger_proto_goTypes = []interface{}{ +var file_tagger_v1_tagger_proto_goTypes = []any{ (*descriptorpb.FieldOptions)(nil), // 0: google.protobuf.FieldOptions (*descriptorpb.OneofOptions)(nil), // 1: google.protobuf.OneofOptions } From f50591ecb8386ce544d552e85940b8125697a25a Mon Sep 17 00:00:00 2001 From: Julia Ruddy Date: Mon, 11 Nov 2024 17:15:36 -0500 Subject: [PATCH 4/6] roxy comments --- proto/viam/app/v1/app.proto | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/proto/viam/app/v1/app.proto b/proto/viam/app/v1/app.proto index ae27ef15..ac05485a 100644 --- a/proto/viam/app/v1/app.proto +++ b/proto/viam/app/v1/app.proto @@ -69,7 +69,7 @@ service AppService { rpc UpdateBillingService(UpdateBillingServiceRequest) returns (UpdateBillingServiceResponse); - rpc GetBillingService(UpdateBillingServiceRequest) returns (UpdateBillingServiceResponse); + rpc GetBillingServiceConfig(GetBillingServiceConfigRequest) returns (GetBillingServiceConfigResponse); rpc OrganizationSetSupportEmail(OrganizationSetSupportEmailRequest) returns (OrganizationSetSupportEmailResponse); @@ -449,12 +449,15 @@ message UpdateBillingServiceRequest { message UpdateBillingServiceResponse {} -message GetBillingServiceRequest { +message GetBillingServiceConfigRequest { string org_id = 1; } -message GetBillingServiceResponse { +message GetBillingServiceConfigResponse { BillingAddress billing_address = 1; + string support_email = 2; + string logo_url = 3; + string billing_dashboard_url = 4; } message DisableBillingServiceRequest { From 10dcd9df7451f74b3a03f2e4e53cd5fd22038b41 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:58:16 +0000 Subject: [PATCH 5/6] Built new protos from f50591e --- app/v1/app.pb.go | 5061 +++++++++++++++-------------- app/v1/app.pb.gw.go | 77 + app/v1/app_grpc.pb.go | 36 + gen/js/app/v1/app_grpc_web_pb.js | 61 + gen/js/app/v1/app_pb.d.ts | 54 + gen/js/app/v1/app_pb.js | 415 +++ gen/js/app/v1/app_pb_service.d.ts | 19 + gen/js/app/v1/app_pb_service.js | 40 + 8 files changed, 3304 insertions(+), 2459 deletions(-) diff --git a/app/v1/app.pb.go b/app/v1/app.pb.go index 1b3b8043..771d9bff 100644 --- a/app/v1/app.pb.go +++ b/app/v1/app.pb.go @@ -340,7 +340,7 @@ func (x SharedSecret_State) Number() protoreflect.EnumNumber { // Deprecated: Use SharedSecret_State.Descriptor instead. func (SharedSecret_State) EnumDescriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{47, 0} + return file_app_v1_app_proto_rawDescGZIP(), []int{49, 0} } type Robot struct { @@ -2367,6 +2367,120 @@ func (*UpdateBillingServiceResponse) Descriptor() ([]byte, []int) { return file_app_v1_app_proto_rawDescGZIP(), []int{35} } +type GetBillingServiceConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` +} + +func (x *GetBillingServiceConfigRequest) Reset() { + *x = GetBillingServiceConfigRequest{} + mi := &file_app_v1_app_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *GetBillingServiceConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBillingServiceConfigRequest) ProtoMessage() {} + +func (x *GetBillingServiceConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_app_v1_app_proto_msgTypes[36] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBillingServiceConfigRequest.ProtoReflect.Descriptor instead. +func (*GetBillingServiceConfigRequest) Descriptor() ([]byte, []int) { + return file_app_v1_app_proto_rawDescGZIP(), []int{36} +} + +func (x *GetBillingServiceConfigRequest) GetOrgId() string { + if x != nil { + return x.OrgId + } + return "" +} + +type GetBillingServiceConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BillingAddress *BillingAddress `protobuf:"bytes,1,opt,name=billing_address,json=billingAddress,proto3" json:"billing_address,omitempty"` + SupportEmail string `protobuf:"bytes,2,opt,name=support_email,json=supportEmail,proto3" json:"support_email,omitempty"` + LogoUrl string `protobuf:"bytes,3,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"` + BillingDashboardUrl string `protobuf:"bytes,4,opt,name=billing_dashboard_url,json=billingDashboardUrl,proto3" json:"billing_dashboard_url,omitempty"` +} + +func (x *GetBillingServiceConfigResponse) Reset() { + *x = GetBillingServiceConfigResponse{} + mi := &file_app_v1_app_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *GetBillingServiceConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBillingServiceConfigResponse) ProtoMessage() {} + +func (x *GetBillingServiceConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_app_v1_app_proto_msgTypes[37] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBillingServiceConfigResponse.ProtoReflect.Descriptor instead. +func (*GetBillingServiceConfigResponse) Descriptor() ([]byte, []int) { + return file_app_v1_app_proto_rawDescGZIP(), []int{37} +} + +func (x *GetBillingServiceConfigResponse) GetBillingAddress() *BillingAddress { + if x != nil { + return x.BillingAddress + } + return nil +} + +func (x *GetBillingServiceConfigResponse) GetSupportEmail() string { + if x != nil { + return x.SupportEmail + } + return "" +} + +func (x *GetBillingServiceConfigResponse) GetLogoUrl() string { + if x != nil { + return x.LogoUrl + } + return "" +} + +func (x *GetBillingServiceConfigResponse) GetBillingDashboardUrl() string { + if x != nil { + return x.BillingDashboardUrl + } + return "" +} + type DisableBillingServiceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2377,7 +2491,7 @@ type DisableBillingServiceRequest struct { func (x *DisableBillingServiceRequest) Reset() { *x = DisableBillingServiceRequest{} - mi := &file_app_v1_app_proto_msgTypes[36] + mi := &file_app_v1_app_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2389,7 +2503,7 @@ func (x *DisableBillingServiceRequest) String() string { func (*DisableBillingServiceRequest) ProtoMessage() {} func (x *DisableBillingServiceRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[36] + mi := &file_app_v1_app_proto_msgTypes[38] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2402,7 +2516,7 @@ func (x *DisableBillingServiceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DisableBillingServiceRequest.ProtoReflect.Descriptor instead. func (*DisableBillingServiceRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{36} + return file_app_v1_app_proto_rawDescGZIP(), []int{38} } func (x *DisableBillingServiceRequest) GetOrgId() string { @@ -2420,7 +2534,7 @@ type DisableBillingServiceResponse struct { func (x *DisableBillingServiceResponse) Reset() { *x = DisableBillingServiceResponse{} - mi := &file_app_v1_app_proto_msgTypes[37] + mi := &file_app_v1_app_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2432,7 +2546,7 @@ func (x *DisableBillingServiceResponse) String() string { func (*DisableBillingServiceResponse) ProtoMessage() {} func (x *DisableBillingServiceResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[37] + mi := &file_app_v1_app_proto_msgTypes[39] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2445,7 +2559,7 @@ func (x *DisableBillingServiceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DisableBillingServiceResponse.ProtoReflect.Descriptor instead. func (*DisableBillingServiceResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{37} + return file_app_v1_app_proto_rawDescGZIP(), []int{39} } type OrganizationSetSupportEmailRequest struct { @@ -2459,7 +2573,7 @@ type OrganizationSetSupportEmailRequest struct { func (x *OrganizationSetSupportEmailRequest) Reset() { *x = OrganizationSetSupportEmailRequest{} - mi := &file_app_v1_app_proto_msgTypes[38] + mi := &file_app_v1_app_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2471,7 +2585,7 @@ func (x *OrganizationSetSupportEmailRequest) String() string { func (*OrganizationSetSupportEmailRequest) ProtoMessage() {} func (x *OrganizationSetSupportEmailRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[38] + mi := &file_app_v1_app_proto_msgTypes[40] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2484,7 +2598,7 @@ func (x *OrganizationSetSupportEmailRequest) ProtoReflect() protoreflect.Message // Deprecated: Use OrganizationSetSupportEmailRequest.ProtoReflect.Descriptor instead. func (*OrganizationSetSupportEmailRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{38} + return file_app_v1_app_proto_rawDescGZIP(), []int{40} } func (x *OrganizationSetSupportEmailRequest) GetOrgId() string { @@ -2509,7 +2623,7 @@ type OrganizationSetSupportEmailResponse struct { func (x *OrganizationSetSupportEmailResponse) Reset() { *x = OrganizationSetSupportEmailResponse{} - mi := &file_app_v1_app_proto_msgTypes[39] + mi := &file_app_v1_app_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2521,7 +2635,7 @@ func (x *OrganizationSetSupportEmailResponse) String() string { func (*OrganizationSetSupportEmailResponse) ProtoMessage() {} func (x *OrganizationSetSupportEmailResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[39] + mi := &file_app_v1_app_proto_msgTypes[41] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2534,7 +2648,7 @@ func (x *OrganizationSetSupportEmailResponse) ProtoReflect() protoreflect.Messag // Deprecated: Use OrganizationSetSupportEmailResponse.ProtoReflect.Descriptor instead. func (*OrganizationSetSupportEmailResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{39} + return file_app_v1_app_proto_rawDescGZIP(), []int{41} } type OrganizationGetSupportEmailRequest struct { @@ -2547,7 +2661,7 @@ type OrganizationGetSupportEmailRequest struct { func (x *OrganizationGetSupportEmailRequest) Reset() { *x = OrganizationGetSupportEmailRequest{} - mi := &file_app_v1_app_proto_msgTypes[40] + mi := &file_app_v1_app_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2559,7 +2673,7 @@ func (x *OrganizationGetSupportEmailRequest) String() string { func (*OrganizationGetSupportEmailRequest) ProtoMessage() {} func (x *OrganizationGetSupportEmailRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[40] + mi := &file_app_v1_app_proto_msgTypes[42] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2572,7 +2686,7 @@ func (x *OrganizationGetSupportEmailRequest) ProtoReflect() protoreflect.Message // Deprecated: Use OrganizationGetSupportEmailRequest.ProtoReflect.Descriptor instead. func (*OrganizationGetSupportEmailRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{40} + return file_app_v1_app_proto_rawDescGZIP(), []int{42} } func (x *OrganizationGetSupportEmailRequest) GetOrgId() string { @@ -2592,7 +2706,7 @@ type OrganizationGetSupportEmailResponse struct { func (x *OrganizationGetSupportEmailResponse) Reset() { *x = OrganizationGetSupportEmailResponse{} - mi := &file_app_v1_app_proto_msgTypes[41] + mi := &file_app_v1_app_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2604,7 +2718,7 @@ func (x *OrganizationGetSupportEmailResponse) String() string { func (*OrganizationGetSupportEmailResponse) ProtoMessage() {} func (x *OrganizationGetSupportEmailResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[41] + mi := &file_app_v1_app_proto_msgTypes[43] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2617,7 +2731,7 @@ func (x *OrganizationGetSupportEmailResponse) ProtoReflect() protoreflect.Messag // Deprecated: Use OrganizationGetSupportEmailResponse.ProtoReflect.Descriptor instead. func (*OrganizationGetSupportEmailResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{41} + return file_app_v1_app_proto_rawDescGZIP(), []int{43} } func (x *OrganizationGetSupportEmailResponse) GetEmail() string { @@ -2642,7 +2756,7 @@ type OrganizationIdentity struct { func (x *OrganizationIdentity) Reset() { *x = OrganizationIdentity{} - mi := &file_app_v1_app_proto_msgTypes[42] + mi := &file_app_v1_app_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2654,7 +2768,7 @@ func (x *OrganizationIdentity) String() string { func (*OrganizationIdentity) ProtoMessage() {} func (x *OrganizationIdentity) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[42] + mi := &file_app_v1_app_proto_msgTypes[44] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2667,7 +2781,7 @@ func (x *OrganizationIdentity) ProtoReflect() protoreflect.Message { // Deprecated: Use OrganizationIdentity.ProtoReflect.Descriptor instead. func (*OrganizationIdentity) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{42} + return file_app_v1_app_proto_rawDescGZIP(), []int{44} } func (x *OrganizationIdentity) GetId() string { @@ -2697,7 +2811,7 @@ type LocationOrganization struct { func (x *LocationOrganization) Reset() { *x = LocationOrganization{} - mi := &file_app_v1_app_proto_msgTypes[43] + mi := &file_app_v1_app_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2709,7 +2823,7 @@ func (x *LocationOrganization) String() string { func (*LocationOrganization) ProtoMessage() {} func (x *LocationOrganization) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[43] + mi := &file_app_v1_app_proto_msgTypes[45] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2722,7 +2836,7 @@ func (x *LocationOrganization) ProtoReflect() protoreflect.Message { // Deprecated: Use LocationOrganization.ProtoReflect.Descriptor instead. func (*LocationOrganization) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{43} + return file_app_v1_app_proto_rawDescGZIP(), []int{45} } func (x *LocationOrganization) GetOrganizationId() string { @@ -2756,7 +2870,7 @@ type LocationAuth struct { func (x *LocationAuth) Reset() { *x = LocationAuth{} - mi := &file_app_v1_app_proto_msgTypes[44] + mi := &file_app_v1_app_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2768,7 +2882,7 @@ func (x *LocationAuth) String() string { func (*LocationAuth) ProtoMessage() {} func (x *LocationAuth) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[44] + mi := &file_app_v1_app_proto_msgTypes[46] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2781,7 +2895,7 @@ func (x *LocationAuth) ProtoReflect() protoreflect.Message { // Deprecated: Use LocationAuth.ProtoReflect.Descriptor instead. func (*LocationAuth) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{44} + return file_app_v1_app_proto_rawDescGZIP(), []int{46} } // Deprecated: Marked as deprecated in app/v1/app.proto. @@ -2817,7 +2931,7 @@ type StorageConfig struct { func (x *StorageConfig) Reset() { *x = StorageConfig{} - mi := &file_app_v1_app_proto_msgTypes[45] + mi := &file_app_v1_app_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2829,7 +2943,7 @@ func (x *StorageConfig) String() string { func (*StorageConfig) ProtoMessage() {} func (x *StorageConfig) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[45] + mi := &file_app_v1_app_proto_msgTypes[47] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2842,7 +2956,7 @@ func (x *StorageConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use StorageConfig.ProtoReflect.Descriptor instead. func (*StorageConfig) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{45} + return file_app_v1_app_proto_rawDescGZIP(), []int{47} } func (x *StorageConfig) GetRegion() string { @@ -2876,7 +2990,7 @@ type Location struct { func (x *Location) Reset() { *x = Location{} - mi := &file_app_v1_app_proto_msgTypes[46] + mi := &file_app_v1_app_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2888,7 +3002,7 @@ func (x *Location) String() string { func (*Location) ProtoMessage() {} func (x *Location) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[46] + mi := &file_app_v1_app_proto_msgTypes[48] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2901,7 +3015,7 @@ func (x *Location) ProtoReflect() protoreflect.Message { // Deprecated: Use Location.ProtoReflect.Descriptor instead. func (*Location) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{46} + return file_app_v1_app_proto_rawDescGZIP(), []int{48} } func (x *Location) GetId() string { @@ -2978,7 +3092,7 @@ type SharedSecret struct { func (x *SharedSecret) Reset() { *x = SharedSecret{} - mi := &file_app_v1_app_proto_msgTypes[47] + mi := &file_app_v1_app_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2990,7 +3104,7 @@ func (x *SharedSecret) String() string { func (*SharedSecret) ProtoMessage() {} func (x *SharedSecret) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[47] + mi := &file_app_v1_app_proto_msgTypes[49] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3003,7 +3117,7 @@ func (x *SharedSecret) ProtoReflect() protoreflect.Message { // Deprecated: Use SharedSecret.ProtoReflect.Descriptor instead. func (*SharedSecret) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{47} + return file_app_v1_app_proto_rawDescGZIP(), []int{49} } func (x *SharedSecret) GetId() string { @@ -3049,7 +3163,7 @@ type CreateLocationRequest struct { func (x *CreateLocationRequest) Reset() { *x = CreateLocationRequest{} - mi := &file_app_v1_app_proto_msgTypes[48] + mi := &file_app_v1_app_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3061,7 +3175,7 @@ func (x *CreateLocationRequest) String() string { func (*CreateLocationRequest) ProtoMessage() {} func (x *CreateLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[48] + mi := &file_app_v1_app_proto_msgTypes[50] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3074,7 +3188,7 @@ func (x *CreateLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateLocationRequest.ProtoReflect.Descriptor instead. func (*CreateLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{48} + return file_app_v1_app_proto_rawDescGZIP(), []int{50} } func (x *CreateLocationRequest) GetOrganizationId() string { @@ -3109,7 +3223,7 @@ type CreateLocationResponse struct { func (x *CreateLocationResponse) Reset() { *x = CreateLocationResponse{} - mi := &file_app_v1_app_proto_msgTypes[49] + mi := &file_app_v1_app_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3121,7 +3235,7 @@ func (x *CreateLocationResponse) String() string { func (*CreateLocationResponse) ProtoMessage() {} func (x *CreateLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[49] + mi := &file_app_v1_app_proto_msgTypes[51] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3134,7 +3248,7 @@ func (x *CreateLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateLocationResponse.ProtoReflect.Descriptor instead. func (*CreateLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{49} + return file_app_v1_app_proto_rawDescGZIP(), []int{51} } func (x *CreateLocationResponse) GetLocation() *Location { @@ -3155,7 +3269,7 @@ type GetLocationRequest struct { func (x *GetLocationRequest) Reset() { *x = GetLocationRequest{} - mi := &file_app_v1_app_proto_msgTypes[50] + mi := &file_app_v1_app_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3167,7 +3281,7 @@ func (x *GetLocationRequest) String() string { func (*GetLocationRequest) ProtoMessage() {} func (x *GetLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[50] + mi := &file_app_v1_app_proto_msgTypes[52] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3180,7 +3294,7 @@ func (x *GetLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetLocationRequest.ProtoReflect.Descriptor instead. func (*GetLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{50} + return file_app_v1_app_proto_rawDescGZIP(), []int{52} } func (x *GetLocationRequest) GetLocationId() string { @@ -3201,7 +3315,7 @@ type GetLocationResponse struct { func (x *GetLocationResponse) Reset() { *x = GetLocationResponse{} - mi := &file_app_v1_app_proto_msgTypes[51] + mi := &file_app_v1_app_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3213,7 +3327,7 @@ func (x *GetLocationResponse) String() string { func (*GetLocationResponse) ProtoMessage() {} func (x *GetLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[51] + mi := &file_app_v1_app_proto_msgTypes[53] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3226,7 +3340,7 @@ func (x *GetLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetLocationResponse.ProtoReflect.Descriptor instead. func (*GetLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{51} + return file_app_v1_app_proto_rawDescGZIP(), []int{53} } func (x *GetLocationResponse) GetLocation() *Location { @@ -3253,7 +3367,7 @@ type UpdateLocationRequest struct { func (x *UpdateLocationRequest) Reset() { *x = UpdateLocationRequest{} - mi := &file_app_v1_app_proto_msgTypes[52] + mi := &file_app_v1_app_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3265,7 +3379,7 @@ func (x *UpdateLocationRequest) String() string { func (*UpdateLocationRequest) ProtoMessage() {} func (x *UpdateLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[52] + mi := &file_app_v1_app_proto_msgTypes[54] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3278,7 +3392,7 @@ func (x *UpdateLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateLocationRequest.ProtoReflect.Descriptor instead. func (*UpdateLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{52} + return file_app_v1_app_proto_rawDescGZIP(), []int{54} } func (x *UpdateLocationRequest) GetLocationId() string { @@ -3320,7 +3434,7 @@ type UpdateLocationResponse struct { func (x *UpdateLocationResponse) Reset() { *x = UpdateLocationResponse{} - mi := &file_app_v1_app_proto_msgTypes[53] + mi := &file_app_v1_app_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3332,7 +3446,7 @@ func (x *UpdateLocationResponse) String() string { func (*UpdateLocationResponse) ProtoMessage() {} func (x *UpdateLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[53] + mi := &file_app_v1_app_proto_msgTypes[55] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3345,7 +3459,7 @@ func (x *UpdateLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateLocationResponse.ProtoReflect.Descriptor instead. func (*UpdateLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{53} + return file_app_v1_app_proto_rawDescGZIP(), []int{55} } func (x *UpdateLocationResponse) GetLocation() *Location { @@ -3366,7 +3480,7 @@ type DeleteLocationRequest struct { func (x *DeleteLocationRequest) Reset() { *x = DeleteLocationRequest{} - mi := &file_app_v1_app_proto_msgTypes[54] + mi := &file_app_v1_app_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3378,7 +3492,7 @@ func (x *DeleteLocationRequest) String() string { func (*DeleteLocationRequest) ProtoMessage() {} func (x *DeleteLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[54] + mi := &file_app_v1_app_proto_msgTypes[56] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3391,7 +3505,7 @@ func (x *DeleteLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteLocationRequest.ProtoReflect.Descriptor instead. func (*DeleteLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{54} + return file_app_v1_app_proto_rawDescGZIP(), []int{56} } func (x *DeleteLocationRequest) GetLocationId() string { @@ -3409,7 +3523,7 @@ type DeleteLocationResponse struct { func (x *DeleteLocationResponse) Reset() { *x = DeleteLocationResponse{} - mi := &file_app_v1_app_proto_msgTypes[55] + mi := &file_app_v1_app_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3421,7 +3535,7 @@ func (x *DeleteLocationResponse) String() string { func (*DeleteLocationResponse) ProtoMessage() {} func (x *DeleteLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[55] + mi := &file_app_v1_app_proto_msgTypes[57] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3434,7 +3548,7 @@ func (x *DeleteLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteLocationResponse.ProtoReflect.Descriptor instead. func (*DeleteLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{55} + return file_app_v1_app_proto_rawDescGZIP(), []int{57} } type GetOrganizationsWithAccessToLocationRequest struct { @@ -3447,7 +3561,7 @@ type GetOrganizationsWithAccessToLocationRequest struct { func (x *GetOrganizationsWithAccessToLocationRequest) Reset() { *x = GetOrganizationsWithAccessToLocationRequest{} - mi := &file_app_v1_app_proto_msgTypes[56] + mi := &file_app_v1_app_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3459,7 +3573,7 @@ func (x *GetOrganizationsWithAccessToLocationRequest) String() string { func (*GetOrganizationsWithAccessToLocationRequest) ProtoMessage() {} func (x *GetOrganizationsWithAccessToLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[56] + mi := &file_app_v1_app_proto_msgTypes[58] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3472,7 +3586,7 @@ func (x *GetOrganizationsWithAccessToLocationRequest) ProtoReflect() protoreflec // Deprecated: Use GetOrganizationsWithAccessToLocationRequest.ProtoReflect.Descriptor instead. func (*GetOrganizationsWithAccessToLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{56} + return file_app_v1_app_proto_rawDescGZIP(), []int{58} } func (x *GetOrganizationsWithAccessToLocationRequest) GetLocationId() string { @@ -3492,7 +3606,7 @@ type GetOrganizationsWithAccessToLocationResponse struct { func (x *GetOrganizationsWithAccessToLocationResponse) Reset() { *x = GetOrganizationsWithAccessToLocationResponse{} - mi := &file_app_v1_app_proto_msgTypes[57] + mi := &file_app_v1_app_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3504,7 +3618,7 @@ func (x *GetOrganizationsWithAccessToLocationResponse) String() string { func (*GetOrganizationsWithAccessToLocationResponse) ProtoMessage() {} func (x *GetOrganizationsWithAccessToLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[57] + mi := &file_app_v1_app_proto_msgTypes[59] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3517,7 +3631,7 @@ func (x *GetOrganizationsWithAccessToLocationResponse) ProtoReflect() protorefle // Deprecated: Use GetOrganizationsWithAccessToLocationResponse.ProtoReflect.Descriptor instead. func (*GetOrganizationsWithAccessToLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{57} + return file_app_v1_app_proto_rawDescGZIP(), []int{59} } func (x *GetOrganizationsWithAccessToLocationResponse) GetOrganizationIdentities() []*OrganizationIdentity { @@ -3538,7 +3652,7 @@ type ListLocationsRequest struct { func (x *ListLocationsRequest) Reset() { *x = ListLocationsRequest{} - mi := &file_app_v1_app_proto_msgTypes[58] + mi := &file_app_v1_app_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3550,7 +3664,7 @@ func (x *ListLocationsRequest) String() string { func (*ListLocationsRequest) ProtoMessage() {} func (x *ListLocationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[58] + mi := &file_app_v1_app_proto_msgTypes[60] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3563,7 +3677,7 @@ func (x *ListLocationsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListLocationsRequest.ProtoReflect.Descriptor instead. func (*ListLocationsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{58} + return file_app_v1_app_proto_rawDescGZIP(), []int{60} } func (x *ListLocationsRequest) GetOrganizationId() string { @@ -3586,7 +3700,7 @@ type ShareLocationRequest struct { func (x *ShareLocationRequest) Reset() { *x = ShareLocationRequest{} - mi := &file_app_v1_app_proto_msgTypes[59] + mi := &file_app_v1_app_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3598,7 +3712,7 @@ func (x *ShareLocationRequest) String() string { func (*ShareLocationRequest) ProtoMessage() {} func (x *ShareLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[59] + mi := &file_app_v1_app_proto_msgTypes[61] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3611,7 +3725,7 @@ func (x *ShareLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ShareLocationRequest.ProtoReflect.Descriptor instead. func (*ShareLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{59} + return file_app_v1_app_proto_rawDescGZIP(), []int{61} } func (x *ShareLocationRequest) GetLocationId() string { @@ -3636,7 +3750,7 @@ type ShareLocationResponse struct { func (x *ShareLocationResponse) Reset() { *x = ShareLocationResponse{} - mi := &file_app_v1_app_proto_msgTypes[60] + mi := &file_app_v1_app_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3648,7 +3762,7 @@ func (x *ShareLocationResponse) String() string { func (*ShareLocationResponse) ProtoMessage() {} func (x *ShareLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[60] + mi := &file_app_v1_app_proto_msgTypes[62] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3661,7 +3775,7 @@ func (x *ShareLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ShareLocationResponse.ProtoReflect.Descriptor instead. func (*ShareLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{60} + return file_app_v1_app_proto_rawDescGZIP(), []int{62} } type UnshareLocationRequest struct { @@ -3677,7 +3791,7 @@ type UnshareLocationRequest struct { func (x *UnshareLocationRequest) Reset() { *x = UnshareLocationRequest{} - mi := &file_app_v1_app_proto_msgTypes[61] + mi := &file_app_v1_app_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3689,7 +3803,7 @@ func (x *UnshareLocationRequest) String() string { func (*UnshareLocationRequest) ProtoMessage() {} func (x *UnshareLocationRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[61] + mi := &file_app_v1_app_proto_msgTypes[63] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3702,7 +3816,7 @@ func (x *UnshareLocationRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UnshareLocationRequest.ProtoReflect.Descriptor instead. func (*UnshareLocationRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{61} + return file_app_v1_app_proto_rawDescGZIP(), []int{63} } func (x *UnshareLocationRequest) GetLocationId() string { @@ -3727,7 +3841,7 @@ type UnshareLocationResponse struct { func (x *UnshareLocationResponse) Reset() { *x = UnshareLocationResponse{} - mi := &file_app_v1_app_proto_msgTypes[62] + mi := &file_app_v1_app_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3739,7 +3853,7 @@ func (x *UnshareLocationResponse) String() string { func (*UnshareLocationResponse) ProtoMessage() {} func (x *UnshareLocationResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[62] + mi := &file_app_v1_app_proto_msgTypes[64] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3752,7 +3866,7 @@ func (x *UnshareLocationResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UnshareLocationResponse.ProtoReflect.Descriptor instead. func (*UnshareLocationResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{62} + return file_app_v1_app_proto_rawDescGZIP(), []int{64} } type ListLocationsResponse struct { @@ -3765,7 +3879,7 @@ type ListLocationsResponse struct { func (x *ListLocationsResponse) Reset() { *x = ListLocationsResponse{} - mi := &file_app_v1_app_proto_msgTypes[63] + mi := &file_app_v1_app_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3777,7 +3891,7 @@ func (x *ListLocationsResponse) String() string { func (*ListLocationsResponse) ProtoMessage() {} func (x *ListLocationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[63] + mi := &file_app_v1_app_proto_msgTypes[65] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3790,7 +3904,7 @@ func (x *ListLocationsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListLocationsResponse.ProtoReflect.Descriptor instead. func (*ListLocationsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{63} + return file_app_v1_app_proto_rawDescGZIP(), []int{65} } func (x *ListLocationsResponse) GetLocations() []*Location { @@ -3811,7 +3925,7 @@ type CreateLocationSecretRequest struct { func (x *CreateLocationSecretRequest) Reset() { *x = CreateLocationSecretRequest{} - mi := &file_app_v1_app_proto_msgTypes[64] + mi := &file_app_v1_app_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3823,7 +3937,7 @@ func (x *CreateLocationSecretRequest) String() string { func (*CreateLocationSecretRequest) ProtoMessage() {} func (x *CreateLocationSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[64] + mi := &file_app_v1_app_proto_msgTypes[66] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3836,7 +3950,7 @@ func (x *CreateLocationSecretRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateLocationSecretRequest.ProtoReflect.Descriptor instead. func (*CreateLocationSecretRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{64} + return file_app_v1_app_proto_rawDescGZIP(), []int{66} } func (x *CreateLocationSecretRequest) GetLocationId() string { @@ -3857,7 +3971,7 @@ type CreateLocationSecretResponse struct { func (x *CreateLocationSecretResponse) Reset() { *x = CreateLocationSecretResponse{} - mi := &file_app_v1_app_proto_msgTypes[65] + mi := &file_app_v1_app_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3869,7 +3983,7 @@ func (x *CreateLocationSecretResponse) String() string { func (*CreateLocationSecretResponse) ProtoMessage() {} func (x *CreateLocationSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[65] + mi := &file_app_v1_app_proto_msgTypes[67] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3882,7 +3996,7 @@ func (x *CreateLocationSecretResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateLocationSecretResponse.ProtoReflect.Descriptor instead. func (*CreateLocationSecretResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{65} + return file_app_v1_app_proto_rawDescGZIP(), []int{67} } func (x *CreateLocationSecretResponse) GetAuth() *LocationAuth { @@ -3903,7 +4017,7 @@ type DeleteLocationSecretRequest struct { func (x *DeleteLocationSecretRequest) Reset() { *x = DeleteLocationSecretRequest{} - mi := &file_app_v1_app_proto_msgTypes[66] + mi := &file_app_v1_app_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3915,7 +4029,7 @@ func (x *DeleteLocationSecretRequest) String() string { func (*DeleteLocationSecretRequest) ProtoMessage() {} func (x *DeleteLocationSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[66] + mi := &file_app_v1_app_proto_msgTypes[68] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3928,7 +4042,7 @@ func (x *DeleteLocationSecretRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteLocationSecretRequest.ProtoReflect.Descriptor instead. func (*DeleteLocationSecretRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{66} + return file_app_v1_app_proto_rawDescGZIP(), []int{68} } func (x *DeleteLocationSecretRequest) GetLocationId() string { @@ -3953,7 +4067,7 @@ type DeleteLocationSecretResponse struct { func (x *DeleteLocationSecretResponse) Reset() { *x = DeleteLocationSecretResponse{} - mi := &file_app_v1_app_proto_msgTypes[67] + mi := &file_app_v1_app_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3965,7 +4079,7 @@ func (x *DeleteLocationSecretResponse) String() string { func (*DeleteLocationSecretResponse) ProtoMessage() {} func (x *DeleteLocationSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[67] + mi := &file_app_v1_app_proto_msgTypes[69] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3978,7 +4092,7 @@ func (x *DeleteLocationSecretResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteLocationSecretResponse.ProtoReflect.Descriptor instead. func (*DeleteLocationSecretResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{67} + return file_app_v1_app_proto_rawDescGZIP(), []int{69} } type LocationAuthRequest struct { @@ -3991,7 +4105,7 @@ type LocationAuthRequest struct { func (x *LocationAuthRequest) Reset() { *x = LocationAuthRequest{} - mi := &file_app_v1_app_proto_msgTypes[68] + mi := &file_app_v1_app_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4003,7 +4117,7 @@ func (x *LocationAuthRequest) String() string { func (*LocationAuthRequest) ProtoMessage() {} func (x *LocationAuthRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[68] + mi := &file_app_v1_app_proto_msgTypes[70] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4016,7 +4130,7 @@ func (x *LocationAuthRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use LocationAuthRequest.ProtoReflect.Descriptor instead. func (*LocationAuthRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{68} + return file_app_v1_app_proto_rawDescGZIP(), []int{70} } func (x *LocationAuthRequest) GetLocationId() string { @@ -4036,7 +4150,7 @@ type LocationAuthResponse struct { func (x *LocationAuthResponse) Reset() { *x = LocationAuthResponse{} - mi := &file_app_v1_app_proto_msgTypes[69] + mi := &file_app_v1_app_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4048,7 +4162,7 @@ func (x *LocationAuthResponse) String() string { func (*LocationAuthResponse) ProtoMessage() {} func (x *LocationAuthResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[69] + mi := &file_app_v1_app_proto_msgTypes[71] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4061,7 +4175,7 @@ func (x *LocationAuthResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use LocationAuthResponse.ProtoReflect.Descriptor instead. func (*LocationAuthResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{69} + return file_app_v1_app_proto_rawDescGZIP(), []int{71} } func (x *LocationAuthResponse) GetAuth() *LocationAuth { @@ -4081,7 +4195,7 @@ type GetRobotRequest struct { func (x *GetRobotRequest) Reset() { *x = GetRobotRequest{} - mi := &file_app_v1_app_proto_msgTypes[70] + mi := &file_app_v1_app_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4093,7 +4207,7 @@ func (x *GetRobotRequest) String() string { func (*GetRobotRequest) ProtoMessage() {} func (x *GetRobotRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[70] + mi := &file_app_v1_app_proto_msgTypes[72] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4106,7 +4220,7 @@ func (x *GetRobotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotRequest.ProtoReflect.Descriptor instead. func (*GetRobotRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{70} + return file_app_v1_app_proto_rawDescGZIP(), []int{72} } func (x *GetRobotRequest) GetId() string { @@ -4126,7 +4240,7 @@ type GetRoverRentalRobotsRequest struct { func (x *GetRoverRentalRobotsRequest) Reset() { *x = GetRoverRentalRobotsRequest{} - mi := &file_app_v1_app_proto_msgTypes[71] + mi := &file_app_v1_app_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4138,7 +4252,7 @@ func (x *GetRoverRentalRobotsRequest) String() string { func (*GetRoverRentalRobotsRequest) ProtoMessage() {} func (x *GetRoverRentalRobotsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[71] + mi := &file_app_v1_app_proto_msgTypes[73] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4151,7 +4265,7 @@ func (x *GetRoverRentalRobotsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoverRentalRobotsRequest.ProtoReflect.Descriptor instead. func (*GetRoverRentalRobotsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{71} + return file_app_v1_app_proto_rawDescGZIP(), []int{73} } func (x *GetRoverRentalRobotsRequest) GetOrgId() string { @@ -4174,7 +4288,7 @@ type RoverRentalRobot struct { func (x *RoverRentalRobot) Reset() { *x = RoverRentalRobot{} - mi := &file_app_v1_app_proto_msgTypes[72] + mi := &file_app_v1_app_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4186,7 +4300,7 @@ func (x *RoverRentalRobot) String() string { func (*RoverRentalRobot) ProtoMessage() {} func (x *RoverRentalRobot) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[72] + mi := &file_app_v1_app_proto_msgTypes[74] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4199,7 +4313,7 @@ func (x *RoverRentalRobot) ProtoReflect() protoreflect.Message { // Deprecated: Use RoverRentalRobot.ProtoReflect.Descriptor instead. func (*RoverRentalRobot) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{72} + return file_app_v1_app_proto_rawDescGZIP(), []int{74} } func (x *RoverRentalRobot) GetRobotId() string { @@ -4240,7 +4354,7 @@ type GetRoverRentalRobotsResponse struct { func (x *GetRoverRentalRobotsResponse) Reset() { *x = GetRoverRentalRobotsResponse{} - mi := &file_app_v1_app_proto_msgTypes[73] + mi := &file_app_v1_app_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4252,7 +4366,7 @@ func (x *GetRoverRentalRobotsResponse) String() string { func (*GetRoverRentalRobotsResponse) ProtoMessage() {} func (x *GetRoverRentalRobotsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[73] + mi := &file_app_v1_app_proto_msgTypes[75] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4265,7 +4379,7 @@ func (x *GetRoverRentalRobotsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRoverRentalRobotsResponse.ProtoReflect.Descriptor instead. func (*GetRoverRentalRobotsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{73} + return file_app_v1_app_proto_rawDescGZIP(), []int{75} } func (x *GetRoverRentalRobotsResponse) GetRobots() []*RoverRentalRobot { @@ -4285,7 +4399,7 @@ type GetRobotResponse struct { func (x *GetRobotResponse) Reset() { *x = GetRobotResponse{} - mi := &file_app_v1_app_proto_msgTypes[74] + mi := &file_app_v1_app_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4297,7 +4411,7 @@ func (x *GetRobotResponse) String() string { func (*GetRobotResponse) ProtoMessage() {} func (x *GetRobotResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[74] + mi := &file_app_v1_app_proto_msgTypes[76] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4310,7 +4424,7 @@ func (x *GetRobotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotResponse.ProtoReflect.Descriptor instead. func (*GetRobotResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{74} + return file_app_v1_app_proto_rawDescGZIP(), []int{76} } func (x *GetRobotResponse) GetRobot() *Robot { @@ -4330,7 +4444,7 @@ type GetRobotPartsRequest struct { func (x *GetRobotPartsRequest) Reset() { *x = GetRobotPartsRequest{} - mi := &file_app_v1_app_proto_msgTypes[75] + mi := &file_app_v1_app_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4342,7 +4456,7 @@ func (x *GetRobotPartsRequest) String() string { func (*GetRobotPartsRequest) ProtoMessage() {} func (x *GetRobotPartsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[75] + mi := &file_app_v1_app_proto_msgTypes[77] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4355,7 +4469,7 @@ func (x *GetRobotPartsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartsRequest.ProtoReflect.Descriptor instead. func (*GetRobotPartsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{75} + return file_app_v1_app_proto_rawDescGZIP(), []int{77} } func (x *GetRobotPartsRequest) GetRobotId() string { @@ -4375,7 +4489,7 @@ type GetRobotPartsResponse struct { func (x *GetRobotPartsResponse) Reset() { *x = GetRobotPartsResponse{} - mi := &file_app_v1_app_proto_msgTypes[76] + mi := &file_app_v1_app_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4387,7 +4501,7 @@ func (x *GetRobotPartsResponse) String() string { func (*GetRobotPartsResponse) ProtoMessage() {} func (x *GetRobotPartsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[76] + mi := &file_app_v1_app_proto_msgTypes[78] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4400,7 +4514,7 @@ func (x *GetRobotPartsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartsResponse.ProtoReflect.Descriptor instead. func (*GetRobotPartsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{76} + return file_app_v1_app_proto_rawDescGZIP(), []int{78} } func (x *GetRobotPartsResponse) GetParts() []*RobotPart { @@ -4420,7 +4534,7 @@ type GetRobotPartRequest struct { func (x *GetRobotPartRequest) Reset() { *x = GetRobotPartRequest{} - mi := &file_app_v1_app_proto_msgTypes[77] + mi := &file_app_v1_app_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4432,7 +4546,7 @@ func (x *GetRobotPartRequest) String() string { func (*GetRobotPartRequest) ProtoMessage() {} func (x *GetRobotPartRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[77] + mi := &file_app_v1_app_proto_msgTypes[79] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4445,7 +4559,7 @@ func (x *GetRobotPartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartRequest.ProtoReflect.Descriptor instead. func (*GetRobotPartRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{77} + return file_app_v1_app_proto_rawDescGZIP(), []int{79} } func (x *GetRobotPartRequest) GetId() string { @@ -4466,7 +4580,7 @@ type GetRobotPartResponse struct { func (x *GetRobotPartResponse) Reset() { *x = GetRobotPartResponse{} - mi := &file_app_v1_app_proto_msgTypes[78] + mi := &file_app_v1_app_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4478,7 +4592,7 @@ func (x *GetRobotPartResponse) String() string { func (*GetRobotPartResponse) ProtoMessage() {} func (x *GetRobotPartResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[78] + mi := &file_app_v1_app_proto_msgTypes[80] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4491,7 +4605,7 @@ func (x *GetRobotPartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartResponse.ProtoReflect.Descriptor instead. func (*GetRobotPartResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{78} + return file_app_v1_app_proto_rawDescGZIP(), []int{80} } func (x *GetRobotPartResponse) GetPart() *RobotPart { @@ -4530,7 +4644,7 @@ type GetRobotPartLogsRequest struct { func (x *GetRobotPartLogsRequest) Reset() { *x = GetRobotPartLogsRequest{} - mi := &file_app_v1_app_proto_msgTypes[79] + mi := &file_app_v1_app_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4542,7 +4656,7 @@ func (x *GetRobotPartLogsRequest) String() string { func (*GetRobotPartLogsRequest) ProtoMessage() {} func (x *GetRobotPartLogsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[79] + mi := &file_app_v1_app_proto_msgTypes[81] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4555,7 +4669,7 @@ func (x *GetRobotPartLogsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartLogsRequest.ProtoReflect.Descriptor instead. func (*GetRobotPartLogsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{79} + return file_app_v1_app_proto_rawDescGZIP(), []int{81} } func (x *GetRobotPartLogsRequest) GetId() string { @@ -4633,7 +4747,7 @@ type GetRobotPartLogsResponse struct { func (x *GetRobotPartLogsResponse) Reset() { *x = GetRobotPartLogsResponse{} - mi := &file_app_v1_app_proto_msgTypes[80] + mi := &file_app_v1_app_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4645,7 +4759,7 @@ func (x *GetRobotPartLogsResponse) String() string { func (*GetRobotPartLogsResponse) ProtoMessage() {} func (x *GetRobotPartLogsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[80] + mi := &file_app_v1_app_proto_msgTypes[82] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4658,7 +4772,7 @@ func (x *GetRobotPartLogsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartLogsResponse.ProtoReflect.Descriptor instead. func (*GetRobotPartLogsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{80} + return file_app_v1_app_proto_rawDescGZIP(), []int{82} } func (x *GetRobotPartLogsResponse) GetLogs() []*v1.LogEntry { @@ -4687,7 +4801,7 @@ type TailRobotPartLogsRequest struct { func (x *TailRobotPartLogsRequest) Reset() { *x = TailRobotPartLogsRequest{} - mi := &file_app_v1_app_proto_msgTypes[81] + mi := &file_app_v1_app_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4699,7 +4813,7 @@ func (x *TailRobotPartLogsRequest) String() string { func (*TailRobotPartLogsRequest) ProtoMessage() {} func (x *TailRobotPartLogsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[81] + mi := &file_app_v1_app_proto_msgTypes[83] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4712,7 +4826,7 @@ func (x *TailRobotPartLogsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TailRobotPartLogsRequest.ProtoReflect.Descriptor instead. func (*TailRobotPartLogsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{81} + return file_app_v1_app_proto_rawDescGZIP(), []int{83} } func (x *TailRobotPartLogsRequest) GetId() string { @@ -4746,7 +4860,7 @@ type TailRobotPartLogsResponse struct { func (x *TailRobotPartLogsResponse) Reset() { *x = TailRobotPartLogsResponse{} - mi := &file_app_v1_app_proto_msgTypes[82] + mi := &file_app_v1_app_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4758,7 +4872,7 @@ func (x *TailRobotPartLogsResponse) String() string { func (*TailRobotPartLogsResponse) ProtoMessage() {} func (x *TailRobotPartLogsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[82] + mi := &file_app_v1_app_proto_msgTypes[84] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4771,7 +4885,7 @@ func (x *TailRobotPartLogsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TailRobotPartLogsResponse.ProtoReflect.Descriptor instead. func (*TailRobotPartLogsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{82} + return file_app_v1_app_proto_rawDescGZIP(), []int{84} } func (x *TailRobotPartLogsResponse) GetLogs() []*v1.LogEntry { @@ -4791,7 +4905,7 @@ type GetRobotPartHistoryRequest struct { func (x *GetRobotPartHistoryRequest) Reset() { *x = GetRobotPartHistoryRequest{} - mi := &file_app_v1_app_proto_msgTypes[83] + mi := &file_app_v1_app_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4803,7 +4917,7 @@ func (x *GetRobotPartHistoryRequest) String() string { func (*GetRobotPartHistoryRequest) ProtoMessage() {} func (x *GetRobotPartHistoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[83] + mi := &file_app_v1_app_proto_msgTypes[85] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4816,7 +4930,7 @@ func (x *GetRobotPartHistoryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartHistoryRequest.ProtoReflect.Descriptor instead. func (*GetRobotPartHistoryRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{83} + return file_app_v1_app_proto_rawDescGZIP(), []int{85} } func (x *GetRobotPartHistoryRequest) GetId() string { @@ -4836,7 +4950,7 @@ type GetRobotPartHistoryResponse struct { func (x *GetRobotPartHistoryResponse) Reset() { *x = GetRobotPartHistoryResponse{} - mi := &file_app_v1_app_proto_msgTypes[84] + mi := &file_app_v1_app_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4848,7 +4962,7 @@ func (x *GetRobotPartHistoryResponse) String() string { func (*GetRobotPartHistoryResponse) ProtoMessage() {} func (x *GetRobotPartHistoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[84] + mi := &file_app_v1_app_proto_msgTypes[86] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4861,7 +4975,7 @@ func (x *GetRobotPartHistoryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotPartHistoryResponse.ProtoReflect.Descriptor instead. func (*GetRobotPartHistoryResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{84} + return file_app_v1_app_proto_rawDescGZIP(), []int{86} } func (x *GetRobotPartHistoryResponse) GetHistory() []*RobotPartHistoryEntry { @@ -4883,7 +4997,7 @@ type UpdateRobotPartRequest struct { func (x *UpdateRobotPartRequest) Reset() { *x = UpdateRobotPartRequest{} - mi := &file_app_v1_app_proto_msgTypes[85] + mi := &file_app_v1_app_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4895,7 +5009,7 @@ func (x *UpdateRobotPartRequest) String() string { func (*UpdateRobotPartRequest) ProtoMessage() {} func (x *UpdateRobotPartRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[85] + mi := &file_app_v1_app_proto_msgTypes[87] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4908,7 +5022,7 @@ func (x *UpdateRobotPartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRobotPartRequest.ProtoReflect.Descriptor instead. func (*UpdateRobotPartRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{85} + return file_app_v1_app_proto_rawDescGZIP(), []int{87} } func (x *UpdateRobotPartRequest) GetId() string { @@ -4942,7 +5056,7 @@ type UpdateRobotPartResponse struct { func (x *UpdateRobotPartResponse) Reset() { *x = UpdateRobotPartResponse{} - mi := &file_app_v1_app_proto_msgTypes[86] + mi := &file_app_v1_app_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4954,7 +5068,7 @@ func (x *UpdateRobotPartResponse) String() string { func (*UpdateRobotPartResponse) ProtoMessage() {} func (x *UpdateRobotPartResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[86] + mi := &file_app_v1_app_proto_msgTypes[88] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4967,7 +5081,7 @@ func (x *UpdateRobotPartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRobotPartResponse.ProtoReflect.Descriptor instead. func (*UpdateRobotPartResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{86} + return file_app_v1_app_proto_rawDescGZIP(), []int{88} } func (x *UpdateRobotPartResponse) GetPart() *RobotPart { @@ -4988,7 +5102,7 @@ type NewRobotPartRequest struct { func (x *NewRobotPartRequest) Reset() { *x = NewRobotPartRequest{} - mi := &file_app_v1_app_proto_msgTypes[87] + mi := &file_app_v1_app_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5000,7 +5114,7 @@ func (x *NewRobotPartRequest) String() string { func (*NewRobotPartRequest) ProtoMessage() {} func (x *NewRobotPartRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[87] + mi := &file_app_v1_app_proto_msgTypes[89] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5013,7 +5127,7 @@ func (x *NewRobotPartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use NewRobotPartRequest.ProtoReflect.Descriptor instead. func (*NewRobotPartRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{87} + return file_app_v1_app_proto_rawDescGZIP(), []int{89} } func (x *NewRobotPartRequest) GetRobotId() string { @@ -5040,7 +5154,7 @@ type NewRobotPartResponse struct { func (x *NewRobotPartResponse) Reset() { *x = NewRobotPartResponse{} - mi := &file_app_v1_app_proto_msgTypes[88] + mi := &file_app_v1_app_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5052,7 +5166,7 @@ func (x *NewRobotPartResponse) String() string { func (*NewRobotPartResponse) ProtoMessage() {} func (x *NewRobotPartResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[88] + mi := &file_app_v1_app_proto_msgTypes[90] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5065,7 +5179,7 @@ func (x *NewRobotPartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use NewRobotPartResponse.ProtoReflect.Descriptor instead. func (*NewRobotPartResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{88} + return file_app_v1_app_proto_rawDescGZIP(), []int{90} } func (x *NewRobotPartResponse) GetPartId() string { @@ -5085,7 +5199,7 @@ type DeleteRobotPartRequest struct { func (x *DeleteRobotPartRequest) Reset() { *x = DeleteRobotPartRequest{} - mi := &file_app_v1_app_proto_msgTypes[89] + mi := &file_app_v1_app_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5097,7 +5211,7 @@ func (x *DeleteRobotPartRequest) String() string { func (*DeleteRobotPartRequest) ProtoMessage() {} func (x *DeleteRobotPartRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[89] + mi := &file_app_v1_app_proto_msgTypes[91] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5110,7 +5224,7 @@ func (x *DeleteRobotPartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotPartRequest.ProtoReflect.Descriptor instead. func (*DeleteRobotPartRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{89} + return file_app_v1_app_proto_rawDescGZIP(), []int{91} } func (x *DeleteRobotPartRequest) GetPartId() string { @@ -5130,7 +5244,7 @@ type GetRobotAPIKeysRequest struct { func (x *GetRobotAPIKeysRequest) Reset() { *x = GetRobotAPIKeysRequest{} - mi := &file_app_v1_app_proto_msgTypes[90] + mi := &file_app_v1_app_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5142,7 +5256,7 @@ func (x *GetRobotAPIKeysRequest) String() string { func (*GetRobotAPIKeysRequest) ProtoMessage() {} func (x *GetRobotAPIKeysRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[90] + mi := &file_app_v1_app_proto_msgTypes[92] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5155,7 +5269,7 @@ func (x *GetRobotAPIKeysRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotAPIKeysRequest.ProtoReflect.Descriptor instead. func (*GetRobotAPIKeysRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{90} + return file_app_v1_app_proto_rawDescGZIP(), []int{92} } func (x *GetRobotAPIKeysRequest) GetRobotId() string { @@ -5178,7 +5292,7 @@ type APIKey struct { func (x *APIKey) Reset() { *x = APIKey{} - mi := &file_app_v1_app_proto_msgTypes[91] + mi := &file_app_v1_app_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5190,7 +5304,7 @@ func (x *APIKey) String() string { func (*APIKey) ProtoMessage() {} func (x *APIKey) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[91] + mi := &file_app_v1_app_proto_msgTypes[93] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5203,7 +5317,7 @@ func (x *APIKey) ProtoReflect() protoreflect.Message { // Deprecated: Use APIKey.ProtoReflect.Descriptor instead. func (*APIKey) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{91} + return file_app_v1_app_proto_rawDescGZIP(), []int{93} } func (x *APIKey) GetId() string { @@ -5244,7 +5358,7 @@ type GetRobotAPIKeysResponse struct { func (x *GetRobotAPIKeysResponse) Reset() { *x = GetRobotAPIKeysResponse{} - mi := &file_app_v1_app_proto_msgTypes[92] + mi := &file_app_v1_app_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5256,7 +5370,7 @@ func (x *GetRobotAPIKeysResponse) String() string { func (*GetRobotAPIKeysResponse) ProtoMessage() {} func (x *GetRobotAPIKeysResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[92] + mi := &file_app_v1_app_proto_msgTypes[94] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5269,7 +5383,7 @@ func (x *GetRobotAPIKeysResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRobotAPIKeysResponse.ProtoReflect.Descriptor instead. func (*GetRobotAPIKeysResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{92} + return file_app_v1_app_proto_rawDescGZIP(), []int{94} } func (x *GetRobotAPIKeysResponse) GetApiKeys() []*APIKeyWithAuthorizations { @@ -5287,7 +5401,7 @@ type DeleteRobotPartResponse struct { func (x *DeleteRobotPartResponse) Reset() { *x = DeleteRobotPartResponse{} - mi := &file_app_v1_app_proto_msgTypes[93] + mi := &file_app_v1_app_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5299,7 +5413,7 @@ func (x *DeleteRobotPartResponse) String() string { func (*DeleteRobotPartResponse) ProtoMessage() {} func (x *DeleteRobotPartResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[93] + mi := &file_app_v1_app_proto_msgTypes[95] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5312,7 +5426,7 @@ func (x *DeleteRobotPartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotPartResponse.ProtoReflect.Descriptor instead. func (*DeleteRobotPartResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{93} + return file_app_v1_app_proto_rawDescGZIP(), []int{95} } type Fragment struct { @@ -5341,7 +5455,7 @@ type Fragment struct { func (x *Fragment) Reset() { *x = Fragment{} - mi := &file_app_v1_app_proto_msgTypes[94] + mi := &file_app_v1_app_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5353,7 +5467,7 @@ func (x *Fragment) String() string { func (*Fragment) ProtoMessage() {} func (x *Fragment) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[94] + mi := &file_app_v1_app_proto_msgTypes[96] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5366,7 +5480,7 @@ func (x *Fragment) ProtoReflect() protoreflect.Message { // Deprecated: Use Fragment.ProtoReflect.Descriptor instead. func (*Fragment) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{94} + return file_app_v1_app_proto_rawDescGZIP(), []int{96} } func (x *Fragment) GetId() string { @@ -5466,7 +5580,7 @@ type FragmentHistoryEntry struct { func (x *FragmentHistoryEntry) Reset() { *x = FragmentHistoryEntry{} - mi := &file_app_v1_app_proto_msgTypes[95] + mi := &file_app_v1_app_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5478,7 +5592,7 @@ func (x *FragmentHistoryEntry) String() string { func (*FragmentHistoryEntry) ProtoMessage() {} func (x *FragmentHistoryEntry) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[95] + mi := &file_app_v1_app_proto_msgTypes[97] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5491,7 +5605,7 @@ func (x *FragmentHistoryEntry) ProtoReflect() protoreflect.Message { // Deprecated: Use FragmentHistoryEntry.ProtoReflect.Descriptor instead. func (*FragmentHistoryEntry) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{95} + return file_app_v1_app_proto_rawDescGZIP(), []int{97} } func (x *FragmentHistoryEntry) GetFragment() string { @@ -5534,7 +5648,7 @@ type FragmentError struct { func (x *FragmentError) Reset() { *x = FragmentError{} - mi := &file_app_v1_app_proto_msgTypes[96] + mi := &file_app_v1_app_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5546,7 +5660,7 @@ func (x *FragmentError) String() string { func (*FragmentError) ProtoMessage() {} func (x *FragmentError) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[96] + mi := &file_app_v1_app_proto_msgTypes[98] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5559,7 +5673,7 @@ func (x *FragmentError) ProtoReflect() protoreflect.Message { // Deprecated: Use FragmentError.ProtoReflect.Descriptor instead. func (*FragmentError) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{96} + return file_app_v1_app_proto_rawDescGZIP(), []int{98} } func (x *FragmentError) GetErrorType() FragmentErrorType { @@ -5595,7 +5709,7 @@ type ResolvedFragment struct { func (x *ResolvedFragment) Reset() { *x = ResolvedFragment{} - mi := &file_app_v1_app_proto_msgTypes[97] + mi := &file_app_v1_app_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5607,7 +5721,7 @@ func (x *ResolvedFragment) String() string { func (*ResolvedFragment) ProtoMessage() {} func (x *ResolvedFragment) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[97] + mi := &file_app_v1_app_proto_msgTypes[99] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5620,7 +5734,7 @@ func (x *ResolvedFragment) ProtoReflect() protoreflect.Message { // Deprecated: Use ResolvedFragment.ProtoReflect.Descriptor instead. func (*ResolvedFragment) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{97} + return file_app_v1_app_proto_rawDescGZIP(), []int{99} } func (x *ResolvedFragment) GetFragmentId() string { @@ -5656,7 +5770,7 @@ type ListFragmentsRequest struct { func (x *ListFragmentsRequest) Reset() { *x = ListFragmentsRequest{} - mi := &file_app_v1_app_proto_msgTypes[98] + mi := &file_app_v1_app_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5668,7 +5782,7 @@ func (x *ListFragmentsRequest) String() string { func (*ListFragmentsRequest) ProtoMessage() {} func (x *ListFragmentsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[98] + mi := &file_app_v1_app_proto_msgTypes[100] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5681,7 +5795,7 @@ func (x *ListFragmentsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListFragmentsRequest.ProtoReflect.Descriptor instead. func (*ListFragmentsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{98} + return file_app_v1_app_proto_rawDescGZIP(), []int{100} } func (x *ListFragmentsRequest) GetOrganizationId() string { @@ -5715,7 +5829,7 @@ type ListFragmentsResponse struct { func (x *ListFragmentsResponse) Reset() { *x = ListFragmentsResponse{} - mi := &file_app_v1_app_proto_msgTypes[99] + mi := &file_app_v1_app_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5727,7 +5841,7 @@ func (x *ListFragmentsResponse) String() string { func (*ListFragmentsResponse) ProtoMessage() {} func (x *ListFragmentsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[99] + mi := &file_app_v1_app_proto_msgTypes[101] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5740,7 +5854,7 @@ func (x *ListFragmentsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListFragmentsResponse.ProtoReflect.Descriptor instead. func (*ListFragmentsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{99} + return file_app_v1_app_proto_rawDescGZIP(), []int{101} } func (x *ListFragmentsResponse) GetFragments() []*Fragment { @@ -5760,7 +5874,7 @@ type GetFragmentRequest struct { func (x *GetFragmentRequest) Reset() { *x = GetFragmentRequest{} - mi := &file_app_v1_app_proto_msgTypes[100] + mi := &file_app_v1_app_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5772,7 +5886,7 @@ func (x *GetFragmentRequest) String() string { func (*GetFragmentRequest) ProtoMessage() {} func (x *GetFragmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[100] + mi := &file_app_v1_app_proto_msgTypes[102] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5785,7 +5899,7 @@ func (x *GetFragmentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFragmentRequest.ProtoReflect.Descriptor instead. func (*GetFragmentRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{100} + return file_app_v1_app_proto_rawDescGZIP(), []int{102} } func (x *GetFragmentRequest) GetId() string { @@ -5805,7 +5919,7 @@ type GetFragmentResponse struct { func (x *GetFragmentResponse) Reset() { *x = GetFragmentResponse{} - mi := &file_app_v1_app_proto_msgTypes[101] + mi := &file_app_v1_app_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5817,7 +5931,7 @@ func (x *GetFragmentResponse) String() string { func (*GetFragmentResponse) ProtoMessage() {} func (x *GetFragmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[101] + mi := &file_app_v1_app_proto_msgTypes[103] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5830,7 +5944,7 @@ func (x *GetFragmentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFragmentResponse.ProtoReflect.Descriptor instead. func (*GetFragmentResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{101} + return file_app_v1_app_proto_rawDescGZIP(), []int{103} } func (x *GetFragmentResponse) GetFragment() *Fragment { @@ -5853,7 +5967,7 @@ type CreateFragmentRequest struct { func (x *CreateFragmentRequest) Reset() { *x = CreateFragmentRequest{} - mi := &file_app_v1_app_proto_msgTypes[102] + mi := &file_app_v1_app_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5865,7 +5979,7 @@ func (x *CreateFragmentRequest) String() string { func (*CreateFragmentRequest) ProtoMessage() {} func (x *CreateFragmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[102] + mi := &file_app_v1_app_proto_msgTypes[104] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5878,7 +5992,7 @@ func (x *CreateFragmentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateFragmentRequest.ProtoReflect.Descriptor instead. func (*CreateFragmentRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{102} + return file_app_v1_app_proto_rawDescGZIP(), []int{104} } func (x *CreateFragmentRequest) GetName() string { @@ -5919,7 +6033,7 @@ type CreateFragmentResponse struct { func (x *CreateFragmentResponse) Reset() { *x = CreateFragmentResponse{} - mi := &file_app_v1_app_proto_msgTypes[103] + mi := &file_app_v1_app_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5931,7 +6045,7 @@ func (x *CreateFragmentResponse) String() string { func (*CreateFragmentResponse) ProtoMessage() {} func (x *CreateFragmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[103] + mi := &file_app_v1_app_proto_msgTypes[105] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5944,7 +6058,7 @@ func (x *CreateFragmentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateFragmentResponse.ProtoReflect.Descriptor instead. func (*CreateFragmentResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{103} + return file_app_v1_app_proto_rawDescGZIP(), []int{105} } func (x *CreateFragmentResponse) GetFragment() *Fragment { @@ -5968,7 +6082,7 @@ type UpdateFragmentRequest struct { func (x *UpdateFragmentRequest) Reset() { *x = UpdateFragmentRequest{} - mi := &file_app_v1_app_proto_msgTypes[104] + mi := &file_app_v1_app_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5980,7 +6094,7 @@ func (x *UpdateFragmentRequest) String() string { func (*UpdateFragmentRequest) ProtoMessage() {} func (x *UpdateFragmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[104] + mi := &file_app_v1_app_proto_msgTypes[106] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5993,7 +6107,7 @@ func (x *UpdateFragmentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateFragmentRequest.ProtoReflect.Descriptor instead. func (*UpdateFragmentRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{104} + return file_app_v1_app_proto_rawDescGZIP(), []int{106} } func (x *UpdateFragmentRequest) GetId() string { @@ -6041,7 +6155,7 @@ type UpdateFragmentResponse struct { func (x *UpdateFragmentResponse) Reset() { *x = UpdateFragmentResponse{} - mi := &file_app_v1_app_proto_msgTypes[105] + mi := &file_app_v1_app_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6053,7 +6167,7 @@ func (x *UpdateFragmentResponse) String() string { func (*UpdateFragmentResponse) ProtoMessage() {} func (x *UpdateFragmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[105] + mi := &file_app_v1_app_proto_msgTypes[107] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6066,7 +6180,7 @@ func (x *UpdateFragmentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateFragmentResponse.ProtoReflect.Descriptor instead. func (*UpdateFragmentResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{105} + return file_app_v1_app_proto_rawDescGZIP(), []int{107} } func (x *UpdateFragmentResponse) GetFragment() *Fragment { @@ -6086,7 +6200,7 @@ type DeleteFragmentRequest struct { func (x *DeleteFragmentRequest) Reset() { *x = DeleteFragmentRequest{} - mi := &file_app_v1_app_proto_msgTypes[106] + mi := &file_app_v1_app_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6098,7 +6212,7 @@ func (x *DeleteFragmentRequest) String() string { func (*DeleteFragmentRequest) ProtoMessage() {} func (x *DeleteFragmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[106] + mi := &file_app_v1_app_proto_msgTypes[108] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6111,7 +6225,7 @@ func (x *DeleteFragmentRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteFragmentRequest.ProtoReflect.Descriptor instead. func (*DeleteFragmentRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{106} + return file_app_v1_app_proto_rawDescGZIP(), []int{108} } func (x *DeleteFragmentRequest) GetId() string { @@ -6129,7 +6243,7 @@ type DeleteFragmentResponse struct { func (x *DeleteFragmentResponse) Reset() { *x = DeleteFragmentResponse{} - mi := &file_app_v1_app_proto_msgTypes[107] + mi := &file_app_v1_app_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6141,7 +6255,7 @@ func (x *DeleteFragmentResponse) String() string { func (*DeleteFragmentResponse) ProtoMessage() {} func (x *DeleteFragmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[107] + mi := &file_app_v1_app_proto_msgTypes[109] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6154,7 +6268,7 @@ func (x *DeleteFragmentResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteFragmentResponse.ProtoReflect.Descriptor instead. func (*DeleteFragmentResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{107} + return file_app_v1_app_proto_rawDescGZIP(), []int{109} } type GetFragmentHistoryRequest struct { @@ -6169,7 +6283,7 @@ type GetFragmentHistoryRequest struct { func (x *GetFragmentHistoryRequest) Reset() { *x = GetFragmentHistoryRequest{} - mi := &file_app_v1_app_proto_msgTypes[108] + mi := &file_app_v1_app_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6181,7 +6295,7 @@ func (x *GetFragmentHistoryRequest) String() string { func (*GetFragmentHistoryRequest) ProtoMessage() {} func (x *GetFragmentHistoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[108] + mi := &file_app_v1_app_proto_msgTypes[110] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6194,7 +6308,7 @@ func (x *GetFragmentHistoryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFragmentHistoryRequest.ProtoReflect.Descriptor instead. func (*GetFragmentHistoryRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{108} + return file_app_v1_app_proto_rawDescGZIP(), []int{110} } func (x *GetFragmentHistoryRequest) GetId() string { @@ -6229,7 +6343,7 @@ type GetFragmentHistoryResponse struct { func (x *GetFragmentHistoryResponse) Reset() { *x = GetFragmentHistoryResponse{} - mi := &file_app_v1_app_proto_msgTypes[109] + mi := &file_app_v1_app_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6241,7 +6355,7 @@ func (x *GetFragmentHistoryResponse) String() string { func (*GetFragmentHistoryResponse) ProtoMessage() {} func (x *GetFragmentHistoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[109] + mi := &file_app_v1_app_proto_msgTypes[111] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6254,7 +6368,7 @@ func (x *GetFragmentHistoryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFragmentHistoryResponse.ProtoReflect.Descriptor instead. func (*GetFragmentHistoryResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{109} + return file_app_v1_app_proto_rawDescGZIP(), []int{111} } func (x *GetFragmentHistoryResponse) GetHistory() []*FragmentHistoryEntry { @@ -6281,7 +6395,7 @@ type ListRobotsRequest struct { func (x *ListRobotsRequest) Reset() { *x = ListRobotsRequest{} - mi := &file_app_v1_app_proto_msgTypes[110] + mi := &file_app_v1_app_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6293,7 +6407,7 @@ func (x *ListRobotsRequest) String() string { func (*ListRobotsRequest) ProtoMessage() {} func (x *ListRobotsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[110] + mi := &file_app_v1_app_proto_msgTypes[112] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6306,7 +6420,7 @@ func (x *ListRobotsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRobotsRequest.ProtoReflect.Descriptor instead. func (*ListRobotsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{110} + return file_app_v1_app_proto_rawDescGZIP(), []int{112} } func (x *ListRobotsRequest) GetLocationId() string { @@ -6331,7 +6445,7 @@ type ListMachineFragmentsRequest struct { func (x *ListMachineFragmentsRequest) Reset() { *x = ListMachineFragmentsRequest{} - mi := &file_app_v1_app_proto_msgTypes[111] + mi := &file_app_v1_app_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6343,7 +6457,7 @@ func (x *ListMachineFragmentsRequest) String() string { func (*ListMachineFragmentsRequest) ProtoMessage() {} func (x *ListMachineFragmentsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[111] + mi := &file_app_v1_app_proto_msgTypes[113] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6356,7 +6470,7 @@ func (x *ListMachineFragmentsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMachineFragmentsRequest.ProtoReflect.Descriptor instead. func (*ListMachineFragmentsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{111} + return file_app_v1_app_proto_rawDescGZIP(), []int{113} } func (x *ListMachineFragmentsRequest) GetMachineId() string { @@ -6384,7 +6498,7 @@ type ListMachineFragmentsResponse struct { func (x *ListMachineFragmentsResponse) Reset() { *x = ListMachineFragmentsResponse{} - mi := &file_app_v1_app_proto_msgTypes[112] + mi := &file_app_v1_app_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6396,7 +6510,7 @@ func (x *ListMachineFragmentsResponse) String() string { func (*ListMachineFragmentsResponse) ProtoMessage() {} func (x *ListMachineFragmentsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[112] + mi := &file_app_v1_app_proto_msgTypes[114] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6409,7 +6523,7 @@ func (x *ListMachineFragmentsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMachineFragmentsResponse.ProtoReflect.Descriptor instead. func (*ListMachineFragmentsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{112} + return file_app_v1_app_proto_rawDescGZIP(), []int{114} } func (x *ListMachineFragmentsResponse) GetFragments() []*Fragment { @@ -6436,7 +6550,7 @@ type ListRobotsResponse struct { func (x *ListRobotsResponse) Reset() { *x = ListRobotsResponse{} - mi := &file_app_v1_app_proto_msgTypes[113] + mi := &file_app_v1_app_proto_msgTypes[115] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6448,7 +6562,7 @@ func (x *ListRobotsResponse) String() string { func (*ListRobotsResponse) ProtoMessage() {} func (x *ListRobotsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[113] + mi := &file_app_v1_app_proto_msgTypes[115] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6461,7 +6575,7 @@ func (x *ListRobotsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRobotsResponse.ProtoReflect.Descriptor instead. func (*ListRobotsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{113} + return file_app_v1_app_proto_rawDescGZIP(), []int{115} } func (x *ListRobotsResponse) GetRobots() []*Robot { @@ -6482,7 +6596,7 @@ type NewRobotRequest struct { func (x *NewRobotRequest) Reset() { *x = NewRobotRequest{} - mi := &file_app_v1_app_proto_msgTypes[114] + mi := &file_app_v1_app_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6494,7 +6608,7 @@ func (x *NewRobotRequest) String() string { func (*NewRobotRequest) ProtoMessage() {} func (x *NewRobotRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[114] + mi := &file_app_v1_app_proto_msgTypes[116] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6507,7 +6621,7 @@ func (x *NewRobotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use NewRobotRequest.ProtoReflect.Descriptor instead. func (*NewRobotRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{114} + return file_app_v1_app_proto_rawDescGZIP(), []int{116} } func (x *NewRobotRequest) GetName() string { @@ -6534,7 +6648,7 @@ type NewRobotResponse struct { func (x *NewRobotResponse) Reset() { *x = NewRobotResponse{} - mi := &file_app_v1_app_proto_msgTypes[115] + mi := &file_app_v1_app_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6546,7 +6660,7 @@ func (x *NewRobotResponse) String() string { func (*NewRobotResponse) ProtoMessage() {} func (x *NewRobotResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[115] + mi := &file_app_v1_app_proto_msgTypes[117] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6559,7 +6673,7 @@ func (x *NewRobotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use NewRobotResponse.ProtoReflect.Descriptor instead. func (*NewRobotResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{115} + return file_app_v1_app_proto_rawDescGZIP(), []int{117} } func (x *NewRobotResponse) GetId() string { @@ -6581,7 +6695,7 @@ type UpdateRobotRequest struct { func (x *UpdateRobotRequest) Reset() { *x = UpdateRobotRequest{} - mi := &file_app_v1_app_proto_msgTypes[116] + mi := &file_app_v1_app_proto_msgTypes[118] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6593,7 +6707,7 @@ func (x *UpdateRobotRequest) String() string { func (*UpdateRobotRequest) ProtoMessage() {} func (x *UpdateRobotRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[116] + mi := &file_app_v1_app_proto_msgTypes[118] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6606,7 +6720,7 @@ func (x *UpdateRobotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRobotRequest.ProtoReflect.Descriptor instead. func (*UpdateRobotRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{116} + return file_app_v1_app_proto_rawDescGZIP(), []int{118} } func (x *UpdateRobotRequest) GetId() string { @@ -6640,7 +6754,7 @@ type UpdateRobotResponse struct { func (x *UpdateRobotResponse) Reset() { *x = UpdateRobotResponse{} - mi := &file_app_v1_app_proto_msgTypes[117] + mi := &file_app_v1_app_proto_msgTypes[119] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6652,7 +6766,7 @@ func (x *UpdateRobotResponse) String() string { func (*UpdateRobotResponse) ProtoMessage() {} func (x *UpdateRobotResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[117] + mi := &file_app_v1_app_proto_msgTypes[119] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6665,7 +6779,7 @@ func (x *UpdateRobotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRobotResponse.ProtoReflect.Descriptor instead. func (*UpdateRobotResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{117} + return file_app_v1_app_proto_rawDescGZIP(), []int{119} } func (x *UpdateRobotResponse) GetRobot() *Robot { @@ -6685,7 +6799,7 @@ type DeleteRobotRequest struct { func (x *DeleteRobotRequest) Reset() { *x = DeleteRobotRequest{} - mi := &file_app_v1_app_proto_msgTypes[118] + mi := &file_app_v1_app_proto_msgTypes[120] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6697,7 +6811,7 @@ func (x *DeleteRobotRequest) String() string { func (*DeleteRobotRequest) ProtoMessage() {} func (x *DeleteRobotRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[118] + mi := &file_app_v1_app_proto_msgTypes[120] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6710,7 +6824,7 @@ func (x *DeleteRobotRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotRequest.ProtoReflect.Descriptor instead. func (*DeleteRobotRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{118} + return file_app_v1_app_proto_rawDescGZIP(), []int{120} } func (x *DeleteRobotRequest) GetId() string { @@ -6728,7 +6842,7 @@ type DeleteRobotResponse struct { func (x *DeleteRobotResponse) Reset() { *x = DeleteRobotResponse{} - mi := &file_app_v1_app_proto_msgTypes[119] + mi := &file_app_v1_app_proto_msgTypes[121] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6740,7 +6854,7 @@ func (x *DeleteRobotResponse) String() string { func (*DeleteRobotResponse) ProtoMessage() {} func (x *DeleteRobotResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[119] + mi := &file_app_v1_app_proto_msgTypes[121] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6753,7 +6867,7 @@ func (x *DeleteRobotResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotResponse.ProtoReflect.Descriptor instead. func (*DeleteRobotResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{119} + return file_app_v1_app_proto_rawDescGZIP(), []int{121} } type MarkPartAsMainRequest struct { @@ -6766,7 +6880,7 @@ type MarkPartAsMainRequest struct { func (x *MarkPartAsMainRequest) Reset() { *x = MarkPartAsMainRequest{} - mi := &file_app_v1_app_proto_msgTypes[120] + mi := &file_app_v1_app_proto_msgTypes[122] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6778,7 +6892,7 @@ func (x *MarkPartAsMainRequest) String() string { func (*MarkPartAsMainRequest) ProtoMessage() {} func (x *MarkPartAsMainRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[120] + mi := &file_app_v1_app_proto_msgTypes[122] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6791,7 +6905,7 @@ func (x *MarkPartAsMainRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MarkPartAsMainRequest.ProtoReflect.Descriptor instead. func (*MarkPartAsMainRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{120} + return file_app_v1_app_proto_rawDescGZIP(), []int{122} } func (x *MarkPartAsMainRequest) GetPartId() string { @@ -6809,7 +6923,7 @@ type MarkPartAsMainResponse struct { func (x *MarkPartAsMainResponse) Reset() { *x = MarkPartAsMainResponse{} - mi := &file_app_v1_app_proto_msgTypes[121] + mi := &file_app_v1_app_proto_msgTypes[123] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6821,7 +6935,7 @@ func (x *MarkPartAsMainResponse) String() string { func (*MarkPartAsMainResponse) ProtoMessage() {} func (x *MarkPartAsMainResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[121] + mi := &file_app_v1_app_proto_msgTypes[123] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6834,7 +6948,7 @@ func (x *MarkPartAsMainResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MarkPartAsMainResponse.ProtoReflect.Descriptor instead. func (*MarkPartAsMainResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{121} + return file_app_v1_app_proto_rawDescGZIP(), []int{123} } type MarkPartForRestartRequest struct { @@ -6847,7 +6961,7 @@ type MarkPartForRestartRequest struct { func (x *MarkPartForRestartRequest) Reset() { *x = MarkPartForRestartRequest{} - mi := &file_app_v1_app_proto_msgTypes[122] + mi := &file_app_v1_app_proto_msgTypes[124] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6859,7 +6973,7 @@ func (x *MarkPartForRestartRequest) String() string { func (*MarkPartForRestartRequest) ProtoMessage() {} func (x *MarkPartForRestartRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[122] + mi := &file_app_v1_app_proto_msgTypes[124] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6872,7 +6986,7 @@ func (x *MarkPartForRestartRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use MarkPartForRestartRequest.ProtoReflect.Descriptor instead. func (*MarkPartForRestartRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{122} + return file_app_v1_app_proto_rawDescGZIP(), []int{124} } func (x *MarkPartForRestartRequest) GetPartId() string { @@ -6890,7 +7004,7 @@ type MarkPartForRestartResponse struct { func (x *MarkPartForRestartResponse) Reset() { *x = MarkPartForRestartResponse{} - mi := &file_app_v1_app_proto_msgTypes[123] + mi := &file_app_v1_app_proto_msgTypes[125] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6902,7 +7016,7 @@ func (x *MarkPartForRestartResponse) String() string { func (*MarkPartForRestartResponse) ProtoMessage() {} func (x *MarkPartForRestartResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[123] + mi := &file_app_v1_app_proto_msgTypes[125] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6915,7 +7029,7 @@ func (x *MarkPartForRestartResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use MarkPartForRestartResponse.ProtoReflect.Descriptor instead. func (*MarkPartForRestartResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{123} + return file_app_v1_app_proto_rawDescGZIP(), []int{125} } type CreateRobotPartSecretRequest struct { @@ -6929,7 +7043,7 @@ type CreateRobotPartSecretRequest struct { func (x *CreateRobotPartSecretRequest) Reset() { *x = CreateRobotPartSecretRequest{} - mi := &file_app_v1_app_proto_msgTypes[124] + mi := &file_app_v1_app_proto_msgTypes[126] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6941,7 +7055,7 @@ func (x *CreateRobotPartSecretRequest) String() string { func (*CreateRobotPartSecretRequest) ProtoMessage() {} func (x *CreateRobotPartSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[124] + mi := &file_app_v1_app_proto_msgTypes[126] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6954,7 +7068,7 @@ func (x *CreateRobotPartSecretRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateRobotPartSecretRequest.ProtoReflect.Descriptor instead. func (*CreateRobotPartSecretRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{124} + return file_app_v1_app_proto_rawDescGZIP(), []int{126} } func (x *CreateRobotPartSecretRequest) GetPartId() string { @@ -6975,7 +7089,7 @@ type CreateRobotPartSecretResponse struct { func (x *CreateRobotPartSecretResponse) Reset() { *x = CreateRobotPartSecretResponse{} - mi := &file_app_v1_app_proto_msgTypes[125] + mi := &file_app_v1_app_proto_msgTypes[127] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6987,7 +7101,7 @@ func (x *CreateRobotPartSecretResponse) String() string { func (*CreateRobotPartSecretResponse) ProtoMessage() {} func (x *CreateRobotPartSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[125] + mi := &file_app_v1_app_proto_msgTypes[127] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7000,7 +7114,7 @@ func (x *CreateRobotPartSecretResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateRobotPartSecretResponse.ProtoReflect.Descriptor instead. func (*CreateRobotPartSecretResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{125} + return file_app_v1_app_proto_rawDescGZIP(), []int{127} } func (x *CreateRobotPartSecretResponse) GetPart() *RobotPart { @@ -7021,7 +7135,7 @@ type DeleteRobotPartSecretRequest struct { func (x *DeleteRobotPartSecretRequest) Reset() { *x = DeleteRobotPartSecretRequest{} - mi := &file_app_v1_app_proto_msgTypes[126] + mi := &file_app_v1_app_proto_msgTypes[128] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7033,7 +7147,7 @@ func (x *DeleteRobotPartSecretRequest) String() string { func (*DeleteRobotPartSecretRequest) ProtoMessage() {} func (x *DeleteRobotPartSecretRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[126] + mi := &file_app_v1_app_proto_msgTypes[128] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7046,7 +7160,7 @@ func (x *DeleteRobotPartSecretRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotPartSecretRequest.ProtoReflect.Descriptor instead. func (*DeleteRobotPartSecretRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{126} + return file_app_v1_app_proto_rawDescGZIP(), []int{128} } func (x *DeleteRobotPartSecretRequest) GetPartId() string { @@ -7071,7 +7185,7 @@ type DeleteRobotPartSecretResponse struct { func (x *DeleteRobotPartSecretResponse) Reset() { *x = DeleteRobotPartSecretResponse{} - mi := &file_app_v1_app_proto_msgTypes[127] + mi := &file_app_v1_app_proto_msgTypes[129] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7083,7 +7197,7 @@ func (x *DeleteRobotPartSecretResponse) String() string { func (*DeleteRobotPartSecretResponse) ProtoMessage() {} func (x *DeleteRobotPartSecretResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[127] + mi := &file_app_v1_app_proto_msgTypes[129] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7096,7 +7210,7 @@ func (x *DeleteRobotPartSecretResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRobotPartSecretResponse.ProtoReflect.Descriptor instead. func (*DeleteRobotPartSecretResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{127} + return file_app_v1_app_proto_rawDescGZIP(), []int{129} } type Authorization struct { @@ -7115,7 +7229,7 @@ type Authorization struct { func (x *Authorization) Reset() { *x = Authorization{} - mi := &file_app_v1_app_proto_msgTypes[128] + mi := &file_app_v1_app_proto_msgTypes[130] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7127,7 +7241,7 @@ func (x *Authorization) String() string { func (*Authorization) ProtoMessage() {} func (x *Authorization) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[128] + mi := &file_app_v1_app_proto_msgTypes[130] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7140,7 +7254,7 @@ func (x *Authorization) ProtoReflect() protoreflect.Message { // Deprecated: Use Authorization.ProtoReflect.Descriptor instead. func (*Authorization) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{128} + return file_app_v1_app_proto_rawDescGZIP(), []int{130} } func (x *Authorization) GetAuthorizationType() string { @@ -7202,7 +7316,7 @@ type AddRoleRequest struct { func (x *AddRoleRequest) Reset() { *x = AddRoleRequest{} - mi := &file_app_v1_app_proto_msgTypes[129] + mi := &file_app_v1_app_proto_msgTypes[131] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7214,7 +7328,7 @@ func (x *AddRoleRequest) String() string { func (*AddRoleRequest) ProtoMessage() {} func (x *AddRoleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[129] + mi := &file_app_v1_app_proto_msgTypes[131] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7227,7 +7341,7 @@ func (x *AddRoleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AddRoleRequest.ProtoReflect.Descriptor instead. func (*AddRoleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{129} + return file_app_v1_app_proto_rawDescGZIP(), []int{131} } func (x *AddRoleRequest) GetAuthorization() *Authorization { @@ -7245,7 +7359,7 @@ type AddRoleResponse struct { func (x *AddRoleResponse) Reset() { *x = AddRoleResponse{} - mi := &file_app_v1_app_proto_msgTypes[130] + mi := &file_app_v1_app_proto_msgTypes[132] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7257,7 +7371,7 @@ func (x *AddRoleResponse) String() string { func (*AddRoleResponse) ProtoMessage() {} func (x *AddRoleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[130] + mi := &file_app_v1_app_proto_msgTypes[132] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7270,7 +7384,7 @@ func (x *AddRoleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AddRoleResponse.ProtoReflect.Descriptor instead. func (*AddRoleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{130} + return file_app_v1_app_proto_rawDescGZIP(), []int{132} } type RemoveRoleRequest struct { @@ -7283,7 +7397,7 @@ type RemoveRoleRequest struct { func (x *RemoveRoleRequest) Reset() { *x = RemoveRoleRequest{} - mi := &file_app_v1_app_proto_msgTypes[131] + mi := &file_app_v1_app_proto_msgTypes[133] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7295,7 +7409,7 @@ func (x *RemoveRoleRequest) String() string { func (*RemoveRoleRequest) ProtoMessage() {} func (x *RemoveRoleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[131] + mi := &file_app_v1_app_proto_msgTypes[133] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7308,7 +7422,7 @@ func (x *RemoveRoleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveRoleRequest.ProtoReflect.Descriptor instead. func (*RemoveRoleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{131} + return file_app_v1_app_proto_rawDescGZIP(), []int{133} } func (x *RemoveRoleRequest) GetAuthorization() *Authorization { @@ -7326,7 +7440,7 @@ type RemoveRoleResponse struct { func (x *RemoveRoleResponse) Reset() { *x = RemoveRoleResponse{} - mi := &file_app_v1_app_proto_msgTypes[132] + mi := &file_app_v1_app_proto_msgTypes[134] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7338,7 +7452,7 @@ func (x *RemoveRoleResponse) String() string { func (*RemoveRoleResponse) ProtoMessage() {} func (x *RemoveRoleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[132] + mi := &file_app_v1_app_proto_msgTypes[134] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7351,7 +7465,7 @@ func (x *RemoveRoleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveRoleResponse.ProtoReflect.Descriptor instead. func (*RemoveRoleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{132} + return file_app_v1_app_proto_rawDescGZIP(), []int{134} } type ChangeRoleRequest struct { @@ -7365,7 +7479,7 @@ type ChangeRoleRequest struct { func (x *ChangeRoleRequest) Reset() { *x = ChangeRoleRequest{} - mi := &file_app_v1_app_proto_msgTypes[133] + mi := &file_app_v1_app_proto_msgTypes[135] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7377,7 +7491,7 @@ func (x *ChangeRoleRequest) String() string { func (*ChangeRoleRequest) ProtoMessage() {} func (x *ChangeRoleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[133] + mi := &file_app_v1_app_proto_msgTypes[135] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7390,7 +7504,7 @@ func (x *ChangeRoleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeRoleRequest.ProtoReflect.Descriptor instead. func (*ChangeRoleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{133} + return file_app_v1_app_proto_rawDescGZIP(), []int{135} } func (x *ChangeRoleRequest) GetOldAuthorization() *Authorization { @@ -7415,7 +7529,7 @@ type ChangeRoleResponse struct { func (x *ChangeRoleResponse) Reset() { *x = ChangeRoleResponse{} - mi := &file_app_v1_app_proto_msgTypes[134] + mi := &file_app_v1_app_proto_msgTypes[136] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7427,7 +7541,7 @@ func (x *ChangeRoleResponse) String() string { func (*ChangeRoleResponse) ProtoMessage() {} func (x *ChangeRoleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[134] + mi := &file_app_v1_app_proto_msgTypes[136] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7440,7 +7554,7 @@ func (x *ChangeRoleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ChangeRoleResponse.ProtoReflect.Descriptor instead. func (*ChangeRoleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{134} + return file_app_v1_app_proto_rawDescGZIP(), []int{136} } type ListAuthorizationsRequest struct { @@ -7454,7 +7568,7 @@ type ListAuthorizationsRequest struct { func (x *ListAuthorizationsRequest) Reset() { *x = ListAuthorizationsRequest{} - mi := &file_app_v1_app_proto_msgTypes[135] + mi := &file_app_v1_app_proto_msgTypes[137] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7466,7 +7580,7 @@ func (x *ListAuthorizationsRequest) String() string { func (*ListAuthorizationsRequest) ProtoMessage() {} func (x *ListAuthorizationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[135] + mi := &file_app_v1_app_proto_msgTypes[137] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7479,7 +7593,7 @@ func (x *ListAuthorizationsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListAuthorizationsRequest.ProtoReflect.Descriptor instead. func (*ListAuthorizationsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{135} + return file_app_v1_app_proto_rawDescGZIP(), []int{137} } func (x *ListAuthorizationsRequest) GetOrganizationId() string { @@ -7506,7 +7620,7 @@ type ListAuthorizationsResponse struct { func (x *ListAuthorizationsResponse) Reset() { *x = ListAuthorizationsResponse{} - mi := &file_app_v1_app_proto_msgTypes[136] + mi := &file_app_v1_app_proto_msgTypes[138] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7518,7 +7632,7 @@ func (x *ListAuthorizationsResponse) String() string { func (*ListAuthorizationsResponse) ProtoMessage() {} func (x *ListAuthorizationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[136] + mi := &file_app_v1_app_proto_msgTypes[138] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7531,7 +7645,7 @@ func (x *ListAuthorizationsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListAuthorizationsResponse.ProtoReflect.Descriptor instead. func (*ListAuthorizationsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{136} + return file_app_v1_app_proto_rawDescGZIP(), []int{138} } func (x *ListAuthorizationsResponse) GetAuthorizations() []*Authorization { @@ -7551,7 +7665,7 @@ type CheckPermissionsRequest struct { func (x *CheckPermissionsRequest) Reset() { *x = CheckPermissionsRequest{} - mi := &file_app_v1_app_proto_msgTypes[137] + mi := &file_app_v1_app_proto_msgTypes[139] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7563,7 +7677,7 @@ func (x *CheckPermissionsRequest) String() string { func (*CheckPermissionsRequest) ProtoMessage() {} func (x *CheckPermissionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[137] + mi := &file_app_v1_app_proto_msgTypes[139] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7576,7 +7690,7 @@ func (x *CheckPermissionsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CheckPermissionsRequest.ProtoReflect.Descriptor instead. func (*CheckPermissionsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{137} + return file_app_v1_app_proto_rawDescGZIP(), []int{139} } func (x *CheckPermissionsRequest) GetPermissions() []*AuthorizedPermissions { @@ -7598,7 +7712,7 @@ type AuthorizedPermissions struct { func (x *AuthorizedPermissions) Reset() { *x = AuthorizedPermissions{} - mi := &file_app_v1_app_proto_msgTypes[138] + mi := &file_app_v1_app_proto_msgTypes[140] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7610,7 +7724,7 @@ func (x *AuthorizedPermissions) String() string { func (*AuthorizedPermissions) ProtoMessage() {} func (x *AuthorizedPermissions) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[138] + mi := &file_app_v1_app_proto_msgTypes[140] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7623,7 +7737,7 @@ func (x *AuthorizedPermissions) ProtoReflect() protoreflect.Message { // Deprecated: Use AuthorizedPermissions.ProtoReflect.Descriptor instead. func (*AuthorizedPermissions) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{138} + return file_app_v1_app_proto_rawDescGZIP(), []int{140} } func (x *AuthorizedPermissions) GetResourceType() string { @@ -7657,7 +7771,7 @@ type CheckPermissionsResponse struct { func (x *CheckPermissionsResponse) Reset() { *x = CheckPermissionsResponse{} - mi := &file_app_v1_app_proto_msgTypes[139] + mi := &file_app_v1_app_proto_msgTypes[141] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7669,7 +7783,7 @@ func (x *CheckPermissionsResponse) String() string { func (*CheckPermissionsResponse) ProtoMessage() {} func (x *CheckPermissionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[139] + mi := &file_app_v1_app_proto_msgTypes[141] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7682,7 +7796,7 @@ func (x *CheckPermissionsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CheckPermissionsResponse.ProtoReflect.Descriptor instead. func (*CheckPermissionsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{139} + return file_app_v1_app_proto_rawDescGZIP(), []int{141} } func (x *CheckPermissionsResponse) GetAuthorizedPermissions() []*AuthorizedPermissions { @@ -7711,7 +7825,7 @@ type ModuleVersion struct { func (x *ModuleVersion) Reset() { *x = ModuleVersion{} - mi := &file_app_v1_app_proto_msgTypes[140] + mi := &file_app_v1_app_proto_msgTypes[142] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7723,7 +7837,7 @@ func (x *ModuleVersion) String() string { func (*ModuleVersion) ProtoMessage() {} func (x *ModuleVersion) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[140] + mi := &file_app_v1_app_proto_msgTypes[142] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7736,7 +7850,7 @@ func (x *ModuleVersion) ProtoReflect() protoreflect.Message { // Deprecated: Use ModuleVersion.ProtoReflect.Descriptor instead. func (*ModuleVersion) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{140} + return file_app_v1_app_proto_rawDescGZIP(), []int{142} } func (x *ModuleVersion) GetVersion() string { @@ -7792,7 +7906,7 @@ type ModuleMetadata struct { func (x *ModuleMetadata) Reset() { *x = ModuleMetadata{} - mi := &file_app_v1_app_proto_msgTypes[141] + mi := &file_app_v1_app_proto_msgTypes[143] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7804,7 +7918,7 @@ func (x *ModuleMetadata) String() string { func (*ModuleMetadata) ProtoMessage() {} func (x *ModuleMetadata) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[141] + mi := &file_app_v1_app_proto_msgTypes[143] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7817,7 +7931,7 @@ func (x *ModuleMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use ModuleMetadata.ProtoReflect.Descriptor instead. func (*ModuleMetadata) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{141} + return file_app_v1_app_proto_rawDescGZIP(), []int{143} } func (x *ModuleMetadata) GetModels() []*Model { @@ -7861,7 +7975,7 @@ type MLModelMetadata struct { func (x *MLModelMetadata) Reset() { *x = MLModelMetadata{} - mi := &file_app_v1_app_proto_msgTypes[142] + mi := &file_app_v1_app_proto_msgTypes[144] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7873,7 +7987,7 @@ func (x *MLModelMetadata) String() string { func (*MLModelMetadata) ProtoMessage() {} func (x *MLModelMetadata) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[142] + mi := &file_app_v1_app_proto_msgTypes[144] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7886,7 +8000,7 @@ func (x *MLModelMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use MLModelMetadata.ProtoReflect.Descriptor instead. func (*MLModelMetadata) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{142} + return file_app_v1_app_proto_rawDescGZIP(), []int{144} } func (x *MLModelMetadata) GetVersions() []string { @@ -7921,7 +8035,7 @@ type MLTrainingVersion struct { func (x *MLTrainingVersion) Reset() { *x = MLTrainingVersion{} - mi := &file_app_v1_app_proto_msgTypes[143] + mi := &file_app_v1_app_proto_msgTypes[145] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7933,7 +8047,7 @@ func (x *MLTrainingVersion) String() string { func (*MLTrainingVersion) ProtoMessage() {} func (x *MLTrainingVersion) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[143] + mi := &file_app_v1_app_proto_msgTypes[145] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7946,7 +8060,7 @@ func (x *MLTrainingVersion) ProtoReflect() protoreflect.Message { // Deprecated: Use MLTrainingVersion.ProtoReflect.Descriptor instead. func (*MLTrainingVersion) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{143} + return file_app_v1_app_proto_rawDescGZIP(), []int{145} } func (x *MLTrainingVersion) GetVersion() string { @@ -7977,7 +8091,7 @@ type MLTrainingMetadata struct { func (x *MLTrainingMetadata) Reset() { *x = MLTrainingMetadata{} - mi := &file_app_v1_app_proto_msgTypes[144] + mi := &file_app_v1_app_proto_msgTypes[146] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7989,7 +8103,7 @@ func (x *MLTrainingMetadata) String() string { func (*MLTrainingMetadata) ProtoMessage() {} func (x *MLTrainingMetadata) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[144] + mi := &file_app_v1_app_proto_msgTypes[146] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8002,7 +8116,7 @@ func (x *MLTrainingMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use MLTrainingMetadata.ProtoReflect.Descriptor instead. func (*MLTrainingMetadata) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{144} + return file_app_v1_app_proto_rawDescGZIP(), []int{146} } func (x *MLTrainingMetadata) GetVersions() []*MLTrainingVersion { @@ -8081,7 +8195,7 @@ type RegistryItem struct { func (x *RegistryItem) Reset() { *x = RegistryItem{} - mi := &file_app_v1_app_proto_msgTypes[145] + mi := &file_app_v1_app_proto_msgTypes[147] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8093,7 +8207,7 @@ func (x *RegistryItem) String() string { func (*RegistryItem) ProtoMessage() {} func (x *RegistryItem) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[145] + mi := &file_app_v1_app_proto_msgTypes[147] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8106,7 +8220,7 @@ func (x *RegistryItem) ProtoReflect() protoreflect.Message { // Deprecated: Use RegistryItem.ProtoReflect.Descriptor instead. func (*RegistryItem) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{145} + return file_app_v1_app_proto_rawDescGZIP(), []int{147} } func (x *RegistryItem) GetItemId() string { @@ -8267,7 +8381,7 @@ type GetRegistryItemRequest struct { func (x *GetRegistryItemRequest) Reset() { *x = GetRegistryItemRequest{} - mi := &file_app_v1_app_proto_msgTypes[146] + mi := &file_app_v1_app_proto_msgTypes[148] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8279,7 +8393,7 @@ func (x *GetRegistryItemRequest) String() string { func (*GetRegistryItemRequest) ProtoMessage() {} func (x *GetRegistryItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[146] + mi := &file_app_v1_app_proto_msgTypes[148] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8292,7 +8406,7 @@ func (x *GetRegistryItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRegistryItemRequest.ProtoReflect.Descriptor instead. func (*GetRegistryItemRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{146} + return file_app_v1_app_proto_rawDescGZIP(), []int{148} } func (x *GetRegistryItemRequest) GetItemId() string { @@ -8312,7 +8426,7 @@ type GetRegistryItemResponse struct { func (x *GetRegistryItemResponse) Reset() { *x = GetRegistryItemResponse{} - mi := &file_app_v1_app_proto_msgTypes[147] + mi := &file_app_v1_app_proto_msgTypes[149] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8324,7 +8438,7 @@ func (x *GetRegistryItemResponse) String() string { func (*GetRegistryItemResponse) ProtoMessage() {} func (x *GetRegistryItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[147] + mi := &file_app_v1_app_proto_msgTypes[149] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8337,7 +8451,7 @@ func (x *GetRegistryItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRegistryItemResponse.ProtoReflect.Descriptor instead. func (*GetRegistryItemResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{147} + return file_app_v1_app_proto_rawDescGZIP(), []int{149} } func (x *GetRegistryItemResponse) GetItem() *RegistryItem { @@ -8362,7 +8476,7 @@ type CreateRegistryItemRequest struct { func (x *CreateRegistryItemRequest) Reset() { *x = CreateRegistryItemRequest{} - mi := &file_app_v1_app_proto_msgTypes[148] + mi := &file_app_v1_app_proto_msgTypes[150] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8374,7 +8488,7 @@ func (x *CreateRegistryItemRequest) String() string { func (*CreateRegistryItemRequest) ProtoMessage() {} func (x *CreateRegistryItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[148] + mi := &file_app_v1_app_proto_msgTypes[150] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8387,7 +8501,7 @@ func (x *CreateRegistryItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateRegistryItemRequest.ProtoReflect.Descriptor instead. func (*CreateRegistryItemRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{148} + return file_app_v1_app_proto_rawDescGZIP(), []int{150} } func (x *CreateRegistryItemRequest) GetOrganizationId() string { @@ -8419,7 +8533,7 @@ type CreateRegistryItemResponse struct { func (x *CreateRegistryItemResponse) Reset() { *x = CreateRegistryItemResponse{} - mi := &file_app_v1_app_proto_msgTypes[149] + mi := &file_app_v1_app_proto_msgTypes[151] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8431,7 +8545,7 @@ func (x *CreateRegistryItemResponse) String() string { func (*CreateRegistryItemResponse) ProtoMessage() {} func (x *CreateRegistryItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[149] + mi := &file_app_v1_app_proto_msgTypes[151] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8444,7 +8558,7 @@ func (x *CreateRegistryItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateRegistryItemResponse.ProtoReflect.Descriptor instead. func (*CreateRegistryItemResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{149} + return file_app_v1_app_proto_rawDescGZIP(), []int{151} } type UpdateRegistryItemRequest struct { @@ -8461,7 +8575,7 @@ type UpdateRegistryItemRequest struct { func (x *UpdateRegistryItemRequest) Reset() { *x = UpdateRegistryItemRequest{} - mi := &file_app_v1_app_proto_msgTypes[150] + mi := &file_app_v1_app_proto_msgTypes[152] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8473,7 +8587,7 @@ func (x *UpdateRegistryItemRequest) String() string { func (*UpdateRegistryItemRequest) ProtoMessage() {} func (x *UpdateRegistryItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[150] + mi := &file_app_v1_app_proto_msgTypes[152] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8486,7 +8600,7 @@ func (x *UpdateRegistryItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRegistryItemRequest.ProtoReflect.Descriptor instead. func (*UpdateRegistryItemRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{150} + return file_app_v1_app_proto_rawDescGZIP(), []int{152} } func (x *UpdateRegistryItemRequest) GetItemId() string { @@ -8532,7 +8646,7 @@ type UpdateRegistryItemResponse struct { func (x *UpdateRegistryItemResponse) Reset() { *x = UpdateRegistryItemResponse{} - mi := &file_app_v1_app_proto_msgTypes[151] + mi := &file_app_v1_app_proto_msgTypes[153] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8544,7 +8658,7 @@ func (x *UpdateRegistryItemResponse) String() string { func (*UpdateRegistryItemResponse) ProtoMessage() {} func (x *UpdateRegistryItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[151] + mi := &file_app_v1_app_proto_msgTypes[153] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8557,7 +8671,7 @@ func (x *UpdateRegistryItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRegistryItemResponse.ProtoReflect.Descriptor instead. func (*UpdateRegistryItemResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{151} + return file_app_v1_app_proto_rawDescGZIP(), []int{153} } type ListRegistryItemsRequest struct { @@ -8579,7 +8693,7 @@ type ListRegistryItemsRequest struct { func (x *ListRegistryItemsRequest) Reset() { *x = ListRegistryItemsRequest{} - mi := &file_app_v1_app_proto_msgTypes[152] + mi := &file_app_v1_app_proto_msgTypes[154] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8591,7 +8705,7 @@ func (x *ListRegistryItemsRequest) String() string { func (*ListRegistryItemsRequest) ProtoMessage() {} func (x *ListRegistryItemsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[152] + mi := &file_app_v1_app_proto_msgTypes[154] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8604,7 +8718,7 @@ func (x *ListRegistryItemsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRegistryItemsRequest.ProtoReflect.Descriptor instead. func (*ListRegistryItemsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{152} + return file_app_v1_app_proto_rawDescGZIP(), []int{154} } func (x *ListRegistryItemsRequest) GetOrganizationId() string { @@ -8673,7 +8787,7 @@ type ListRegistryItemsResponse struct { func (x *ListRegistryItemsResponse) Reset() { *x = ListRegistryItemsResponse{} - mi := &file_app_v1_app_proto_msgTypes[153] + mi := &file_app_v1_app_proto_msgTypes[155] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8685,7 +8799,7 @@ func (x *ListRegistryItemsResponse) String() string { func (*ListRegistryItemsResponse) ProtoMessage() {} func (x *ListRegistryItemsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[153] + mi := &file_app_v1_app_proto_msgTypes[155] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8698,7 +8812,7 @@ func (x *ListRegistryItemsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRegistryItemsResponse.ProtoReflect.Descriptor instead. func (*ListRegistryItemsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{153} + return file_app_v1_app_proto_rawDescGZIP(), []int{155} } func (x *ListRegistryItemsResponse) GetItems() []*RegistryItem { @@ -8719,7 +8833,7 @@ type DeleteRegistryItemRequest struct { func (x *DeleteRegistryItemRequest) Reset() { *x = DeleteRegistryItemRequest{} - mi := &file_app_v1_app_proto_msgTypes[154] + mi := &file_app_v1_app_proto_msgTypes[156] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8731,7 +8845,7 @@ func (x *DeleteRegistryItemRequest) String() string { func (*DeleteRegistryItemRequest) ProtoMessage() {} func (x *DeleteRegistryItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[154] + mi := &file_app_v1_app_proto_msgTypes[156] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8744,7 +8858,7 @@ func (x *DeleteRegistryItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRegistryItemRequest.ProtoReflect.Descriptor instead. func (*DeleteRegistryItemRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{154} + return file_app_v1_app_proto_rawDescGZIP(), []int{156} } func (x *DeleteRegistryItemRequest) GetItemId() string { @@ -8762,7 +8876,7 @@ type DeleteRegistryItemResponse struct { func (x *DeleteRegistryItemResponse) Reset() { *x = DeleteRegistryItemResponse{} - mi := &file_app_v1_app_proto_msgTypes[155] + mi := &file_app_v1_app_proto_msgTypes[157] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8774,7 +8888,7 @@ func (x *DeleteRegistryItemResponse) String() string { func (*DeleteRegistryItemResponse) ProtoMessage() {} func (x *DeleteRegistryItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[155] + mi := &file_app_v1_app_proto_msgTypes[157] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8787,7 +8901,7 @@ func (x *DeleteRegistryItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteRegistryItemResponse.ProtoReflect.Descriptor instead. func (*DeleteRegistryItemResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{155} + return file_app_v1_app_proto_rawDescGZIP(), []int{157} } type TransferRegistryItemRequest struct { @@ -8801,7 +8915,7 @@ type TransferRegistryItemRequest struct { func (x *TransferRegistryItemRequest) Reset() { *x = TransferRegistryItemRequest{} - mi := &file_app_v1_app_proto_msgTypes[156] + mi := &file_app_v1_app_proto_msgTypes[158] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8813,7 +8927,7 @@ func (x *TransferRegistryItemRequest) String() string { func (*TransferRegistryItemRequest) ProtoMessage() {} func (x *TransferRegistryItemRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[156] + mi := &file_app_v1_app_proto_msgTypes[158] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8826,7 +8940,7 @@ func (x *TransferRegistryItemRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TransferRegistryItemRequest.ProtoReflect.Descriptor instead. func (*TransferRegistryItemRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{156} + return file_app_v1_app_proto_rawDescGZIP(), []int{158} } func (x *TransferRegistryItemRequest) GetItemId() string { @@ -8851,7 +8965,7 @@ type TransferRegistryItemResponse struct { func (x *TransferRegistryItemResponse) Reset() { *x = TransferRegistryItemResponse{} - mi := &file_app_v1_app_proto_msgTypes[157] + mi := &file_app_v1_app_proto_msgTypes[159] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8863,7 +8977,7 @@ func (x *TransferRegistryItemResponse) String() string { func (*TransferRegistryItemResponse) ProtoMessage() {} func (x *TransferRegistryItemResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[157] + mi := &file_app_v1_app_proto_msgTypes[159] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8876,7 +8990,7 @@ func (x *TransferRegistryItemResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use TransferRegistryItemResponse.ProtoReflect.Descriptor instead. func (*TransferRegistryItemResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{157} + return file_app_v1_app_proto_rawDescGZIP(), []int{159} } // Modules @@ -8893,7 +9007,7 @@ type CreateModuleRequest struct { func (x *CreateModuleRequest) Reset() { *x = CreateModuleRequest{} - mi := &file_app_v1_app_proto_msgTypes[158] + mi := &file_app_v1_app_proto_msgTypes[160] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8905,7 +9019,7 @@ func (x *CreateModuleRequest) String() string { func (*CreateModuleRequest) ProtoMessage() {} func (x *CreateModuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[158] + mi := &file_app_v1_app_proto_msgTypes[160] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8918,7 +9032,7 @@ func (x *CreateModuleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateModuleRequest.ProtoReflect.Descriptor instead. func (*CreateModuleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{158} + return file_app_v1_app_proto_rawDescGZIP(), []int{160} } func (x *CreateModuleRequest) GetOrganizationId() string { @@ -8948,7 +9062,7 @@ type CreateModuleResponse struct { func (x *CreateModuleResponse) Reset() { *x = CreateModuleResponse{} - mi := &file_app_v1_app_proto_msgTypes[159] + mi := &file_app_v1_app_proto_msgTypes[161] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8960,7 +9074,7 @@ func (x *CreateModuleResponse) String() string { func (*CreateModuleResponse) ProtoMessage() {} func (x *CreateModuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[159] + mi := &file_app_v1_app_proto_msgTypes[161] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8973,7 +9087,7 @@ func (x *CreateModuleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateModuleResponse.ProtoReflect.Descriptor instead. func (*CreateModuleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{159} + return file_app_v1_app_proto_rawDescGZIP(), []int{161} } func (x *CreateModuleResponse) GetModuleId() string { @@ -9013,7 +9127,7 @@ type UpdateModuleRequest struct { func (x *UpdateModuleRequest) Reset() { *x = UpdateModuleRequest{} - mi := &file_app_v1_app_proto_msgTypes[160] + mi := &file_app_v1_app_proto_msgTypes[162] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9025,7 +9139,7 @@ func (x *UpdateModuleRequest) String() string { func (*UpdateModuleRequest) ProtoMessage() {} func (x *UpdateModuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[160] + mi := &file_app_v1_app_proto_msgTypes[162] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9038,7 +9152,7 @@ func (x *UpdateModuleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateModuleRequest.ProtoReflect.Descriptor instead. func (*UpdateModuleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{160} + return file_app_v1_app_proto_rawDescGZIP(), []int{162} } func (x *UpdateModuleRequest) GetModuleId() string { @@ -9101,7 +9215,7 @@ type UpdateModuleResponse struct { func (x *UpdateModuleResponse) Reset() { *x = UpdateModuleResponse{} - mi := &file_app_v1_app_proto_msgTypes[161] + mi := &file_app_v1_app_proto_msgTypes[163] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9113,7 +9227,7 @@ func (x *UpdateModuleResponse) String() string { func (*UpdateModuleResponse) ProtoMessage() {} func (x *UpdateModuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[161] + mi := &file_app_v1_app_proto_msgTypes[163] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9126,7 +9240,7 @@ func (x *UpdateModuleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateModuleResponse.ProtoReflect.Descriptor instead. func (*UpdateModuleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{161} + return file_app_v1_app_proto_rawDescGZIP(), []int{163} } func (x *UpdateModuleResponse) GetUrl() string { @@ -9149,7 +9263,7 @@ type Model struct { func (x *Model) Reset() { *x = Model{} - mi := &file_app_v1_app_proto_msgTypes[162] + mi := &file_app_v1_app_proto_msgTypes[164] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9161,7 +9275,7 @@ func (x *Model) String() string { func (*Model) ProtoMessage() {} func (x *Model) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[162] + mi := &file_app_v1_app_proto_msgTypes[164] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9174,7 +9288,7 @@ func (x *Model) ProtoReflect() protoreflect.Message { // Deprecated: Use Model.ProtoReflect.Descriptor instead. func (*Model) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{162} + return file_app_v1_app_proto_rawDescGZIP(), []int{164} } func (x *Model) GetApi() string { @@ -9210,7 +9324,7 @@ type ModuleFileInfo struct { func (x *ModuleFileInfo) Reset() { *x = ModuleFileInfo{} - mi := &file_app_v1_app_proto_msgTypes[163] + mi := &file_app_v1_app_proto_msgTypes[165] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9222,7 +9336,7 @@ func (x *ModuleFileInfo) String() string { func (*ModuleFileInfo) ProtoMessage() {} func (x *ModuleFileInfo) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[163] + mi := &file_app_v1_app_proto_msgTypes[165] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9235,7 +9349,7 @@ func (x *ModuleFileInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ModuleFileInfo.ProtoReflect.Descriptor instead. func (*ModuleFileInfo) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{163} + return file_app_v1_app_proto_rawDescGZIP(), []int{165} } func (x *ModuleFileInfo) GetModuleId() string { @@ -9280,7 +9394,7 @@ type UploadModuleFileRequest struct { func (x *UploadModuleFileRequest) Reset() { *x = UploadModuleFileRequest{} - mi := &file_app_v1_app_proto_msgTypes[164] + mi := &file_app_v1_app_proto_msgTypes[166] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9292,7 +9406,7 @@ func (x *UploadModuleFileRequest) String() string { func (*UploadModuleFileRequest) ProtoMessage() {} func (x *UploadModuleFileRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[164] + mi := &file_app_v1_app_proto_msgTypes[166] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9305,7 +9419,7 @@ func (x *UploadModuleFileRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadModuleFileRequest.ProtoReflect.Descriptor instead. func (*UploadModuleFileRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{164} + return file_app_v1_app_proto_rawDescGZIP(), []int{166} } func (m *UploadModuleFileRequest) GetModuleFile() isUploadModuleFileRequest_ModuleFile { @@ -9358,7 +9472,7 @@ type UploadModuleFileResponse struct { func (x *UploadModuleFileResponse) Reset() { *x = UploadModuleFileResponse{} - mi := &file_app_v1_app_proto_msgTypes[165] + mi := &file_app_v1_app_proto_msgTypes[167] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9370,7 +9484,7 @@ func (x *UploadModuleFileResponse) String() string { func (*UploadModuleFileResponse) ProtoMessage() {} func (x *UploadModuleFileResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[165] + mi := &file_app_v1_app_proto_msgTypes[167] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9383,7 +9497,7 @@ func (x *UploadModuleFileResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadModuleFileResponse.ProtoReflect.Descriptor instead. func (*UploadModuleFileResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{165} + return file_app_v1_app_proto_rawDescGZIP(), []int{167} } func (x *UploadModuleFileResponse) GetUrl() string { @@ -9404,7 +9518,7 @@ type GetModuleRequest struct { func (x *GetModuleRequest) Reset() { *x = GetModuleRequest{} - mi := &file_app_v1_app_proto_msgTypes[166] + mi := &file_app_v1_app_proto_msgTypes[168] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9416,7 +9530,7 @@ func (x *GetModuleRequest) String() string { func (*GetModuleRequest) ProtoMessage() {} func (x *GetModuleRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[166] + mi := &file_app_v1_app_proto_msgTypes[168] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9429,7 +9543,7 @@ func (x *GetModuleRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModuleRequest.ProtoReflect.Descriptor instead. func (*GetModuleRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{166} + return file_app_v1_app_proto_rawDescGZIP(), []int{168} } func (x *GetModuleRequest) GetModuleId() string { @@ -9450,7 +9564,7 @@ type GetModuleResponse struct { func (x *GetModuleResponse) Reset() { *x = GetModuleResponse{} - mi := &file_app_v1_app_proto_msgTypes[167] + mi := &file_app_v1_app_proto_msgTypes[169] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9462,7 +9576,7 @@ func (x *GetModuleResponse) String() string { func (*GetModuleResponse) ProtoMessage() {} func (x *GetModuleResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[167] + mi := &file_app_v1_app_proto_msgTypes[169] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9475,7 +9589,7 @@ func (x *GetModuleResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModuleResponse.ProtoReflect.Descriptor instead. func (*GetModuleResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{167} + return file_app_v1_app_proto_rawDescGZIP(), []int{169} } func (x *GetModuleResponse) GetModule() *Module { @@ -9522,7 +9636,7 @@ type Module struct { func (x *Module) Reset() { *x = Module{} - mi := &file_app_v1_app_proto_msgTypes[168] + mi := &file_app_v1_app_proto_msgTypes[170] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9534,7 +9648,7 @@ func (x *Module) String() string { func (*Module) ProtoMessage() {} func (x *Module) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[168] + mi := &file_app_v1_app_proto_msgTypes[170] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9547,7 +9661,7 @@ func (x *Module) ProtoReflect() protoreflect.Message { // Deprecated: Use Module.ProtoReflect.Descriptor instead. func (*Module) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{168} + return file_app_v1_app_proto_rawDescGZIP(), []int{170} } func (x *Module) GetModuleId() string { @@ -9660,7 +9774,7 @@ type VersionHistory struct { func (x *VersionHistory) Reset() { *x = VersionHistory{} - mi := &file_app_v1_app_proto_msgTypes[169] + mi := &file_app_v1_app_proto_msgTypes[171] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9672,7 +9786,7 @@ func (x *VersionHistory) String() string { func (*VersionHistory) ProtoMessage() {} func (x *VersionHistory) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[169] + mi := &file_app_v1_app_proto_msgTypes[171] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9685,7 +9799,7 @@ func (x *VersionHistory) ProtoReflect() protoreflect.Message { // Deprecated: Use VersionHistory.ProtoReflect.Descriptor instead. func (*VersionHistory) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{169} + return file_app_v1_app_proto_rawDescGZIP(), []int{171} } func (x *VersionHistory) GetVersion() string { @@ -9736,7 +9850,7 @@ type Uploads struct { func (x *Uploads) Reset() { *x = Uploads{} - mi := &file_app_v1_app_proto_msgTypes[170] + mi := &file_app_v1_app_proto_msgTypes[172] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9748,7 +9862,7 @@ func (x *Uploads) String() string { func (*Uploads) ProtoMessage() {} func (x *Uploads) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[170] + mi := &file_app_v1_app_proto_msgTypes[172] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9761,7 +9875,7 @@ func (x *Uploads) ProtoReflect() protoreflect.Message { // Deprecated: Use Uploads.ProtoReflect.Descriptor instead. func (*Uploads) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{170} + return file_app_v1_app_proto_rawDescGZIP(), []int{172} } func (x *Uploads) GetPlatform() string { @@ -9789,7 +9903,7 @@ type ListModulesRequest struct { func (x *ListModulesRequest) Reset() { *x = ListModulesRequest{} - mi := &file_app_v1_app_proto_msgTypes[171] + mi := &file_app_v1_app_proto_msgTypes[173] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9801,7 +9915,7 @@ func (x *ListModulesRequest) String() string { func (*ListModulesRequest) ProtoMessage() {} func (x *ListModulesRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[171] + mi := &file_app_v1_app_proto_msgTypes[173] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9814,7 +9928,7 @@ func (x *ListModulesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListModulesRequest.ProtoReflect.Descriptor instead. func (*ListModulesRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{171} + return file_app_v1_app_proto_rawDescGZIP(), []int{173} } func (x *ListModulesRequest) GetOrganizationId() string { @@ -9835,7 +9949,7 @@ type ListModulesResponse struct { func (x *ListModulesResponse) Reset() { *x = ListModulesResponse{} - mi := &file_app_v1_app_proto_msgTypes[172] + mi := &file_app_v1_app_proto_msgTypes[174] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9847,7 +9961,7 @@ func (x *ListModulesResponse) String() string { func (*ListModulesResponse) ProtoMessage() {} func (x *ListModulesResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[172] + mi := &file_app_v1_app_proto_msgTypes[174] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9860,7 +9974,7 @@ func (x *ListModulesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListModulesResponse.ProtoReflect.Descriptor instead. func (*ListModulesResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{172} + return file_app_v1_app_proto_rawDescGZIP(), []int{174} } func (x *ListModulesResponse) GetModules() []*Module { @@ -9880,7 +9994,7 @@ type GetUserIDByEmailRequest struct { func (x *GetUserIDByEmailRequest) Reset() { *x = GetUserIDByEmailRequest{} - mi := &file_app_v1_app_proto_msgTypes[173] + mi := &file_app_v1_app_proto_msgTypes[175] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9892,7 +10006,7 @@ func (x *GetUserIDByEmailRequest) String() string { func (*GetUserIDByEmailRequest) ProtoMessage() {} func (x *GetUserIDByEmailRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[173] + mi := &file_app_v1_app_proto_msgTypes[175] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9905,7 +10019,7 @@ func (x *GetUserIDByEmailRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetUserIDByEmailRequest.ProtoReflect.Descriptor instead. func (*GetUserIDByEmailRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{173} + return file_app_v1_app_proto_rawDescGZIP(), []int{175} } func (x *GetUserIDByEmailRequest) GetEmail() string { @@ -9925,7 +10039,7 @@ type GetUserIDByEmailResponse struct { func (x *GetUserIDByEmailResponse) Reset() { *x = GetUserIDByEmailResponse{} - mi := &file_app_v1_app_proto_msgTypes[174] + mi := &file_app_v1_app_proto_msgTypes[176] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9937,7 +10051,7 @@ func (x *GetUserIDByEmailResponse) String() string { func (*GetUserIDByEmailResponse) ProtoMessage() {} func (x *GetUserIDByEmailResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[174] + mi := &file_app_v1_app_proto_msgTypes[176] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9950,7 +10064,7 @@ func (x *GetUserIDByEmailResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetUserIDByEmailResponse.ProtoReflect.Descriptor instead. func (*GetUserIDByEmailResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{174} + return file_app_v1_app_proto_rawDescGZIP(), []int{176} } func (x *GetUserIDByEmailResponse) GetUserId() string { @@ -9970,7 +10084,7 @@ type ListOrganizationsByUserRequest struct { func (x *ListOrganizationsByUserRequest) Reset() { *x = ListOrganizationsByUserRequest{} - mi := &file_app_v1_app_proto_msgTypes[175] + mi := &file_app_v1_app_proto_msgTypes[177] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9982,7 +10096,7 @@ func (x *ListOrganizationsByUserRequest) String() string { func (*ListOrganizationsByUserRequest) ProtoMessage() {} func (x *ListOrganizationsByUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[175] + mi := &file_app_v1_app_proto_msgTypes[177] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9995,7 +10109,7 @@ func (x *ListOrganizationsByUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListOrganizationsByUserRequest.ProtoReflect.Descriptor instead. func (*ListOrganizationsByUserRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{175} + return file_app_v1_app_proto_rawDescGZIP(), []int{177} } func (x *ListOrganizationsByUserRequest) GetUserId() string { @@ -10016,7 +10130,7 @@ type OrgDetails struct { func (x *OrgDetails) Reset() { *x = OrgDetails{} - mi := &file_app_v1_app_proto_msgTypes[176] + mi := &file_app_v1_app_proto_msgTypes[178] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10028,7 +10142,7 @@ func (x *OrgDetails) String() string { func (*OrgDetails) ProtoMessage() {} func (x *OrgDetails) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[176] + mi := &file_app_v1_app_proto_msgTypes[178] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10041,7 +10155,7 @@ func (x *OrgDetails) ProtoReflect() protoreflect.Message { // Deprecated: Use OrgDetails.ProtoReflect.Descriptor instead. func (*OrgDetails) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{176} + return file_app_v1_app_proto_rawDescGZIP(), []int{178} } func (x *OrgDetails) GetOrgId() string { @@ -10068,7 +10182,7 @@ type ListOrganizationsByUserResponse struct { func (x *ListOrganizationsByUserResponse) Reset() { *x = ListOrganizationsByUserResponse{} - mi := &file_app_v1_app_proto_msgTypes[177] + mi := &file_app_v1_app_proto_msgTypes[179] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10080,7 +10194,7 @@ func (x *ListOrganizationsByUserResponse) String() string { func (*ListOrganizationsByUserResponse) ProtoMessage() {} func (x *ListOrganizationsByUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[177] + mi := &file_app_v1_app_proto_msgTypes[179] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10093,7 +10207,7 @@ func (x *ListOrganizationsByUserResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListOrganizationsByUserResponse.ProtoReflect.Descriptor instead. func (*ListOrganizationsByUserResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{177} + return file_app_v1_app_proto_rawDescGZIP(), []int{179} } func (x *ListOrganizationsByUserResponse) GetOrgs() []*OrgDetails { @@ -10114,7 +10228,7 @@ type CreateKeyRequest struct { func (x *CreateKeyRequest) Reset() { *x = CreateKeyRequest{} - mi := &file_app_v1_app_proto_msgTypes[178] + mi := &file_app_v1_app_proto_msgTypes[180] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10126,7 +10240,7 @@ func (x *CreateKeyRequest) String() string { func (*CreateKeyRequest) ProtoMessage() {} func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[178] + mi := &file_app_v1_app_proto_msgTypes[180] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10139,7 +10253,7 @@ func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateKeyRequest.ProtoReflect.Descriptor instead. func (*CreateKeyRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{178} + return file_app_v1_app_proto_rawDescGZIP(), []int{180} } func (x *CreateKeyRequest) GetAuthorizations() []*Authorization { @@ -10167,7 +10281,7 @@ type CreateKeyResponse struct { func (x *CreateKeyResponse) Reset() { *x = CreateKeyResponse{} - mi := &file_app_v1_app_proto_msgTypes[179] + mi := &file_app_v1_app_proto_msgTypes[181] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10179,7 +10293,7 @@ func (x *CreateKeyResponse) String() string { func (*CreateKeyResponse) ProtoMessage() {} func (x *CreateKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[179] + mi := &file_app_v1_app_proto_msgTypes[181] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10192,7 +10306,7 @@ func (x *CreateKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateKeyResponse.ProtoReflect.Descriptor instead. func (*CreateKeyResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{179} + return file_app_v1_app_proto_rawDescGZIP(), []int{181} } func (x *CreateKeyResponse) GetKey() string { @@ -10219,7 +10333,7 @@ type DeleteKeyRequest struct { func (x *DeleteKeyRequest) Reset() { *x = DeleteKeyRequest{} - mi := &file_app_v1_app_proto_msgTypes[180] + mi := &file_app_v1_app_proto_msgTypes[182] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10231,7 +10345,7 @@ func (x *DeleteKeyRequest) String() string { func (*DeleteKeyRequest) ProtoMessage() {} func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[180] + mi := &file_app_v1_app_proto_msgTypes[182] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10244,7 +10358,7 @@ func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteKeyRequest.ProtoReflect.Descriptor instead. func (*DeleteKeyRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{180} + return file_app_v1_app_proto_rawDescGZIP(), []int{182} } func (x *DeleteKeyRequest) GetId() string { @@ -10262,7 +10376,7 @@ type DeleteKeyResponse struct { func (x *DeleteKeyResponse) Reset() { *x = DeleteKeyResponse{} - mi := &file_app_v1_app_proto_msgTypes[181] + mi := &file_app_v1_app_proto_msgTypes[183] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10274,7 +10388,7 @@ func (x *DeleteKeyResponse) String() string { func (*DeleteKeyResponse) ProtoMessage() {} func (x *DeleteKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[181] + mi := &file_app_v1_app_proto_msgTypes[183] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10287,7 +10401,7 @@ func (x *DeleteKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteKeyResponse.ProtoReflect.Descriptor instead. func (*DeleteKeyResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{181} + return file_app_v1_app_proto_rawDescGZIP(), []int{183} } type RenameKeyRequest struct { @@ -10301,7 +10415,7 @@ type RenameKeyRequest struct { func (x *RenameKeyRequest) Reset() { *x = RenameKeyRequest{} - mi := &file_app_v1_app_proto_msgTypes[182] + mi := &file_app_v1_app_proto_msgTypes[184] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10313,7 +10427,7 @@ func (x *RenameKeyRequest) String() string { func (*RenameKeyRequest) ProtoMessage() {} func (x *RenameKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[182] + mi := &file_app_v1_app_proto_msgTypes[184] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10326,7 +10440,7 @@ func (x *RenameKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RenameKeyRequest.ProtoReflect.Descriptor instead. func (*RenameKeyRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{182} + return file_app_v1_app_proto_rawDescGZIP(), []int{184} } func (x *RenameKeyRequest) GetId() string { @@ -10354,7 +10468,7 @@ type RenameKeyResponse struct { func (x *RenameKeyResponse) Reset() { *x = RenameKeyResponse{} - mi := &file_app_v1_app_proto_msgTypes[183] + mi := &file_app_v1_app_proto_msgTypes[185] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10366,7 +10480,7 @@ func (x *RenameKeyResponse) String() string { func (*RenameKeyResponse) ProtoMessage() {} func (x *RenameKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[183] + mi := &file_app_v1_app_proto_msgTypes[185] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10379,7 +10493,7 @@ func (x *RenameKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RenameKeyResponse.ProtoReflect.Descriptor instead. func (*RenameKeyResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{183} + return file_app_v1_app_proto_rawDescGZIP(), []int{185} } func (x *RenameKeyResponse) GetId() string { @@ -10410,7 +10524,7 @@ type AuthorizationDetails struct { func (x *AuthorizationDetails) Reset() { *x = AuthorizationDetails{} - mi := &file_app_v1_app_proto_msgTypes[184] + mi := &file_app_v1_app_proto_msgTypes[186] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10422,7 +10536,7 @@ func (x *AuthorizationDetails) String() string { func (*AuthorizationDetails) ProtoMessage() {} func (x *AuthorizationDetails) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[184] + mi := &file_app_v1_app_proto_msgTypes[186] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10435,7 +10549,7 @@ func (x *AuthorizationDetails) ProtoReflect() protoreflect.Message { // Deprecated: Use AuthorizationDetails.ProtoReflect.Descriptor instead. func (*AuthorizationDetails) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{184} + return file_app_v1_app_proto_rawDescGZIP(), []int{186} } func (x *AuthorizationDetails) GetAuthorizationType() string { @@ -10484,7 +10598,7 @@ type APIKeyWithAuthorizations struct { func (x *APIKeyWithAuthorizations) Reset() { *x = APIKeyWithAuthorizations{} - mi := &file_app_v1_app_proto_msgTypes[185] + mi := &file_app_v1_app_proto_msgTypes[187] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10496,7 +10610,7 @@ func (x *APIKeyWithAuthorizations) String() string { func (*APIKeyWithAuthorizations) ProtoMessage() {} func (x *APIKeyWithAuthorizations) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[185] + mi := &file_app_v1_app_proto_msgTypes[187] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10509,7 +10623,7 @@ func (x *APIKeyWithAuthorizations) ProtoReflect() protoreflect.Message { // Deprecated: Use APIKeyWithAuthorizations.ProtoReflect.Descriptor instead. func (*APIKeyWithAuthorizations) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{185} + return file_app_v1_app_proto_rawDescGZIP(), []int{187} } func (x *APIKeyWithAuthorizations) GetApiKey() *APIKey { @@ -10536,7 +10650,7 @@ type ListKeysRequest struct { func (x *ListKeysRequest) Reset() { *x = ListKeysRequest{} - mi := &file_app_v1_app_proto_msgTypes[186] + mi := &file_app_v1_app_proto_msgTypes[188] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10548,7 +10662,7 @@ func (x *ListKeysRequest) String() string { func (*ListKeysRequest) ProtoMessage() {} func (x *ListKeysRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[186] + mi := &file_app_v1_app_proto_msgTypes[188] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10561,7 +10675,7 @@ func (x *ListKeysRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListKeysRequest.ProtoReflect.Descriptor instead. func (*ListKeysRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{186} + return file_app_v1_app_proto_rawDescGZIP(), []int{188} } func (x *ListKeysRequest) GetOrgId() string { @@ -10581,7 +10695,7 @@ type ListKeysResponse struct { func (x *ListKeysResponse) Reset() { *x = ListKeysResponse{} - mi := &file_app_v1_app_proto_msgTypes[187] + mi := &file_app_v1_app_proto_msgTypes[189] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10593,7 +10707,7 @@ func (x *ListKeysResponse) String() string { func (*ListKeysResponse) ProtoMessage() {} func (x *ListKeysResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[187] + mi := &file_app_v1_app_proto_msgTypes[189] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10606,7 +10720,7 @@ func (x *ListKeysResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListKeysResponse.ProtoReflect.Descriptor instead. func (*ListKeysResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{187} + return file_app_v1_app_proto_rawDescGZIP(), []int{189} } func (x *ListKeysResponse) GetApiKeys() []*APIKeyWithAuthorizations { @@ -10626,7 +10740,7 @@ type RotateKeyRequest struct { func (x *RotateKeyRequest) Reset() { *x = RotateKeyRequest{} - mi := &file_app_v1_app_proto_msgTypes[188] + mi := &file_app_v1_app_proto_msgTypes[190] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10638,7 +10752,7 @@ func (x *RotateKeyRequest) String() string { func (*RotateKeyRequest) ProtoMessage() {} func (x *RotateKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[188] + mi := &file_app_v1_app_proto_msgTypes[190] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10651,7 +10765,7 @@ func (x *RotateKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RotateKeyRequest.ProtoReflect.Descriptor instead. func (*RotateKeyRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{188} + return file_app_v1_app_proto_rawDescGZIP(), []int{190} } func (x *RotateKeyRequest) GetId() string { @@ -10672,7 +10786,7 @@ type RotateKeyResponse struct { func (x *RotateKeyResponse) Reset() { *x = RotateKeyResponse{} - mi := &file_app_v1_app_proto_msgTypes[189] + mi := &file_app_v1_app_proto_msgTypes[191] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10684,7 +10798,7 @@ func (x *RotateKeyResponse) String() string { func (*RotateKeyResponse) ProtoMessage() {} func (x *RotateKeyResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[189] + mi := &file_app_v1_app_proto_msgTypes[191] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10697,7 +10811,7 @@ func (x *RotateKeyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RotateKeyResponse.ProtoReflect.Descriptor instead. func (*RotateKeyResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{189} + return file_app_v1_app_proto_rawDescGZIP(), []int{191} } func (x *RotateKeyResponse) GetId() string { @@ -10724,7 +10838,7 @@ type CreateKeyFromExistingKeyAuthorizationsRequest struct { func (x *CreateKeyFromExistingKeyAuthorizationsRequest) Reset() { *x = CreateKeyFromExistingKeyAuthorizationsRequest{} - mi := &file_app_v1_app_proto_msgTypes[190] + mi := &file_app_v1_app_proto_msgTypes[192] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10736,7 +10850,7 @@ func (x *CreateKeyFromExistingKeyAuthorizationsRequest) String() string { func (*CreateKeyFromExistingKeyAuthorizationsRequest) ProtoMessage() {} func (x *CreateKeyFromExistingKeyAuthorizationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[190] + mi := &file_app_v1_app_proto_msgTypes[192] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10749,7 +10863,7 @@ func (x *CreateKeyFromExistingKeyAuthorizationsRequest) ProtoReflect() protorefl // Deprecated: Use CreateKeyFromExistingKeyAuthorizationsRequest.ProtoReflect.Descriptor instead. func (*CreateKeyFromExistingKeyAuthorizationsRequest) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{190} + return file_app_v1_app_proto_rawDescGZIP(), []int{192} } func (x *CreateKeyFromExistingKeyAuthorizationsRequest) GetId() string { @@ -10770,7 +10884,7 @@ type CreateKeyFromExistingKeyAuthorizationsResponse struct { func (x *CreateKeyFromExistingKeyAuthorizationsResponse) Reset() { *x = CreateKeyFromExistingKeyAuthorizationsResponse{} - mi := &file_app_v1_app_proto_msgTypes[191] + mi := &file_app_v1_app_proto_msgTypes[193] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10782,7 +10896,7 @@ func (x *CreateKeyFromExistingKeyAuthorizationsResponse) String() string { func (*CreateKeyFromExistingKeyAuthorizationsResponse) ProtoMessage() {} func (x *CreateKeyFromExistingKeyAuthorizationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_app_v1_app_proto_msgTypes[191] + mi := &file_app_v1_app_proto_msgTypes[193] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10795,7 +10909,7 @@ func (x *CreateKeyFromExistingKeyAuthorizationsResponse) ProtoReflect() protoref // Deprecated: Use CreateKeyFromExistingKeyAuthorizationsResponse.ProtoReflect.Descriptor instead. func (*CreateKeyFromExistingKeyAuthorizationsResponse) Descriptor() ([]byte, []int) { - return file_app_v1_app_proto_rawDescGZIP(), []int{191} + return file_app_v1_app_proto_rawDescGZIP(), []int{193} } func (x *CreateKeyFromExistingKeyAuthorizationsResponse) GetId() string { @@ -11176,1607 +11290,1631 @@ var file_app_v1_app_proto_rawDesc = []byte{ 0x72, 0x65, 0x73, 0x73, 0x52, 0x0e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x1e, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x0a, 0x1c, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, - 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x44, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, + 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0xdb, 0x01, + 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x70, 0x70, 0x6f, + 0x72, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x19, 0x0a, 0x08, + 0x6c, 0x6f, 0x67, 0x6f, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6c, 0x6f, 0x67, 0x6f, 0x55, 0x72, 0x6c, 0x12, 0x32, 0x0a, 0x15, 0x62, 0x69, 0x6c, 0x6c, 0x69, + 0x6e, 0x67, 0x5f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x5f, 0x75, 0x72, 0x6c, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x44, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x55, 0x72, 0x6c, 0x22, 0x35, 0x0a, 0x1c, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x51, 0x0a, 0x22, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, - 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, - 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, - 0x25, 0x0a, 0x23, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x0a, 0x22, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, - 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, - 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, - 0x67, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x23, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, - 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, - 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, - 0x22, 0x3a, 0x0a, 0x14, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 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, 0x59, 0x0a, 0x14, - 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 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, 0x18, 0x0a, - 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x80, 0x01, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x73, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, - 0x74, 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x22, 0x27, 0x0a, 0x0d, 0x53, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x72, - 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, - 0x69, 0x6f, 0x6e, 0x22, 0xe4, 0x02, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 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, 0x2c, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, - 0x68, 0x12, 0x47, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x03, 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, 0x4f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x6f, 0x62, 0x6f, - 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xd0, 0x02, 0x0a, 0x0c, 0x53, - 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0x9a, 0x84, 0x9e, 0x03, 0x09, 0x62, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x22, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x73, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x12, 0x9a, 0x84, 0x9e, - 0x03, 0x0d, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x52, - 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x63, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x03, 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, 0x42, 0x28, 0x9a, 0x84, 0x9e, 0x03, 0x23, 0x62, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x20, - 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, - 0x22, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x48, 0x0a, 0x05, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, - 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x11, 0x9a, 0x84, - 0x9e, 0x03, 0x0c, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x52, - 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x45, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, - 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, - 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, - 0x54, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0x9e, 0x01, - 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x00, 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x22, 0x4b, - 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x35, 0x0a, 0x12, 0x47, - 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x22, 0x48, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xcc, 0x01, 0x0a, - 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, - 0x12, 0x31, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x10, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, - 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x70, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x4b, 0x0a, 0x16, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x38, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0x0a, 0x2b, - 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x8a, 0x01, 0x0a, - 0x2c, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, - 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x52, 0x16, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3f, 0x0a, 0x14, 0x4c, 0x69, 0x73, - 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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, 0x22, 0x60, 0x0a, 0x14, 0x53, 0x68, - 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, + 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, + 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, + 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x51, 0x0a, 0x22, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, + 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x25, 0x0a, 0x23, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, + 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x0a, + 0x22, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, + 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x23, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, + 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x3a, 0x0a, 0x14, 0x4f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 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, 0x59, 0x0a, 0x14, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x80, + 0x01, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x12, + 0x1a, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x02, 0x18, 0x01, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x07, + 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x73, 0x22, 0x27, 0x0a, 0x0d, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0xe4, 0x02, 0x0a, 0x08, 0x4c, + 0x6f, 0x63, 0x61, 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, 0x2c, 0x0a, 0x12, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x61, 0x75, 0x74, + 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, + 0x74, 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x12, 0x47, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, + 0x03, 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, 0x4f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, + 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0a, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x32, 0x0a, + 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x22, 0xd0, 0x02, 0x0a, 0x0c, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, + 0x9a, 0x84, 0x9e, 0x03, 0x09, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x22, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x12, 0x9a, 0x84, 0x9e, 0x03, 0x0d, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x73, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x63, + 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x03, 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, 0x42, 0x28, + 0x9a, 0x84, 0x9e, 0x03, 0x23, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x4f, 0x6e, 0x12, 0x48, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x42, 0x11, 0x9a, 0x84, 0x9e, 0x03, 0x0c, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x45, 0x0a, + 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, + 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, + 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, + 0x45, 0x44, 0x10, 0x02, 0x22, 0x9e, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, + 0x6f, 0x63, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x12, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x15, + 0x0a, 0x13, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x31, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x35, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x13, 0x47, 0x65, 0x74, + 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x31, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0xcc, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, + 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x12, 0x31, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x06, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x22, 0x4b, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x38, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x4e, 0x0a, 0x2b, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x17, 0x0a, 0x15, - 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x62, 0x0a, 0x16, 0x55, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, - 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x55, 0x6e, 0x73, - 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, - 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0x3e, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, - 0x68, 0x22, 0x5b, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x64, 0x22, 0x1e, - 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, - 0x0a, 0x13, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x14, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, - 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x22, 0x21, 0x0a, - 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x6e, 0x49, 0x64, 0x22, 0x8a, 0x01, 0x0a, 0x2c, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x16, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x22, 0x3f, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 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, 0x22, 0x60, 0x0a, 0x14, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x62, 0x0a, 0x16, + 0x55, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x22, 0x19, 0x0a, 0x17, 0x55, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0x0a, 0x15, 0x4c, + 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3e, 0x0a, 0x1b, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x1c, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x61, 0x75, 0x74, + 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, + 0x74, 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x22, 0x5b, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x63, + 0x72, 0x65, 0x74, 0x49, 0x64, 0x22, 0x1e, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x13, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x45, 0x0a, + 0x14, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, + 0x61, 0x75, 0x74, 0x68, 0x22, 0x21, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 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, 0x34, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x52, 0x6f, + 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x9a, 0x01, + 0x0a, 0x10, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, + 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1d, + 0x0a, 0x0a, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, + 0x12, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x6f, 0x62, 0x6f, 0x74, + 0x4d, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x1c, 0x47, 0x65, + 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x6f, + 0x62, 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, + 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, + 0x73, 0x22, 0x3c, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x22, + 0x31, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, + 0x49, 0x64, 0x22, 0x45, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, + 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x70, + 0x61, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, + 0x72, 0x74, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x22, 0x25, 0x0a, 0x13, 0x47, 0x65, 0x74, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 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, 0x34, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, - 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x9a, 0x01, 0x0a, 0x10, 0x52, 0x6f, 0x76, 0x65, 0x72, - 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, - 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, - 0x6f, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x62, 0x6f, 0x74, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x6f, 0x62, - 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x12, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, - 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x4d, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, - 0x74, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, - 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x52, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x22, 0x3c, 0x0a, 0x10, 0x47, 0x65, - 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, - 0x0a, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, - 0x74, 0x52, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x22, 0x31, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x15, 0x47, - 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x05, 0x70, 0x61, 0x72, - 0x74, 0x73, 0x22, 0x25, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, + 0x22, 0x63, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, + 0x70, 0x61, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6a, + 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x4a, 0x73, 0x6f, 0x6e, 0x22, 0x8a, 0x03, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 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, 0x23, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x12, + 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x06, 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, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x03, 0x65, 0x6e, 0x64, 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, + 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x48, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x09, 0x48, 0x05, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x88, 0x01, + 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x0d, 0x0a, 0x0b, + 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x5f, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x65, 0x6e, 0x64, 0x42, 0x08, 0x0a, + 0x06, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x22, 0x70, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, + 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, + 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, + 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, + 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x73, 0x0a, 0x18, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, + 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 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, 0x1f, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x4f, 0x6e, 0x6c, + 0x79, 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x09, + 0x0a, 0x07, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x49, 0x0a, 0x19, 0x54, 0x61, 0x69, + 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, + 0x6c, 0x6f, 0x67, 0x73, 0x22, 0x2c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, + 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x22, 0x5b, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, + 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, + 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, + 0x78, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 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, 0x63, 0x0a, 0x14, 0x47, 0x65, 0x74, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, - 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, 0x12, 0x1f, 0x0a, - 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x73, 0x6f, 0x6e, 0x22, 0x8a, - 0x03, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, - 0x6f, 0x67, 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, 0x23, 0x0a, 0x0b, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, - 0x02, 0x18, 0x01, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, - 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, - 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, - 0x74, 0x18, 0x06, 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, 0x73, 0x74, 0x61, 0x72, 0x74, 0x88, 0x01, 0x01, 0x12, - 0x31, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 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, + 0x0c, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0b, 0x72, 0x6f, + 0x62, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x45, 0x0a, 0x17, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, + 0x22, 0x4d, 0x0a, 0x13, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, + 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, + 0x2f, 0x0a, 0x14, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, + 0x22, 0x31, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, + 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, + 0x74, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, + 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, + 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x22, 0x79, 0x0a, 0x06, 0x41, 0x50, 0x49, 0x4b, + 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 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, 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x88, - 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x03, 0x48, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, - 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x48, 0x05, 0x52, - 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x06, - 0x0a, 0x04, 0x5f, 0x65, 0x6e, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x70, 0x0a, 0x18, 0x47, - 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x73, 0x0a, - 0x18, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, - 0x67, 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, 0x1f, 0x0a, 0x0b, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x66, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x66, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x22, 0x49, 0x0a, 0x19, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x2c, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x22, 0x2c, 0x0a, - 0x1a, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, - 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5b, 0x0a, 0x1b, 0x47, - 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, - 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x68, 0x69, - 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x78, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0c, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0b, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x22, 0x45, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, - 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, - 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, 0x22, 0x4d, 0x0a, 0x13, 0x4e, 0x65, 0x77, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, - 0x61, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x70, 0x61, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2f, 0x0a, 0x14, 0x4e, 0x65, 0x77, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x31, 0x0a, 0x16, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x16, - 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x49, - 0x64, 0x22, 0x79, 0x0a, 0x06, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 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, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x22, 0x5b, 0x0a, 0x17, - 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, 0x6b, - 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, - 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x85, 0x06, 0x0a, 0x08, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x12, 0x33, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0x9a, - 0x84, 0x9e, 0x03, 0x1e, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x6a, - 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x2c, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, - 0x79, 0x22, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x1c, 0x9a, 0x84, 0x9e, 0x03, 0x17, 0x62, 0x73, 0x6f, 0x6e, 0x3a, - 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6e, 0x61, 0x6d, - 0x65, 0x22, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x42, 0x24, 0x9a, 0x84, 0x9e, 0x03, 0x1f, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, - 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, - 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x12, 0x5a, 0x0a, 0x12, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x2b, 0x9a, 0x84, 0x9e, 0x03, 0x26, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x20, - 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x52, 0x11, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, - 0x38, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, - 0x20, 0x9a, 0x84, 0x9e, 0x03, 0x1b, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, - 0x22, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x51, 0x0a, 0x0a, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x4f, 0x6e, 0x22, 0x5b, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, + 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, + 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, + 0x22, 0x19, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x85, 0x06, 0x0a, 0x08, + 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x33, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0x9a, 0x84, 0x9e, 0x03, 0x1e, 0x62, 0x73, 0x6f, 0x6e, 0x3a, + 0x22, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x2c, 0x6f, + 0x6d, 0x69, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1c, 0x9a, 0x84, 0x9e, + 0x03, 0x17, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x6a, 0x73, + 0x6f, 0x6e, 0x3a, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x59, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x24, 0x9a, 0x84, 0x9e, 0x03, + 0x1f, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, + 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, + 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x5a, 0x0a, 0x12, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0x9a, 0x84, 0x9e, 0x03, 0x26, 0x62, 0x73, 0x6f, + 0x6e, 0x3a, 0x22, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x22, 0x52, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x20, 0x9a, 0x84, 0x9e, 0x03, 0x1b, 0x62, 0x73, 0x6f, + 0x6e, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, + 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x22, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x12, 0x51, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x06, + 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, + 0x42, 0x16, 0x9a, 0x84, 0x9e, 0x03, 0x11, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x4f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x28, 0x0a, 0x10, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x6f, 0x62, 0x6f, + 0x74, 0x50, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x12, 0x6f, 0x6e, 0x6c, + 0x79, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x6f, 0x6e, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x64, 0x42, + 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x3f, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x5a, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0d, 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, 0x42, 0x16, 0x9a, 0x84, 0x9e, 0x03, 0x11, - 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, - 0x22, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x6f, 0x62, - 0x6f, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x12, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x5f, - 0x62, 0x79, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, - 0x6f, 0x6e, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x64, 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, - 0x3f, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x12, 0x5a, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, - 0x18, 0x0d, 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, 0x42, 0x1b, 0x9a, 0x84, 0x9e, 0x03, 0x16, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6c, - 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x22, 0x52, - 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x22, 0xe3, 0x02, 0x0a, - 0x14, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x40, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0x9a, 0x84, 0x9e, 0x03, 0x1f, 0x62, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x20, 0x6a, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x52, 0x08, 0x66, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x5f, 0x0a, 0x09, 0x65, 0x64, 0x69, 0x74, 0x65, - 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x02, 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, 0x42, 0x26, 0x9a, 0x84, 0x9e, 0x03, 0x21, 0x62, 0x73, 0x6f, - 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x20, 0x6a, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x52, 0x08, - 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x12, 0x43, 0x0a, 0x03, 0x6f, 0x6c, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x1a, 0x9a, 0x84, - 0x9e, 0x03, 0x15, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x6c, 0x64, 0x22, 0x20, 0x6a, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x6c, 0x64, 0x22, 0x52, 0x03, 0x6f, 0x6c, 0x64, 0x12, 0x63, 0x0a, - 0x09, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, - 0x42, 0x26, 0x9a, 0x84, 0x9e, 0x03, 0x21, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, - 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, - 0x69, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x22, 0x52, 0x08, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, - 0x42, 0x79, 0x22, 0x87, 0x01, 0x0a, 0x0d, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0xa7, 0x01, 0x0a, - 0x10, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x30, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, - 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xb2, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x46, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x1b, 0x9a, 0x84, 0x9e, 0x03, 0x16, + 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x64, 0x5f, 0x61, 0x74, 0x22, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x64, 0x22, 0xe3, 0x02, 0x0a, 0x14, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x40, 0x0a, 0x08, + 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, + 0x9a, 0x84, 0x9e, 0x03, 0x1f, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x66, 0x72, 0x61, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x22, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x5f, + 0x0a, 0x09, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x02, 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, 0x42, 0x26, 0x9a, + 0x84, 0x9e, 0x03, 0x21, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, + 0x5f, 0x6f, 0x6e, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, + 0x64, 0x5f, 0x6f, 0x6e, 0x22, 0x52, 0x08, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x12, + 0x43, 0x0a, 0x03, 0x6f, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x42, 0x1a, 0x9a, 0x84, 0x9e, 0x03, 0x15, 0x62, 0x73, 0x6f, 0x6e, 0x3a, 0x22, + 0x6f, 0x6c, 0x64, 0x22, 0x20, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x6c, 0x64, 0x22, 0x52, + 0x03, 0x6f, 0x6c, 0x64, 0x12, 0x63, 0x0a, 0x09, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x62, + 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, + 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x26, 0x9a, 0x84, 0x9e, 0x03, 0x21, 0x62, 0x73, + 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x22, 0x20, 0x6a, + 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x22, 0x52, + 0x08, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x42, 0x79, 0x22, 0x87, 0x01, 0x0a, 0x0d, 0x46, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x0a, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x22, 0xa7, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, + 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0f, 0x72, 0x65, 0x73, + 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0e, 0x72, 0x65, 0x73, + 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x30, 0x0a, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xb2, 0x01, + 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 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, + 0x1f, 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x12, 0x50, 0x0a, 0x13, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x69, 0x73, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x12, + 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x22, 0x4c, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x66, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, + 0x22, 0x24, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 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, 0x48, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, + 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x22, 0xda, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, + 0x65, 0x6e, 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, 0x12, 0x2f, + 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 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, 0x1f, 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x77, - 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, - 0x68, 0x6f, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x50, 0x0a, 0x13, 0x66, 0x72, 0x61, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x12, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x4c, 0x0a, 0x15, 0x4c, - 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, - 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x24, 0x0a, 0x12, 0x47, 0x65, 0x74, - 0x46, 0x72, 0x61, 0x67, 0x6d, 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, - 0x48, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, - 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xda, 0x01, 0x0a, 0x15, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 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, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 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, 0x44, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x76, 0x69, 0x73, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x4b, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 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, 0x44, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, + 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x88, 0x01, 0x01, 0x42, 0x0d, + 0x0a, 0x0b, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x4b, 0x0a, + 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xe9, 0x01, 0x0a, 0x15, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x06, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x88, 0x01, 0x01, 0x12, 0x44, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x48, 0x01, 0x52, 0x0a, 0x76, + 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, + 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x76, 0x69, 0x73, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x4b, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x22, 0xe9, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, - 0x61, 0x67, 0x6d, 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, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x08, 0x48, 0x00, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x88, 0x01, 0x01, 0x12, - 0x44, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x48, 0x01, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, - 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x22, - 0x4b, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x66, 0x72, 0x61, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x27, 0x0a, 0x15, + 0x65, 0x6e, 0x74, 0x22, 0x27, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, + 0x67, 0x6d, 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, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 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, 0x18, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x91, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, - 0x69, 0x73, 0x74, 0x6f, 0x72, 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, 0x22, 0x0a, - 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x00, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, - 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, - 0x6d, 0x69, 0x74, 0x22, 0x81, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, - 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, - 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, - 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x34, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x74, 0x0a, - 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, - 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x61, - 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x15, 0x61, 0x64, - 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x49, 0x64, 0x73, 0x22, 0xa1, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, - 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, - 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x4c, 0x0a, 0x12, 0x72, 0x65, 0x73, - 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x46, 0x72, - 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x40, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, - 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, - 0x74, 0x52, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x22, 0x41, 0x0a, 0x0f, 0x4e, 0x65, 0x77, - 0x52, 0x6f, 0x62, 0x6f, 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, - 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x22, 0x0a, 0x10, - 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 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, 0x54, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, - 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, - 0x52, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x22, 0x24, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x46, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 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, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, + 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x09, + 0x70, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, + 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x81, 0x01, 0x0a, 0x1a, 0x47, + 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, + 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x68, 0x69, 0x73, + 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, + 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, + 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x34, + 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x74, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, + 0x49, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, + 0x5f, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x15, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x22, 0xa1, 0x01, 0x0a, 0x1c, 0x4c, + 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x66, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, + 0x12, 0x4c, 0x0a, 0x12, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, + 0x76, 0x65, 0x64, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x11, 0x72, 0x65, 0x73, + 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x40, + 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x06, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x73, + 0x22, 0x41, 0x0a, 0x0f, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 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, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x22, 0x0a, 0x10, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 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, 0x54, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 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, 0x15, 0x0a, - 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x0a, 0x15, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, - 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, - 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, - 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x34, 0x0a, 0x19, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, - 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, - 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, - 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, - 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, + 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, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x0a, + 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x05, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x22, 0x24, + 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 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, 0x15, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, + 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x0a, 0x15, 0x4d, + 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x4b, 0x0a, - 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, - 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, - 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, - 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, 0x61, 0x72, 0x74, 0x22, 0x54, 0x0a, 0x1c, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, - 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, - 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, - 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x64, - 0x22, 0x1f, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x9e, 0x02, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, - 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, - 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, - 0x0d, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, - 0x70, 0x65, 0x22, 0x52, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x11, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x55, 0x0a, 0x11, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, - 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x14, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa5, 0x01, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x11, - 0x6f, 0x6c, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x18, 0x0a, + 0x16, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x0a, 0x19, 0x4d, 0x61, 0x72, 0x6b, 0x50, + 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x1c, 0x0a, + 0x1a, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x0a, 0x1c, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, + 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, + 0x72, 0x74, 0x49, 0x64, 0x22, 0x4b, 0x0a, 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, + 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x70, 0x61, 0x72, + 0x74, 0x22, 0x54, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, + 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9e, 0x02, 0x0a, 0x0d, 0x41, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x22, 0x52, 0x0a, 0x0e, 0x41, 0x64, 0x64, + 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, + 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x11, 0x0a, + 0x0f, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x55, 0x0a, 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x14, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa5, 0x01, + 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x11, 0x6f, 0x6c, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6f, 0x6c, 0x64, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x11, + 0x6e, 0x65, 0x77, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6f, 0x6c, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x11, 0x6e, 0x65, 0x77, 0x5f, 0x61, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6e, 0x65, - 0x77, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x14, - 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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, 0x21, 0x0a, 0x0c, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x73, 0x22, 0x60, 0x0a, - 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0e, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, - 0x5f, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x0b, 0x70, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0x7f, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, - 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, - 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x22, 0x75, 0x0a, 0x18, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, - 0x16, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x15, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd1, 0x01, 0x0a, 0x0d, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, - 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, - 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, - 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, - 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0xc4, 0x01, 0x0a, - 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, - 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, - 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x36, 0x0a, 0x08, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, + 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6e, 0x65, 0x77, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x14, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, + 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x0a, 0x19, 0x4c, + 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 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, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x49, 0x64, 0x73, 0x22, 0x60, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x5f, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x44, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7f, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x75, 0x0a, 0x18, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x16, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x15, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x7a, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, + 0xd1, 0x01, 0x0a, 0x0d, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x66, + 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, + 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, - 0x72, 0x75, 0x6e, 0x22, 0xc0, 0x01, 0x0a, 0x0f, 0x4d, 0x4c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, - 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, + 0x72, 0x75, 0x6e, 0x22, 0xc4, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x73, 0x12, 0x36, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, + 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, + 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, + 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0xc0, 0x01, 0x0a, 0x0f, 0x4d, + 0x4c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, + 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, - 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, - 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, - 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x68, 0x0a, 0x11, 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, - 0x6e, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x5f, 0x6f, 0x6e, 0x18, 0x02, 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, 0x4f, 0x6e, - 0x22, 0xff, 0x01, 0x0a, 0x12, 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, - 0x6e, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, - 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, + 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x0f, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, + 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x0e, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x68, 0x0a, + 0x11, 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x02, 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, 0x4f, 0x6e, 0x22, 0xff, 0x01, 0x0a, 0x12, 0x4d, 0x4c, 0x54, 0x72, + 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3a, + 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, + 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0a, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, - 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, - 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, - 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x72, 0x61, 0x66, 0x74, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x72, 0x61, 0x66, 0x74, 0x4a, 0x04, 0x08, 0x01, - 0x10, 0x02, 0x22, 0x8c, 0x07, 0x0a, 0x0c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, - 0x74, 0x65, 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x61, - 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x37, 0x0a, 0x0a, 0x76, - 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, - 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, - 0x6c, 0x5f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x55, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x3b, 0x0a, 0x1a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x78, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x75, 0x73, 0x61, - 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, - 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x55, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x16, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x49, 0x0a, 0x21, 0x74, - 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, - 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x74, - 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x46, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0e, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4a, - 0x0a, 0x11, 0x6d, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0f, 0x6d, 0x6c, 0x4d, 0x6f, 0x64, - 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x53, 0x0a, 0x14, 0x6d, 0x6c, - 0x5f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, - 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x6c, 0x54, - 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, - 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0f, 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, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x10, 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, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x22, 0x31, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, - 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, - 0x65, 0x6d, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x2d, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4f, 0x0a, 0x0f, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x6d, 0x6c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4d, + 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x0e, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x14, 0x0a, + 0x05, 0x64, 0x72, 0x61, 0x66, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x72, + 0x61, 0x66, 0x74, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x8c, 0x07, 0x0a, 0x0c, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, + 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, + 0x6d, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x37, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, + 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, + 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x20, 0x0a, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x75, + 0x73, 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3b, 0x0a, 0x1a, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x6f, + 0x62, 0x6f, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x17, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x6f, + 0x62, 0x6f, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, + 0x73, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x49, 0x0a, 0x21, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1e, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x46, 0x0a, + 0x0f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4a, 0x0a, 0x11, 0x6d, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, + 0x4c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, + 0x52, 0x0f, 0x6d, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x12, 0x53, 0x0a, 0x14, 0x6d, 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x4c, + 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x48, 0x00, 0x52, 0x12, 0x6d, 0x6c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0f, 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, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, + 0x10, 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, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x0a, 0x0a, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x31, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x17, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, + 0x04, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x8f, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 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, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, + 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe5, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, + 0x79, 0x70, 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, 0x37, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x15, + 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, + 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x1c, 0x0a, + 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, + 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc3, 0x03, 0x0a, 0x18, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x37, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, + 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, + 0x3b, 0x0a, 0x0c, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0c, + 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x09, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0b, 0x73, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0a, + 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x65, 0x72, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, + 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x02, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, + 0x01, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x70, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x42, 0x12, + 0x0a, 0x10, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x74, 0x65, + 0x72, 0x6d, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0x4c, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, + 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x22, 0x8f, - 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x49, 0x74, 0x65, 0x6d, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, - 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe5, - 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, + 0x34, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, - 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, - 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, - 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 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, 0x37, - 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x06, - 0x0a, 0x04, 0x5f, 0x75, 0x72, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc3, 0x03, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x2c, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, - 0x37, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x21, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, - 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0c, 0x76, 0x69, 0x73, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x17, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0c, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, - 0x72, 0x6d, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, - 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, - 0x12, 0x24, 0x0a, 0x0b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, - 0x65, 0x72, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x09, 0x70, 0x61, - 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x75, - 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, - 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, - 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4c, 0x0a, 0x19, 0x4c, 0x69, - 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, - 0x6d, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x34, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x1c, - 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x68, 0x0a, 0x1b, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, - 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, - 0x65, 0x6d, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x12, 0x6e, 0x65, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x1e, 0x0a, 0x1c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, - 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x45, 0x0a, 0x14, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, - 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, - 0x6c, 0x22, 0x9b, 0x02, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, + 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x68, 0x0a, 0x1b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x6e, + 0x65, 0x77, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6e, 0x65, 0x77, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x1e, 0x0a, + 0x1c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0x0a, + 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 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, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x45, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, - 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, - 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, - 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x07, 0x20, 0x01, + 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x9b, 0x02, 0x0a, 0x13, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, + 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, + 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, + 0x72, 0x75, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, + 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, + 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0x28, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 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, + 0x22, 0x2f, 0x0a, 0x05, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x70, 0x69, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x70, 0x69, 0x12, 0x14, 0x0a, 0x05, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x22, 0x88, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x54, 0x61, 0x67, 0x73, 0x22, 0x87, 0x01, 0x0a, + 0x17, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x10, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, + 0x00, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x14, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, + 0x00, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x2c, 0x0a, 0x18, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 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, 0x22, 0x2f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x40, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x6d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, + 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x22, 0x95, 0x04, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x37, 0x0a, 0x08, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, + 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x55, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x16, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, + 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, - 0x28, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 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, 0x22, 0x2f, 0x0a, 0x05, 0x4d, 0x6f, 0x64, - 0x65, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x70, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x61, 0x70, 0x69, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x88, 0x01, 0x0a, 0x0e, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, - 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x74, 0x61, 0x67, - 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x54, 0x61, 0x67, 0x73, 0x22, 0x87, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x47, 0x0a, 0x10, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, - 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x04, 0x66, 0x69, - 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, - 0x42, 0x0d, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x22, - 0x2c, 0x0a, 0x18, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, - 0x69, 0x6c, 0x65, 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, 0x22, 0x2f, 0x0a, - 0x10, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x40, - 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x22, 0x95, 0x04, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0a, - 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, - 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x37, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x73, - 0x74, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x10, - 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, - 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x2a, - 0x0a, 0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x5f, 0x75, 0x73, - 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x6f, - 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x74, 0x6f, - 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, - 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x29, 0x0a, - 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, - 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, - 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, - 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0xd2, 0x01, 0x0a, 0x0e, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, - 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x1e, 0x0a, - 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, - 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, - 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x22, 0x62, 0x0a, - 0x07, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, - 0x5f, 0x61, 0x74, 0x18, 0x02, 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, 0x0a, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x41, - 0x74, 0x22, 0x56, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x00, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x13, 0x4c, 0x69, 0x73, - 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x2d, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, - 0x2f, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, - 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, - 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, - 0x22, 0x33, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, - 0x6d, 0x61, 0x69, 0x6c, 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, 0x39, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 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, 0x3e, 0x0a, 0x0a, 0x4f, 0x72, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x15, - 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x67, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x67, 0x4e, 0x61, 0x6d, 0x65, - 0x22, 0x4e, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 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, 0x2b, 0x0a, 0x04, 0x6f, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4f, 0x72, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x04, 0x6f, 0x72, 0x67, 0x73, - 0x22, 0x6a, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x35, 0x0a, 0x11, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x22, 0x22, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, + 0xd2, 0x01, 0x0a, 0x0e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x73, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, + 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x73, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, + 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x06, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x72, 0x75, + 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, + 0x52, 0x75, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x69, 0x72, 0x73, 0x74, + 0x5f, 0x72, 0x75, 0x6e, 0x22, 0x62, 0x0a, 0x07, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, + 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x3b, 0x0a, 0x0b, 0x75, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 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, 0x0a, 0x75, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x41, 0x74, 0x22, 0x56, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, + 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x12, 0x0a, 0x10, + 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x22, 0x44, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x07, 0x6d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2f, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, + 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x33, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 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, 0x39, 0x0a, 0x1e, + 0x4c, 0x69, 0x73, 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, 0x3e, 0x0a, 0x0a, 0x4f, 0x72, 0x67, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, + 0x6f, 0x72, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6f, 0x72, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x4e, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 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, 0x2b, 0x0a, 0x04, 0x6f, 0x72, + 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x52, 0x04, 0x6f, 0x72, 0x67, 0x73, 0x22, 0x6a, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x0e, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x22, 0x35, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x22, 0x0a, 0x10, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 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, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x10, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 0x79, 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, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x10, - 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 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, 0x37, 0x0a, 0x11, 0x52, + 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x37, 0x0a, 0x11, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, - 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, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xcd, 0x01, - 0x0a, 0x14, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x93, 0x01, - 0x0a, 0x18, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2c, 0x0a, 0x07, 0x61, 0x70, - 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, - 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x49, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x73, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x22, 0x28, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0x54, 0x0a, - 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x40, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, 0x69, 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, - 0x65, 0x79, 0x73, 0x22, 0x22, 0x0a, 0x10, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x35, 0x0a, 0x11, 0x52, 0x6f, 0x74, 0x61, 0x74, - 0x65, 0x4b, 0x65, 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, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x3f, - 0x0a, 0x2d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, - 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, - 0x52, 0x0a, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, - 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x2a, 0xd1, 0x01, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x55, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xcd, 0x01, 0x0a, 0x14, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x2d, 0x0a, + 0x12, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, + 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x15, 0x0a, + 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, + 0x72, 0x67, 0x49, 0x64, 0x22, 0x93, 0x01, 0x0a, 0x18, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, + 0x69, 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x2c, 0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, + 0x49, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0e, 0x61, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x28, 0x0a, 0x0f, 0x4c, 0x69, + 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, + 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, + 0x72, 0x67, 0x49, 0x64, 0x22, 0x54, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, + 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x57, + 0x69, 0x74, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x22, 0x22, 0x0a, 0x10, 0x52, 0x6f, + 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x35, + 0x0a, 0x11, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 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, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x3f, 0x0a, 0x2d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, + 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, + 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x52, 0x0a, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, + 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x2a, 0xd1, 0x01, 0x0a, 0x12, 0x41, + 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 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, 0x21, 0x0a, 0x1d, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, + 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, + 0x42, 0x5f, 0x4f, 0x41, 0x55, 0x54, 0x48, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x55, 0x54, + 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x02, 0x12, 0x29, 0x0a, 0x25, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x52, 0x4f, 0x42, 0x4f, 0x54, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x5f, 0x53, 0x45, 0x43, + 0x52, 0x45, 0x54, 0x10, 0x03, 0x12, 0x27, 0x0a, 0x23, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, + 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x43, + 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x10, 0x04, 0x2a, 0xa3, + 0x01, 0x0a, 0x12, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x23, 0x0a, 0x1f, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, + 0x54, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x46, 0x52, + 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, + 0x59, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x46, + 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, + 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x02, 0x12, 0x27, 0x0a, 0x23, 0x46, + 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, + 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x5f, 0x55, 0x4e, 0x4c, 0x49, 0x53, 0x54, + 0x45, 0x44, 0x10, 0x03, 0x2a, 0xdd, 0x01, 0x0a, 0x11, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x46, 0x52, + 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, - 0x21, 0x0a, 0x1d, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, - 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x42, 0x5f, 0x4f, 0x41, 0x55, 0x54, 0x48, - 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, - 0x59, 0x10, 0x02, 0x12, 0x29, 0x0a, 0x25, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, - 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x4f, 0x42, 0x4f, 0x54, - 0x5f, 0x50, 0x41, 0x52, 0x54, 0x5f, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x10, 0x03, 0x12, 0x27, - 0x0a, 0x23, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, - 0x45, 0x43, 0x52, 0x45, 0x54, 0x10, 0x04, 0x2a, 0xa3, 0x01, 0x0a, 0x12, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x23, - 0x0a, 0x1f, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, - 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, - 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, - 0x54, 0x45, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, - 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, - 0x49, 0x43, 0x10, 0x02, 0x12, 0x27, 0x0a, 0x23, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, - 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, - 0x49, 0x43, 0x5f, 0x55, 0x4e, 0x4c, 0x49, 0x53, 0x54, 0x45, 0x44, 0x10, 0x03, 0x2a, 0xdd, 0x01, - 0x0a, 0x11, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, - 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x46, 0x52, 0x41, 0x47, - 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x4e, 0x4f, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x2e, 0x0a, 0x2a, 0x46, - 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x4e, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, - 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x46, - 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x43, 0x48, 0x49, 0x4c, 0x44, 0x5f, 0x49, 0x44, 0x5f, 0x49, 0x4e, 0x56, 0x41, - 0x4c, 0x49, 0x44, 0x10, 0x03, 0x12, 0x26, 0x0a, 0x22, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, - 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x59, 0x43, - 0x4c, 0x45, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x04, 0x2a, 0x87, 0x01, - 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x20, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, - 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, - 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x54, - 0x55, 0x53, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x01, 0x12, 0x27, - 0x0a, 0x23, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, - 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, 0x5f, 0x44, 0x45, 0x56, 0x45, 0x4c, 0x4f, - 0x50, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x2a, 0x77, 0x0a, 0x0a, 0x56, 0x69, 0x73, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x16, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, - 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, - 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x49, 0x53, - 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x02, - 0x12, 0x1e, 0x0a, 0x1a, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, - 0x55, 0x42, 0x4c, 0x49, 0x43, 0x5f, 0x55, 0x4e, 0x4c, 0x49, 0x53, 0x54, 0x45, 0x44, 0x10, 0x03, - 0x32, 0xcc, 0x3c, 0x0a, 0x0a, 0x41, 0x70, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x5f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, - 0x61, 0x69, 0x6c, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, - 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, - 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x65, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 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, 0x27, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x62, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x21, 0x0a, 0x1d, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, + 0x10, 0x01, 0x12, 0x2e, 0x0a, 0x2a, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x45, 0x53, 0x54, 0x49, 0x4e, + 0x47, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, + 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x48, 0x49, 0x4c, 0x44, 0x5f, + 0x49, 0x44, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x03, 0x12, 0x26, 0x0a, 0x22, + 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x43, 0x59, 0x43, 0x4c, 0x45, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43, 0x54, + 0x45, 0x44, 0x10, 0x04, 0x2a, 0x87, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x20, 0x52, + 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x59, 0x5f, 0x49, 0x54, + 0x45, 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, + 0x48, 0x45, 0x44, 0x10, 0x01, 0x12, 0x27, 0x0a, 0x23, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, + 0x59, 0x5f, 0x49, 0x54, 0x45, 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x4e, + 0x5f, 0x44, 0x45, 0x56, 0x45, 0x4c, 0x4f, 0x50, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x2a, 0x77, + 0x0a, 0x0a, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x16, + 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, + 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x49, 0x53, 0x49, + 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 0x01, + 0x12, 0x15, 0x0a, 0x11, 0x56, 0x49, 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, + 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x56, 0x49, 0x53, 0x49, 0x42, + 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x5f, 0x55, 0x4e, 0x4c, + 0x49, 0x53, 0x54, 0x45, 0x44, 0x10, 0x03, 0x32, 0xc2, 0x3d, 0x0a, 0x0a, 0x41, 0x70, 0x70, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, + 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, + 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 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, 0x12, 0x62, + 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9b, 0x01, 0x0a, 0x24, - 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x9b, 0x01, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, + 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x74, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 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, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 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, 0x5c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 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, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, - 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x17, 0x4c, 0x69, 0x73, - 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, - 0x55, 0x73, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 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, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 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, - 0x5c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9b, 0x01, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x38, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x9b, 0x01, - 0x0a, 0x24, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x38, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x76, 0x61, - 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x39, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x65, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x76, + 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, + 0x61, 0x70, 0x70, 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, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x74, 0x0a, 0x17, 0x4c, 0x69, 0x73, - 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x77, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x12, 0x65, 0x0a, 0x12, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 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, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 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, + 0x12, 0x74, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x2b, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, - 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa1, 0x01, 0x0a, 0x26, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x3b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, + 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0xa1, 0x01, 0x0a, 0x26, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, + 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, - 0x0a, 0x18, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x2c, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, - 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, - 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x29, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x61, - 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, - 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, - 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x28, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, - 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x2d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, + 0x73, 0x65, 0x6e, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, + 0x0a, 0x14, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, + 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, 0x44, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, + 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, + 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x42, + 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x12, 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, + 0x01, 0x0a, 0x1b, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2f, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, + 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x1b, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, + 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x53, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, + 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x1b, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, - 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, - 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x47, 0x65, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x59, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x4c, 0x69, - 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, + 0x50, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x56, 0x0a, 0x0d, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x55, 0x6e, - 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, - 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x68, - 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x55, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, - 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, - 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x55, 0x6e, 0x73, 0x68, 0x61, + 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x68, 0x61, 0x72, 0x65, + 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, + 0x73, 0x68, 0x61, 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x41, 0x75, 0x74, 0x68, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, + 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x52, 0x6f, - 0x62, 0x6f, 0x74, 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x6b, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, - 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, - 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, - 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, - 0x0d, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x12, 0x21, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, + 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, + 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, - 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, - 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x47, 0x65, - 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x24, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, + 0x14, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, + 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, + 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x52, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x62, 0x6f, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x47, 0x65, + 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, + 0x72, 0x74, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x6f, + 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x24, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x11, 0x54, 0x61, 0x69, 0x6c, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x25, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, - 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x11, 0x54, - 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, - 0x12, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, - 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, - 0x01, 0x12, 0x68, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, - 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, - 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x23, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x54, 0x61, 0x69, 0x6c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, + 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x68, + 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, + 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, + 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x23, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, + 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x23, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x4e, 0x65, 0x77, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, - 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, - 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, - 0x74, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, - 0x50, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, - 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x12, - 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, - 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x4d, 0x61, - 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x12, 0x22, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, - 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, - 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x26, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, - 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, - 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, - 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, - 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, - 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x4e, - 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, - 0x62, 0x6f, 0x74, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, - 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x23, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, + 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x4d, 0x61, 0x72, 0x6b, 0x50, + 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, + 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, + 0x50, 0x61, 0x72, 0x74, 0x41, 0x73, 0x4d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, + 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, + 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4d, + 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, + 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, + 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x50, 0x61, 0x72, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x4e, 0x65, 0x77, 0x52, + 0x6f, 0x62, 0x6f, 0x74, 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x65, 0x77, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, + 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, + 0x6f, 0x74, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x50, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, - 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, - 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, - 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, - 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, - 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x65, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, - 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, - 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x52, 0x6f, - 0x6c, 0x65, 0x12, 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, - 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, - 0x0a, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, - 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, - 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x4c, - 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x10, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x65, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x26, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x62, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, - 0x74, 0x65, 0x6d, 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, - 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, - 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, - 0x65, 0x6d, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, - 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x20, 0x2e, 0x76, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, + 0x0b, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x59, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x61, 0x0a, 0x10, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x28, 0x01, 0x12, 0x4a, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x50, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, - 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, - 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, - 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, 0x69, + 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, - 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x4c, 0x69, - 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 0x79, - 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, - 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, - 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x4a, 0x0a, 0x09, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, + 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x6b, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, + 0x12, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, + 0x6f, 0x72, 0x79, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, + 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x12, + 0x1b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, + 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x6f, + 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x6f, 0x6c, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x6f, 0x6c, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, + 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x5f, 0x0a, 0x10, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x5c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, + 0x74, 0x65, 0x6d, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, + 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, + 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x49, 0x74, 0x65, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x11, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, + 0x73, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x65, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x14, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, + 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, + 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, + 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x20, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, + 0x0a, 0x10, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, + 0x6c, 0x65, 0x12, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, + 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, + 0x01, 0x12, 0x4a, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x1d, + 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, + 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x4a, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, - 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, - 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa1, 0x01, 0x0a, 0x26, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, - 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, - 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, - 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, - 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, - 0x18, 0x5a, 0x16, 0x67, 0x6f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, + 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x4b, + 0x65, 0x79, 0x73, 0x12, 0x1c, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x4a, 0x0a, 0x09, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, + 0x6d, 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, + 0x65, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, + 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa1, 0x01, 0x0a, 0x26, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x3a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, + 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x3b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x45, 0x78, 0x69, 0x73, 0x74, + 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x18, 0x5a, 0x16, + 0x67, 0x6f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -12792,7 +12930,7 @@ func file_app_v1_app_proto_rawDescGZIP() []byte { } var file_app_v1_app_proto_enumTypes = make([]protoimpl.EnumInfo, 6) -var file_app_v1_app_proto_msgTypes = make([]protoimpl.MessageInfo, 192) +var file_app_v1_app_proto_msgTypes = make([]protoimpl.MessageInfo, 194) var file_app_v1_app_proto_goTypes = []any{ (AuthenticationType)(0), // 0: viam.app.v1.AuthenticationType (FragmentVisibility)(0), // 1: viam.app.v1.FragmentVisibility @@ -12836,462 +12974,467 @@ var file_app_v1_app_proto_goTypes = []any{ (*EnableBillingServiceResponse)(nil), // 39: viam.app.v1.EnableBillingServiceResponse (*UpdateBillingServiceRequest)(nil), // 40: viam.app.v1.UpdateBillingServiceRequest (*UpdateBillingServiceResponse)(nil), // 41: viam.app.v1.UpdateBillingServiceResponse - (*DisableBillingServiceRequest)(nil), // 42: viam.app.v1.DisableBillingServiceRequest - (*DisableBillingServiceResponse)(nil), // 43: viam.app.v1.DisableBillingServiceResponse - (*OrganizationSetSupportEmailRequest)(nil), // 44: viam.app.v1.OrganizationSetSupportEmailRequest - (*OrganizationSetSupportEmailResponse)(nil), // 45: viam.app.v1.OrganizationSetSupportEmailResponse - (*OrganizationGetSupportEmailRequest)(nil), // 46: viam.app.v1.OrganizationGetSupportEmailRequest - (*OrganizationGetSupportEmailResponse)(nil), // 47: viam.app.v1.OrganizationGetSupportEmailResponse - (*OrganizationIdentity)(nil), // 48: viam.app.v1.OrganizationIdentity - (*LocationOrganization)(nil), // 49: viam.app.v1.LocationOrganization - (*LocationAuth)(nil), // 50: viam.app.v1.LocationAuth - (*StorageConfig)(nil), // 51: viam.app.v1.StorageConfig - (*Location)(nil), // 52: viam.app.v1.Location - (*SharedSecret)(nil), // 53: viam.app.v1.SharedSecret - (*CreateLocationRequest)(nil), // 54: viam.app.v1.CreateLocationRequest - (*CreateLocationResponse)(nil), // 55: viam.app.v1.CreateLocationResponse - (*GetLocationRequest)(nil), // 56: viam.app.v1.GetLocationRequest - (*GetLocationResponse)(nil), // 57: viam.app.v1.GetLocationResponse - (*UpdateLocationRequest)(nil), // 58: viam.app.v1.UpdateLocationRequest - (*UpdateLocationResponse)(nil), // 59: viam.app.v1.UpdateLocationResponse - (*DeleteLocationRequest)(nil), // 60: viam.app.v1.DeleteLocationRequest - (*DeleteLocationResponse)(nil), // 61: viam.app.v1.DeleteLocationResponse - (*GetOrganizationsWithAccessToLocationRequest)(nil), // 62: viam.app.v1.GetOrganizationsWithAccessToLocationRequest - (*GetOrganizationsWithAccessToLocationResponse)(nil), // 63: viam.app.v1.GetOrganizationsWithAccessToLocationResponse - (*ListLocationsRequest)(nil), // 64: viam.app.v1.ListLocationsRequest - (*ShareLocationRequest)(nil), // 65: viam.app.v1.ShareLocationRequest - (*ShareLocationResponse)(nil), // 66: viam.app.v1.ShareLocationResponse - (*UnshareLocationRequest)(nil), // 67: viam.app.v1.UnshareLocationRequest - (*UnshareLocationResponse)(nil), // 68: viam.app.v1.UnshareLocationResponse - (*ListLocationsResponse)(nil), // 69: viam.app.v1.ListLocationsResponse - (*CreateLocationSecretRequest)(nil), // 70: viam.app.v1.CreateLocationSecretRequest - (*CreateLocationSecretResponse)(nil), // 71: viam.app.v1.CreateLocationSecretResponse - (*DeleteLocationSecretRequest)(nil), // 72: viam.app.v1.DeleteLocationSecretRequest - (*DeleteLocationSecretResponse)(nil), // 73: viam.app.v1.DeleteLocationSecretResponse - (*LocationAuthRequest)(nil), // 74: viam.app.v1.LocationAuthRequest - (*LocationAuthResponse)(nil), // 75: viam.app.v1.LocationAuthResponse - (*GetRobotRequest)(nil), // 76: viam.app.v1.GetRobotRequest - (*GetRoverRentalRobotsRequest)(nil), // 77: viam.app.v1.GetRoverRentalRobotsRequest - (*RoverRentalRobot)(nil), // 78: viam.app.v1.RoverRentalRobot - (*GetRoverRentalRobotsResponse)(nil), // 79: viam.app.v1.GetRoverRentalRobotsResponse - (*GetRobotResponse)(nil), // 80: viam.app.v1.GetRobotResponse - (*GetRobotPartsRequest)(nil), // 81: viam.app.v1.GetRobotPartsRequest - (*GetRobotPartsResponse)(nil), // 82: viam.app.v1.GetRobotPartsResponse - (*GetRobotPartRequest)(nil), // 83: viam.app.v1.GetRobotPartRequest - (*GetRobotPartResponse)(nil), // 84: viam.app.v1.GetRobotPartResponse - (*GetRobotPartLogsRequest)(nil), // 85: viam.app.v1.GetRobotPartLogsRequest - (*GetRobotPartLogsResponse)(nil), // 86: viam.app.v1.GetRobotPartLogsResponse - (*TailRobotPartLogsRequest)(nil), // 87: viam.app.v1.TailRobotPartLogsRequest - (*TailRobotPartLogsResponse)(nil), // 88: viam.app.v1.TailRobotPartLogsResponse - (*GetRobotPartHistoryRequest)(nil), // 89: viam.app.v1.GetRobotPartHistoryRequest - (*GetRobotPartHistoryResponse)(nil), // 90: viam.app.v1.GetRobotPartHistoryResponse - (*UpdateRobotPartRequest)(nil), // 91: viam.app.v1.UpdateRobotPartRequest - (*UpdateRobotPartResponse)(nil), // 92: viam.app.v1.UpdateRobotPartResponse - (*NewRobotPartRequest)(nil), // 93: viam.app.v1.NewRobotPartRequest - (*NewRobotPartResponse)(nil), // 94: viam.app.v1.NewRobotPartResponse - (*DeleteRobotPartRequest)(nil), // 95: viam.app.v1.DeleteRobotPartRequest - (*GetRobotAPIKeysRequest)(nil), // 96: viam.app.v1.GetRobotAPIKeysRequest - (*APIKey)(nil), // 97: viam.app.v1.APIKey - (*GetRobotAPIKeysResponse)(nil), // 98: viam.app.v1.GetRobotAPIKeysResponse - (*DeleteRobotPartResponse)(nil), // 99: viam.app.v1.DeleteRobotPartResponse - (*Fragment)(nil), // 100: viam.app.v1.Fragment - (*FragmentHistoryEntry)(nil), // 101: viam.app.v1.FragmentHistoryEntry - (*FragmentError)(nil), // 102: viam.app.v1.FragmentError - (*ResolvedFragment)(nil), // 103: viam.app.v1.ResolvedFragment - (*ListFragmentsRequest)(nil), // 104: viam.app.v1.ListFragmentsRequest - (*ListFragmentsResponse)(nil), // 105: viam.app.v1.ListFragmentsResponse - (*GetFragmentRequest)(nil), // 106: viam.app.v1.GetFragmentRequest - (*GetFragmentResponse)(nil), // 107: viam.app.v1.GetFragmentResponse - (*CreateFragmentRequest)(nil), // 108: viam.app.v1.CreateFragmentRequest - (*CreateFragmentResponse)(nil), // 109: viam.app.v1.CreateFragmentResponse - (*UpdateFragmentRequest)(nil), // 110: viam.app.v1.UpdateFragmentRequest - (*UpdateFragmentResponse)(nil), // 111: viam.app.v1.UpdateFragmentResponse - (*DeleteFragmentRequest)(nil), // 112: viam.app.v1.DeleteFragmentRequest - (*DeleteFragmentResponse)(nil), // 113: viam.app.v1.DeleteFragmentResponse - (*GetFragmentHistoryRequest)(nil), // 114: viam.app.v1.GetFragmentHistoryRequest - (*GetFragmentHistoryResponse)(nil), // 115: viam.app.v1.GetFragmentHistoryResponse - (*ListRobotsRequest)(nil), // 116: viam.app.v1.ListRobotsRequest - (*ListMachineFragmentsRequest)(nil), // 117: viam.app.v1.ListMachineFragmentsRequest - (*ListMachineFragmentsResponse)(nil), // 118: viam.app.v1.ListMachineFragmentsResponse - (*ListRobotsResponse)(nil), // 119: viam.app.v1.ListRobotsResponse - (*NewRobotRequest)(nil), // 120: viam.app.v1.NewRobotRequest - (*NewRobotResponse)(nil), // 121: viam.app.v1.NewRobotResponse - (*UpdateRobotRequest)(nil), // 122: viam.app.v1.UpdateRobotRequest - (*UpdateRobotResponse)(nil), // 123: viam.app.v1.UpdateRobotResponse - (*DeleteRobotRequest)(nil), // 124: viam.app.v1.DeleteRobotRequest - (*DeleteRobotResponse)(nil), // 125: viam.app.v1.DeleteRobotResponse - (*MarkPartAsMainRequest)(nil), // 126: viam.app.v1.MarkPartAsMainRequest - (*MarkPartAsMainResponse)(nil), // 127: viam.app.v1.MarkPartAsMainResponse - (*MarkPartForRestartRequest)(nil), // 128: viam.app.v1.MarkPartForRestartRequest - (*MarkPartForRestartResponse)(nil), // 129: viam.app.v1.MarkPartForRestartResponse - (*CreateRobotPartSecretRequest)(nil), // 130: viam.app.v1.CreateRobotPartSecretRequest - (*CreateRobotPartSecretResponse)(nil), // 131: viam.app.v1.CreateRobotPartSecretResponse - (*DeleteRobotPartSecretRequest)(nil), // 132: viam.app.v1.DeleteRobotPartSecretRequest - (*DeleteRobotPartSecretResponse)(nil), // 133: viam.app.v1.DeleteRobotPartSecretResponse - (*Authorization)(nil), // 134: viam.app.v1.Authorization - (*AddRoleRequest)(nil), // 135: viam.app.v1.AddRoleRequest - (*AddRoleResponse)(nil), // 136: viam.app.v1.AddRoleResponse - (*RemoveRoleRequest)(nil), // 137: viam.app.v1.RemoveRoleRequest - (*RemoveRoleResponse)(nil), // 138: viam.app.v1.RemoveRoleResponse - (*ChangeRoleRequest)(nil), // 139: viam.app.v1.ChangeRoleRequest - (*ChangeRoleResponse)(nil), // 140: viam.app.v1.ChangeRoleResponse - (*ListAuthorizationsRequest)(nil), // 141: viam.app.v1.ListAuthorizationsRequest - (*ListAuthorizationsResponse)(nil), // 142: viam.app.v1.ListAuthorizationsResponse - (*CheckPermissionsRequest)(nil), // 143: viam.app.v1.CheckPermissionsRequest - (*AuthorizedPermissions)(nil), // 144: viam.app.v1.AuthorizedPermissions - (*CheckPermissionsResponse)(nil), // 145: viam.app.v1.CheckPermissionsResponse - (*ModuleVersion)(nil), // 146: viam.app.v1.ModuleVersion - (*ModuleMetadata)(nil), // 147: viam.app.v1.ModuleMetadata - (*MLModelMetadata)(nil), // 148: viam.app.v1.MLModelMetadata - (*MLTrainingVersion)(nil), // 149: viam.app.v1.MLTrainingVersion - (*MLTrainingMetadata)(nil), // 150: viam.app.v1.MLTrainingMetadata - (*RegistryItem)(nil), // 151: viam.app.v1.RegistryItem - (*GetRegistryItemRequest)(nil), // 152: viam.app.v1.GetRegistryItemRequest - (*GetRegistryItemResponse)(nil), // 153: viam.app.v1.GetRegistryItemResponse - (*CreateRegistryItemRequest)(nil), // 154: viam.app.v1.CreateRegistryItemRequest - (*CreateRegistryItemResponse)(nil), // 155: viam.app.v1.CreateRegistryItemResponse - (*UpdateRegistryItemRequest)(nil), // 156: viam.app.v1.UpdateRegistryItemRequest - (*UpdateRegistryItemResponse)(nil), // 157: viam.app.v1.UpdateRegistryItemResponse - (*ListRegistryItemsRequest)(nil), // 158: viam.app.v1.ListRegistryItemsRequest - (*ListRegistryItemsResponse)(nil), // 159: viam.app.v1.ListRegistryItemsResponse - (*DeleteRegistryItemRequest)(nil), // 160: viam.app.v1.DeleteRegistryItemRequest - (*DeleteRegistryItemResponse)(nil), // 161: viam.app.v1.DeleteRegistryItemResponse - (*TransferRegistryItemRequest)(nil), // 162: viam.app.v1.TransferRegistryItemRequest - (*TransferRegistryItemResponse)(nil), // 163: viam.app.v1.TransferRegistryItemResponse - (*CreateModuleRequest)(nil), // 164: viam.app.v1.CreateModuleRequest - (*CreateModuleResponse)(nil), // 165: viam.app.v1.CreateModuleResponse - (*UpdateModuleRequest)(nil), // 166: viam.app.v1.UpdateModuleRequest - (*UpdateModuleResponse)(nil), // 167: viam.app.v1.UpdateModuleResponse - (*Model)(nil), // 168: viam.app.v1.Model - (*ModuleFileInfo)(nil), // 169: viam.app.v1.ModuleFileInfo - (*UploadModuleFileRequest)(nil), // 170: viam.app.v1.UploadModuleFileRequest - (*UploadModuleFileResponse)(nil), // 171: viam.app.v1.UploadModuleFileResponse - (*GetModuleRequest)(nil), // 172: viam.app.v1.GetModuleRequest - (*GetModuleResponse)(nil), // 173: viam.app.v1.GetModuleResponse - (*Module)(nil), // 174: viam.app.v1.Module - (*VersionHistory)(nil), // 175: viam.app.v1.VersionHistory - (*Uploads)(nil), // 176: viam.app.v1.Uploads - (*ListModulesRequest)(nil), // 177: viam.app.v1.ListModulesRequest - (*ListModulesResponse)(nil), // 178: viam.app.v1.ListModulesResponse - (*GetUserIDByEmailRequest)(nil), // 179: viam.app.v1.GetUserIDByEmailRequest - (*GetUserIDByEmailResponse)(nil), // 180: viam.app.v1.GetUserIDByEmailResponse - (*ListOrganizationsByUserRequest)(nil), // 181: viam.app.v1.ListOrganizationsByUserRequest - (*OrgDetails)(nil), // 182: viam.app.v1.OrgDetails - (*ListOrganizationsByUserResponse)(nil), // 183: viam.app.v1.ListOrganizationsByUserResponse - (*CreateKeyRequest)(nil), // 184: viam.app.v1.CreateKeyRequest - (*CreateKeyResponse)(nil), // 185: viam.app.v1.CreateKeyResponse - (*DeleteKeyRequest)(nil), // 186: viam.app.v1.DeleteKeyRequest - (*DeleteKeyResponse)(nil), // 187: viam.app.v1.DeleteKeyResponse - (*RenameKeyRequest)(nil), // 188: viam.app.v1.RenameKeyRequest - (*RenameKeyResponse)(nil), // 189: viam.app.v1.RenameKeyResponse - (*AuthorizationDetails)(nil), // 190: viam.app.v1.AuthorizationDetails - (*APIKeyWithAuthorizations)(nil), // 191: viam.app.v1.APIKeyWithAuthorizations - (*ListKeysRequest)(nil), // 192: viam.app.v1.ListKeysRequest - (*ListKeysResponse)(nil), // 193: viam.app.v1.ListKeysResponse - (*RotateKeyRequest)(nil), // 194: viam.app.v1.RotateKeyRequest - (*RotateKeyResponse)(nil), // 195: viam.app.v1.RotateKeyResponse - (*CreateKeyFromExistingKeyAuthorizationsRequest)(nil), // 196: viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest - (*CreateKeyFromExistingKeyAuthorizationsResponse)(nil), // 197: viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse - (*timestamppb.Timestamp)(nil), // 198: google.protobuf.Timestamp - (*structpb.Struct)(nil), // 199: google.protobuf.Struct - (*v1.LogEntry)(nil), // 200: viam.common.v1.LogEntry - (v11.ModelType)(0), // 201: viam.app.mltraining.v1.ModelType - (v11.ModelFramework)(0), // 202: viam.app.mltraining.v1.ModelFramework - (v12.PackageType)(0), // 203: viam.app.packages.v1.PackageType + (*GetBillingServiceConfigRequest)(nil), // 42: viam.app.v1.GetBillingServiceConfigRequest + (*GetBillingServiceConfigResponse)(nil), // 43: viam.app.v1.GetBillingServiceConfigResponse + (*DisableBillingServiceRequest)(nil), // 44: viam.app.v1.DisableBillingServiceRequest + (*DisableBillingServiceResponse)(nil), // 45: viam.app.v1.DisableBillingServiceResponse + (*OrganizationSetSupportEmailRequest)(nil), // 46: viam.app.v1.OrganizationSetSupportEmailRequest + (*OrganizationSetSupportEmailResponse)(nil), // 47: viam.app.v1.OrganizationSetSupportEmailResponse + (*OrganizationGetSupportEmailRequest)(nil), // 48: viam.app.v1.OrganizationGetSupportEmailRequest + (*OrganizationGetSupportEmailResponse)(nil), // 49: viam.app.v1.OrganizationGetSupportEmailResponse + (*OrganizationIdentity)(nil), // 50: viam.app.v1.OrganizationIdentity + (*LocationOrganization)(nil), // 51: viam.app.v1.LocationOrganization + (*LocationAuth)(nil), // 52: viam.app.v1.LocationAuth + (*StorageConfig)(nil), // 53: viam.app.v1.StorageConfig + (*Location)(nil), // 54: viam.app.v1.Location + (*SharedSecret)(nil), // 55: viam.app.v1.SharedSecret + (*CreateLocationRequest)(nil), // 56: viam.app.v1.CreateLocationRequest + (*CreateLocationResponse)(nil), // 57: viam.app.v1.CreateLocationResponse + (*GetLocationRequest)(nil), // 58: viam.app.v1.GetLocationRequest + (*GetLocationResponse)(nil), // 59: viam.app.v1.GetLocationResponse + (*UpdateLocationRequest)(nil), // 60: viam.app.v1.UpdateLocationRequest + (*UpdateLocationResponse)(nil), // 61: viam.app.v1.UpdateLocationResponse + (*DeleteLocationRequest)(nil), // 62: viam.app.v1.DeleteLocationRequest + (*DeleteLocationResponse)(nil), // 63: viam.app.v1.DeleteLocationResponse + (*GetOrganizationsWithAccessToLocationRequest)(nil), // 64: viam.app.v1.GetOrganizationsWithAccessToLocationRequest + (*GetOrganizationsWithAccessToLocationResponse)(nil), // 65: viam.app.v1.GetOrganizationsWithAccessToLocationResponse + (*ListLocationsRequest)(nil), // 66: viam.app.v1.ListLocationsRequest + (*ShareLocationRequest)(nil), // 67: viam.app.v1.ShareLocationRequest + (*ShareLocationResponse)(nil), // 68: viam.app.v1.ShareLocationResponse + (*UnshareLocationRequest)(nil), // 69: viam.app.v1.UnshareLocationRequest + (*UnshareLocationResponse)(nil), // 70: viam.app.v1.UnshareLocationResponse + (*ListLocationsResponse)(nil), // 71: viam.app.v1.ListLocationsResponse + (*CreateLocationSecretRequest)(nil), // 72: viam.app.v1.CreateLocationSecretRequest + (*CreateLocationSecretResponse)(nil), // 73: viam.app.v1.CreateLocationSecretResponse + (*DeleteLocationSecretRequest)(nil), // 74: viam.app.v1.DeleteLocationSecretRequest + (*DeleteLocationSecretResponse)(nil), // 75: viam.app.v1.DeleteLocationSecretResponse + (*LocationAuthRequest)(nil), // 76: viam.app.v1.LocationAuthRequest + (*LocationAuthResponse)(nil), // 77: viam.app.v1.LocationAuthResponse + (*GetRobotRequest)(nil), // 78: viam.app.v1.GetRobotRequest + (*GetRoverRentalRobotsRequest)(nil), // 79: viam.app.v1.GetRoverRentalRobotsRequest + (*RoverRentalRobot)(nil), // 80: viam.app.v1.RoverRentalRobot + (*GetRoverRentalRobotsResponse)(nil), // 81: viam.app.v1.GetRoverRentalRobotsResponse + (*GetRobotResponse)(nil), // 82: viam.app.v1.GetRobotResponse + (*GetRobotPartsRequest)(nil), // 83: viam.app.v1.GetRobotPartsRequest + (*GetRobotPartsResponse)(nil), // 84: viam.app.v1.GetRobotPartsResponse + (*GetRobotPartRequest)(nil), // 85: viam.app.v1.GetRobotPartRequest + (*GetRobotPartResponse)(nil), // 86: viam.app.v1.GetRobotPartResponse + (*GetRobotPartLogsRequest)(nil), // 87: viam.app.v1.GetRobotPartLogsRequest + (*GetRobotPartLogsResponse)(nil), // 88: viam.app.v1.GetRobotPartLogsResponse + (*TailRobotPartLogsRequest)(nil), // 89: viam.app.v1.TailRobotPartLogsRequest + (*TailRobotPartLogsResponse)(nil), // 90: viam.app.v1.TailRobotPartLogsResponse + (*GetRobotPartHistoryRequest)(nil), // 91: viam.app.v1.GetRobotPartHistoryRequest + (*GetRobotPartHistoryResponse)(nil), // 92: viam.app.v1.GetRobotPartHistoryResponse + (*UpdateRobotPartRequest)(nil), // 93: viam.app.v1.UpdateRobotPartRequest + (*UpdateRobotPartResponse)(nil), // 94: viam.app.v1.UpdateRobotPartResponse + (*NewRobotPartRequest)(nil), // 95: viam.app.v1.NewRobotPartRequest + (*NewRobotPartResponse)(nil), // 96: viam.app.v1.NewRobotPartResponse + (*DeleteRobotPartRequest)(nil), // 97: viam.app.v1.DeleteRobotPartRequest + (*GetRobotAPIKeysRequest)(nil), // 98: viam.app.v1.GetRobotAPIKeysRequest + (*APIKey)(nil), // 99: viam.app.v1.APIKey + (*GetRobotAPIKeysResponse)(nil), // 100: viam.app.v1.GetRobotAPIKeysResponse + (*DeleteRobotPartResponse)(nil), // 101: viam.app.v1.DeleteRobotPartResponse + (*Fragment)(nil), // 102: viam.app.v1.Fragment + (*FragmentHistoryEntry)(nil), // 103: viam.app.v1.FragmentHistoryEntry + (*FragmentError)(nil), // 104: viam.app.v1.FragmentError + (*ResolvedFragment)(nil), // 105: viam.app.v1.ResolvedFragment + (*ListFragmentsRequest)(nil), // 106: viam.app.v1.ListFragmentsRequest + (*ListFragmentsResponse)(nil), // 107: viam.app.v1.ListFragmentsResponse + (*GetFragmentRequest)(nil), // 108: viam.app.v1.GetFragmentRequest + (*GetFragmentResponse)(nil), // 109: viam.app.v1.GetFragmentResponse + (*CreateFragmentRequest)(nil), // 110: viam.app.v1.CreateFragmentRequest + (*CreateFragmentResponse)(nil), // 111: viam.app.v1.CreateFragmentResponse + (*UpdateFragmentRequest)(nil), // 112: viam.app.v1.UpdateFragmentRequest + (*UpdateFragmentResponse)(nil), // 113: viam.app.v1.UpdateFragmentResponse + (*DeleteFragmentRequest)(nil), // 114: viam.app.v1.DeleteFragmentRequest + (*DeleteFragmentResponse)(nil), // 115: viam.app.v1.DeleteFragmentResponse + (*GetFragmentHistoryRequest)(nil), // 116: viam.app.v1.GetFragmentHistoryRequest + (*GetFragmentHistoryResponse)(nil), // 117: viam.app.v1.GetFragmentHistoryResponse + (*ListRobotsRequest)(nil), // 118: viam.app.v1.ListRobotsRequest + (*ListMachineFragmentsRequest)(nil), // 119: viam.app.v1.ListMachineFragmentsRequest + (*ListMachineFragmentsResponse)(nil), // 120: viam.app.v1.ListMachineFragmentsResponse + (*ListRobotsResponse)(nil), // 121: viam.app.v1.ListRobotsResponse + (*NewRobotRequest)(nil), // 122: viam.app.v1.NewRobotRequest + (*NewRobotResponse)(nil), // 123: viam.app.v1.NewRobotResponse + (*UpdateRobotRequest)(nil), // 124: viam.app.v1.UpdateRobotRequest + (*UpdateRobotResponse)(nil), // 125: viam.app.v1.UpdateRobotResponse + (*DeleteRobotRequest)(nil), // 126: viam.app.v1.DeleteRobotRequest + (*DeleteRobotResponse)(nil), // 127: viam.app.v1.DeleteRobotResponse + (*MarkPartAsMainRequest)(nil), // 128: viam.app.v1.MarkPartAsMainRequest + (*MarkPartAsMainResponse)(nil), // 129: viam.app.v1.MarkPartAsMainResponse + (*MarkPartForRestartRequest)(nil), // 130: viam.app.v1.MarkPartForRestartRequest + (*MarkPartForRestartResponse)(nil), // 131: viam.app.v1.MarkPartForRestartResponse + (*CreateRobotPartSecretRequest)(nil), // 132: viam.app.v1.CreateRobotPartSecretRequest + (*CreateRobotPartSecretResponse)(nil), // 133: viam.app.v1.CreateRobotPartSecretResponse + (*DeleteRobotPartSecretRequest)(nil), // 134: viam.app.v1.DeleteRobotPartSecretRequest + (*DeleteRobotPartSecretResponse)(nil), // 135: viam.app.v1.DeleteRobotPartSecretResponse + (*Authorization)(nil), // 136: viam.app.v1.Authorization + (*AddRoleRequest)(nil), // 137: viam.app.v1.AddRoleRequest + (*AddRoleResponse)(nil), // 138: viam.app.v1.AddRoleResponse + (*RemoveRoleRequest)(nil), // 139: viam.app.v1.RemoveRoleRequest + (*RemoveRoleResponse)(nil), // 140: viam.app.v1.RemoveRoleResponse + (*ChangeRoleRequest)(nil), // 141: viam.app.v1.ChangeRoleRequest + (*ChangeRoleResponse)(nil), // 142: viam.app.v1.ChangeRoleResponse + (*ListAuthorizationsRequest)(nil), // 143: viam.app.v1.ListAuthorizationsRequest + (*ListAuthorizationsResponse)(nil), // 144: viam.app.v1.ListAuthorizationsResponse + (*CheckPermissionsRequest)(nil), // 145: viam.app.v1.CheckPermissionsRequest + (*AuthorizedPermissions)(nil), // 146: viam.app.v1.AuthorizedPermissions + (*CheckPermissionsResponse)(nil), // 147: viam.app.v1.CheckPermissionsResponse + (*ModuleVersion)(nil), // 148: viam.app.v1.ModuleVersion + (*ModuleMetadata)(nil), // 149: viam.app.v1.ModuleMetadata + (*MLModelMetadata)(nil), // 150: viam.app.v1.MLModelMetadata + (*MLTrainingVersion)(nil), // 151: viam.app.v1.MLTrainingVersion + (*MLTrainingMetadata)(nil), // 152: viam.app.v1.MLTrainingMetadata + (*RegistryItem)(nil), // 153: viam.app.v1.RegistryItem + (*GetRegistryItemRequest)(nil), // 154: viam.app.v1.GetRegistryItemRequest + (*GetRegistryItemResponse)(nil), // 155: viam.app.v1.GetRegistryItemResponse + (*CreateRegistryItemRequest)(nil), // 156: viam.app.v1.CreateRegistryItemRequest + (*CreateRegistryItemResponse)(nil), // 157: viam.app.v1.CreateRegistryItemResponse + (*UpdateRegistryItemRequest)(nil), // 158: viam.app.v1.UpdateRegistryItemRequest + (*UpdateRegistryItemResponse)(nil), // 159: viam.app.v1.UpdateRegistryItemResponse + (*ListRegistryItemsRequest)(nil), // 160: viam.app.v1.ListRegistryItemsRequest + (*ListRegistryItemsResponse)(nil), // 161: viam.app.v1.ListRegistryItemsResponse + (*DeleteRegistryItemRequest)(nil), // 162: viam.app.v1.DeleteRegistryItemRequest + (*DeleteRegistryItemResponse)(nil), // 163: viam.app.v1.DeleteRegistryItemResponse + (*TransferRegistryItemRequest)(nil), // 164: viam.app.v1.TransferRegistryItemRequest + (*TransferRegistryItemResponse)(nil), // 165: viam.app.v1.TransferRegistryItemResponse + (*CreateModuleRequest)(nil), // 166: viam.app.v1.CreateModuleRequest + (*CreateModuleResponse)(nil), // 167: viam.app.v1.CreateModuleResponse + (*UpdateModuleRequest)(nil), // 168: viam.app.v1.UpdateModuleRequest + (*UpdateModuleResponse)(nil), // 169: viam.app.v1.UpdateModuleResponse + (*Model)(nil), // 170: viam.app.v1.Model + (*ModuleFileInfo)(nil), // 171: viam.app.v1.ModuleFileInfo + (*UploadModuleFileRequest)(nil), // 172: viam.app.v1.UploadModuleFileRequest + (*UploadModuleFileResponse)(nil), // 173: viam.app.v1.UploadModuleFileResponse + (*GetModuleRequest)(nil), // 174: viam.app.v1.GetModuleRequest + (*GetModuleResponse)(nil), // 175: viam.app.v1.GetModuleResponse + (*Module)(nil), // 176: viam.app.v1.Module + (*VersionHistory)(nil), // 177: viam.app.v1.VersionHistory + (*Uploads)(nil), // 178: viam.app.v1.Uploads + (*ListModulesRequest)(nil), // 179: viam.app.v1.ListModulesRequest + (*ListModulesResponse)(nil), // 180: viam.app.v1.ListModulesResponse + (*GetUserIDByEmailRequest)(nil), // 181: viam.app.v1.GetUserIDByEmailRequest + (*GetUserIDByEmailResponse)(nil), // 182: viam.app.v1.GetUserIDByEmailResponse + (*ListOrganizationsByUserRequest)(nil), // 183: viam.app.v1.ListOrganizationsByUserRequest + (*OrgDetails)(nil), // 184: viam.app.v1.OrgDetails + (*ListOrganizationsByUserResponse)(nil), // 185: viam.app.v1.ListOrganizationsByUserResponse + (*CreateKeyRequest)(nil), // 186: viam.app.v1.CreateKeyRequest + (*CreateKeyResponse)(nil), // 187: viam.app.v1.CreateKeyResponse + (*DeleteKeyRequest)(nil), // 188: viam.app.v1.DeleteKeyRequest + (*DeleteKeyResponse)(nil), // 189: viam.app.v1.DeleteKeyResponse + (*RenameKeyRequest)(nil), // 190: viam.app.v1.RenameKeyRequest + (*RenameKeyResponse)(nil), // 191: viam.app.v1.RenameKeyResponse + (*AuthorizationDetails)(nil), // 192: viam.app.v1.AuthorizationDetails + (*APIKeyWithAuthorizations)(nil), // 193: viam.app.v1.APIKeyWithAuthorizations + (*ListKeysRequest)(nil), // 194: viam.app.v1.ListKeysRequest + (*ListKeysResponse)(nil), // 195: viam.app.v1.ListKeysResponse + (*RotateKeyRequest)(nil), // 196: viam.app.v1.RotateKeyRequest + (*RotateKeyResponse)(nil), // 197: viam.app.v1.RotateKeyResponse + (*CreateKeyFromExistingKeyAuthorizationsRequest)(nil), // 198: viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest + (*CreateKeyFromExistingKeyAuthorizationsResponse)(nil), // 199: viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse + (*timestamppb.Timestamp)(nil), // 200: google.protobuf.Timestamp + (*structpb.Struct)(nil), // 201: google.protobuf.Struct + (*v1.LogEntry)(nil), // 202: viam.common.v1.LogEntry + (v11.ModelType)(0), // 203: viam.app.mltraining.v1.ModelType + (v11.ModelFramework)(0), // 204: viam.app.mltraining.v1.ModelFramework + (v12.PackageType)(0), // 205: viam.app.packages.v1.PackageType } var file_app_v1_app_proto_depIdxs = []int32{ - 198, // 0: viam.app.v1.Robot.last_access:type_name -> google.protobuf.Timestamp - 198, // 1: viam.app.v1.Robot.created_on:type_name -> google.protobuf.Timestamp - 199, // 2: viam.app.v1.RobotPart.robot_config:type_name -> google.protobuf.Struct - 198, // 3: viam.app.v1.RobotPart.last_access:type_name -> google.protobuf.Timestamp - 199, // 4: viam.app.v1.RobotPart.user_supplied_info:type_name -> google.protobuf.Struct - 198, // 5: viam.app.v1.RobotPart.created_on:type_name -> google.protobuf.Timestamp - 53, // 6: viam.app.v1.RobotPart.secrets:type_name -> viam.app.v1.SharedSecret - 198, // 7: viam.app.v1.RobotPart.last_updated:type_name -> google.protobuf.Timestamp - 198, // 8: viam.app.v1.RobotPartHistoryEntry.when:type_name -> google.protobuf.Timestamp + 200, // 0: viam.app.v1.Robot.last_access:type_name -> google.protobuf.Timestamp + 200, // 1: viam.app.v1.Robot.created_on:type_name -> google.protobuf.Timestamp + 201, // 2: viam.app.v1.RobotPart.robot_config:type_name -> google.protobuf.Struct + 200, // 3: viam.app.v1.RobotPart.last_access:type_name -> google.protobuf.Timestamp + 201, // 4: viam.app.v1.RobotPart.user_supplied_info:type_name -> google.protobuf.Struct + 200, // 5: viam.app.v1.RobotPart.created_on:type_name -> google.protobuf.Timestamp + 55, // 6: viam.app.v1.RobotPart.secrets:type_name -> viam.app.v1.SharedSecret + 200, // 7: viam.app.v1.RobotPart.last_updated:type_name -> google.protobuf.Timestamp + 200, // 8: viam.app.v1.RobotPartHistoryEntry.when:type_name -> google.protobuf.Timestamp 7, // 9: viam.app.v1.RobotPartHistoryEntry.old:type_name -> viam.app.v1.RobotPart 9, // 10: viam.app.v1.RobotPartHistoryEntry.edited_by:type_name -> viam.app.v1.AuthenticatorInfo 0, // 11: viam.app.v1.AuthenticatorInfo.type:type_name -> viam.app.v1.AuthenticationType - 198, // 12: viam.app.v1.Organization.created_on:type_name -> google.protobuf.Timestamp - 198, // 13: viam.app.v1.OrganizationMember.date_added:type_name -> google.protobuf.Timestamp - 198, // 14: viam.app.v1.OrganizationMember.last_login:type_name -> google.protobuf.Timestamp + 200, // 12: viam.app.v1.Organization.created_on:type_name -> google.protobuf.Timestamp + 200, // 13: viam.app.v1.OrganizationMember.date_added:type_name -> google.protobuf.Timestamp + 200, // 14: viam.app.v1.OrganizationMember.last_login:type_name -> google.protobuf.Timestamp 11, // 15: viam.app.v1.ListOrganizationsResponse.organizations:type_name -> viam.app.v1.Organization - 198, // 16: viam.app.v1.OrganizationInvite.created_on:type_name -> google.protobuf.Timestamp - 134, // 17: viam.app.v1.OrganizationInvite.authorizations:type_name -> viam.app.v1.Authorization + 200, // 16: viam.app.v1.OrganizationInvite.created_on:type_name -> google.protobuf.Timestamp + 136, // 17: viam.app.v1.OrganizationInvite.authorizations:type_name -> viam.app.v1.Authorization 11, // 18: viam.app.v1.CreateOrganizationResponse.organization:type_name -> viam.app.v1.Organization 11, // 19: viam.app.v1.GetOrganizationResponse.organization:type_name -> viam.app.v1.Organization 11, // 20: viam.app.v1.UpdateOrganizationResponse.organization:type_name -> viam.app.v1.Organization 12, // 21: viam.app.v1.ListOrganizationMembersResponse.members:type_name -> viam.app.v1.OrganizationMember 14, // 22: viam.app.v1.ListOrganizationMembersResponse.invites:type_name -> viam.app.v1.OrganizationInvite - 134, // 23: viam.app.v1.CreateOrganizationInviteRequest.authorizations:type_name -> viam.app.v1.Authorization + 136, // 23: viam.app.v1.CreateOrganizationInviteRequest.authorizations:type_name -> viam.app.v1.Authorization 14, // 24: viam.app.v1.CreateOrganizationInviteResponse.invite:type_name -> viam.app.v1.OrganizationInvite - 134, // 25: viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.add_authorizations:type_name -> viam.app.v1.Authorization - 134, // 26: viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.remove_authorizations:type_name -> viam.app.v1.Authorization + 136, // 25: viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.add_authorizations:type_name -> viam.app.v1.Authorization + 136, // 26: viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest.remove_authorizations:type_name -> viam.app.v1.Authorization 14, // 27: viam.app.v1.UpdateOrganizationInviteAuthorizationsResponse.invite:type_name -> viam.app.v1.OrganizationInvite 14, // 28: viam.app.v1.ResendOrganizationInviteResponse.invite:type_name -> viam.app.v1.OrganizationInvite 37, // 29: viam.app.v1.EnableBillingServiceRequest.billing_address:type_name -> viam.app.v1.BillingAddress 37, // 30: viam.app.v1.UpdateBillingServiceRequest.billing_address:type_name -> viam.app.v1.BillingAddress - 53, // 31: viam.app.v1.LocationAuth.secrets:type_name -> viam.app.v1.SharedSecret - 50, // 32: viam.app.v1.Location.auth:type_name -> viam.app.v1.LocationAuth - 49, // 33: viam.app.v1.Location.organizations:type_name -> viam.app.v1.LocationOrganization - 198, // 34: viam.app.v1.Location.created_on:type_name -> google.protobuf.Timestamp - 51, // 35: viam.app.v1.Location.config:type_name -> viam.app.v1.StorageConfig - 198, // 36: viam.app.v1.SharedSecret.created_on:type_name -> google.protobuf.Timestamp - 5, // 37: viam.app.v1.SharedSecret.state:type_name -> viam.app.v1.SharedSecret.State - 52, // 38: viam.app.v1.CreateLocationResponse.location:type_name -> viam.app.v1.Location - 52, // 39: viam.app.v1.GetLocationResponse.location:type_name -> viam.app.v1.Location - 52, // 40: viam.app.v1.UpdateLocationResponse.location:type_name -> viam.app.v1.Location - 48, // 41: viam.app.v1.GetOrganizationsWithAccessToLocationResponse.organization_identities:type_name -> viam.app.v1.OrganizationIdentity - 52, // 42: viam.app.v1.ListLocationsResponse.locations:type_name -> viam.app.v1.Location - 50, // 43: viam.app.v1.CreateLocationSecretResponse.auth:type_name -> viam.app.v1.LocationAuth - 50, // 44: viam.app.v1.LocationAuthResponse.auth:type_name -> viam.app.v1.LocationAuth - 78, // 45: viam.app.v1.GetRoverRentalRobotsResponse.robots:type_name -> viam.app.v1.RoverRentalRobot - 6, // 46: viam.app.v1.GetRobotResponse.robot:type_name -> viam.app.v1.Robot - 7, // 47: viam.app.v1.GetRobotPartsResponse.parts:type_name -> viam.app.v1.RobotPart - 7, // 48: viam.app.v1.GetRobotPartResponse.part:type_name -> viam.app.v1.RobotPart - 198, // 49: viam.app.v1.GetRobotPartLogsRequest.start:type_name -> google.protobuf.Timestamp - 198, // 50: viam.app.v1.GetRobotPartLogsRequest.end:type_name -> google.protobuf.Timestamp - 200, // 51: viam.app.v1.GetRobotPartLogsResponse.logs:type_name -> viam.common.v1.LogEntry - 200, // 52: viam.app.v1.TailRobotPartLogsResponse.logs:type_name -> viam.common.v1.LogEntry - 8, // 53: viam.app.v1.GetRobotPartHistoryResponse.history:type_name -> viam.app.v1.RobotPartHistoryEntry - 199, // 54: viam.app.v1.UpdateRobotPartRequest.robot_config:type_name -> google.protobuf.Struct - 7, // 55: viam.app.v1.UpdateRobotPartResponse.part:type_name -> viam.app.v1.RobotPart - 198, // 56: viam.app.v1.APIKey.created_on:type_name -> google.protobuf.Timestamp - 191, // 57: viam.app.v1.GetRobotAPIKeysResponse.api_keys:type_name -> viam.app.v1.APIKeyWithAuthorizations - 199, // 58: viam.app.v1.Fragment.fragment:type_name -> google.protobuf.Struct - 198, // 59: viam.app.v1.Fragment.created_on:type_name -> google.protobuf.Timestamp - 1, // 60: viam.app.v1.Fragment.visibility:type_name -> viam.app.v1.FragmentVisibility - 198, // 61: viam.app.v1.Fragment.last_updated:type_name -> google.protobuf.Timestamp - 198, // 62: viam.app.v1.FragmentHistoryEntry.edited_on:type_name -> google.protobuf.Timestamp - 100, // 63: viam.app.v1.FragmentHistoryEntry.old:type_name -> viam.app.v1.Fragment - 9, // 64: viam.app.v1.FragmentHistoryEntry.edited_by:type_name -> viam.app.v1.AuthenticatorInfo - 2, // 65: viam.app.v1.FragmentError.error_type:type_name -> viam.app.v1.FragmentErrorType - 199, // 66: viam.app.v1.ResolvedFragment.resolved_config:type_name -> google.protobuf.Struct - 102, // 67: viam.app.v1.ResolvedFragment.error:type_name -> viam.app.v1.FragmentError - 1, // 68: viam.app.v1.ListFragmentsRequest.fragment_visibility:type_name -> viam.app.v1.FragmentVisibility - 100, // 69: viam.app.v1.ListFragmentsResponse.fragments:type_name -> viam.app.v1.Fragment - 100, // 70: viam.app.v1.GetFragmentResponse.fragment:type_name -> viam.app.v1.Fragment - 199, // 71: viam.app.v1.CreateFragmentRequest.config:type_name -> google.protobuf.Struct - 1, // 72: viam.app.v1.CreateFragmentRequest.visibility:type_name -> viam.app.v1.FragmentVisibility - 100, // 73: viam.app.v1.CreateFragmentResponse.fragment:type_name -> viam.app.v1.Fragment - 199, // 74: viam.app.v1.UpdateFragmentRequest.config:type_name -> google.protobuf.Struct - 1, // 75: viam.app.v1.UpdateFragmentRequest.visibility:type_name -> viam.app.v1.FragmentVisibility - 100, // 76: viam.app.v1.UpdateFragmentResponse.fragment:type_name -> viam.app.v1.Fragment - 101, // 77: viam.app.v1.GetFragmentHistoryResponse.history:type_name -> viam.app.v1.FragmentHistoryEntry - 100, // 78: viam.app.v1.ListMachineFragmentsResponse.fragments:type_name -> viam.app.v1.Fragment - 103, // 79: viam.app.v1.ListMachineFragmentsResponse.resolved_fragments:type_name -> viam.app.v1.ResolvedFragment - 6, // 80: viam.app.v1.ListRobotsResponse.robots:type_name -> viam.app.v1.Robot - 6, // 81: viam.app.v1.UpdateRobotResponse.robot:type_name -> viam.app.v1.Robot - 7, // 82: viam.app.v1.CreateRobotPartSecretResponse.part:type_name -> viam.app.v1.RobotPart - 134, // 83: viam.app.v1.AddRoleRequest.authorization:type_name -> viam.app.v1.Authorization - 134, // 84: viam.app.v1.RemoveRoleRequest.authorization:type_name -> viam.app.v1.Authorization - 134, // 85: viam.app.v1.ChangeRoleRequest.old_authorization:type_name -> viam.app.v1.Authorization - 134, // 86: viam.app.v1.ChangeRoleRequest.new_authorization:type_name -> viam.app.v1.Authorization - 134, // 87: viam.app.v1.ListAuthorizationsResponse.authorizations:type_name -> viam.app.v1.Authorization - 144, // 88: viam.app.v1.CheckPermissionsRequest.permissions:type_name -> viam.app.v1.AuthorizedPermissions - 144, // 89: viam.app.v1.CheckPermissionsResponse.authorized_permissions:type_name -> viam.app.v1.AuthorizedPermissions - 176, // 90: viam.app.v1.ModuleVersion.files:type_name -> viam.app.v1.Uploads - 168, // 91: viam.app.v1.ModuleVersion.models:type_name -> viam.app.v1.Model - 168, // 92: viam.app.v1.ModuleMetadata.models:type_name -> viam.app.v1.Model - 146, // 93: viam.app.v1.ModuleMetadata.versions:type_name -> viam.app.v1.ModuleVersion - 201, // 94: viam.app.v1.MLModelMetadata.model_type:type_name -> viam.app.mltraining.v1.ModelType - 202, // 95: viam.app.v1.MLModelMetadata.model_framework:type_name -> viam.app.mltraining.v1.ModelFramework - 198, // 96: viam.app.v1.MLTrainingVersion.created_on:type_name -> google.protobuf.Timestamp - 149, // 97: viam.app.v1.MLTrainingMetadata.versions:type_name -> viam.app.v1.MLTrainingVersion - 201, // 98: viam.app.v1.MLTrainingMetadata.model_type:type_name -> viam.app.mltraining.v1.ModelType - 202, // 99: viam.app.v1.MLTrainingMetadata.model_framework:type_name -> viam.app.mltraining.v1.ModelFramework - 203, // 100: viam.app.v1.RegistryItem.type:type_name -> viam.app.packages.v1.PackageType - 4, // 101: viam.app.v1.RegistryItem.visibility:type_name -> viam.app.v1.Visibility - 147, // 102: viam.app.v1.RegistryItem.module_metadata:type_name -> viam.app.v1.ModuleMetadata - 148, // 103: viam.app.v1.RegistryItem.ml_model_metadata:type_name -> viam.app.v1.MLModelMetadata - 150, // 104: viam.app.v1.RegistryItem.ml_training_metadata:type_name -> viam.app.v1.MLTrainingMetadata - 198, // 105: viam.app.v1.RegistryItem.created_at:type_name -> google.protobuf.Timestamp - 198, // 106: viam.app.v1.RegistryItem.updated_at:type_name -> google.protobuf.Timestamp - 151, // 107: viam.app.v1.GetRegistryItemResponse.item:type_name -> viam.app.v1.RegistryItem - 203, // 108: viam.app.v1.CreateRegistryItemRequest.type:type_name -> viam.app.packages.v1.PackageType - 203, // 109: viam.app.v1.UpdateRegistryItemRequest.type:type_name -> viam.app.packages.v1.PackageType - 4, // 110: viam.app.v1.UpdateRegistryItemRequest.visibility:type_name -> viam.app.v1.Visibility - 203, // 111: viam.app.v1.ListRegistryItemsRequest.types:type_name -> viam.app.packages.v1.PackageType - 4, // 112: viam.app.v1.ListRegistryItemsRequest.visibilities:type_name -> viam.app.v1.Visibility - 3, // 113: viam.app.v1.ListRegistryItemsRequest.statuses:type_name -> viam.app.v1.RegistryItemStatus - 151, // 114: viam.app.v1.ListRegistryItemsResponse.items:type_name -> viam.app.v1.RegistryItem - 4, // 115: viam.app.v1.UpdateModuleRequest.visibility:type_name -> viam.app.v1.Visibility - 168, // 116: viam.app.v1.UpdateModuleRequest.models:type_name -> viam.app.v1.Model - 169, // 117: viam.app.v1.UploadModuleFileRequest.module_file_info:type_name -> viam.app.v1.ModuleFileInfo - 174, // 118: viam.app.v1.GetModuleResponse.module:type_name -> viam.app.v1.Module - 4, // 119: viam.app.v1.Module.visibility:type_name -> viam.app.v1.Visibility - 175, // 120: viam.app.v1.Module.versions:type_name -> viam.app.v1.VersionHistory - 168, // 121: viam.app.v1.Module.models:type_name -> viam.app.v1.Model - 176, // 122: viam.app.v1.VersionHistory.files:type_name -> viam.app.v1.Uploads - 168, // 123: viam.app.v1.VersionHistory.models:type_name -> viam.app.v1.Model - 198, // 124: viam.app.v1.Uploads.uploaded_at:type_name -> google.protobuf.Timestamp - 174, // 125: viam.app.v1.ListModulesResponse.modules:type_name -> viam.app.v1.Module - 182, // 126: viam.app.v1.ListOrganizationsByUserResponse.orgs:type_name -> viam.app.v1.OrgDetails - 134, // 127: viam.app.v1.CreateKeyRequest.authorizations:type_name -> viam.app.v1.Authorization - 97, // 128: viam.app.v1.APIKeyWithAuthorizations.api_key:type_name -> viam.app.v1.APIKey - 190, // 129: viam.app.v1.APIKeyWithAuthorizations.authorizations:type_name -> viam.app.v1.AuthorizationDetails - 191, // 130: viam.app.v1.ListKeysResponse.api_keys:type_name -> viam.app.v1.APIKeyWithAuthorizations - 179, // 131: viam.app.v1.AppService.GetUserIDByEmail:input_type -> viam.app.v1.GetUserIDByEmailRequest - 15, // 132: viam.app.v1.AppService.CreateOrganization:input_type -> viam.app.v1.CreateOrganizationRequest - 10, // 133: viam.app.v1.AppService.ListOrganizations:input_type -> viam.app.v1.ListOrganizationsRequest - 62, // 134: viam.app.v1.AppService.GetOrganizationsWithAccessToLocation:input_type -> viam.app.v1.GetOrganizationsWithAccessToLocationRequest - 181, // 135: viam.app.v1.AppService.ListOrganizationsByUser:input_type -> viam.app.v1.ListOrganizationsByUserRequest - 17, // 136: viam.app.v1.AppService.GetOrganization:input_type -> viam.app.v1.GetOrganizationRequest - 19, // 137: viam.app.v1.AppService.GetOrganizationNamespaceAvailability:input_type -> viam.app.v1.GetOrganizationNamespaceAvailabilityRequest - 21, // 138: viam.app.v1.AppService.UpdateOrganization:input_type -> viam.app.v1.UpdateOrganizationRequest - 23, // 139: viam.app.v1.AppService.DeleteOrganization:input_type -> viam.app.v1.DeleteOrganizationRequest - 25, // 140: viam.app.v1.AppService.ListOrganizationMembers:input_type -> viam.app.v1.ListOrganizationMembersRequest - 27, // 141: viam.app.v1.AppService.CreateOrganizationInvite:input_type -> viam.app.v1.CreateOrganizationInviteRequest - 29, // 142: viam.app.v1.AppService.UpdateOrganizationInviteAuthorizations:input_type -> viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest - 35, // 143: viam.app.v1.AppService.DeleteOrganizationMember:input_type -> viam.app.v1.DeleteOrganizationMemberRequest - 31, // 144: viam.app.v1.AppService.DeleteOrganizationInvite:input_type -> viam.app.v1.DeleteOrganizationInviteRequest - 33, // 145: viam.app.v1.AppService.ResendOrganizationInvite:input_type -> viam.app.v1.ResendOrganizationInviteRequest - 38, // 146: viam.app.v1.AppService.EnableBillingService:input_type -> viam.app.v1.EnableBillingServiceRequest - 42, // 147: viam.app.v1.AppService.DisableBillingService:input_type -> viam.app.v1.DisableBillingServiceRequest - 40, // 148: viam.app.v1.AppService.UpdateBillingService:input_type -> viam.app.v1.UpdateBillingServiceRequest - 44, // 149: viam.app.v1.AppService.OrganizationSetSupportEmail:input_type -> viam.app.v1.OrganizationSetSupportEmailRequest - 46, // 150: viam.app.v1.AppService.OrganizationGetSupportEmail:input_type -> viam.app.v1.OrganizationGetSupportEmailRequest - 54, // 151: viam.app.v1.AppService.CreateLocation:input_type -> viam.app.v1.CreateLocationRequest - 56, // 152: viam.app.v1.AppService.GetLocation:input_type -> viam.app.v1.GetLocationRequest - 58, // 153: viam.app.v1.AppService.UpdateLocation:input_type -> viam.app.v1.UpdateLocationRequest - 60, // 154: viam.app.v1.AppService.DeleteLocation:input_type -> viam.app.v1.DeleteLocationRequest - 64, // 155: viam.app.v1.AppService.ListLocations:input_type -> viam.app.v1.ListLocationsRequest - 65, // 156: viam.app.v1.AppService.ShareLocation:input_type -> viam.app.v1.ShareLocationRequest - 67, // 157: viam.app.v1.AppService.UnshareLocation:input_type -> viam.app.v1.UnshareLocationRequest - 74, // 158: viam.app.v1.AppService.LocationAuth:input_type -> viam.app.v1.LocationAuthRequest - 70, // 159: viam.app.v1.AppService.CreateLocationSecret:input_type -> viam.app.v1.CreateLocationSecretRequest - 72, // 160: viam.app.v1.AppService.DeleteLocationSecret:input_type -> viam.app.v1.DeleteLocationSecretRequest - 76, // 161: viam.app.v1.AppService.GetRobot:input_type -> viam.app.v1.GetRobotRequest - 77, // 162: viam.app.v1.AppService.GetRoverRentalRobots:input_type -> viam.app.v1.GetRoverRentalRobotsRequest - 81, // 163: viam.app.v1.AppService.GetRobotParts:input_type -> viam.app.v1.GetRobotPartsRequest - 83, // 164: viam.app.v1.AppService.GetRobotPart:input_type -> viam.app.v1.GetRobotPartRequest - 85, // 165: viam.app.v1.AppService.GetRobotPartLogs:input_type -> viam.app.v1.GetRobotPartLogsRequest - 87, // 166: viam.app.v1.AppService.TailRobotPartLogs:input_type -> viam.app.v1.TailRobotPartLogsRequest - 89, // 167: viam.app.v1.AppService.GetRobotPartHistory:input_type -> viam.app.v1.GetRobotPartHistoryRequest - 91, // 168: viam.app.v1.AppService.UpdateRobotPart:input_type -> viam.app.v1.UpdateRobotPartRequest - 93, // 169: viam.app.v1.AppService.NewRobotPart:input_type -> viam.app.v1.NewRobotPartRequest - 95, // 170: viam.app.v1.AppService.DeleteRobotPart:input_type -> viam.app.v1.DeleteRobotPartRequest - 96, // 171: viam.app.v1.AppService.GetRobotAPIKeys:input_type -> viam.app.v1.GetRobotAPIKeysRequest - 126, // 172: viam.app.v1.AppService.MarkPartAsMain:input_type -> viam.app.v1.MarkPartAsMainRequest - 128, // 173: viam.app.v1.AppService.MarkPartForRestart:input_type -> viam.app.v1.MarkPartForRestartRequest - 130, // 174: viam.app.v1.AppService.CreateRobotPartSecret:input_type -> viam.app.v1.CreateRobotPartSecretRequest - 132, // 175: viam.app.v1.AppService.DeleteRobotPartSecret:input_type -> viam.app.v1.DeleteRobotPartSecretRequest - 116, // 176: viam.app.v1.AppService.ListRobots:input_type -> viam.app.v1.ListRobotsRequest - 120, // 177: viam.app.v1.AppService.NewRobot:input_type -> viam.app.v1.NewRobotRequest - 122, // 178: viam.app.v1.AppService.UpdateRobot:input_type -> viam.app.v1.UpdateRobotRequest - 124, // 179: viam.app.v1.AppService.DeleteRobot:input_type -> viam.app.v1.DeleteRobotRequest - 104, // 180: viam.app.v1.AppService.ListFragments:input_type -> viam.app.v1.ListFragmentsRequest - 106, // 181: viam.app.v1.AppService.GetFragment:input_type -> viam.app.v1.GetFragmentRequest - 108, // 182: viam.app.v1.AppService.CreateFragment:input_type -> viam.app.v1.CreateFragmentRequest - 110, // 183: viam.app.v1.AppService.UpdateFragment:input_type -> viam.app.v1.UpdateFragmentRequest - 112, // 184: viam.app.v1.AppService.DeleteFragment:input_type -> viam.app.v1.DeleteFragmentRequest - 117, // 185: viam.app.v1.AppService.ListMachineFragments:input_type -> viam.app.v1.ListMachineFragmentsRequest - 114, // 186: viam.app.v1.AppService.GetFragmentHistory:input_type -> viam.app.v1.GetFragmentHistoryRequest - 135, // 187: viam.app.v1.AppService.AddRole:input_type -> viam.app.v1.AddRoleRequest - 137, // 188: viam.app.v1.AppService.RemoveRole:input_type -> viam.app.v1.RemoveRoleRequest - 139, // 189: viam.app.v1.AppService.ChangeRole:input_type -> viam.app.v1.ChangeRoleRequest - 141, // 190: viam.app.v1.AppService.ListAuthorizations:input_type -> viam.app.v1.ListAuthorizationsRequest - 143, // 191: viam.app.v1.AppService.CheckPermissions:input_type -> viam.app.v1.CheckPermissionsRequest - 152, // 192: viam.app.v1.AppService.GetRegistryItem:input_type -> viam.app.v1.GetRegistryItemRequest - 154, // 193: viam.app.v1.AppService.CreateRegistryItem:input_type -> viam.app.v1.CreateRegistryItemRequest - 156, // 194: viam.app.v1.AppService.UpdateRegistryItem:input_type -> viam.app.v1.UpdateRegistryItemRequest - 158, // 195: viam.app.v1.AppService.ListRegistryItems:input_type -> viam.app.v1.ListRegistryItemsRequest - 160, // 196: viam.app.v1.AppService.DeleteRegistryItem:input_type -> viam.app.v1.DeleteRegistryItemRequest - 162, // 197: viam.app.v1.AppService.TransferRegistryItem:input_type -> viam.app.v1.TransferRegistryItemRequest - 164, // 198: viam.app.v1.AppService.CreateModule:input_type -> viam.app.v1.CreateModuleRequest - 166, // 199: viam.app.v1.AppService.UpdateModule:input_type -> viam.app.v1.UpdateModuleRequest - 170, // 200: viam.app.v1.AppService.UploadModuleFile:input_type -> viam.app.v1.UploadModuleFileRequest - 172, // 201: viam.app.v1.AppService.GetModule:input_type -> viam.app.v1.GetModuleRequest - 177, // 202: viam.app.v1.AppService.ListModules:input_type -> viam.app.v1.ListModulesRequest - 184, // 203: viam.app.v1.AppService.CreateKey:input_type -> viam.app.v1.CreateKeyRequest - 186, // 204: viam.app.v1.AppService.DeleteKey:input_type -> viam.app.v1.DeleteKeyRequest - 192, // 205: viam.app.v1.AppService.ListKeys:input_type -> viam.app.v1.ListKeysRequest - 188, // 206: viam.app.v1.AppService.RenameKey:input_type -> viam.app.v1.RenameKeyRequest - 194, // 207: viam.app.v1.AppService.RotateKey:input_type -> viam.app.v1.RotateKeyRequest - 196, // 208: viam.app.v1.AppService.CreateKeyFromExistingKeyAuthorizations:input_type -> viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest - 180, // 209: viam.app.v1.AppService.GetUserIDByEmail:output_type -> viam.app.v1.GetUserIDByEmailResponse - 16, // 210: viam.app.v1.AppService.CreateOrganization:output_type -> viam.app.v1.CreateOrganizationResponse - 13, // 211: viam.app.v1.AppService.ListOrganizations:output_type -> viam.app.v1.ListOrganizationsResponse - 63, // 212: viam.app.v1.AppService.GetOrganizationsWithAccessToLocation:output_type -> viam.app.v1.GetOrganizationsWithAccessToLocationResponse - 183, // 213: viam.app.v1.AppService.ListOrganizationsByUser:output_type -> viam.app.v1.ListOrganizationsByUserResponse - 18, // 214: viam.app.v1.AppService.GetOrganization:output_type -> viam.app.v1.GetOrganizationResponse - 20, // 215: viam.app.v1.AppService.GetOrganizationNamespaceAvailability:output_type -> viam.app.v1.GetOrganizationNamespaceAvailabilityResponse - 22, // 216: viam.app.v1.AppService.UpdateOrganization:output_type -> viam.app.v1.UpdateOrganizationResponse - 24, // 217: viam.app.v1.AppService.DeleteOrganization:output_type -> viam.app.v1.DeleteOrganizationResponse - 26, // 218: viam.app.v1.AppService.ListOrganizationMembers:output_type -> viam.app.v1.ListOrganizationMembersResponse - 28, // 219: viam.app.v1.AppService.CreateOrganizationInvite:output_type -> viam.app.v1.CreateOrganizationInviteResponse - 30, // 220: viam.app.v1.AppService.UpdateOrganizationInviteAuthorizations:output_type -> viam.app.v1.UpdateOrganizationInviteAuthorizationsResponse - 36, // 221: viam.app.v1.AppService.DeleteOrganizationMember:output_type -> viam.app.v1.DeleteOrganizationMemberResponse - 32, // 222: viam.app.v1.AppService.DeleteOrganizationInvite:output_type -> viam.app.v1.DeleteOrganizationInviteResponse - 34, // 223: viam.app.v1.AppService.ResendOrganizationInvite:output_type -> viam.app.v1.ResendOrganizationInviteResponse - 39, // 224: viam.app.v1.AppService.EnableBillingService:output_type -> viam.app.v1.EnableBillingServiceResponse - 43, // 225: viam.app.v1.AppService.DisableBillingService:output_type -> viam.app.v1.DisableBillingServiceResponse - 41, // 226: viam.app.v1.AppService.UpdateBillingService:output_type -> viam.app.v1.UpdateBillingServiceResponse - 45, // 227: viam.app.v1.AppService.OrganizationSetSupportEmail:output_type -> viam.app.v1.OrganizationSetSupportEmailResponse - 47, // 228: viam.app.v1.AppService.OrganizationGetSupportEmail:output_type -> viam.app.v1.OrganizationGetSupportEmailResponse - 55, // 229: viam.app.v1.AppService.CreateLocation:output_type -> viam.app.v1.CreateLocationResponse - 57, // 230: viam.app.v1.AppService.GetLocation:output_type -> viam.app.v1.GetLocationResponse - 59, // 231: viam.app.v1.AppService.UpdateLocation:output_type -> viam.app.v1.UpdateLocationResponse - 61, // 232: viam.app.v1.AppService.DeleteLocation:output_type -> viam.app.v1.DeleteLocationResponse - 69, // 233: viam.app.v1.AppService.ListLocations:output_type -> viam.app.v1.ListLocationsResponse - 66, // 234: viam.app.v1.AppService.ShareLocation:output_type -> viam.app.v1.ShareLocationResponse - 68, // 235: viam.app.v1.AppService.UnshareLocation:output_type -> viam.app.v1.UnshareLocationResponse - 75, // 236: viam.app.v1.AppService.LocationAuth:output_type -> viam.app.v1.LocationAuthResponse - 71, // 237: viam.app.v1.AppService.CreateLocationSecret:output_type -> viam.app.v1.CreateLocationSecretResponse - 73, // 238: viam.app.v1.AppService.DeleteLocationSecret:output_type -> viam.app.v1.DeleteLocationSecretResponse - 80, // 239: viam.app.v1.AppService.GetRobot:output_type -> viam.app.v1.GetRobotResponse - 79, // 240: viam.app.v1.AppService.GetRoverRentalRobots:output_type -> viam.app.v1.GetRoverRentalRobotsResponse - 82, // 241: viam.app.v1.AppService.GetRobotParts:output_type -> viam.app.v1.GetRobotPartsResponse - 84, // 242: viam.app.v1.AppService.GetRobotPart:output_type -> viam.app.v1.GetRobotPartResponse - 86, // 243: viam.app.v1.AppService.GetRobotPartLogs:output_type -> viam.app.v1.GetRobotPartLogsResponse - 88, // 244: viam.app.v1.AppService.TailRobotPartLogs:output_type -> viam.app.v1.TailRobotPartLogsResponse - 90, // 245: viam.app.v1.AppService.GetRobotPartHistory:output_type -> viam.app.v1.GetRobotPartHistoryResponse - 92, // 246: viam.app.v1.AppService.UpdateRobotPart:output_type -> viam.app.v1.UpdateRobotPartResponse - 94, // 247: viam.app.v1.AppService.NewRobotPart:output_type -> viam.app.v1.NewRobotPartResponse - 99, // 248: viam.app.v1.AppService.DeleteRobotPart:output_type -> viam.app.v1.DeleteRobotPartResponse - 98, // 249: viam.app.v1.AppService.GetRobotAPIKeys:output_type -> viam.app.v1.GetRobotAPIKeysResponse - 127, // 250: viam.app.v1.AppService.MarkPartAsMain:output_type -> viam.app.v1.MarkPartAsMainResponse - 129, // 251: viam.app.v1.AppService.MarkPartForRestart:output_type -> viam.app.v1.MarkPartForRestartResponse - 131, // 252: viam.app.v1.AppService.CreateRobotPartSecret:output_type -> viam.app.v1.CreateRobotPartSecretResponse - 133, // 253: viam.app.v1.AppService.DeleteRobotPartSecret:output_type -> viam.app.v1.DeleteRobotPartSecretResponse - 119, // 254: viam.app.v1.AppService.ListRobots:output_type -> viam.app.v1.ListRobotsResponse - 121, // 255: viam.app.v1.AppService.NewRobot:output_type -> viam.app.v1.NewRobotResponse - 123, // 256: viam.app.v1.AppService.UpdateRobot:output_type -> viam.app.v1.UpdateRobotResponse - 125, // 257: viam.app.v1.AppService.DeleteRobot:output_type -> viam.app.v1.DeleteRobotResponse - 105, // 258: viam.app.v1.AppService.ListFragments:output_type -> viam.app.v1.ListFragmentsResponse - 107, // 259: viam.app.v1.AppService.GetFragment:output_type -> viam.app.v1.GetFragmentResponse - 109, // 260: viam.app.v1.AppService.CreateFragment:output_type -> viam.app.v1.CreateFragmentResponse - 111, // 261: viam.app.v1.AppService.UpdateFragment:output_type -> viam.app.v1.UpdateFragmentResponse - 113, // 262: viam.app.v1.AppService.DeleteFragment:output_type -> viam.app.v1.DeleteFragmentResponse - 118, // 263: viam.app.v1.AppService.ListMachineFragments:output_type -> viam.app.v1.ListMachineFragmentsResponse - 115, // 264: viam.app.v1.AppService.GetFragmentHistory:output_type -> viam.app.v1.GetFragmentHistoryResponse - 136, // 265: viam.app.v1.AppService.AddRole:output_type -> viam.app.v1.AddRoleResponse - 138, // 266: viam.app.v1.AppService.RemoveRole:output_type -> viam.app.v1.RemoveRoleResponse - 140, // 267: viam.app.v1.AppService.ChangeRole:output_type -> viam.app.v1.ChangeRoleResponse - 142, // 268: viam.app.v1.AppService.ListAuthorizations:output_type -> viam.app.v1.ListAuthorizationsResponse - 145, // 269: viam.app.v1.AppService.CheckPermissions:output_type -> viam.app.v1.CheckPermissionsResponse - 153, // 270: viam.app.v1.AppService.GetRegistryItem:output_type -> viam.app.v1.GetRegistryItemResponse - 155, // 271: viam.app.v1.AppService.CreateRegistryItem:output_type -> viam.app.v1.CreateRegistryItemResponse - 157, // 272: viam.app.v1.AppService.UpdateRegistryItem:output_type -> viam.app.v1.UpdateRegistryItemResponse - 159, // 273: viam.app.v1.AppService.ListRegistryItems:output_type -> viam.app.v1.ListRegistryItemsResponse - 161, // 274: viam.app.v1.AppService.DeleteRegistryItem:output_type -> viam.app.v1.DeleteRegistryItemResponse - 163, // 275: viam.app.v1.AppService.TransferRegistryItem:output_type -> viam.app.v1.TransferRegistryItemResponse - 165, // 276: viam.app.v1.AppService.CreateModule:output_type -> viam.app.v1.CreateModuleResponse - 167, // 277: viam.app.v1.AppService.UpdateModule:output_type -> viam.app.v1.UpdateModuleResponse - 171, // 278: viam.app.v1.AppService.UploadModuleFile:output_type -> viam.app.v1.UploadModuleFileResponse - 173, // 279: viam.app.v1.AppService.GetModule:output_type -> viam.app.v1.GetModuleResponse - 178, // 280: viam.app.v1.AppService.ListModules:output_type -> viam.app.v1.ListModulesResponse - 185, // 281: viam.app.v1.AppService.CreateKey:output_type -> viam.app.v1.CreateKeyResponse - 187, // 282: viam.app.v1.AppService.DeleteKey:output_type -> viam.app.v1.DeleteKeyResponse - 193, // 283: viam.app.v1.AppService.ListKeys:output_type -> viam.app.v1.ListKeysResponse - 189, // 284: viam.app.v1.AppService.RenameKey:output_type -> viam.app.v1.RenameKeyResponse - 195, // 285: viam.app.v1.AppService.RotateKey:output_type -> viam.app.v1.RotateKeyResponse - 197, // 286: viam.app.v1.AppService.CreateKeyFromExistingKeyAuthorizations:output_type -> viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse - 209, // [209:287] is the sub-list for method output_type - 131, // [131:209] is the sub-list for method input_type - 131, // [131:131] is the sub-list for extension type_name - 131, // [131:131] is the sub-list for extension extendee - 0, // [0:131] is the sub-list for field type_name + 37, // 31: viam.app.v1.GetBillingServiceConfigResponse.billing_address:type_name -> viam.app.v1.BillingAddress + 55, // 32: viam.app.v1.LocationAuth.secrets:type_name -> viam.app.v1.SharedSecret + 52, // 33: viam.app.v1.Location.auth:type_name -> viam.app.v1.LocationAuth + 51, // 34: viam.app.v1.Location.organizations:type_name -> viam.app.v1.LocationOrganization + 200, // 35: viam.app.v1.Location.created_on:type_name -> google.protobuf.Timestamp + 53, // 36: viam.app.v1.Location.config:type_name -> viam.app.v1.StorageConfig + 200, // 37: viam.app.v1.SharedSecret.created_on:type_name -> google.protobuf.Timestamp + 5, // 38: viam.app.v1.SharedSecret.state:type_name -> viam.app.v1.SharedSecret.State + 54, // 39: viam.app.v1.CreateLocationResponse.location:type_name -> viam.app.v1.Location + 54, // 40: viam.app.v1.GetLocationResponse.location:type_name -> viam.app.v1.Location + 54, // 41: viam.app.v1.UpdateLocationResponse.location:type_name -> viam.app.v1.Location + 50, // 42: viam.app.v1.GetOrganizationsWithAccessToLocationResponse.organization_identities:type_name -> viam.app.v1.OrganizationIdentity + 54, // 43: viam.app.v1.ListLocationsResponse.locations:type_name -> viam.app.v1.Location + 52, // 44: viam.app.v1.CreateLocationSecretResponse.auth:type_name -> viam.app.v1.LocationAuth + 52, // 45: viam.app.v1.LocationAuthResponse.auth:type_name -> viam.app.v1.LocationAuth + 80, // 46: viam.app.v1.GetRoverRentalRobotsResponse.robots:type_name -> viam.app.v1.RoverRentalRobot + 6, // 47: viam.app.v1.GetRobotResponse.robot:type_name -> viam.app.v1.Robot + 7, // 48: viam.app.v1.GetRobotPartsResponse.parts:type_name -> viam.app.v1.RobotPart + 7, // 49: viam.app.v1.GetRobotPartResponse.part:type_name -> viam.app.v1.RobotPart + 200, // 50: viam.app.v1.GetRobotPartLogsRequest.start:type_name -> google.protobuf.Timestamp + 200, // 51: viam.app.v1.GetRobotPartLogsRequest.end:type_name -> google.protobuf.Timestamp + 202, // 52: viam.app.v1.GetRobotPartLogsResponse.logs:type_name -> viam.common.v1.LogEntry + 202, // 53: viam.app.v1.TailRobotPartLogsResponse.logs:type_name -> viam.common.v1.LogEntry + 8, // 54: viam.app.v1.GetRobotPartHistoryResponse.history:type_name -> viam.app.v1.RobotPartHistoryEntry + 201, // 55: viam.app.v1.UpdateRobotPartRequest.robot_config:type_name -> google.protobuf.Struct + 7, // 56: viam.app.v1.UpdateRobotPartResponse.part:type_name -> viam.app.v1.RobotPart + 200, // 57: viam.app.v1.APIKey.created_on:type_name -> google.protobuf.Timestamp + 193, // 58: viam.app.v1.GetRobotAPIKeysResponse.api_keys:type_name -> viam.app.v1.APIKeyWithAuthorizations + 201, // 59: viam.app.v1.Fragment.fragment:type_name -> google.protobuf.Struct + 200, // 60: viam.app.v1.Fragment.created_on:type_name -> google.protobuf.Timestamp + 1, // 61: viam.app.v1.Fragment.visibility:type_name -> viam.app.v1.FragmentVisibility + 200, // 62: viam.app.v1.Fragment.last_updated:type_name -> google.protobuf.Timestamp + 200, // 63: viam.app.v1.FragmentHistoryEntry.edited_on:type_name -> google.protobuf.Timestamp + 102, // 64: viam.app.v1.FragmentHistoryEntry.old:type_name -> viam.app.v1.Fragment + 9, // 65: viam.app.v1.FragmentHistoryEntry.edited_by:type_name -> viam.app.v1.AuthenticatorInfo + 2, // 66: viam.app.v1.FragmentError.error_type:type_name -> viam.app.v1.FragmentErrorType + 201, // 67: viam.app.v1.ResolvedFragment.resolved_config:type_name -> google.protobuf.Struct + 104, // 68: viam.app.v1.ResolvedFragment.error:type_name -> viam.app.v1.FragmentError + 1, // 69: viam.app.v1.ListFragmentsRequest.fragment_visibility:type_name -> viam.app.v1.FragmentVisibility + 102, // 70: viam.app.v1.ListFragmentsResponse.fragments:type_name -> viam.app.v1.Fragment + 102, // 71: viam.app.v1.GetFragmentResponse.fragment:type_name -> viam.app.v1.Fragment + 201, // 72: viam.app.v1.CreateFragmentRequest.config:type_name -> google.protobuf.Struct + 1, // 73: viam.app.v1.CreateFragmentRequest.visibility:type_name -> viam.app.v1.FragmentVisibility + 102, // 74: viam.app.v1.CreateFragmentResponse.fragment:type_name -> viam.app.v1.Fragment + 201, // 75: viam.app.v1.UpdateFragmentRequest.config:type_name -> google.protobuf.Struct + 1, // 76: viam.app.v1.UpdateFragmentRequest.visibility:type_name -> viam.app.v1.FragmentVisibility + 102, // 77: viam.app.v1.UpdateFragmentResponse.fragment:type_name -> viam.app.v1.Fragment + 103, // 78: viam.app.v1.GetFragmentHistoryResponse.history:type_name -> viam.app.v1.FragmentHistoryEntry + 102, // 79: viam.app.v1.ListMachineFragmentsResponse.fragments:type_name -> viam.app.v1.Fragment + 105, // 80: viam.app.v1.ListMachineFragmentsResponse.resolved_fragments:type_name -> viam.app.v1.ResolvedFragment + 6, // 81: viam.app.v1.ListRobotsResponse.robots:type_name -> viam.app.v1.Robot + 6, // 82: viam.app.v1.UpdateRobotResponse.robot:type_name -> viam.app.v1.Robot + 7, // 83: viam.app.v1.CreateRobotPartSecretResponse.part:type_name -> viam.app.v1.RobotPart + 136, // 84: viam.app.v1.AddRoleRequest.authorization:type_name -> viam.app.v1.Authorization + 136, // 85: viam.app.v1.RemoveRoleRequest.authorization:type_name -> viam.app.v1.Authorization + 136, // 86: viam.app.v1.ChangeRoleRequest.old_authorization:type_name -> viam.app.v1.Authorization + 136, // 87: viam.app.v1.ChangeRoleRequest.new_authorization:type_name -> viam.app.v1.Authorization + 136, // 88: viam.app.v1.ListAuthorizationsResponse.authorizations:type_name -> viam.app.v1.Authorization + 146, // 89: viam.app.v1.CheckPermissionsRequest.permissions:type_name -> viam.app.v1.AuthorizedPermissions + 146, // 90: viam.app.v1.CheckPermissionsResponse.authorized_permissions:type_name -> viam.app.v1.AuthorizedPermissions + 178, // 91: viam.app.v1.ModuleVersion.files:type_name -> viam.app.v1.Uploads + 170, // 92: viam.app.v1.ModuleVersion.models:type_name -> viam.app.v1.Model + 170, // 93: viam.app.v1.ModuleMetadata.models:type_name -> viam.app.v1.Model + 148, // 94: viam.app.v1.ModuleMetadata.versions:type_name -> viam.app.v1.ModuleVersion + 203, // 95: viam.app.v1.MLModelMetadata.model_type:type_name -> viam.app.mltraining.v1.ModelType + 204, // 96: viam.app.v1.MLModelMetadata.model_framework:type_name -> viam.app.mltraining.v1.ModelFramework + 200, // 97: viam.app.v1.MLTrainingVersion.created_on:type_name -> google.protobuf.Timestamp + 151, // 98: viam.app.v1.MLTrainingMetadata.versions:type_name -> viam.app.v1.MLTrainingVersion + 203, // 99: viam.app.v1.MLTrainingMetadata.model_type:type_name -> viam.app.mltraining.v1.ModelType + 204, // 100: viam.app.v1.MLTrainingMetadata.model_framework:type_name -> viam.app.mltraining.v1.ModelFramework + 205, // 101: viam.app.v1.RegistryItem.type:type_name -> viam.app.packages.v1.PackageType + 4, // 102: viam.app.v1.RegistryItem.visibility:type_name -> viam.app.v1.Visibility + 149, // 103: viam.app.v1.RegistryItem.module_metadata:type_name -> viam.app.v1.ModuleMetadata + 150, // 104: viam.app.v1.RegistryItem.ml_model_metadata:type_name -> viam.app.v1.MLModelMetadata + 152, // 105: viam.app.v1.RegistryItem.ml_training_metadata:type_name -> viam.app.v1.MLTrainingMetadata + 200, // 106: viam.app.v1.RegistryItem.created_at:type_name -> google.protobuf.Timestamp + 200, // 107: viam.app.v1.RegistryItem.updated_at:type_name -> google.protobuf.Timestamp + 153, // 108: viam.app.v1.GetRegistryItemResponse.item:type_name -> viam.app.v1.RegistryItem + 205, // 109: viam.app.v1.CreateRegistryItemRequest.type:type_name -> viam.app.packages.v1.PackageType + 205, // 110: viam.app.v1.UpdateRegistryItemRequest.type:type_name -> viam.app.packages.v1.PackageType + 4, // 111: viam.app.v1.UpdateRegistryItemRequest.visibility:type_name -> viam.app.v1.Visibility + 205, // 112: viam.app.v1.ListRegistryItemsRequest.types:type_name -> viam.app.packages.v1.PackageType + 4, // 113: viam.app.v1.ListRegistryItemsRequest.visibilities:type_name -> viam.app.v1.Visibility + 3, // 114: viam.app.v1.ListRegistryItemsRequest.statuses:type_name -> viam.app.v1.RegistryItemStatus + 153, // 115: viam.app.v1.ListRegistryItemsResponse.items:type_name -> viam.app.v1.RegistryItem + 4, // 116: viam.app.v1.UpdateModuleRequest.visibility:type_name -> viam.app.v1.Visibility + 170, // 117: viam.app.v1.UpdateModuleRequest.models:type_name -> viam.app.v1.Model + 171, // 118: viam.app.v1.UploadModuleFileRequest.module_file_info:type_name -> viam.app.v1.ModuleFileInfo + 176, // 119: viam.app.v1.GetModuleResponse.module:type_name -> viam.app.v1.Module + 4, // 120: viam.app.v1.Module.visibility:type_name -> viam.app.v1.Visibility + 177, // 121: viam.app.v1.Module.versions:type_name -> viam.app.v1.VersionHistory + 170, // 122: viam.app.v1.Module.models:type_name -> viam.app.v1.Model + 178, // 123: viam.app.v1.VersionHistory.files:type_name -> viam.app.v1.Uploads + 170, // 124: viam.app.v1.VersionHistory.models:type_name -> viam.app.v1.Model + 200, // 125: viam.app.v1.Uploads.uploaded_at:type_name -> google.protobuf.Timestamp + 176, // 126: viam.app.v1.ListModulesResponse.modules:type_name -> viam.app.v1.Module + 184, // 127: viam.app.v1.ListOrganizationsByUserResponse.orgs:type_name -> viam.app.v1.OrgDetails + 136, // 128: viam.app.v1.CreateKeyRequest.authorizations:type_name -> viam.app.v1.Authorization + 99, // 129: viam.app.v1.APIKeyWithAuthorizations.api_key:type_name -> viam.app.v1.APIKey + 192, // 130: viam.app.v1.APIKeyWithAuthorizations.authorizations:type_name -> viam.app.v1.AuthorizationDetails + 193, // 131: viam.app.v1.ListKeysResponse.api_keys:type_name -> viam.app.v1.APIKeyWithAuthorizations + 181, // 132: viam.app.v1.AppService.GetUserIDByEmail:input_type -> viam.app.v1.GetUserIDByEmailRequest + 15, // 133: viam.app.v1.AppService.CreateOrganization:input_type -> viam.app.v1.CreateOrganizationRequest + 10, // 134: viam.app.v1.AppService.ListOrganizations:input_type -> viam.app.v1.ListOrganizationsRequest + 64, // 135: viam.app.v1.AppService.GetOrganizationsWithAccessToLocation:input_type -> viam.app.v1.GetOrganizationsWithAccessToLocationRequest + 183, // 136: viam.app.v1.AppService.ListOrganizationsByUser:input_type -> viam.app.v1.ListOrganizationsByUserRequest + 17, // 137: viam.app.v1.AppService.GetOrganization:input_type -> viam.app.v1.GetOrganizationRequest + 19, // 138: viam.app.v1.AppService.GetOrganizationNamespaceAvailability:input_type -> viam.app.v1.GetOrganizationNamespaceAvailabilityRequest + 21, // 139: viam.app.v1.AppService.UpdateOrganization:input_type -> viam.app.v1.UpdateOrganizationRequest + 23, // 140: viam.app.v1.AppService.DeleteOrganization:input_type -> viam.app.v1.DeleteOrganizationRequest + 25, // 141: viam.app.v1.AppService.ListOrganizationMembers:input_type -> viam.app.v1.ListOrganizationMembersRequest + 27, // 142: viam.app.v1.AppService.CreateOrganizationInvite:input_type -> viam.app.v1.CreateOrganizationInviteRequest + 29, // 143: viam.app.v1.AppService.UpdateOrganizationInviteAuthorizations:input_type -> viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest + 35, // 144: viam.app.v1.AppService.DeleteOrganizationMember:input_type -> viam.app.v1.DeleteOrganizationMemberRequest + 31, // 145: viam.app.v1.AppService.DeleteOrganizationInvite:input_type -> viam.app.v1.DeleteOrganizationInviteRequest + 33, // 146: viam.app.v1.AppService.ResendOrganizationInvite:input_type -> viam.app.v1.ResendOrganizationInviteRequest + 38, // 147: viam.app.v1.AppService.EnableBillingService:input_type -> viam.app.v1.EnableBillingServiceRequest + 44, // 148: viam.app.v1.AppService.DisableBillingService:input_type -> viam.app.v1.DisableBillingServiceRequest + 40, // 149: viam.app.v1.AppService.UpdateBillingService:input_type -> viam.app.v1.UpdateBillingServiceRequest + 42, // 150: viam.app.v1.AppService.GetBillingServiceConfig:input_type -> viam.app.v1.GetBillingServiceConfigRequest + 46, // 151: viam.app.v1.AppService.OrganizationSetSupportEmail:input_type -> viam.app.v1.OrganizationSetSupportEmailRequest + 48, // 152: viam.app.v1.AppService.OrganizationGetSupportEmail:input_type -> viam.app.v1.OrganizationGetSupportEmailRequest + 56, // 153: viam.app.v1.AppService.CreateLocation:input_type -> viam.app.v1.CreateLocationRequest + 58, // 154: viam.app.v1.AppService.GetLocation:input_type -> viam.app.v1.GetLocationRequest + 60, // 155: viam.app.v1.AppService.UpdateLocation:input_type -> viam.app.v1.UpdateLocationRequest + 62, // 156: viam.app.v1.AppService.DeleteLocation:input_type -> viam.app.v1.DeleteLocationRequest + 66, // 157: viam.app.v1.AppService.ListLocations:input_type -> viam.app.v1.ListLocationsRequest + 67, // 158: viam.app.v1.AppService.ShareLocation:input_type -> viam.app.v1.ShareLocationRequest + 69, // 159: viam.app.v1.AppService.UnshareLocation:input_type -> viam.app.v1.UnshareLocationRequest + 76, // 160: viam.app.v1.AppService.LocationAuth:input_type -> viam.app.v1.LocationAuthRequest + 72, // 161: viam.app.v1.AppService.CreateLocationSecret:input_type -> viam.app.v1.CreateLocationSecretRequest + 74, // 162: viam.app.v1.AppService.DeleteLocationSecret:input_type -> viam.app.v1.DeleteLocationSecretRequest + 78, // 163: viam.app.v1.AppService.GetRobot:input_type -> viam.app.v1.GetRobotRequest + 79, // 164: viam.app.v1.AppService.GetRoverRentalRobots:input_type -> viam.app.v1.GetRoverRentalRobotsRequest + 83, // 165: viam.app.v1.AppService.GetRobotParts:input_type -> viam.app.v1.GetRobotPartsRequest + 85, // 166: viam.app.v1.AppService.GetRobotPart:input_type -> viam.app.v1.GetRobotPartRequest + 87, // 167: viam.app.v1.AppService.GetRobotPartLogs:input_type -> viam.app.v1.GetRobotPartLogsRequest + 89, // 168: viam.app.v1.AppService.TailRobotPartLogs:input_type -> viam.app.v1.TailRobotPartLogsRequest + 91, // 169: viam.app.v1.AppService.GetRobotPartHistory:input_type -> viam.app.v1.GetRobotPartHistoryRequest + 93, // 170: viam.app.v1.AppService.UpdateRobotPart:input_type -> viam.app.v1.UpdateRobotPartRequest + 95, // 171: viam.app.v1.AppService.NewRobotPart:input_type -> viam.app.v1.NewRobotPartRequest + 97, // 172: viam.app.v1.AppService.DeleteRobotPart:input_type -> viam.app.v1.DeleteRobotPartRequest + 98, // 173: viam.app.v1.AppService.GetRobotAPIKeys:input_type -> viam.app.v1.GetRobotAPIKeysRequest + 128, // 174: viam.app.v1.AppService.MarkPartAsMain:input_type -> viam.app.v1.MarkPartAsMainRequest + 130, // 175: viam.app.v1.AppService.MarkPartForRestart:input_type -> viam.app.v1.MarkPartForRestartRequest + 132, // 176: viam.app.v1.AppService.CreateRobotPartSecret:input_type -> viam.app.v1.CreateRobotPartSecretRequest + 134, // 177: viam.app.v1.AppService.DeleteRobotPartSecret:input_type -> viam.app.v1.DeleteRobotPartSecretRequest + 118, // 178: viam.app.v1.AppService.ListRobots:input_type -> viam.app.v1.ListRobotsRequest + 122, // 179: viam.app.v1.AppService.NewRobot:input_type -> viam.app.v1.NewRobotRequest + 124, // 180: viam.app.v1.AppService.UpdateRobot:input_type -> viam.app.v1.UpdateRobotRequest + 126, // 181: viam.app.v1.AppService.DeleteRobot:input_type -> viam.app.v1.DeleteRobotRequest + 106, // 182: viam.app.v1.AppService.ListFragments:input_type -> viam.app.v1.ListFragmentsRequest + 108, // 183: viam.app.v1.AppService.GetFragment:input_type -> viam.app.v1.GetFragmentRequest + 110, // 184: viam.app.v1.AppService.CreateFragment:input_type -> viam.app.v1.CreateFragmentRequest + 112, // 185: viam.app.v1.AppService.UpdateFragment:input_type -> viam.app.v1.UpdateFragmentRequest + 114, // 186: viam.app.v1.AppService.DeleteFragment:input_type -> viam.app.v1.DeleteFragmentRequest + 119, // 187: viam.app.v1.AppService.ListMachineFragments:input_type -> viam.app.v1.ListMachineFragmentsRequest + 116, // 188: viam.app.v1.AppService.GetFragmentHistory:input_type -> viam.app.v1.GetFragmentHistoryRequest + 137, // 189: viam.app.v1.AppService.AddRole:input_type -> viam.app.v1.AddRoleRequest + 139, // 190: viam.app.v1.AppService.RemoveRole:input_type -> viam.app.v1.RemoveRoleRequest + 141, // 191: viam.app.v1.AppService.ChangeRole:input_type -> viam.app.v1.ChangeRoleRequest + 143, // 192: viam.app.v1.AppService.ListAuthorizations:input_type -> viam.app.v1.ListAuthorizationsRequest + 145, // 193: viam.app.v1.AppService.CheckPermissions:input_type -> viam.app.v1.CheckPermissionsRequest + 154, // 194: viam.app.v1.AppService.GetRegistryItem:input_type -> viam.app.v1.GetRegistryItemRequest + 156, // 195: viam.app.v1.AppService.CreateRegistryItem:input_type -> viam.app.v1.CreateRegistryItemRequest + 158, // 196: viam.app.v1.AppService.UpdateRegistryItem:input_type -> viam.app.v1.UpdateRegistryItemRequest + 160, // 197: viam.app.v1.AppService.ListRegistryItems:input_type -> viam.app.v1.ListRegistryItemsRequest + 162, // 198: viam.app.v1.AppService.DeleteRegistryItem:input_type -> viam.app.v1.DeleteRegistryItemRequest + 164, // 199: viam.app.v1.AppService.TransferRegistryItem:input_type -> viam.app.v1.TransferRegistryItemRequest + 166, // 200: viam.app.v1.AppService.CreateModule:input_type -> viam.app.v1.CreateModuleRequest + 168, // 201: viam.app.v1.AppService.UpdateModule:input_type -> viam.app.v1.UpdateModuleRequest + 172, // 202: viam.app.v1.AppService.UploadModuleFile:input_type -> viam.app.v1.UploadModuleFileRequest + 174, // 203: viam.app.v1.AppService.GetModule:input_type -> viam.app.v1.GetModuleRequest + 179, // 204: viam.app.v1.AppService.ListModules:input_type -> viam.app.v1.ListModulesRequest + 186, // 205: viam.app.v1.AppService.CreateKey:input_type -> viam.app.v1.CreateKeyRequest + 188, // 206: viam.app.v1.AppService.DeleteKey:input_type -> viam.app.v1.DeleteKeyRequest + 194, // 207: viam.app.v1.AppService.ListKeys:input_type -> viam.app.v1.ListKeysRequest + 190, // 208: viam.app.v1.AppService.RenameKey:input_type -> viam.app.v1.RenameKeyRequest + 196, // 209: viam.app.v1.AppService.RotateKey:input_type -> viam.app.v1.RotateKeyRequest + 198, // 210: viam.app.v1.AppService.CreateKeyFromExistingKeyAuthorizations:input_type -> viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest + 182, // 211: viam.app.v1.AppService.GetUserIDByEmail:output_type -> viam.app.v1.GetUserIDByEmailResponse + 16, // 212: viam.app.v1.AppService.CreateOrganization:output_type -> viam.app.v1.CreateOrganizationResponse + 13, // 213: viam.app.v1.AppService.ListOrganizations:output_type -> viam.app.v1.ListOrganizationsResponse + 65, // 214: viam.app.v1.AppService.GetOrganizationsWithAccessToLocation:output_type -> viam.app.v1.GetOrganizationsWithAccessToLocationResponse + 185, // 215: viam.app.v1.AppService.ListOrganizationsByUser:output_type -> viam.app.v1.ListOrganizationsByUserResponse + 18, // 216: viam.app.v1.AppService.GetOrganization:output_type -> viam.app.v1.GetOrganizationResponse + 20, // 217: viam.app.v1.AppService.GetOrganizationNamespaceAvailability:output_type -> viam.app.v1.GetOrganizationNamespaceAvailabilityResponse + 22, // 218: viam.app.v1.AppService.UpdateOrganization:output_type -> viam.app.v1.UpdateOrganizationResponse + 24, // 219: viam.app.v1.AppService.DeleteOrganization:output_type -> viam.app.v1.DeleteOrganizationResponse + 26, // 220: viam.app.v1.AppService.ListOrganizationMembers:output_type -> viam.app.v1.ListOrganizationMembersResponse + 28, // 221: viam.app.v1.AppService.CreateOrganizationInvite:output_type -> viam.app.v1.CreateOrganizationInviteResponse + 30, // 222: viam.app.v1.AppService.UpdateOrganizationInviteAuthorizations:output_type -> viam.app.v1.UpdateOrganizationInviteAuthorizationsResponse + 36, // 223: viam.app.v1.AppService.DeleteOrganizationMember:output_type -> viam.app.v1.DeleteOrganizationMemberResponse + 32, // 224: viam.app.v1.AppService.DeleteOrganizationInvite:output_type -> viam.app.v1.DeleteOrganizationInviteResponse + 34, // 225: viam.app.v1.AppService.ResendOrganizationInvite:output_type -> viam.app.v1.ResendOrganizationInviteResponse + 39, // 226: viam.app.v1.AppService.EnableBillingService:output_type -> viam.app.v1.EnableBillingServiceResponse + 45, // 227: viam.app.v1.AppService.DisableBillingService:output_type -> viam.app.v1.DisableBillingServiceResponse + 41, // 228: viam.app.v1.AppService.UpdateBillingService:output_type -> viam.app.v1.UpdateBillingServiceResponse + 43, // 229: viam.app.v1.AppService.GetBillingServiceConfig:output_type -> viam.app.v1.GetBillingServiceConfigResponse + 47, // 230: viam.app.v1.AppService.OrganizationSetSupportEmail:output_type -> viam.app.v1.OrganizationSetSupportEmailResponse + 49, // 231: viam.app.v1.AppService.OrganizationGetSupportEmail:output_type -> viam.app.v1.OrganizationGetSupportEmailResponse + 57, // 232: viam.app.v1.AppService.CreateLocation:output_type -> viam.app.v1.CreateLocationResponse + 59, // 233: viam.app.v1.AppService.GetLocation:output_type -> viam.app.v1.GetLocationResponse + 61, // 234: viam.app.v1.AppService.UpdateLocation:output_type -> viam.app.v1.UpdateLocationResponse + 63, // 235: viam.app.v1.AppService.DeleteLocation:output_type -> viam.app.v1.DeleteLocationResponse + 71, // 236: viam.app.v1.AppService.ListLocations:output_type -> viam.app.v1.ListLocationsResponse + 68, // 237: viam.app.v1.AppService.ShareLocation:output_type -> viam.app.v1.ShareLocationResponse + 70, // 238: viam.app.v1.AppService.UnshareLocation:output_type -> viam.app.v1.UnshareLocationResponse + 77, // 239: viam.app.v1.AppService.LocationAuth:output_type -> viam.app.v1.LocationAuthResponse + 73, // 240: viam.app.v1.AppService.CreateLocationSecret:output_type -> viam.app.v1.CreateLocationSecretResponse + 75, // 241: viam.app.v1.AppService.DeleteLocationSecret:output_type -> viam.app.v1.DeleteLocationSecretResponse + 82, // 242: viam.app.v1.AppService.GetRobot:output_type -> viam.app.v1.GetRobotResponse + 81, // 243: viam.app.v1.AppService.GetRoverRentalRobots:output_type -> viam.app.v1.GetRoverRentalRobotsResponse + 84, // 244: viam.app.v1.AppService.GetRobotParts:output_type -> viam.app.v1.GetRobotPartsResponse + 86, // 245: viam.app.v1.AppService.GetRobotPart:output_type -> viam.app.v1.GetRobotPartResponse + 88, // 246: viam.app.v1.AppService.GetRobotPartLogs:output_type -> viam.app.v1.GetRobotPartLogsResponse + 90, // 247: viam.app.v1.AppService.TailRobotPartLogs:output_type -> viam.app.v1.TailRobotPartLogsResponse + 92, // 248: viam.app.v1.AppService.GetRobotPartHistory:output_type -> viam.app.v1.GetRobotPartHistoryResponse + 94, // 249: viam.app.v1.AppService.UpdateRobotPart:output_type -> viam.app.v1.UpdateRobotPartResponse + 96, // 250: viam.app.v1.AppService.NewRobotPart:output_type -> viam.app.v1.NewRobotPartResponse + 101, // 251: viam.app.v1.AppService.DeleteRobotPart:output_type -> viam.app.v1.DeleteRobotPartResponse + 100, // 252: viam.app.v1.AppService.GetRobotAPIKeys:output_type -> viam.app.v1.GetRobotAPIKeysResponse + 129, // 253: viam.app.v1.AppService.MarkPartAsMain:output_type -> viam.app.v1.MarkPartAsMainResponse + 131, // 254: viam.app.v1.AppService.MarkPartForRestart:output_type -> viam.app.v1.MarkPartForRestartResponse + 133, // 255: viam.app.v1.AppService.CreateRobotPartSecret:output_type -> viam.app.v1.CreateRobotPartSecretResponse + 135, // 256: viam.app.v1.AppService.DeleteRobotPartSecret:output_type -> viam.app.v1.DeleteRobotPartSecretResponse + 121, // 257: viam.app.v1.AppService.ListRobots:output_type -> viam.app.v1.ListRobotsResponse + 123, // 258: viam.app.v1.AppService.NewRobot:output_type -> viam.app.v1.NewRobotResponse + 125, // 259: viam.app.v1.AppService.UpdateRobot:output_type -> viam.app.v1.UpdateRobotResponse + 127, // 260: viam.app.v1.AppService.DeleteRobot:output_type -> viam.app.v1.DeleteRobotResponse + 107, // 261: viam.app.v1.AppService.ListFragments:output_type -> viam.app.v1.ListFragmentsResponse + 109, // 262: viam.app.v1.AppService.GetFragment:output_type -> viam.app.v1.GetFragmentResponse + 111, // 263: viam.app.v1.AppService.CreateFragment:output_type -> viam.app.v1.CreateFragmentResponse + 113, // 264: viam.app.v1.AppService.UpdateFragment:output_type -> viam.app.v1.UpdateFragmentResponse + 115, // 265: viam.app.v1.AppService.DeleteFragment:output_type -> viam.app.v1.DeleteFragmentResponse + 120, // 266: viam.app.v1.AppService.ListMachineFragments:output_type -> viam.app.v1.ListMachineFragmentsResponse + 117, // 267: viam.app.v1.AppService.GetFragmentHistory:output_type -> viam.app.v1.GetFragmentHistoryResponse + 138, // 268: viam.app.v1.AppService.AddRole:output_type -> viam.app.v1.AddRoleResponse + 140, // 269: viam.app.v1.AppService.RemoveRole:output_type -> viam.app.v1.RemoveRoleResponse + 142, // 270: viam.app.v1.AppService.ChangeRole:output_type -> viam.app.v1.ChangeRoleResponse + 144, // 271: viam.app.v1.AppService.ListAuthorizations:output_type -> viam.app.v1.ListAuthorizationsResponse + 147, // 272: viam.app.v1.AppService.CheckPermissions:output_type -> viam.app.v1.CheckPermissionsResponse + 155, // 273: viam.app.v1.AppService.GetRegistryItem:output_type -> viam.app.v1.GetRegistryItemResponse + 157, // 274: viam.app.v1.AppService.CreateRegistryItem:output_type -> viam.app.v1.CreateRegistryItemResponse + 159, // 275: viam.app.v1.AppService.UpdateRegistryItem:output_type -> viam.app.v1.UpdateRegistryItemResponse + 161, // 276: viam.app.v1.AppService.ListRegistryItems:output_type -> viam.app.v1.ListRegistryItemsResponse + 163, // 277: viam.app.v1.AppService.DeleteRegistryItem:output_type -> viam.app.v1.DeleteRegistryItemResponse + 165, // 278: viam.app.v1.AppService.TransferRegistryItem:output_type -> viam.app.v1.TransferRegistryItemResponse + 167, // 279: viam.app.v1.AppService.CreateModule:output_type -> viam.app.v1.CreateModuleResponse + 169, // 280: viam.app.v1.AppService.UpdateModule:output_type -> viam.app.v1.UpdateModuleResponse + 173, // 281: viam.app.v1.AppService.UploadModuleFile:output_type -> viam.app.v1.UploadModuleFileResponse + 175, // 282: viam.app.v1.AppService.GetModule:output_type -> viam.app.v1.GetModuleResponse + 180, // 283: viam.app.v1.AppService.ListModules:output_type -> viam.app.v1.ListModulesResponse + 187, // 284: viam.app.v1.AppService.CreateKey:output_type -> viam.app.v1.CreateKeyResponse + 189, // 285: viam.app.v1.AppService.DeleteKey:output_type -> viam.app.v1.DeleteKeyResponse + 195, // 286: viam.app.v1.AppService.ListKeys:output_type -> viam.app.v1.ListKeysResponse + 191, // 287: viam.app.v1.AppService.RenameKey:output_type -> viam.app.v1.RenameKeyResponse + 197, // 288: viam.app.v1.AppService.RotateKey:output_type -> viam.app.v1.RotateKeyResponse + 199, // 289: viam.app.v1.AppService.CreateKeyFromExistingKeyAuthorizations:output_type -> viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponse + 211, // [211:290] is the sub-list for method output_type + 132, // [132:211] is the sub-list for method input_type + 132, // [132:132] is the sub-list for extension type_name + 132, // [132:132] is the sub-list for extension extendee + 0, // [0:132] is the sub-list for field type_name } func init() { file_app_v1_app_proto_init() } @@ -13304,37 +13447,37 @@ func file_app_v1_app_proto_init() { file_app_v1_app_proto_msgTypes[15].OneofWrappers = []any{} file_app_v1_app_proto_msgTypes[21].OneofWrappers = []any{} file_app_v1_app_proto_msgTypes[31].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[48].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[52].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[79].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[50].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[54].OneofWrappers = []any{} file_app_v1_app_proto_msgTypes[81].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[102].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[83].OneofWrappers = []any{} file_app_v1_app_proto_msgTypes[104].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[108].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[140].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[141].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[145].OneofWrappers = []any{ + file_app_v1_app_proto_msgTypes[106].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[110].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[142].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[143].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[147].OneofWrappers = []any{ (*RegistryItem_ModuleMetadata)(nil), (*RegistryItem_MlModelMetadata)(nil), (*RegistryItem_MlTrainingMetadata)(nil), } - file_app_v1_app_proto_msgTypes[150].OneofWrappers = []any{} file_app_v1_app_proto_msgTypes[152].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[160].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[164].OneofWrappers = []any{ + file_app_v1_app_proto_msgTypes[154].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[162].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[166].OneofWrappers = []any{ (*UploadModuleFileRequest_ModuleFileInfo)(nil), (*UploadModuleFileRequest_File)(nil), } - file_app_v1_app_proto_msgTypes[168].OneofWrappers = []any{} - file_app_v1_app_proto_msgTypes[169].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[170].OneofWrappers = []any{} file_app_v1_app_proto_msgTypes[171].OneofWrappers = []any{} + file_app_v1_app_proto_msgTypes[173].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_app_v1_app_proto_rawDesc, NumEnums: 6, - NumMessages: 192, + NumMessages: 194, NumExtensions: 0, NumServices: 1, }, diff --git a/app/v1/app.pb.gw.go b/app/v1/app.pb.gw.go index d7a52995..f898a961 100644 --- a/app/v1/app.pb.gw.go +++ b/app/v1/app.pb.gw.go @@ -499,6 +499,32 @@ func local_request_AppService_UpdateBillingService_0(ctx context.Context, marsha } +func request_AppService_GetBillingServiceConfig_0(ctx context.Context, marshaler runtime.Marshaler, client AppServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetBillingServiceConfigRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetBillingServiceConfig(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_AppService_GetBillingServiceConfig_0(ctx context.Context, marshaler runtime.Marshaler, server AppServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetBillingServiceConfigRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetBillingServiceConfig(ctx, &protoReq) + return msg, metadata, err + +} + func request_AppService_OrganizationSetSupportEmail_0(ctx context.Context, marshaler runtime.Marshaler, client AppServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq OrganizationSetSupportEmailRequest var metadata runtime.ServerMetadata @@ -2528,6 +2554,31 @@ func RegisterAppServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, }) + mux.Handle("POST", pattern_AppService_GetBillingServiceConfig_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/viam.app.v1.AppService/GetBillingServiceConfig", runtime.WithHTTPPathPattern("/viam.app.v1.AppService/GetBillingServiceConfig")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_AppService_GetBillingServiceConfig_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AppService_GetBillingServiceConfig_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("POST", pattern_AppService_OrganizationSetSupportEmail_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -4429,6 +4480,28 @@ func RegisterAppServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, }) + mux.Handle("POST", pattern_AppService_GetBillingServiceConfig_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/viam.app.v1.AppService/GetBillingServiceConfig", runtime.WithHTTPPathPattern("/viam.app.v1.AppService/GetBillingServiceConfig")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AppService_GetBillingServiceConfig_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_AppService_GetBillingServiceConfig_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("POST", pattern_AppService_OrganizationSetSupportEmail_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -5789,6 +5862,8 @@ var ( pattern_AppService_UpdateBillingService_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.v1.AppService", "UpdateBillingService"}, "")) + pattern_AppService_GetBillingServiceConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.v1.AppService", "GetBillingServiceConfig"}, "")) + pattern_AppService_OrganizationSetSupportEmail_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.v1.AppService", "OrganizationSetSupportEmail"}, "")) pattern_AppService_OrganizationGetSupportEmail_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"viam.app.v1.AppService", "OrganizationGetSupportEmail"}, "")) @@ -5947,6 +6022,8 @@ var ( forward_AppService_UpdateBillingService_0 = runtime.ForwardResponseMessage + forward_AppService_GetBillingServiceConfig_0 = runtime.ForwardResponseMessage + forward_AppService_OrganizationSetSupportEmail_0 = runtime.ForwardResponseMessage forward_AppService_OrganizationGetSupportEmail_0 = runtime.ForwardResponseMessage diff --git a/app/v1/app_grpc.pb.go b/app/v1/app_grpc.pb.go index 3a8f1d8f..8cb0bab8 100644 --- a/app/v1/app_grpc.pb.go +++ b/app/v1/app_grpc.pb.go @@ -55,6 +55,7 @@ type AppServiceClient interface { EnableBillingService(ctx context.Context, in *EnableBillingServiceRequest, opts ...grpc.CallOption) (*EnableBillingServiceResponse, error) DisableBillingService(ctx context.Context, in *DisableBillingServiceRequest, opts ...grpc.CallOption) (*DisableBillingServiceResponse, error) UpdateBillingService(ctx context.Context, in *UpdateBillingServiceRequest, opts ...grpc.CallOption) (*UpdateBillingServiceResponse, error) + GetBillingServiceConfig(ctx context.Context, in *GetBillingServiceConfigRequest, opts ...grpc.CallOption) (*GetBillingServiceConfigResponse, error) OrganizationSetSupportEmail(ctx context.Context, in *OrganizationSetSupportEmailRequest, opts ...grpc.CallOption) (*OrganizationSetSupportEmailResponse, error) OrganizationGetSupportEmail(ctx context.Context, in *OrganizationGetSupportEmailRequest, opts ...grpc.CallOption) (*OrganizationGetSupportEmailResponse, error) // Create a location @@ -331,6 +332,15 @@ func (c *appServiceClient) UpdateBillingService(ctx context.Context, in *UpdateB return out, nil } +func (c *appServiceClient) GetBillingServiceConfig(ctx context.Context, in *GetBillingServiceConfigRequest, opts ...grpc.CallOption) (*GetBillingServiceConfigResponse, error) { + out := new(GetBillingServiceConfigResponse) + err := c.cc.Invoke(ctx, "/viam.app.v1.AppService/GetBillingServiceConfig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *appServiceClient) OrganizationSetSupportEmail(ctx context.Context, in *OrganizationSetSupportEmailRequest, opts ...grpc.CallOption) (*OrganizationSetSupportEmailResponse, error) { out := new(OrganizationSetSupportEmailResponse) err := c.cc.Invoke(ctx, "/viam.app.v1.AppService/OrganizationSetSupportEmail", in, out, opts...) @@ -956,6 +966,7 @@ type AppServiceServer interface { EnableBillingService(context.Context, *EnableBillingServiceRequest) (*EnableBillingServiceResponse, error) DisableBillingService(context.Context, *DisableBillingServiceRequest) (*DisableBillingServiceResponse, error) UpdateBillingService(context.Context, *UpdateBillingServiceRequest) (*UpdateBillingServiceResponse, error) + GetBillingServiceConfig(context.Context, *GetBillingServiceConfigRequest) (*GetBillingServiceConfigResponse, error) OrganizationSetSupportEmail(context.Context, *OrganizationSetSupportEmailRequest) (*OrganizationSetSupportEmailResponse, error) OrganizationGetSupportEmail(context.Context, *OrganizationGetSupportEmailRequest) (*OrganizationGetSupportEmailResponse, error) // Create a location @@ -1121,6 +1132,9 @@ func (UnimplementedAppServiceServer) DisableBillingService(context.Context, *Dis func (UnimplementedAppServiceServer) UpdateBillingService(context.Context, *UpdateBillingServiceRequest) (*UpdateBillingServiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateBillingService not implemented") } +func (UnimplementedAppServiceServer) GetBillingServiceConfig(context.Context, *GetBillingServiceConfigRequest) (*GetBillingServiceConfigResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBillingServiceConfig not implemented") +} func (UnimplementedAppServiceServer) OrganizationSetSupportEmail(context.Context, *OrganizationSetSupportEmailRequest) (*OrganizationSetSupportEmailResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method OrganizationSetSupportEmail not implemented") } @@ -1638,6 +1652,24 @@ func _AppService_UpdateBillingService_Handler(srv interface{}, ctx context.Conte return interceptor(ctx, in, info, handler) } +func _AppService_GetBillingServiceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetBillingServiceConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AppServiceServer).GetBillingServiceConfig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/viam.app.v1.AppService/GetBillingServiceConfig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AppServiceServer).GetBillingServiceConfig(ctx, req.(*GetBillingServiceConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _AppService_OrganizationSetSupportEmail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(OrganizationSetSupportEmailRequest) if err := dec(in); err != nil { @@ -2808,6 +2840,10 @@ var AppService_ServiceDesc = grpc.ServiceDesc{ MethodName: "UpdateBillingService", Handler: _AppService_UpdateBillingService_Handler, }, + { + MethodName: "GetBillingServiceConfig", + Handler: _AppService_GetBillingServiceConfig_Handler, + }, { MethodName: "OrganizationSetSupportEmail", Handler: _AppService_OrganizationSetSupportEmail_Handler, diff --git a/gen/js/app/v1/app_grpc_web_pb.js b/gen/js/app/v1/app_grpc_web_pb.js index 95a5affc..13f12047 100644 --- a/gen/js/app/v1/app_grpc_web_pb.js +++ b/gen/js/app/v1/app_grpc_web_pb.js @@ -1186,6 +1186,67 @@ proto.viam.app.v1.AppServicePromiseClient.prototype.updateBillingService = }; +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.viam.app.v1.GetBillingServiceConfigRequest, + * !proto.viam.app.v1.GetBillingServiceConfigResponse>} + */ +const methodDescriptor_AppService_GetBillingServiceConfig = new grpc.web.MethodDescriptor( + '/viam.app.v1.AppService/GetBillingServiceConfig', + grpc.web.MethodType.UNARY, + proto.viam.app.v1.GetBillingServiceConfigRequest, + proto.viam.app.v1.GetBillingServiceConfigResponse, + /** + * @param {!proto.viam.app.v1.GetBillingServiceConfigRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.viam.app.v1.GetBillingServiceConfigResponse.deserializeBinary +); + + +/** + * @param {!proto.viam.app.v1.GetBillingServiceConfigRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.viam.app.v1.GetBillingServiceConfigResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.viam.app.v1.AppServiceClient.prototype.getBillingServiceConfig = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/viam.app.v1.AppService/GetBillingServiceConfig', + request, + metadata || {}, + methodDescriptor_AppService_GetBillingServiceConfig, + callback); +}; + + +/** + * @param {!proto.viam.app.v1.GetBillingServiceConfigRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.viam.app.v1.AppServicePromiseClient.prototype.getBillingServiceConfig = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/viam.app.v1.AppService/GetBillingServiceConfig', + request, + metadata || {}, + methodDescriptor_AppService_GetBillingServiceConfig); +}; + + /** * @const * @type {!grpc.web.MethodDescriptor< diff --git a/gen/js/app/v1/app_pb.d.ts b/gen/js/app/v1/app_pb.d.ts index 897bfc79..646c5614 100644 --- a/gen/js/app/v1/app_pb.d.ts +++ b/gen/js/app/v1/app_pb.d.ts @@ -1005,6 +1005,60 @@ export namespace UpdateBillingServiceResponse { } } +export class GetBillingServiceConfigRequest extends jspb.Message { + getOrgId(): string; + setOrgId(value: string): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetBillingServiceConfigRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetBillingServiceConfigRequest): GetBillingServiceConfigRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetBillingServiceConfigRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetBillingServiceConfigRequest; + static deserializeBinaryFromReader(message: GetBillingServiceConfigRequest, reader: jspb.BinaryReader): GetBillingServiceConfigRequest; +} + +export namespace GetBillingServiceConfigRequest { + export type AsObject = { + orgId: string, + } +} + +export class GetBillingServiceConfigResponse extends jspb.Message { + hasBillingAddress(): boolean; + clearBillingAddress(): void; + getBillingAddress(): BillingAddress | undefined; + setBillingAddress(value?: BillingAddress): void; + + getSupportEmail(): string; + setSupportEmail(value: string): void; + + getLogoUrl(): string; + setLogoUrl(value: string): void; + + getBillingDashboardUrl(): string; + setBillingDashboardUrl(value: string): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetBillingServiceConfigResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetBillingServiceConfigResponse): GetBillingServiceConfigResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetBillingServiceConfigResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetBillingServiceConfigResponse; + static deserializeBinaryFromReader(message: GetBillingServiceConfigResponse, reader: jspb.BinaryReader): GetBillingServiceConfigResponse; +} + +export namespace GetBillingServiceConfigResponse { + export type AsObject = { + billingAddress?: BillingAddress.AsObject, + supportEmail: string, + logoUrl: string, + billingDashboardUrl: string, + } +} + export class DisableBillingServiceRequest extends jspb.Message { getOrgId(): string; setOrgId(value: string): void; diff --git a/gen/js/app/v1/app_pb.js b/gen/js/app/v1/app_pb.js index 73072ed8..2bdcfb03 100644 --- a/gen/js/app/v1/app_pb.js +++ b/gen/js/app/v1/app_pb.js @@ -92,6 +92,8 @@ goog.exportSymbol('proto.viam.app.v1.FragmentError', null, global); goog.exportSymbol('proto.viam.app.v1.FragmentErrorType', null, global); goog.exportSymbol('proto.viam.app.v1.FragmentHistoryEntry', null, global); goog.exportSymbol('proto.viam.app.v1.FragmentVisibility', null, global); +goog.exportSymbol('proto.viam.app.v1.GetBillingServiceConfigRequest', null, global); +goog.exportSymbol('proto.viam.app.v1.GetBillingServiceConfigResponse', null, global); goog.exportSymbol('proto.viam.app.v1.GetFragmentHistoryRequest', null, global); goog.exportSymbol('proto.viam.app.v1.GetFragmentHistoryResponse', null, global); goog.exportSymbol('proto.viam.app.v1.GetFragmentRequest', null, global); @@ -983,6 +985,48 @@ if (goog.DEBUG && !COMPILED) { */ proto.viam.app.v1.UpdateBillingServiceResponse.displayName = 'proto.viam.app.v1.UpdateBillingServiceResponse'; } +/** + * 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.viam.app.v1.GetBillingServiceConfigRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.viam.app.v1.GetBillingServiceConfigRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.viam.app.v1.GetBillingServiceConfigRequest.displayName = 'proto.viam.app.v1.GetBillingServiceConfigRequest'; +} +/** + * 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.viam.app.v1.GetBillingServiceConfigResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.viam.app.v1.GetBillingServiceConfigResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.viam.app.v1.GetBillingServiceConfigResponse.displayName = 'proto.viam.app.v1.GetBillingServiceConfigResponse'; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -11288,6 +11332,377 @@ proto.viam.app.v1.UpdateBillingServiceResponse.serializeBinaryToWriter = functio +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.viam.app.v1.GetBillingServiceConfigRequest.prototype.toObject = function(opt_includeInstance) { + return proto.viam.app.v1.GetBillingServiceConfigRequest.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.viam.app.v1.GetBillingServiceConfigRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.viam.app.v1.GetBillingServiceConfigRequest.toObject = function(includeInstance, msg) { + var f, obj = { + orgId: 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.viam.app.v1.GetBillingServiceConfigRequest} + */ +proto.viam.app.v1.GetBillingServiceConfigRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.viam.app.v1.GetBillingServiceConfigRequest; + return proto.viam.app.v1.GetBillingServiceConfigRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.viam.app.v1.GetBillingServiceConfigRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.viam.app.v1.GetBillingServiceConfigRequest} + */ +proto.viam.app.v1.GetBillingServiceConfigRequest.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.setOrgId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.viam.app.v1.GetBillingServiceConfigRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.viam.app.v1.GetBillingServiceConfigRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.viam.app.v1.GetBillingServiceConfigRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.viam.app.v1.GetBillingServiceConfigRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOrgId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string org_id = 1; + * @return {string} + */ +proto.viam.app.v1.GetBillingServiceConfigRequest.prototype.getOrgId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.viam.app.v1.GetBillingServiceConfigRequest} returns this + */ +proto.viam.app.v1.GetBillingServiceConfigRequest.prototype.setOrgId = 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.viam.app.v1.GetBillingServiceConfigResponse.prototype.toObject = function(opt_includeInstance) { + return proto.viam.app.v1.GetBillingServiceConfigResponse.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.viam.app.v1.GetBillingServiceConfigResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.viam.app.v1.GetBillingServiceConfigResponse.toObject = function(includeInstance, msg) { + var f, obj = { + billingAddress: (f = msg.getBillingAddress()) && proto.viam.app.v1.BillingAddress.toObject(includeInstance, f), + supportEmail: jspb.Message.getFieldWithDefault(msg, 2, ""), + logoUrl: jspb.Message.getFieldWithDefault(msg, 3, ""), + billingDashboardUrl: jspb.Message.getFieldWithDefault(msg, 4, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.viam.app.v1.GetBillingServiceConfigResponse} + */ +proto.viam.app.v1.GetBillingServiceConfigResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.viam.app.v1.GetBillingServiceConfigResponse; + return proto.viam.app.v1.GetBillingServiceConfigResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.viam.app.v1.GetBillingServiceConfigResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.viam.app.v1.GetBillingServiceConfigResponse} + */ +proto.viam.app.v1.GetBillingServiceConfigResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.viam.app.v1.BillingAddress; + reader.readMessage(value,proto.viam.app.v1.BillingAddress.deserializeBinaryFromReader); + msg.setBillingAddress(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSupportEmail(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setLogoUrl(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setBillingDashboardUrl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.viam.app.v1.GetBillingServiceConfigResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.viam.app.v1.GetBillingServiceConfigResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.viam.app.v1.GetBillingServiceConfigResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.viam.app.v1.GetBillingServiceConfigResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getBillingAddress(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.viam.app.v1.BillingAddress.serializeBinaryToWriter + ); + } + f = message.getSupportEmail(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getLogoUrl(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getBillingDashboardUrl(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } +}; + + +/** + * optional BillingAddress billing_address = 1; + * @return {?proto.viam.app.v1.BillingAddress} + */ +proto.viam.app.v1.GetBillingServiceConfigResponse.prototype.getBillingAddress = function() { + return /** @type{?proto.viam.app.v1.BillingAddress} */ ( + jspb.Message.getWrapperField(this, proto.viam.app.v1.BillingAddress, 1)); +}; + + +/** + * @param {?proto.viam.app.v1.BillingAddress|undefined} value + * @return {!proto.viam.app.v1.GetBillingServiceConfigResponse} returns this +*/ +proto.viam.app.v1.GetBillingServiceConfigResponse.prototype.setBillingAddress = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.viam.app.v1.GetBillingServiceConfigResponse} returns this + */ +proto.viam.app.v1.GetBillingServiceConfigResponse.prototype.clearBillingAddress = function() { + return this.setBillingAddress(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.viam.app.v1.GetBillingServiceConfigResponse.prototype.hasBillingAddress = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string support_email = 2; + * @return {string} + */ +proto.viam.app.v1.GetBillingServiceConfigResponse.prototype.getSupportEmail = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.viam.app.v1.GetBillingServiceConfigResponse} returns this + */ +proto.viam.app.v1.GetBillingServiceConfigResponse.prototype.setSupportEmail = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string logo_url = 3; + * @return {string} + */ +proto.viam.app.v1.GetBillingServiceConfigResponse.prototype.getLogoUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.viam.app.v1.GetBillingServiceConfigResponse} returns this + */ +proto.viam.app.v1.GetBillingServiceConfigResponse.prototype.setLogoUrl = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string billing_dashboard_url = 4; + * @return {string} + */ +proto.viam.app.v1.GetBillingServiceConfigResponse.prototype.getBillingDashboardUrl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.viam.app.v1.GetBillingServiceConfigResponse} returns this + */ +proto.viam.app.v1.GetBillingServiceConfigResponse.prototype.setBillingDashboardUrl = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + + + + if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. diff --git a/gen/js/app/v1/app_pb_service.d.ts b/gen/js/app/v1/app_pb_service.d.ts index 007331ca..891e4aac 100644 --- a/gen/js/app/v1/app_pb_service.d.ts +++ b/gen/js/app/v1/app_pb_service.d.ts @@ -166,6 +166,15 @@ type AppServiceUpdateBillingService = { readonly responseType: typeof app_v1_app_pb.UpdateBillingServiceResponse; }; +type AppServiceGetBillingServiceConfig = { + readonly methodName: string; + readonly service: typeof AppService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof app_v1_app_pb.GetBillingServiceConfigRequest; + readonly responseType: typeof app_v1_app_pb.GetBillingServiceConfigResponse; +}; + type AppServiceOrganizationSetSupportEmail = { readonly methodName: string; readonly service: typeof AppService; @@ -726,6 +735,7 @@ export class AppService { static readonly EnableBillingService: AppServiceEnableBillingService; static readonly DisableBillingService: AppServiceDisableBillingService; static readonly UpdateBillingService: AppServiceUpdateBillingService; + static readonly GetBillingServiceConfig: AppServiceGetBillingServiceConfig; static readonly OrganizationSetSupportEmail: AppServiceOrganizationSetSupportEmail; static readonly OrganizationGetSupportEmail: AppServiceOrganizationGetSupportEmail; static readonly CreateLocation: AppServiceCreateLocation; @@ -982,6 +992,15 @@ export class AppServiceClient { requestMessage: app_v1_app_pb.UpdateBillingServiceRequest, callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.UpdateBillingServiceResponse|null) => void ): UnaryResponse; + getBillingServiceConfig( + requestMessage: app_v1_app_pb.GetBillingServiceConfigRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetBillingServiceConfigResponse|null) => void + ): UnaryResponse; + getBillingServiceConfig( + requestMessage: app_v1_app_pb.GetBillingServiceConfigRequest, + callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetBillingServiceConfigResponse|null) => void + ): UnaryResponse; organizationSetSupportEmail( requestMessage: app_v1_app_pb.OrganizationSetSupportEmailRequest, metadata: grpc.Metadata, diff --git a/gen/js/app/v1/app_pb_service.js b/gen/js/app/v1/app_pb_service.js index 8d21edd1..29b854a4 100644 --- a/gen/js/app/v1/app_pb_service.js +++ b/gen/js/app/v1/app_pb_service.js @@ -172,6 +172,15 @@ AppService.UpdateBillingService = { responseType: app_v1_app_pb.UpdateBillingServiceResponse }; +AppService.GetBillingServiceConfig = { + methodName: "GetBillingServiceConfig", + service: AppService, + requestStream: false, + responseStream: false, + requestType: app_v1_app_pb.GetBillingServiceConfigRequest, + responseType: app_v1_app_pb.GetBillingServiceConfigResponse +}; + AppService.OrganizationSetSupportEmail = { methodName: "OrganizationSetSupportEmail", service: AppService, @@ -1277,6 +1286,37 @@ AppServiceClient.prototype.updateBillingService = function updateBillingService( }; }; +AppServiceClient.prototype.getBillingServiceConfig = function getBillingServiceConfig(requestMessage, metadata, callback) { + if (arguments.length === 2) { + callback = arguments[1]; + } + var client = grpc.unary(AppService.GetBillingServiceConfig, { + request: requestMessage, + host: this.serviceHost, + metadata: metadata, + transport: this.options.transport, + debug: this.options.debug, + onEnd: function (response) { + if (callback) { + if (response.status !== grpc.Code.OK) { + var err = new Error(response.statusMessage); + err.code = response.status; + err.metadata = response.trailers; + callback(err, null); + } else { + callback(null, response.message); + } + } + } + }); + return { + cancel: function () { + callback = null; + client.close(); + } + }; +}; + AppServiceClient.prototype.organizationSetSupportEmail = function organizationSetSupportEmail(requestMessage, metadata, callback) { if (arguments.length === 2) { callback = arguments[1]; From c428f8fe9485b1f9d2b6a9db7f3bbac5caba44f0 Mon Sep 17 00:00:00 2001 From: Julia Ruddy Date: Tue, 12 Nov 2024 13:02:35 -0500 Subject: [PATCH 6/6] empty